QuantRocket logo

Disclaimer

Data Collection

The data collection process consists of collecting US stock listings, creating a universe of leveraged ETFs, then collecting 1 minute bars for the leveraged ETFs.

Collect ETF listings

First collect US Stock listings:

Define universe of leveraged ETFs

Next we download a CSV of several leveraged ETFs:

Then upload the CSV to create the "leveraged-etf" universe:

Collect historical data

Next, we create a Zipline bundle for collecting 1-min bars.

Then collect the data for the leveraged ETFs:

Monitor flightlog for completion:

quantrocket.zipline: INFO [usstock-1min] Collecting minute bars for 14 securities in usstock-1min bundle
quantrocket.zipline: INFO [usstock-1min] Collecting daily bars for usstock-1min bundle
quantrocket.zipline: INFO [usstock-1min] Collecting adjustments for usstock-1min bundle
quantrocket.zipline: INFO [usstock-1min] Collecting assets for usstock-1min bundle
quantrocket.zipline: INFO [usstock-1min] Completed collecting data for 14 securities in usstock-1min bundle

Next Up

Part 2: Moonshot Backtest