Download MetaTrader 5

Mofifying an Pending Sell_Stop order brings 10030 : unsupported fill

To add comments, please log in or register
Filip
108
Filip 2015.08.26 23:07 

Hi Forum ,


I placed an an sell_top order. But If I want to adjust the stop loss and the order price , I get allways the  10030 : unsupported fill error. The modfiyfunction does not take the ENUM_ORDER_TYPE_FILLING paramenter , therefore it must be a problem from the before placed order !?

I use the Ordersend function with the request object filled with :  trequest.type_filling=ORDER_FILLING_FOK

I also tryed the 2 other filling types but its allways the same...


anyone for an idea?


thanks


Fil

Trinh Dat
37610
Trinh Dat 2015.08.27 03:04  
try it; replace ORDER_FILLING_FOK   =  ORDER_FILLING_IOC
Filip
108
Filip 2015.08.27 10:44  
Trinh Dat:
try it; replace ORDER_FILLING_FOK   =  ORDER_FILLING_IOC

thanks for your reply Trinh Dat , but I already tried all of the three values


ORDER_FILLING_RETURN

ORDER_FILLING_IOC

ORDER_FILLING_FOK


but nothing helped me out here ... nay more ideas?



Alain Verleyen
Moderator
31138
Alain Verleyen 2015.08.27 10:52  
Filip:

Hi Forum ,


I placed an an sell_top order. But If I want to adjust the stop loss and the order price , I get allways the  10030 : unsupported fill error. The modfiyfunction does not take the ENUM_ORDER_TYPE_FILLING paramenter , therefore it must be a problem from the before placed order !?

I use the Ordersend function with the request object filled with :  trequest.type_filling=ORDER_FILLING_FOK

I also tryed the 2 other filling types but its allways the same...


anyone for an idea?


thanks


Fil

The documentation says you don't have to specify type_filling to modify the sl or the price of a pending order.
To add comments, please log in or register