
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
Hello, I tried to get the ORDER_FILLING_MODE from symbol_info:
This gives me 2 as result and if I got it correct it is like this:
0 = ORDER_FILLING_FOK
1 = ORDER_FILLING_IOC
2 = ORDER_FILLING_RETURN
but if I look into specifications of my symbol in MT5 it says it is ORDER_FILLING_IOC (also when I test it with placing an order it is IOC and RETURN throws an error)
Now my question simply is, is the output of symbol_info_dict['filling_mode'] wrong or does it begin counting with 1? If it was second, I could just calculate mode - 1 to get the correct result.