I am trying to retrieve data for the EOSUSD pair.
qb.AddCrypto("EOSUSD", Resolution.Daily)
h1.loc["EOSUSD"]["close"].plot()
Why does it give me the error and says that EOSUSD is not in the index? When i watch here:https://www.quantconnect.com/data/file/crypto/bitfinex/daily/eosusd_quote.zip/eosusd.csvIt has data.
Davidii111
Does anyone have a clue why i cant retrieve data for this pair?
Alexandre Catarino
Hi Davidii111,
Please explicitly define that you want Bitfinex data:
for ticker in ["BTCUSD", "ETHUSD", "XRPUSD", "LTCUSD", "EOSUSD", "NEOUSD", "XMRUSD", "TRXUSD"]: qb.AddCrypto(ticker, Resolution.Daily, Market.Bitfinex)
Davidii111
Hi thanks.
I tried to define that only on the row for EOSUSD but it didnt work. Do you know why?
Link Liang
Hi Davidii111,
When we use AddCrypto(), we have to define the market. In this case, the market should be Bitfinex. So instead of qb.AddCrypto("EOSUSD", Resolution.Daily), use qb.AddCrypto("EOSUSD", Resolution.Daily, Market.Bitfinex) will solve the problem.
In addition, the answer from Alexandre above gives a better way to add multiple tickers.
Hope it helps!
Here a link with related documentation
https://www.quantconnect.com/docs/research/historical-dataDavidii111
The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by QuantConnect. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. QuantConnect makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances. All investments involve risk, including loss of principal. You should consult with an investment professional before making any investment decisions.
To unlock posting to the community forums please complete at least 30% of Boot Camp.
You can continue your Boot Camp training progress from the terminal. We hope to see you in the community soon!