Closed facultywork closed 6 years ago
Please define the Market:
xau = qb.AddCfd("XAUUSD", Resolution.Minute, Market.Oanda)
The default market for CFD is Market.FXCM, so Lean looks for CFD data in Lean/Data/cdf/fxcm
instead of Lean/Data/cdf/oanda
.
I've downloaded zip files of CFD hourly data from OANDA via the Quantconnect site and placed them in the
Data/cfd
directory of the Lean repo. My directory structure looks like this:I tried to load the data in my notebook via
And to get a Dataframe of values
And as a result I got nothing:
What am I doing wrong?