Set email alert for Disconnection

Created at 22 Jun 2016, 00:38
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!
DE

DELETED_USER

Joined 08.04.2016 Blocked

Set email alert for Disconnection
22 Jun 2016, 00:38


Hello, 

I would like to set an email alert if CAlgo loses connection with my broker. 

What would be the most efficient method to implement this?

Thanks


Replies

Spotware
23 Jun 2016, 15:49

Dear Trader,

Please have a look at the Email notifications section of our User support site and at the SendEmail() Method.


@Spotware

DELETED_USER
23 Jun 2016, 15:57

Thanks for your reply, I understand how to sendemail within the code. I wanted to check if it is possible to send an email if the Broker Connection disconnects from CAlgo?


Spotware
23 Jun 2016, 16:22

Dear Trader,

Please have a look at the ErrorCode.Disconnected


@Spotware