The resource loading... loading...

Source code of < synthetic arbitrary period K line > on the strategy square The length of the aggregation is not correct

Author: Quantify the new people, Created: 2018-12-15 13:45:46, Updated:

15 minutes, 60 minutes, 120 minutes, 4 hours are aggregated from 1 minute. The length of the k-line is incorrect, as shown in the figure below:策略广场上的<合成任意周期K线> 的源码 聚合的长度不对 策略广场上的<合成任意周期K线> 的源码 聚合的长度不对

The correct length should be: 15 minutes:30015That's 20 60 minutes:30060This is equal to 5. 120 minutes:300120This is equal to 2. 240 minutes:300240 = 1

The boy doesn't know where the problem is, please tell me, God?


More

Inventors quantify - small dreamsI'm guessing it's ignoring the question of when the K-line starts. For example, the synthesis begins with aligned positions.

The grassLook at the source code analysis

Inventors quantify - small dreamsWell, I'll record this and report it.

Quantify the new peopleLittle Dream God, can you integrate this method of synthesizing arbitrary K-strings into the basic API?