Importing 1min Bars in Csv causes "Symbol not found or has no quotes" error
Importing 1min Bars in Csv causes "Symbol not found or has no quotes" error
13 Sep 2024, 06:10
In back testing, I choose to use my own 1min OHLCV csv file and the Symbol is “XAUUSD”.
If I reference other data bars in my back test code like,
MarketData.GetBars(TimeFrame.Minute, "USDJPY").ClosePrices.Last(1)
I got runtime error “Failed to get symobl ‘USDJPY’: Symbol not found or has no quotes.”
Replies
PanagiotisCharalampous
13 Sep 2024, 06:53
hi there,
Can you try using the cross broker cTrader application and let me know if you can still reproduce this problem?
Best regards,
Panagiotis
@PanagiotisCharalampous
ys2310
13 Sep 2024, 07:10
RE: Importing 1min Bars in Csv causes "Symbol not found or has no quotes" error
PanagiotisCharalampous said:
hi there,
Can you try using the cross broker cTrader application and let me know if you can still reproduce this problem?
Best regards,
Panagiotis
I tried with Spotware cTrader cross broker cTrader and it generates a similar error message.
Error | Failed to get symbol 'USDJPY' quotes: Symbol USDJPY has no quotes at 2003/07/01 4:00:00.
I think this is because my Csv data is going all the way back to year of 2003 while the broker's USDJPY's first data is some where 2011.
How we can deal situation like this?
@ys2310
PanagiotisCharalampous
13 Sep 2024, 06:32
Hi there,
Does your broker offer this symbol? Can you share your cBot code and let us know your broker?
Best regards,
Panagiotis
@PanagiotisCharalampous