Topics
Replies
ncel01
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.
@ncel01
ncel01
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.
@ncel01
ncel01
06 Mar 2024, 12:52
RE: RE: RE: Tab "copy" not always available
PanagiotisCharalampous said:
ncel01 said:
PanagiotisCharalampous said:
Hi ncel01,
Please share a full screenshot of the UI and submit some troubleshooting information when this happens.
Best regards,
Panagiotis
Hi Panagiotis,
I've just reported a technical issue with a link to this thread.
Below is a screenshot of the full UI. As you can see, the “copy” tab is not found anywhere on the left bar:Hi there,
The service is not available by this broker
Best regards,
Panagiotis
Hi Panagiotis,
You're right. My mistake.
I was not expecting it to update with the broker.
Thanks for informing!
@ncel01
ncel01
05 Mar 2024, 17:03
RE: Tab "copy" not always available
PanagiotisCharalampous said:
Hi ncel01,
Please share a full screenshot of the UI and submit some troubleshooting information when this happens.
Best regards,
Panagiotis
Hi Panagiotis,
I've just reported a technical issue with a link to this thread.
Below is a screenshot of the full UI. As you can see, the “copy” tab is not found anywhere on the left bar:
@ncel01
ncel01
21 Feb 2024, 14:20
RE: RE: Protect orders/positions against manual modifications
firemyst said:
ncel01 said:
Unintentional manual modifications.
Semantics. Unintentional by you or someone else. Either way, with how the charts are structured and the location of controls, it takes a lot to do something ‘unintentional’ while looking at the charts with a position you're in – someone has to physically move, point, and click a mouse button, especially if you've removed all the hot key shortcuts. That's a lot for being unintentional while trading on a live account.
And besides moving the SL/TP, I don't know what else you could easily reverse/reset if something ‘unintentional’ is done.
Sure, semantics.
Thanks for trying.
@ncel01
ncel01
21 Feb 2024, 08:13
RE: Protect orders/positions against manual modifications
firemyst said:
Yes it can. You'll have to implement checks. There's no way currently to prevent a user from manually modify an order (SL/TP), but you can always keep track of the last value your bot moved it too and then revert back to those values if they were updated.
Other modifications like increasing/decreasing the position size and such will be a bit more tricky because you'll first have to start by asking yourself… if someone manually decreased your position size, would you really want to increase it back to where it was?
That's exactly about check and revert as I mentioned above.
I think the most effective way was to have an option on cTrader settings for the active account.
Allow manual trading for the account? Y/N
In addition, this would also save all the effort to code an (not so effective) alternative.
@ncel01
ncel01
20 Feb 2024, 08:09
RE: Backtest: position.NetProfit at close not matching History.Last().NetProfit
PanagiotisCharalampous said:
Hi ncel01,
Understood. The root cause of the problem is the same as in the other thread. It will be resolved in an upcoming update.
Best regards,
Panagiotis
Hi Panagiotis,
That's what I thought.
Thanks for confirming!
@ncel01
ncel01
19 Feb 2024, 11:00
RE: RE: RE: Backtest: position.NetProfit at close not matching History.Last().NetProfit
PanagiotisCharalampous said:
ncel01 said:
PanagiotisCharalampous said:
Hi ncel01,
Can you share an example cBot that allows us to reproduce this?
Best regards,
Panagiotis
Hi Panagiotis,
Can you please first try to check this by just adding a Print(o.Position.NetProfit) inside Positions_Closed()?
I need to create a whole cBot sample for this. I'll do it in case the above is not working with you.
Just let me know.
Works fine for me
Panagiotis,
Please use an index as well and let me know.
I've noticed in the past that, unlike forex, similar issues applied to indices.
@ncel01
ncel01
19 Feb 2024, 08:23
RE: Backtest: position.NetProfit at close not matching History.Last().NetProfit
PanagiotisCharalampous said:
Hi ncel01,
Can you share an example cBot that allows us to reproduce this?
Best regards,
Panagiotis
Hi Panagiotis,
Can you please first try to check this by just adding a Print(o.Position.NetProfit) inside Positions_Closed()?
I need to create a whole cBot sample for this. I'll do it in case the above is not working with you.
Just let me know.
@ncel01
ncel01
18 Feb 2024, 22:15
RE: RE: RE: Async execution in backtest
PanagiotisCharalampous said:
ncel01 said:
PanagiotisCharalampous said:
Hi ncel01,
Out of curiosity, what would you expect to happened? Async execution cannot be realistically simulated as there is no server that we need to wait to respond.
Best regards,
Panagiotis
Hi Panagiotis,
I was thinking of a built-in delay (e.g.: 100ms), instead of an instantaneous execution, associated to all the async methods to simulate the server response time.
At first glance this seems to me something feasible to be implemented but maybe I am wrong.
Hi ncel01,
Understood. You could post it in Suggestions and the team can consider this based on the feasibility.
Best regards,
Sure, I'll do it.
In fact I have a lot of suggestions in mind that I intend to share.
For some of these I'll first confirm their feasibility as I did in this thread. I am also waiting to see what the major update will bring.
Out of curiosity:
Is it a necessary condition that suggestions need to have a high number of votes to be implemented?
@ncel01
ncel01
16 Feb 2024, 07:41
RE: Async execution in backtest
PanagiotisCharalampous said:
Hi ncel01,
Out of curiosity, what would you expect to happened? Async execution cannot be realistically simulated as there is no server that we need to wait to respond.
Best regards,
Panagiotis
Hi Panagiotis,
I was thinking of a built-in delay (e.g.: 100ms), instead of an instantaneous execution, associated to all the async methods to simulate the server response time.
At first glance this seems to me something feasible to be implemented but maybe I am wrong.
@ncel01
ncel01
09 Feb 2024, 06:20
RE: RE: RE: RE: cTrader - Plugins
PanagiotisCharalampous said:
ncel01 said:
PanagiotisCharalampous said:
ncel01 said:
Sounds interesting.
I was reading about this and wondering if, for instance, users will have the possibility to control/manage multiple cBot/CLI instances via these plugins.
Hi ncel01,
Users will have access to charts and will be able to manage only cBots that are already added on these charts. Plugins do not have access to CLI instances since they run outside of cTrader. You can create your own application to manage CLI instances.
Best regards,
Panagiotis
Hi Panagiotis,
I see.
How to create such an application? Through the FIX API?
You don't need any specific API. CLI is just a process running on your computer. You can develop an application that manages such processes running on your operating system.
That sounds quite complex.
I still want to believe that, in the near future, CLI instances can be controlled/managed via cTrader through some kind of dashboard.
@ncel01
ncel01
08 Feb 2024, 12:04
RE: RE: cTrader - Plugins
PanagiotisCharalampous said:
ncel01 said:
Sounds interesting.
I was reading about this and wondering if, for instance, users will have the possibility to control/manage multiple cBot/CLI instances via these plugins.
Hi ncel01,
Users will have access to charts and will be able to manage only cBots that are already added on these charts. Plugins do not have access to CLI instances since they run outside of cTrader. You can create your own application to manage CLI instances.
Best regards,
Panagiotis
Hi Panagiotis,
I see.
How to create such an application? Through the FIX API?
@ncel01
ncel01
06 Feb 2024, 15:10
RE: RE: RE: RE: RE: RE: RE: Backtest swaps are still missing in some cases
PanagiotisCharalampous said:
ncel01 said:
PanagiotisCharalampous said:
ncel01 said:
PanagiotisCharalampous said:
ncel01 said:
PanagiotisCharalampous said:
Hi ncel01,
Can you please provide more information?
Best regards,
Panagiotis
Hi Panagiotis,
Yes, of course. Just let know what exact information you need.
Account, broker and how we can see what you are looking at (cBot, screenshots etc)
Panagiotis,
Try to run a backtest on indices with Pepperstone or Varianse and let me know what the outcome is.
In my case the swaps are zero for all my accounts with these brokers.
Looks good here
Panagiotis,
That's forex. Please try an index, as requested.
Note: My accounts are with Pepperstone Group Limited (ASIC) and not Pepperstone Europe.
Thanks ncel01,
I managed to reproduce this and reported it to the product team. Hopefully it will be resolved soon.
Best regards,
Panagiotis
Panagiotis,
You're welcome!
I don't think this is a big issue but, if working properly the better.
@ncel01
ncel01
05 Feb 2024, 12:11
( Updated at: 05 Feb 2024, 12:16 )
RE: RE: RE: RE: RE: Backtest swaps are still missing in some cases
PanagiotisCharalampous said:
ncel01 said:
PanagiotisCharalampous said:
ncel01 said:
PanagiotisCharalampous said:
Hi ncel01,
Can you please provide more information?
Best regards,
Panagiotis
Hi Panagiotis,
Yes, of course. Just let know what exact information you need.
Account, broker and how we can see what you are looking at (cBot, screenshots etc)
Panagiotis,
Try to run a backtest on indices with Pepperstone or Varianse and let me know what the outcome is.
In my case the swaps are zero for all my accounts with these brokers.
Looks good here
Panagiotis,
That's forex. Please try an index, as requested.
Note: My accounts are with Pepperstone Group Limited (ASIC) and not Pepperstone Europe.
@ncel01
ncel01
15 Mar 2024, 07:55
Dear cTrader Team,
Please let me know if this is possible.
I found such protection important specially when opening charts in the mobile app, since positions protection can be easily changed/removed by mistake.
It would be also interesting if traders could define one the following, as part of each account settings:
Trading method:
If no feasible/alternative solution for this is available I'll suggest for it.
Thank you!
@ncel01