Replies

fahim36912
13 Jun 2024, 09:03

RE: Help please. I've deleted my code :(

Clark22 said: 

I'd be happy to send the algo file if ctrader chaps would be kind enough to restore my code for me.

 

Cheers,

Naseem

When you right click on them and select export you might have an option of “export with source code”. Do you have that?


@fahim36912

fahim36912
19 May 2024, 12:13

+1

+1 to this, I agree. No clue what these devs are doing right now


@fahim36912

fahim36912
17 May 2024, 22:44

RE: RE: Disable Platform Software Auto Update

ctid6168533 said: 

PanagiotisCharalampous said: 

Hi RayAdam,

There is no option to disable updates for cTrader. 

Best Regards,

Panagiotis

hi Panagiotis, 

there should be a feature to block update. this is a platform we use to trade money and we can't risk our trades with new versions specially when they still have problems. there should be an update acknowlegment.. now i am not able to handle my Algos properly with very slow optimizations and optimization status not appearing on the left screen as before .. I am using a Dell R720 server with dual processors total 56 cores and 256 RAM yet the optimization is extremly slow compared to previous version ! 

Wake me up when they've solved the backtesting times. The devs can mess with the layouts all they want but just let me have my quick backtesting times back I can't afford only being able to run through 1 day of data in over 1 hour when before I could go through an entire month in that time. 


@fahim36912

fahim36912
17 May 2024, 22:32

hey developers how about stop changing stuff that doesnt need changing

 

What is this? Why is it considered an improvement to double the size of this list by adding an extra row for each cBot all for “add instance” when you had add instance, build etc on one row with the cBot which was perfectly fine? And this isnt even considering the fact that any cBot with a nested for loop can say goodbye to fast backtesting times on tick data. Devs better not be patting themselves on the back with this update, I can already imagine them in the office thinking they pulled a good one. You didn't. Stop changing stuff that doesnt need changing, including layout as ctid has mentioned

 


@fahim36912

fahim36912
17 May 2024, 22:24 ( Updated at: 17 May 2024, 22:26 )

RE: Rebuild your ALGO using .NET6.0

ctid6168533 said: 

rebuild the ALgo using .net 6.0 and enjoy the speed 

let me know how it works with you 

 

isnt it always built in 6.0?

 

Edit: i've always built them in 6.0, the point is it's super slow now suddenly. even after moving most of my code to onBar instead of ontick its still very slow. it wasnt like this yesterday


@fahim36912

fahim36912
17 May 2024, 17:37

RE: RE: Too Slow

caputojr said: 

ctid6168533 said: 

my bot optimization is also becoming too slow with no possibility to visualize which instances are getting optimzied without click on each one individually.. 

I can't afford to optimize in such long duration. I am seriously thinking of reverting back to Ctrader 4.8 ( not sure why my Ctrader was actually foreced to update ) !! 

 

 

Now I understand why the platform was presenting bugs all around since the beginning of this month. This is what I call worsening update overall.

Basic quality of life features like the quick access build and add instance button in one compartment with the bot was perfect as is. They’ve effectively doubled the size of the damn list of cBots i have because they’ve designated an entire line underneath each bot for add instance. who thought any of this was remotely a good idea? I’ve been working on this project for hours every single day and now it takes over an hour to get through one day of historical tick data are you kidding me? Developers im FURIOUS 


@fahim36912

fahim36912
17 May 2024, 17:29

RE: Too Slow

ctid6168533 said: 

my bot optimization is also becoming too slow with no possibility to visualize which instances are getting optimzied without click on each one individually.. 

I can't afford to optimize in such long duration. I am seriously thinking of reverting back to Ctrader 4.8 ( not sure why my Ctrader was actually foreced to update ) !! 

 

 

How do we revert back? Screw this update. 


@fahim36912

fahim36912
17 May 2024, 15:03

RE: RE: RE: RE: Why is backtesting SO slow after the update? yesterday it was fine before I updated and now my cBot is ultra slow

padik11 said: 

fahim36912 said: 

padik11 said: 

PanagiotisCharalampous said: 

Hi there,

Can you share your cBot code so that we can reproduce the issue?

Best regards,

Panagiotis

I have the same problem. Unfortunately, I cannot share the bot codes.

During testing, no information is visible in the "Events" tab.

How slow is your backtesting? 
 

It seems to originate from any kind of nested for loops. Or for loops in general. It just hates them suddenly.

 

im honestly so frustrated ive been working on this project for months and now I can barely get through a day of backtesting since its barely 60x real time

The speed decreased by about 10 times

Ridiculous. I've emailed the given address with my code so hopefully they can find a solution. I moved a lot of my code to onBar but some of it still needs to be in onTick. Anything with a for loop inside of it just makes cTrader go stupid


@fahim36912

fahim36912
17 May 2024, 11:52

