trophy

Long Only, ETF Alpha Streams Competition with $27,500 Prize Pool

Back

Retrieving Crypto history data for EOSUSD problem

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.
 
 
Update Backtest







0

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.


Does anyone have a clue why i cant retrieve data for this pair?

0

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)

 

0

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.


Hi thanks.

I tried to define that only on the row for EOSUSD but it didnt work. Do you know why?

0

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-data

 

0

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.


Update Backtest





0

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.


Loading...

This discussion is closed