VTMarkets MT5 - All filling modes rejected (10030) even ORDER_FILLING_RETURN

 

I'm trying to execute trades on VTMarkets MT5 using Python API. Every order returns error 10030 "Unsupported filling mode" regardless of which filling mode I use.

What I've tested:

  1. Different order types:
    • ORDER_TYPE_BUY / ORDER_TYPE_SELL (market orders)
    • ORDER_TYPE_BUY_LIMIT / ORDER_TYPE_SELL_LIMIT (limit orders)
  2. Different filling modes:
    • type_filling: mt5.ORDER_FILLING_FOK
    • type_filling: mt5.ORDER_FILLING_IOC
    • type_filling: mt5.ORDER_FILLING_RETURN
    • type_filling: 0 (broker default)
    • type_filling: 2 (exact numeric value)
    • Removing type_filling completely
  3. Symbol verification:
import MetaTrader5 as mt5
   mt5.initialize()
   symbol_info = mt5.symbol_info("XAUUSD-STD")
   
   print("Filling mode flags:", symbol_info.filling_mode)  # Returns: 2
   
   modes = [mt5.ORDER_FILLING_FOK, mt5.ORDER_FILLING_IOC, mt5.ORDER_FILLING_RETURN]
   for mode in modes:
       allowed = symbol_info.filling_mode & mode

       print(f"Mode {mode}: {'ALLOWED' if allowed else 'NOT ALLOWED'}")

Results:

  • Mode 0 (FOK): NOT ALLOWED
  • Mode 1 (IOC): NOT ALLOWED
  • Mode 2 (RETURN): ALLOWED
  1. Contacted VTMarkets support - No solution provided

Current situation:

  • Demo account: Works perfectly ✅ (same code executes trades without errors)
  • VTMarkets Live account: Error 10030 on every order

Error example:

Retcode: 10030

Comment: Unsupported filling mode

Has anyone encountered this issue with VTMarkets? Is this a known broker limitation? Any workarounds?

 

If the same code works on a demo account but not on a live account AND you have checked trading is allowed by EA : it's a broker issue.