Backtrader-MQL5-API icon indicating copy to clipboard operation
Backtrader-MQL5-API copied to clipboard

Backtrader-MQL5-API with real broker account problem

Open fdfreitas opened this issue 4 years ago • 0 comments

Running backtarder + Backtrader-MQL5-API + MQL5-JSON-API bot with Metatrader real account returning "result":"TRADE_RETCODE_PLACED", the execution info did not arrived at backtrader bot. I did not found this result treatment in Backtrader-MQL5-API mt5store.py _process_transaction(). Is current version of Backtrader-MQL5-API mt5store.py _process_transaction() correctly working with real exchanges? When using Metatrader 5 XP Demo account everything works fine, but th result is always "result":"TRADE_RETCODE_DONE" Regards!!

fdfreitas avatar Aug 20 '21 22:08 fdfreitas