Back

Uploading/Loading in a datafile from disk? Not time series data

Hi,

So I have a preprocessed list of tickers with a bit of data attatched in an algorithm I've been using on backtrader - I was hoping to use this list in the quantconnect interface while addapting this algorithm to run on your stuff. It's not practical to try to generate this for each run and so I have a local file of the pre-generated data. I don't really want to upload this to a publicly so I was wondering if there a way to upload this list as say a pkl file etc from the drive each time so I can use it - I note that there seems to be some sort of support for this if the data is essentially time series stock data but I'd love a clean example of a pkl, csv, dataframe of, for example parameter data, being uploaded and used if it is possible?

I attempted to merely load it all in as an encoded string but the character limit scuppered me.

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.


Hi Ralph,

You can use the self.Download() method to get your pickle file and this method can take header settings for basic authentification. You might find this reference helpful.

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