0
Follow
0
Followers
GetRecords کے ذریعے حاصل کردہ ڈیٹا کا آخری ٹکڑا کنفیگریشن پیرامیٹرز کا آغاز وقت ہے میں کنفیگریشن میں مقرر کردہ وقت کی حد کے اندر K-line کیسے حاصل کر سکتا ہوں؟
Created 2020-12-18 19:13:01
1
1265
میں نے ریٹرننگ کی ترتیب میں وقت کی حد 2020-12-15 سے 2020-12-17 کی حد مقرر کی ہے ، اور میں اس مدت کے لئے کے ڈی جے کی قیمت حاصل کرنا چاہتا ہوں۔
جب میں نے کوڈ استعمال کیا
records = _C(exchange.GetRecords)
Log(records)
لیکن نتیجہ 2020-12-12 22:00:00 سے 2020-12-15 00:00:00 تک ہے ، جس کا نشان 101 ہے ، اور مقررہ آغاز کا وقت نتیجہ واپس کرنے کا اختتام ہے۔
میں نیا ہوں ، شاید میں نے غلط فنکشن کا استعمال کیا ہے ، میں صرف اسٹریٹجک فیصلہ کرنے کے لئے مقررہ وقت کی حد میں کے ڈی جے اور آر ایس آئی کی قیمتوں کو حاصل کرنا چاہتا ہوں ، خدا کی مدد کریں ، شکریہ!
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