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.
Without a code it's hard to tell what's wrong, but from what you've posted I can speculate that you're probably mixing up SYMBOL_FILLING with ORDER_FILLING.
ORDER_FILLING_FOK=0 ORDER_FILLING_IOC=1 ORDER_FILLING_RETURN=2 ORDER_FILLING_BOC=3
SYMBOL_FILLING_FOK=1 SYMBOL_FILLING_IOC=2 SYMBOL_FILLING_BOC=4 SYMBOL_FILLING_RETURN=0 / any
Stanislav Korotky #:
Thank you so much! That was exactly the problem. I was using the SYMBOL_FILLING value directly as the ORDER_FILLING value without converting them, which caused the error. Once I mapped them correctly (SYMBOL_FILLING_IOC=2 → ORDER_FILLING_IOC=1), it worked perfectly. Really appreciate your help!
Without a code it's hard to tell what's wrong, but from what you've posted I can speculate that you're probably mixing up SYMBOL_FILLING with ORDER_FILLING.
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
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:
print(f"Mode {mode}: {'ALLOWED' if allowed else 'NOT ALLOWED'}")
Results:
Current situation:
Error example:
Retcode: 10030
Comment: Unsupported filling mode
Has anyone encountered this issue with VTMarkets? Is this a known broker limitation? Any workarounds?