Hi, I want to first place an order with a Buy/Sell limit. Once it it placed I want trailing stop so that I can exit the trade based on my condition. Is there a way to implement in .NET?
as your calculation for trailing the price indicates keep pushing modify order by providing the order id of the previously set stop loss order with new stop loss or trigger price.
Thank you trade_then. I was also thinking of "keep modifying my open order" till it get squarred off. Thank you for telling me about "Tag" functionality. I will definetly explore more on it.
you can track order id via
- websocket order flush recieved.
- or order related functions
for complicated or many scrip, order firing, you can use Tag to uniquely identify your order , for particular scrip for particular logic.Thanks
Regards