Are there any plans to improve CLI functionality, given that it has been launched more than one year ago without any improvements so far?
It's almost 2025 and many traders still don't have a full/effective alternative to cTrader desktop for algo trading, which is really required for obvious performance limitations and this can be frustrating.
I believe that most of the effort to develop the CLI has been already made. Please consider to give it some priority to this to make it “final”.
cBots are based on .Net. Therefore you can only call dll files based on managed code. If your dll is based on managed code, you should be able to use it.
Can you please fix reload issue as its causing a lot of problem
Hi there,
Which exact issue are you referring to? Could you pleasesend us some troubleshooting information the next time this happens? Please paste a link to this discussion inside the text box before you submit it.
When an order is executed, you should receive an ExecutionReport which contains the position ID. The responses you have pasted are not Execution Reports but Market Data Incremental Refresh. So you are probably looking at the wrong message.
Can you please provide more information about this issue e.g. steps to reproduce and some screenshots demonstrating what you are looking at?
Best regards,
Panagiotis
Hi
You can also test yourself in the backtest section; Add the Keltner Channels indicator and you will see that before starting each robot; The opening of the indicator is, for example, 50 pips away, but immediately after the start of the robot and the revelation of new candles; The opening of the indicator will quickly get closer to each other and it will show, for example, a distance of 5 pips. Photo 1 that I have attached is before the start of the robot and photo 2 shows shortly after the start of the robot. The same problem caused the robot that I wrote earlier based on this indicator and it worked correctly; It is now disabled after the recent update. I tried some similar indicators but they did not have this problem.
Thank you. We managed to reproduce this behavior and we will fix it in an upcoming update.
Thank you for your attention. Are you a member of the Ctrader technical team? How long does it take to provide the new update?
Hi there,
Yes I am. We cannot provide an ETA unfortunately. As soon as it is ready and tested, it will be released.
Best regards,
Panagiotis
Hi
Today we had a new update, but the problem is not solved yet.
Hi there,
The fix for this issue is not included in the latest update.
Best regards,
Panagiotis
Hi there
More than a month has passed since the announcement of this problem, but the problem has not been solved yet. How long do you think it will take for an update to solve this problem? I want to know that if it takes a long time, I should spend time and try other indicators or write a similar indicator myself so that I can restart my robot.
Best Regards
Hi,
It will be fixed in v5.1, however there is no ETA at the moment.
You can't and probably that will be the case in live environments too. It takes some time for the server to notify the client application that a position was closed.
Is there a way via code to “ask” the broker directly and not via cTrader properties/events?
I am not sure what do you mean…
As far as i know the only way to know about the positions states is using Positions which is a cTrader's object and is not necessarily updated.
Is there a way via code to communicate instead directly with the broker and get the updated positions status from there?
Thanks
Positions information for cTrader accounts is stored in cTrader platform. The phrase “directly with the broker” doesn't make much sense.
You can't and probably that will be the case in live environments too. It takes some time for the server to notify the client application that a position was closed.
Is there a way via code to “ask” the broker directly and not via cTrader properties/events?
It seems the Positions.Closed event is triggered somehow late, meaning AFTER OnTick. So when I run the OnTick the cBot thinks the position is still open (and the position still appears on the Positions property).
How can I know from the OnTick that the position is already closed?
Thanks
You can't and probably that will be the case in live environments too. It takes some time for the server to notify the client application that a position was closed.
PanagiotisCharalampous
09 Aug 2024, 12:19
Hi there,
This issue is fixed in v5.0.29. You can use it for your optimization.
Best regards,
Panagiotis
@PanagiotisCharalampous