Is there any sort of "OnLoad" functionality for a cBot?

Created at 05 Nov 2019, 01:59
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 any sort of "OnLoad" functionality for a cBot?
05 Nov 2019, 01:59


HI everyone:

Is there any sort of "OnLoad" functionality for a cBot that will load/initialize/execute code when a cBot is loaded in cTrader, but the start button isn't clicked?

Where this is especially handy is when network calls need to be made (ex: checking a license or data file) or reading in saved data (like from a CSV that was saved by a bot before cTrader was closed).

Thank you.


@firemyst
Replies

PanagiotisCharalampous
05 Nov 2019, 08:28

Hi FireMyst,

There is no such functionality.

Best Regards,

Panagiotis


@PanagiotisCharalampous