0
Follow
0
Followers
Problema de la línea K de 3 minutos de Binance
Created 2018-11-28 14:58:43 Updated 2018-11-28 16:58:32
8
2180
Log(exchange.GetRecords(PERIOD_M3).length);
Resultados de la ejecución:

La longitud es de 3... 3 minutos, la línea K, ¿sólo regresa 3?
Y en el caso de las pruebas, siempre es así, y a veces devuelve dos.
Los otros ciclos son normales.
Si lo imprimes, verás que en realidad sólo hay tres... una sangre vieja.
Log(JSON.stringify(exchange.GetRecords(PERIOD_M3)))
[{"Time":1543387860000,"Open":0.028514,"High":0.028588,"Low":0.028514,"Close":0.028539,"Volume":489.0600000000003},
{"Time":1543388040000,"Open":0.028548,"High":0.028572,"Low":0.02849,"Close":0.028522,"Volume":367.2560000000004},
{"Time":1543388220000,"Open":0.028531,"High":0.028531,"Low":0.028517,"Close":0.028528,"Volume":16.34800000000007}]
Related Recommendations
JavaScript Bitmex【Recruitment】Quantitative Strategy DevelopmentHow can i get the depth of the market when backtesting?ERR_INSUFFICIENT_ASSET from huobiMyLanguage DocumentHappy Halloween / Coupon-codes for everyone -- FMZ Quant TeamAdding exchanges on our setting listIntroducing Visual Programming on FMZ QuantLooking For PartnershipGreat news! Check out our platforms’ NEW features, the “Demands & Offers” page on our website.
Comment
All comments (8)
- 1


