Log failures

Created at 02 Dec 2021, 22:08
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!
BL

blockchainTrader1

Joined 16.11.2021

Log failures
02 Dec 2021, 22:08


When running too many indicators together in a cbot the cbot just hangs or doesn’t do anything.

 

when running optimiser - is there a watch to catch exceptions or log them so I can track where it failed.

 

i.e are there on oncrash or on exception events fired by cbot?


@blockchainTrader1
Replies

amusleh
03 Dec 2021, 08:32

Hi,

Use C# Try/Catch block and log the exception by using cTrader Print method.


@amusleh