Forum

[Python] Constantly getting "TRADE_RETCODE_REQUOTE" error but can't see the problem w/my JSON would fail?

I'm getting a constant error with the MT5 Python implementation. My "order request" looks like this: order_json = { "action": mt5.TRADE_ACTION_DEAL, "symbol": symbol, "volume": 0.1, "type": mt5.ORDER_TYPE_BUY_LIMIT, "price": round(mt5.symbol_info_tick(symbol).bid - (point * 10), 5)