On CLI Server.Connected and Bars.Reloaded events are not triggered
Created at 23 Jul 2023, 10:18
On CLI Server.Connected and Bars.Reloaded events are not triggered
23 Jul 2023, 10:18
When running a cBot via CLI, the Server.Connected and Bars.Reloaded events are not triggered. instead the OnStart is triggered (Server.Disconnected is working fine).
Update: Not only the events are not triggered but all instances of classes are set to null upon the reconnection. That of course changes the entire behaviour of the cBot.
Is this a bug or expected behaviour? Is there a way to work around it?
Thanks
Spotware
24 Jul 2023, 07:29
Dear trader,
Thank you for reporting this issue to us. It is a bug and will be fixed in an upcoming update.
Best regards,
cTrader Team
@Spotware