hi,
i'm trying to train a small NN in research envirment.
assume i have a list of symbols and a list of dates, how do i get minute resolution data for those lists?
i'm getting an error using history.
thanks, Nitay.
hi,
i'm trying to train a small NN in research envirment.
assume i have a list of symbols and a list of dates, how do i get minute resolution data for those lists?
i'm getting an error using history.
thanks, Nitay.
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.
qb.History(tickers, start_date, end_date, resolution) returns a multi-index data frame. Please see the attached notebook file.
for some reason, the message didn't come right.
i have two problems:
1. in the second cell: can't increase 'day_delta' above 10.
2. when running the third cell: i'm getting 'dead kernel'.
please help! it's so frustrating, i can't do the most basic things...
Hi Nitay, you'll run into the timeout issue for large history request. Please try to request a small period of history price with self.History() and concatenate the data frames to obtain the entire data set you need. A large history data request will kill the kernel.
hi Jing Wu ,
this is the problem in the second cell, but in the third cell i'm calling history inside a loop, one symbol and one day at a time, so what's the problem there?
Hi Nitay,
What's happening in the third cell is that the raw_data_3d array is a single dimension array but it is being indexed as if it had more dimensions, and so the cell won't run properly. If you see the notebook I've attached you can find the code snippets that are breaking in cell 4 and 5 with descriptions of what's happening.
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!