khramkov / Backtrader-MQL5-API

Python Backtrader - Metaquotes MQL5 - API
GNU General Public License v3.0
247 stars 90 forks source link

Backtrader-MQL5-API with real broker account problem #10

Open fdfreitas opened 2 years ago

fdfreitas commented 2 years ago

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!!