Ticker | BTCUSD |
Security Type | Crypto |
Market | GDAX |
Resolution | Minute |
Status | Resolved |
Hi Team,
I try to access hour/minute data for BTCUSD but seems there is no data. I have checked the daily data, it works.
https://www.quantconnect.com/data/tree/crypto/bitfinex/hour/btcusd.zip
Gerardo Salazar
Hello Franklin,
In your code, the history request is requesting only 360 minutes of data, ending at the time you submitted the history request. Since there is about a 1 day delay for us to process and get crypto data up to date, no results are being returned since the data isn't there yet.
I would suggest using a date range when making a history request in research. For example: qb.History(qb.Securities.Keys, datetime(2020, 1, 1), datetime(2020, 1, 31), Resolution.Minute) - would get minute data history between 2020-01-01 and 2020-01-31.
Closing the issue as resolved since the expected data is in place.
Best,
Gerardo
QuantConnect Robot
Gerardo Salazar has marked this issue as resolved.
Franklin Ma
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!