QuantRocket logo

Disclaimer

Data Collection - US Stocks

Our machine learning strategy will run on the universe of all US stocks.

Start by collecting US stock data from Sharadar. Fundamental and price data are collected separately but can be run simultaneously.

Collect Sharadar fundamentals

To collect the fundamentals:

This runs in the background, monitor flightlog for a completion message:

quantrocket.fundamental: INFO Collecting Sharadar US fundamentals
quantrocket.fundamental: INFO Collecting updated Sharadar US securities listings
quantrocket.fundamental: INFO Finished collecting Sharadar US fundamentals

Collect Sharadar prices

First, create a database for Sharadar stock prices:

Then collect the data:

This runs in the background, monitor flightlog for a completion message:

quantrocket.history: INFO [sharadar-us-stk-1d] Collecting Sharadar US STK prices
quantrocket.history: INFO [sharadar-us-stk-1d] Collecting updated Sharadar US securities listings
quantrocket.history: INFO [sharadar-us-stk-1d] Finished collecting Sharadar US STK prices

Next Up

Part 2: Data Collection - Indexes