RE: Bot optimization progress

ctid6168533 said: 

why it is not possible to see the bot Optimization progress on the left like before ?! I have to click on each bot now to see if it is being optimized or not unlike the old Ctrader where active optimization where immediately shown by a progress clock on the left so it was easier to quickly identify which bots are still optimizing 

And they removed the easily accessible build button… man these were simple quality of life features that were great why did they remove them 


@fahim36912

fahim36912
17 May 2024, 11:41

RE: RE: Why is backtesting SO slow after the update? yesterday it was fine before I updated and now my cBot is ultra slow

padik11 said: 

PanagiotisCharalampous said: 

Hi there,

Can you share your cBot code so that we can reproduce the issue?

Best regards,

Panagiotis

I have the same problem. Unfortunately, I cannot share the bot codes.

During testing, no information is visible in the "Events" tab.

How slow is your backtesting? 
 

It seems to originate from any kind of nested for loops. Or for loops in general. It just hates them suddenly.

 

im honestly so frustrated ive been working on this project for months and now I can barely get through a day of backtesting since its barely 60x real time


@fahim36912

fahim36912
17 May 2024, 11:41

RE: RE: Why is backtesting SO slow after the update? yesterday it was fine before I updated and now my cBot is ultra slow

padik11 said: 

PanagiotisCharalampous said: 

Hi there,

Can you share your cBot code so that we can reproduce the issue?

Best regards,

Panagiotis

I have the same problem. Unfortunately, I cannot share the bot codes.

During testing, no information is visible in the "Events" tab.

How slow is your backtesting? 
 

It seems to originate from any kind of nested for loops. Or for loops in general. It just hates them suddenly.

 

im honestly so frustrated ive been working on this project for months and now I can barely get through a day of backtesting since its barely 60x real time


@fahim36912

fahim36912
17 May 2024, 11:29

RE: RE: RE: Why is backtesting SO slow after the update? yesterday it was fine before I updated and now my cBot is ultra slow

PanagiotisCharalampous said: 

fahim36912 said: 

PanagiotisCharalampous said: 

Hi there,

Can you share your cBot code so that we can reproduce the issue?

Best regards,

Panagiotis

Is there a way to share this privately?

You can send it to community@ctrader.com

I've sent my code. Subject line: Regarding slow backtesting


@fahim36912

fahim36912
17 May 2024, 10:46

RE: Why is backtesting SO slow after the update? yesterday it was fine before I updated and now my cBot is ultra slow

PanagiotisCharalampous said: 

Hi there,

Can you share your cBot code so that we can reproduce the issue?

Best regards,

Panagiotis

Is there a way to share this privately?


@fahim36912

fahim36912
17 May 2024, 10:34

Similar experience

I'm having a similar issue among other issues, I don't know who is responsible for the things in this update but the UI and the functionality has gotten a lot worse. Not only is the backtesting incredibly slow now for my cBot but the build button is gone and is now only visible within the code, why? Who thought that was a good idea? I use visual studio and have projects open and edit there, I save it and I go back to the platform and I have to go within the platform editor again to build it? 

And I also have your issue as well but I don't use this appalling feature anyway I'd recommend cTrader guru license generator and their other free cBots which allow you to build licenses for your product with expiry dates and such.

I was having a lot of fun with cTrader until the last update, I wish I could roll back to the previous version this one sucks


@fahim36912

fahim36912
17 May 2024, 10:33

Similar experience

I'm having a similar issue among other issues, I don't know who is responsible for the things in this update but the UI and the functionality has gotten a lot worse. Not only is the backtesting incredibly slow now for my cBot but the build button is gone and is now only visible within the code, why? Who thought that was a good idea? I use visual studio and have projects open and edit there, I save it and I go back to the platform and I have to go within the platform editor again to build it? 

And I also have your issue as well but I don't use this appalling feature anyway I'd recommend cTrader guru license generator and their other free cBots which allow you to build licenses for your product with expiry dates and such.

I was having a lot of fun with cTrader until the last update, I wish I could roll back to the previous version this one sucks


@fahim36912

fahim36912
17 May 2024, 09:04

These checks which are inside of the aforementioned method are what begin to slow everything down. Why are for loops suddenly so problematic?

@fahim36912

fahim36912
17 May 2024, 08:53

Here seems to be the code causing issues. Why is this suddenly causing problems? This was working fine yesterday.

@fahim36912

fahim36912
22 Mar 2024, 15:32 ( Updated at: 23 Mar 2024, 05:34 )

RE: Why is string interpolation messing with the number of trendlines on my chart

PanagiotisCharalampous said: 

Hi there,

This happens because Calculate() method is called for historical bars as well. If you don't want to call it for historical bars, you can use IsLastBar to check that you are on the last bar.

Best regards,

Panagiotis

Thanks I love you


@fahim36912