You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
Especially in volatile situations, I have seen some of my stop orders were run past because the limit price and stop price are the same thus there is a chance that it will not be put on the order book as fast as needed.
Looks like place_stop_order doesn't allow to specify different limit_price and price arguments. However place_order method does.
How should I specify the side, price and stop_type and stop_price arguments for the following to make sure they are activated a little bit before to ensure execution (assuming I want the stop to be activated 5$ before the stop price)?
Hi,
Especially in volatile situations, I have seen some of my stop orders were run past because the limit price and stop price are the same thus there is a chance that it will not be put on the order book as fast as needed.
Current code:
Looks like
place_stop_orderdoesn't allow to specify differentlimit_priceandpricearguments. Howeverplace_ordermethod does.How should I specify the
side,priceandstop_typeandstop_pricearguments for the following to make sure they are activated a little bit before to ensure execution (assuming I want the stop to be activated 5$ before the stop price)?Any help would be appreciated!