barbucket

My package description


Keywords
algotrading, financial-analysis, interactive-brokers, trading, trading-strategies
License
MIT
Install
pip install barbucket==0.3

Documentation

Barbucket 🪣

python maintained license issues_open issues_closed commits last_commit pypi_version documentation

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

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