
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,
Wouldn't it be better if the values of SYMBOL_FILLING_* and ORDER_FILLING_* were consistent?
Or adding SYMBOL_FILLING_* to the python library and adding integer values on ORDER_FILLING_*
SYMBOL_FILLING_*(not exist in Python):
SYMBOL_FILLING_FOK 1
SYMBOL_FILLING_IOC 2
SYMBOL_FILLING_BOC 4
ORDER_FILLING_*(Both in Python and MQL5):
ORDER_FILLING_FOK 0
ORDER_FILLING_IOC 1
ORDER_FILLING_RETURN 2
ORDER_FILLING_BOC 3
Background:
The filling type of a symbol in the terminal (specification) is Fill or Kill, which corresponds to 1 SYMBOL_FILLING_FOK.
Since SYMBOL_FILLING_* doesn't exist in Python, I spent hours thinking that the filling type in orders should be ORDER_FILLING_IOC or 1.
Of course, such a misunderstanding might be due to my inexperience.