[Unsupported filling mode]
Search the forum, someone else had a similar issue.
Er Faina:
Hi guys, it is my code, i'm trying to open a long position using this code but i don't manage to, i'm desperated. I'm using a Pepperstone demo account with MT5 Api in Python but i get this error:
failed market buy 0.1 USDJPY sl: 115.001 tp: 115.201 [Unsupported filling mode]
Does anybody know how could i fix?? I'm desperated😭
Have you tried to skip these lines:
"type_time": mt5.ORDER_TIME_GTC, "type_filling": mt5.SYMBOL_FILLING_MODE,
They make no sense for a buy market order.
Just look at tzhe example here: https://www.mql5.com/de/docs/constants/tradingconstants/enum_trade_request_actions
Hi guys, it is my code, i'm trying to open a long position using this code but i don't manage to, i'm desperated. I'm using a Pepperstone demo account with MT5 Api in Python but i get this error:
failed market buy 0.1 USDJPY sl: 115.001 tp: 115.201 [Unsupported filling mode]
Does anybody know how could i fix?? I'm desperated😭