0
Follow
0
Followers
GetRecords によって取得される最後のデータは、構成パラメータの開始時刻です。構成で設定された時間範囲内で K ラインを取得するにはどうすればよいですか?
Created 2020-12-18 19:13:01
1
1265
測定コンフィギュレーションで設定した時間は 2020-12-15 から 2020-12-17 の範囲で,その間のKDJ値を取得したい。
プログラムが動いているとき
records = _C(exchange.GetRecords)
Log(records)
しかし,取得した結果は2020-12-12 22:00:00から2020-12-15 00:00:00までで,下記は101で,設定された開始時間は返される結果の終了時間となります.
私は初心者なので,間違った関数を使っているかわかりませんが,私は設定された時間帯のKDJとRSI値を取得したいだけです.
Related Recommendations
How to Specify Different Versions of Data for the Rented Strategy by Its Rental Code MetadataAdvanced Tutorial for FMZ Quant platform Strategy WritingElementary Tutorial for FMZ Quant platform Strategy WritingGet Started with FMZ Quant PlatformSECURITY BUGI keep getting error: Exchange_GetAccount: Invalid ContractTypeWe have an incredibly profitable market making algorithm for sideways markets on Bitmex - but need expert to help eliminate wait times during downward volatility in the marketError with deribitLimitations of the backtesting engineHow to install ta-lib on linux docker?
Comment
All comments (1)
结束时间是当前策略运行到的时间,你可以试试下面的,等一分钟log一次
while True:
records = _C(exchange.GetRecords)
Log(records)
Sleep(60*1000)
6 years ago
- 1