Symbol 'XAUUSD t1' cached data not available or corrupted
Symbol 'XAUUSD t1' cached data not available or corrupted
17 Aug 2023, 11:45
Dear Spotware,
i hope you can help me / us with this problem.
I created a complete new and clean robot (just the template) with just one bool test parameter (to be able to start optimization), just to be sure that is has nothing to do with my other “real” bot.
I get the following output in the log during optimization:
01/08/2022 02:00:00.000 | Symbol 'XAUUSD t1' cached data not available or corrupted.
01/08/2022 02:00:00.000 | Symbol 'XAUUSD t1' cached data cleared.
01/08/2022 02:00:00.000 | Failed to get symbol 'XAUUSD': Symbol not found or has no quotes.
….
01/08/2022 02:00:00.000 | Symbol 'XAUUSD t1' cached data not available or corrupted.
01/08/2022 02:00:00.000 | Symbol 'XAUUSD t1' cached data cleared.
01/08/2022 02:00:00.000 | Failed to get symbol 'XAUUSD': Symbol not found or has no quotes.
…. (error is repeating) …
I already deleted the backtesting cache completely.
The same problem also occurs for example with EURUSD, so also with other symbols.
And the same problem also occurs for example with t10, m1, m5 etc., so also with other timeframes.
It is the same problem like in the following threads:
cTrader Forum - cached data not available or corrupted
cTrader Forum - Symbol "XAUUSD m5" cached data not available or corrupted
Broker: ICMarkets
Version: 4.8.21
Thank you in advance for your help.
Best regards,
Andi21
Replies
andi21
18 Aug 2023, 12:53
Dear cTrader Team and Traders,
cTrader Team was able to find the problem. There is a problem with access permissions while reading the tick-Data when the bot has AccessRights.None set.
So as a temporary “workaround” - while the problem is further investigated and fixed - you can adjust the robot annotation of the bot:
[Robot(AccessRights = AccessRights.FullAccess)] // Instead of AccessRights.None
public class NewcBot : Robot
{
…
Best Regards,
Andi21
@andi21
Spotware
18 Aug 2023, 08:05
Dear trader,
Unfortunately we were not able to reproduce this behavior. If you can provide us with TeamViewer access to inspect this issue on your computer, please contact us at community@ctrader.com
Best regards,
cTrader Team
@Spotware