🪣
Barbucket
A database for financial contracts and pricing data
Features
- Syncing contracts of IB's exchange listings to a local database
- Adding fundamental data from Tradringview's screener
- Creating groups of contracts (universes)
- Downloading daily historical quotes using IB's TWS API (paid market data subscriptions on IB are necessary)
- Storage of downloaded quotes into a local database for fast access
Supported contract types
- Stocks
- ETFs
- Crypto currencies (planned)
Supported DBMS
- PostgreSQL
- SQLite
- MySQL / MariaDB
- MS SQL Server
- Oracle
- and even more
Supported APIs
- Intercative Brokers TWS API
- Tradingview-Screener .csv files
- EOD Historical Data (planned)
- CCXT (planned)
Tech stack
For an overview of how this project is realized, please see the contributing document.
Full documentation
https://barbucket.readthedocs.io
Quickstart
Installation:
$ pip install barbucket
Sync contracts:
$ barbucket contracts sync-listing --type stock --exchange nasdaq
See results at:
~/.barbucket/database.sqlite
Requirements
- Linux or macOS; Windows is not tested yet
- Python >= 3.7
Status
- Early beta stage. Expect code- and data-breaking modifications
- Aimed at software developers. Knowlede about how to handle a database is necessary to use this software