It looks like you're new here. If you want to get involved, click one of these buttons!
Node JS client
.Net API client
.Net / VBA / Excel (3rd party)
Algorithms and Strategies
Mobile and Desktop apps
Market data (WebSockets)
In this Discussion
stoploss_value in modify order
New buy Order
squareoff_value=11-5=6 (considering tgt3)
Assuming my tgt1 is reached, i want to change stoploss_value to tgt1. What will be the new value to be passed? will it be 5-7=-2 when sending modifyorder call?
In this case you can use trailing stop loss value as 2 and your order stoploss value will be automatically modified based on the price movement.
If you want to modify manually then there will be two child order one LIMIT order for square off and one SL order for stoploss. So you should modify stoploss order just like a normal order. For example you should modify trigger price to 7 from 5.
So you mean we can not modify BO manually by modifying its SL?
Yeah thats right.
One more thing how do we verify that "trailing_stoploss" value being setup is getting reflected in placed order?
currently we don't show the stoploss details since it's not available to us but we are talking with our OMS vendor.
currently we don't show the stoploss details since it's not available to us but we are speaking to our OMS vendor.
This discussion has been closed.