Live position closed notification

Created at 14 Feb 2023, 10:54
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!
KA

karol.bautrel

Joined 01.12.2022

Live position closed notification
14 Feb 2023, 10:54


Hello ! 

Is there any request which allow to subscribe (like subscribing trendbars) to get notify when my position will be filled by stop loss or take profit ? 

I managed to check only if positions are open or closed but there is lack of information if it closed because of cancel, stop loss or take profit. 


@karol.bautrel
Replies

PanagiotisChar
14 Feb 2023, 11:13

Hi there,

Order execution is reported with ProtoOAExecutionEvent. ProtoOAExecutionEvent.ProtoOAOrder.ProtoOAOrderType should contain the information you need.

Aieden Technologies

Need help? Join us on Telegram

Need premium support? Trade with us

 


@PanagiotisChar