Skip to main content

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

Metadata

Release files for barbucket 0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for barbucket 0.3
File Size Uploaded
barbucket-0.3.tar.gz 5.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for barbucket 0.3
File Interpreter ABI Platform
barbucket-0.3-py3-none-any.whl Python 3 none any Details

Total release size: 11.6 kB

Release files / barbucket-0.3.tar.gz

Download URL barbucket-0.3.tar.gz
Size 5.4 kB
Tags Source
SHA-256 checksum
How to use checksums
c3ac9813e6ae5bab3e7ab07dab56e89a696139042ade8a901a1e78b57ac34cbf
BLAKE2b-256 checksum
How to use checksums
9d7f7cb44d36fefe67b314cef245be94b7b3615204d66e5ad9491e7a31597c9c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.12

Release files / barbucket-0.3-py3-none-any.whl

Download URL barbucket-0.3-py3-none-any.whl
Size 6.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1c74ccddc0e927098f55c43184fdf3e0d612d4d89b4e1248d4369519a55853a3
BLAKE2b-256 checksum
How to use checksums
73fa5c5880be5b3cd54abd76a48ac0ea50560747491072a3dbfb025cb1bb3ec2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.12

Release history Release notifications | RSS feed

This release

0.3 This release

2 release files

0.2

2 release files

0.1.1

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page