I tried calling Tick data with qb.History() with the start/end/resolution and time period/resolution approaches, and both yield a Pandas ValueError. This is with the QuantConnect IDE. I searched the forums and found a year-old issue @ https://github.com/QuantConnect/Lean/issues/4297. Looks like it's not being worked, but the docs still mention that we can call Tick data in the notebook.
Anyone find a way to get Tick data into the notebook?
"ValueError: cannot handle a non-unique multi-index!"
qb.AddEquity("AAPL")
data = qb.History(['AAPL'], timedelta(hours=10), Resolution.Tick)
Varad Kabade
Hi Jose Torres,
We cannot use the history method to get tick data. A possible workaround includes using Second Resolution. Subscribe to these two issues to track the progress[1, 2]. Refer to the attached research notebook.
Best,
Varad Kabade
Jose Torres
Based on the lack of activity in the issue thread I looked at, I'll adjust my expectations. Thanks Varad!
Jose Torres
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!