Replies

dudavianna
08 Jan 2025, 15:19

RE: Crashed in OnStart with ArgumentNullException: Value cannot be null.

firemyst said: 

There are a lot of limitations bots have when running in the cloud versus locally. For instance, you can't open network connections, send emails, read files, draw on charts, etc.

You haven't posted any code that's causing the issues, so nobody can really say for sure what's happening in your scenario unless someone from Spotware actually confirms there's a cloud issue.

Thanks for your help.

I'm reviewing all the code, I think it might be something related to displaying a control panel. I just find it strange that it used to work and then suddenly stopped working. That's why I think there was some change in the cloud environment.

Another thing I noticed are some alerts about changes in the ModifyPositions() method (new version with ProtectionType parameter), it seems that new overloads were created and new parameters. That's why I think there might have been some change.

Thanks again and I think the problem might be the control panel that shouldn't exist in the version that runs in the cloud, only in the local version.


@dudavianna

dudavianna
01 Jan 2025, 22:59

RE: Example of new ModifyPosition(...)?

Hello everyone,

Does this alert cause any changes to the method's behavior?

I saw this alert for the first time yesterday.

Thanks a lot!

 

PanagiotisCharalampous said: 

Hi there,

The help site has not been updated yet. It will be updated soon.

Best regards,

Panagiotis

 


@dudavianna

dudavianna
09 Oct 2024, 18:12

RE: Bars.LoadMoreHistory() in backtesting

PanagiotisCharalampous said: 

Hi there,

Bars.LoadMoreHistory() does not work for backtesting at the moment. This feature will be added in a future release of cTrader.

Best regards,

Panagiotis

Thanks a lot!

One additional question: Previously, the Bars.OpenTimes.Count method brought more than 3,000 candles to the index. Today, I notice it is only bringing 200.

Has there been any change?


@dudavianna

dudavianna
24 Aug 2023, 13:28 ( Updated at: 21 Dec 2023, 09:23 )

RE: Does not display Edit in Visual Studio option - cTrader 4.8.21

PanagiotisChar said: 

Hi there,

It has been moved here now

Aieden Technologies

Need help? Join us on Telegram


 

Thanks!!!!!

I hadn't seen it because the screen had the side menu active.

I believe they could have kept the option on the right mouse button. It's more intuitive.

Thank you again.


@dudavianna