Stop Order Triggers

Created at 14 Dec 2024, 12:30
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!
SW

swapd0

Joined 07.10.2019

Stop Order Triggers
14 Dec 2024, 12:30


Hi

 

When you create a Stop Order in cTrader you can change the trigger method for the order and also for the stop loss, but looking at ProtoOAOrder fields there are only one ProtoOAOrderTriggerMethod, in this case is for the order.

 

Where can I set or find the trigger method for the oder stop loss? Is this internally handled by cTrader and not supported by OpenAPI?

 

Regards


@swapd0
Replies

PanagiotisCharalampous
16 Dec 2024, 08:12

Hi there,

You can use ProtoOAAmendPositionSLTPReq to set this after the position has been created.

Best regards,

Panagiotis


@PanagiotisCharalampous