MQL5-JSON-API
MQL5-JSON-API copied to clipboard
adding multiple data streams not working when one is delayed
when i add 2 data streams, e.g. BTCUSD and NQ100 and one is delayed / no data comes in, it won't work properly:
2022-08-28 12:27:44.975851 BTCUSD Data Status: DELAYED
2022-08-28 12:27:44.975851 [NQ100] Data Status: DELAYED
ZMQ LIVE DATA: {'status': 'CONNECTED', 'symbol': 'BTCUSD', 'timeframe': 'TICK', 'data': [1661693265732, 19935.48, 19996.04]}
ZMQ LIVE DATA: {'status': 'CONNECTED', 'symbol': 'BTCUSD', 'timeframe': 'TICK', 'data': [1661693266232, 19933.48, 19995.54]}
I only see ZMQ Data plotted when debug=True, but nothing else, when i disable debug... when adding 2 times the same symbol here -> BTCUSD and it's not delayed, then everything seems to be working
sry wrong repo (https://github.com/khramkov/Backtrader-MQL5-API)