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:img img

The correct length should be: 15 minutes: 300/15 is 20. 60 minutes: 300/60 is 5. 120 minutes: 300/120 is 2. 240 minutes: 300/240 is 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?