The last line of data that GetRecords retrieves is the start time of the configuration parameter, how to get the k-string for the time range set in the configuration?

Author: 86088780, Created: 2020-12-18 19:13:01, Updated:

I set the time range from 2020-12-15 to 2020-12-17 in the retrieval configuration to get the KDJ value for the period. When I use code records = _C (exchange.GetRecords) Log ((records))

However, the result obtained is from 2020-12-12 22:00:00 to 2020-12-15 00:00:00, the lower bound is 101, and the set start time becomes the end time of the return result. I'm a beginner, I don't know if I'm using the wrong function, I just want to get the KDJ and RSI values in the set time range to make strategic judgments, please help, thank you!


More

zh7wangThe end time is the time that the current policy runs, you can try the following, wait a minute log once while True: records = _C (exchange.GetRecords) Log ((records)) Sleep ((60 by 1000)