Is there a way to tell who/what moved the SL in a cBot?

Created at 22 Apr 2020, 09:15
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!
FI

firemyst

Joined 26.03.2019

Is there a way to tell who/what moved the SL in a cBot?
22 Apr 2020, 09:15


Hi everyone:

Is there a way to tell if a bot vs human interaction vs something else moved a Stop loss?

For positions closed, I know we can get a reason; I was wondering if the same is true for stop losses?

Otherwise, I think the only way to do it is in a bot, to check the current SL with the value of the SL the last time the bot set it. If they're different and if the bot didn't move it, assume a human did?

Am open to other ideas if anyone has any?

Thank you,

 


@firemyst
Replies

PanagiotisCharalampous
22 Apr 2020, 09:20

Hi firemyst,

This information is not provided by the API. You will need to "invent" something yourself.

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous