stocklake
A CLI tool to install various stock information APIs data to your data sources (local artifacts, databases, ... etc).
Table of Contents
Installation
pip install stocklake
Supported APIs
| name | status | API Docs | Additional Information |
|---|---|---|---|
| Nasdaq API (Screener) | ✅ | URL | |
| Polygon API (Stock Financials Vx) | ✅ | URL | Data Fields Information |
| Polygon API (Tickers) | ✅ | URL | |
| Wikipedia: List of S&P 500 companies | ✅ | URL |
Basic Usage
Install Wikipedia: List of S&P 500 companies data
Installing to a local CSV file:
stocklake download wikisp500 --store_type local_artifact --artifact_format csv
Installing to PostgreSQL:
You need to setup PostgreSQL first. The PostgreSQL and Metabase example might help you.
stocklake download wikisp500 --store_type postgresql
Installing and output as a serialized json to the standard output
stocklake download wikisp500
License
stocklake is distributed under the terms of the MIT license.