Training Stop loss

Created at 14 Aug 2024, 05:10
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
SI

siddasaiganesh

Joined 14.08.2024

Training Stop loss
14 Aug 2024, 05:10


Hi ,Can I use trailing stop loss programmatically (Python preferably). If yes , can you please walk me through ,how?

Thanks in advance 


@siddasaiganesh
Replies

ctid1980098
21 Aug 2024, 09:18

Hi, 

Yes, you can do this programmatically. When you receive a price info from server with “35=W” fix message then open and order for your current buy or sell position and use orderupdate fix message to change the stop price and it should behave like a trailing stop. 


@ctid1980098