Back

How to use Lean with Static Sourcing data?

Is there any example code that shows how to use Static Sourcing data?

I've downloaded data to the Data folder structure with the toolbox, but it's not very straightforward on how to use that data from a specific exchange.

Sorry for the noob question , just trying to get a quick start. I've searched the source code and the documentation available.
Update Backtest








Hi Erik, what you mean by static sourcing? External data sources? (e.g. dropbox etc) can be used by importing custom data. There is an example in the QC University tab on the left of the IDE (e.g. "How Do I Import Yahoo Data?")
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.


Great info Jared.

Static sourcing refers to the section header in the manual at this page: https://lean.quantconnect.com/docs#topic15.html

Now I only have to figure out how to use this with local files in the "Data" folder structure instead of retrieving data from a URL like in the Yahoo example. Is there any code that does this?

I'm sure I can find out how to do this, but if there's a simpler method ready for me then I'd prefer to use that one.
0

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