Joined 19.03.2020
Determine cBot channel programmatically
11 Mar 2024, 11:20
Hello,
Is it possible to programmatically determine what is the applicable cBot channel (cTrader, console, etc.) ?
Thanks.
Replies
Algo_Invest
11 Mar 2024, 14:26
RE: Determine cBot channel programmatically
PanagiotisCharalampous said:
Hi ncel01,
No, all trades coming from cBots come from the cBot cTrader channel.
Best regards,
Panagiotis
Hi Panagiotis,
Isn't there a distinction between cTrader and console? In the position details I can see that “cBot console” is mentioned for the channel (cBot is running though the CLI).
Isn't it possible to programmatically identify if a cBot is running through cTrader or the CLI? I'd like to apply some conditionals based on this.
Thanks.
@Algo_Invest
PanagiotisCharalampous
12 Mar 2024, 06:10
RE: RE: Determine cBot channel programmatically
ncel01 said:
PanagiotisCharalampous said:
Hi ncel01,
No, all trades coming from cBots come from the cBot cTrader channel.
Best regards,
Panagiotis
Hi Panagiotis,
Isn't there a distinction between cTrader and console? In the position details I can see that “cBot console” is mentioned for the channel (cBot is running though the CLI).
Isn't it possible to programmatically identify if a cBot is running through cTrader or the CLI? I'd like to apply some conditionals based on this.
Thanks.
Hi ncel01,
Unfortunately there is no such option at the moment.
Best regards,
Panagiotis
@PanagiotisCharalampous
Algo_Invest
12 Mar 2024, 08:53
RE: RE: RE: Determine cBot channel programmatically
PanagiotisCharalampous said:
ncel01 said:
PanagiotisCharalampous said:
Hi ncel01,
No, all trades coming from cBots come from the cBot cTrader channel.
Best regards,
Panagiotis
Hi Panagiotis,
Isn't there a distinction between cTrader and console? In the position details I can see that “cBot console” is mentioned for the channel (cBot is running though the CLI).
Isn't it possible to programmatically identify if a cBot is running through cTrader or the CLI? I'd like to apply some conditionals based on this.
Thanks.
Hi ncel01,
Unfortunately there is no such option at the moment.
Best regards,
Panagiotis
Thanks for confirming this.
Do you think there is a need to suggest for this or, will it be added in the future anyway?
Thanks.
@Algo_Invest
PanagiotisCharalampous
13 Mar 2024, 07:00
RE: RE: RE: RE: Determine cBot channel programmatically
ncel01 said:
PanagiotisCharalampous said:
ncel01 said:
PanagiotisCharalampous said:
Hi ncel01,
No, all trades coming from cBots come from the cBot cTrader channel.
Best regards,
Panagiotis
Hi Panagiotis,
Isn't there a distinction between cTrader and console? In the position details I can see that “cBot console” is mentioned for the channel (cBot is running though the CLI).
Isn't it possible to programmatically identify if a cBot is running through cTrader or the CLI? I'd like to apply some conditionals based on this.
Thanks.
Hi ncel01,
Unfortunately there is no such option at the moment.
Best regards,
Panagiotis
Thanks for confirming this.
Do you think there is a need to suggest for this or, will it be added in the future anyway?
Thanks.
Hi ncel01,
We do not have such plans at the moment, therefore feel free to suggest it.
Best regards,
Panagiotis
@PanagiotisCharalampous


PanagiotisCharalampous
11 Mar 2024, 13:24
Hi ncel01,
No, all trades coming from cBots come from the cBot cTrader channel.
Best regards,
Panagiotis
@PanagiotisCharalampous