0
Follow
1
Followers
function main(){
exchange.SetContractType("quarter")
exchange.SetMarginLevel(3)
let account = exchange.GetAccount()
Log (("информация о счете,Balance:", account.Balance, "FrozenBalance:", account.FrozenBalance, "Stocks:", account.Stocks, "FrozenStocks:", account.FrozenStocks)
let records = []
exchange.SetMaxBarLen(25)
while(true){
_CDelay(21000)
records = _C( exchange.GetRecords, KPeriod )
Log(records)
Sleep(301000)
}
}
Раньше было хорошо, но вдруг можно было получить только 6 бар, а иногда и 7.
Related Recommendations
Advanced 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?5.5 Trading strategy optimization
