bot is running via GUI or CLI
bot is running via GUI or CLI
05 Jul 2024, 15:56
Is there a way to know from code if my bot is running via GUI or CLI?
Thanks
Replies
ncel01
07 Jul 2024, 22:04
( Updated at: 08 Jul 2024, 04:51 )
Hi There,
I've also raised this question months ago.
At the time there was no way to know this.
https://ctrader.com/forum/ctrader-algo/43133#post-108124
I'd like to get this info programmatically to bypass any message boxes when CLI is applicable (otherwise it won't work).
While this option is not available, I am adding this info manually as an input.
@ncel01
PanagiotisCharalampous
08 Jul 2024, 05:01
Hi there,
No there is no such info provided at the moment.
Best regards,
Panagiotis
@PanagiotisCharalampous
firemyst
07 Jul 2024, 12:52 ( Updated at: 07 Jul 2024, 16:00 )
Out of curiosity, why do you want to know whether a bot is running from the CLI or GUI??
@firemyst