I see there's an Add() method in the RollingWindow
I'd like to insert a new item at the beginning of the list, but the ivar _list is private inside of RollingWindow
The reason I'm trying to do this is, I'm getting some data for a custom indicator from Yahoo Finance. Yahoo finance seems to only provide the data sorted by date. I need to reverse the sort order of the data. I think it provides it in ascending and I need to sort it in descending order (although I might have the ascending and descending backwards, I'm getting a bit sleepy eyed at the moment).
Here's the URL I'm using to get the CSV data from Yahoo Finance:
http://ichart.yahoo.com/table.csv?s=GOOG&a=0&b=2&c=2004&g=d&ignore=.csv
Does anyone know how I could insert a new item to the beginning of a RollingWindow
Nicholas Stein
Jared Broad
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.
Michael Handschuh
Mike Ellertson
Mike Ellertson
Mike Ellertson
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!