Hello there,
I am a complete noob. 1 week in. I was wondering what peoples thoughts are on getting historic data.
I don't have LeanCLI as yet, and probably have 6 to 12 months until I go there. Any initial attempts to get data have failed via a few other means….
Is it possible to sign up for the Researcher account to get LeanCLI for a month, download some data, then cancel again, so that I can spend a few months experimenting? or does it not work like that?
If I go that route, would anyone suggest some common/good instruments to download as a starter point for a complete novice?
I have a coinbase broker account and no other broker atm.
Thank you for any ideas
Mia Alissi
To help 'Mr' get started with historical data on QuantConnect without using the LeanCLI immediately, here are some detailed pointers:
Accessing Historical Data
Research Environment:
QuantBook
class. This environment supports Python and C# and allows you to access QuantConnect's vast data library.QuantConnect API for Historical Data:
You can use the
add_equity
method within theinitialize
function of your algorithm to add equity securities for which you want historical data in your algorithm. For example:To request historical data, use the
history
method on the added asset's symbol within your algorithm:Access Considerations
Researcher Account: Signing up for a Researcher account or using the QuantConnect Cloud Platform will allow you to access historical data and test algorithms in a cloud environment. This might be a good starting point before directly moving to LeanCLI.
Acquiring Data: If you intend to subscribe to the Researcher account temporarily to download historical data, you could use the acquired data to experiment and build strategies over several months. You might choose specific securities like major indices (e.g., SPY, GOOGL, AAPL) as starting points.
Instrument Suggestions
Equities: For beginners, popular stocks like 'SPY' (S&P 500 ETF), 'AAPL' (Apple), 'GOOGL' (Alphabet/Google), and other high-volume stocks can be excellent choices. They provide a good mix of stability and represent broader market movements.
Cryptocurrency Data: Since you have a Coinbase account, consider accessing cryptocurrency data available for free from exchanges like Coinbase. This can be a cost-effective way to start with real-time and historical data for digital assets.
By utilizing QuantConnect's Research Environment or Cloud Platform, 'Mr' can effectively learn to build and test quantitative trading strategies without committing to the setup required for LeanCLI. This also provides flexibility in testing different types of assets and strategies at a controlled pace.
Sources: Getting Started - QuantConnect.com, Key Concepts - QuantConnect.com, Opening Range Breakout for Stocks in Play, Sector Rotation Based On News Sentiment, Getting Started - QuantConnect.com
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!