Pseudo Legacy Mode?
Pseudo Legacy Mode?
12 Mar 2023, 00:16
Since the migration to .NET 6.0, the Legacy mode .NET 4. x is available but doesn't seem to be a true Legacy mode because previously perfectly running code, now when run in Legacy mode displays the following warning message:
"Illegal call out of MainThread is detected. Use BeginInvokeOnMainThread".
Can Spotware correct that in a future release?
I have another issue with a hot that gets symbol's information and history data, which was working perfectly before the migration to .NET 6.0 and now doesn't run in Legacy mode either, issuing the error:
- CBot instance [HLDIFF, EURUSD, h1] crashed with error "Crashed in MarketData.GetBarsAsync callback with NullReferenceException: Object reference not set to an instance of an object"
So the bottom line is most of the previous code I had before this update is now having warning messages or not working in Legacy Mode.
Could this be reviewed more carefully by Spotware to ensure true compatibility?
Spotware
13 Mar 2023, 08:33
Dear trader,
Can you please post this in the correct section of the forum and provide us with the source code of the cBot and the exact steps we need to follow to reproduce this problem?
Best regards,
cTrader Team
@Spotware