from quantrocket.zipline import create_usstock_bundle
create_usstock_bundle("usstock-1d-bundle", data_frequency="daily")
{'status': 'success', 'msg': 'successfully created usstock-1d-bundle bundle'}
Then ingest the data:
from quantrocket.zipline import ingest_bundle
ingest_bundle("usstock-1d-bundle")
{'status': 'the data will be ingested asynchronously'}
Use flightlog to monitor the progress:
quantrocket.zipline: INFO [usstock-1d-bundle] Ingesting daily bars for usstock-1d-bundle bundle
quantrocket.zipline: INFO [usstock-1d-bundle] Ingesting adjustments for usstock-1d-bundle bundle
quantrocket.zipline: INFO [usstock-1d-bundle] Ingesting assets for usstock-1d-bundle bundle
quantrocket.zipline: INFO [usstock-1d-bundle] Completed ingesting data for 24749 securities in usstock-1d-bundle bundle
Collect Brain Language Metrics on Company Filings:
from quantrocket.fundamental import collect_brain_blmcf
collect_brain_blmcf()
{'status': 'the data will be collected asynchronously'}
Use flightlog to monitor for completion:
quantrocket.fundamental: INFO Collecting Brain Language Metrics on Company Filings (BLMCF)
quantrocket.fundamental: INFO Finished collecting Brain Language Metrics on Company Filings (BLMCF)
Collect Brain Language Metrics on Earnings Call Transcripts:
from quantrocket.fundamental import collect_brain_blmect
collect_brain_blmect()
{'status': 'the data will be collected asynchronously'}
Use flightlog to monitor for completion:
quantrocket.fundamental: INFO Collecting Brain Language Metrics on Earnings Call Transcripts (BLMECT)
quantrocket.fundamental: INFO Finished collecting Brain Language Metrics on Earnings Call Transcripts (BLMECT)
Collect Brain Sentiment Indicator:
from quantrocket.fundamental import collect_brain_bsi
collect_brain_bsi()
{'status': 'the data will be collected asynchronously'}
Use flightlog to monitor for completion:
quantrocket.fundamental: INFO Collecting Brain Sentiment Indicator (BSI)
quantrocket.fundamental: INFO Finished collecting Brain Sentiment Indicator (BSI)