Multi-transaction is paying off: Variety subscription fails

Author: luqi0212, Created: 2022-11-20 13:54:09, Updated:

'''backtest start: 2022-11-18 00:00:00 end: 2022-11-18 00:01:00 period: 1m basePeriod: 1m exchanges: [{“eid”:“Futures_Binance”,“currency”:“BTC_USDT”},{“eid”:“Futures_Binance”,“currency”:“ETH_USDT”},{“eid”:“Futures_Binance”,“currency”:“ETC_USDT”}] '‘’

def main (: while True: Log ((exchange.GetAccount)) for r in range ((len ((exchanges)): Log (the first 0 is added to the exchange object index): log, r, log name: log, exchanges[r].GetName (), log tag: log, exchanges[r].GetLabel (). # exchanges[r].SetDirection ((buy)) # exchanges[r].Buy ((-1, 10, open more than once) # position_cangwei = _C ((exchange.GetPosition) is the name of the # Log ((position_cangwei) is the name of the #Sleep ((10000) Left the last 5 lines of the policy, error: Variety subscription failed BTC_USDT_Futures_Binance Remove the last 2-5 lines of the policy, leaving a Sleep ((10000), or error: Variety subscription failed BTC_USDT_Futures_Binance The last five lines of the strategy are not annotated, and the strategy is not reported, but the re-test cannot stop. Asking for advice: How to deal with multi-trading strategiesimg


More

The Little DreamWhat's up? '' backtested Start: 2022-11-18 00:00:00 This is the first time I've been to the beach. End: 2022-11-18 00:01:00 This is the first time I've seen this. period: 1m BasePeriod: 1m Exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"},{"eid":"Futures_Binance","currency":"ETH_USDT"},{"eid":"Futures_Binance","currency":"ETC_USDT"}] '" def main (: while True: Log ((exchange.GetAccount)) for r in range ((len ((exchanges)): Log (((added exchange object index ((the first is 0 and so on):", r, "name:", exchanges[r].GetName(), "tag:", exchanges[r].GetLabel()) exchanges[r].SetContractType (("swap") # The futures to be set to contract Exchanges[r].SetDirection (("buy") Exchanges[r].Buy ((-1, 10, "more and more") This is the first time I've seen this. Log ((position_cangwei) is the name of the Sleep (((10000) is the name of the What's up? The future is to set up a contract.