Skip to main content

Wrapper for ACE ETH Postgres database

Project description

ACEDB - Analytics Club ETH Database

Overview

ACEDB is a wrapper for a PostgreSQL database that fetches and retrieves financial data from the Databento API. It efficiently stores this data in a structured database format, enabling easy access and analysis of market information. This was originally for the Analytics Club at ETH (ACE)

Features

  • Seamless integration with Databento API
  • Automated data fetching and storage
  • PostgreSQL database management
  • Historical data storage and retrieval

Installation

# Clone the repository
git clone https://github.com/cteufel13/acedb.git

# Use pip
pip install acedb

Configuration

# Enter Postgre Database Information:
acedb login

# Enter Databento API Token:
acedb dbn_login

# Help
acedb --help

Usage

from acedb import AceDB

dba = AceDB()

# Retrieve Data
data = dba.Get(dataset = "XNAS.ITCH",
        schemas=  ["ohlcv-1m","ohlcv-1s"],
        symbols= ['AAPL','GOOGL'] ,
        start="2024-01-02",
        end="2025-01-02",
        download = True
        filetype = "csv")

# Upload Downloaded Data (pd/pl DataFrame)

dba.insert(dataset = "XNAS.ITCH",schema = "ohlcv-1m", data = your_data)

# get current overview of what schemas and the symbols in it exist

dba.get_ranges()

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contact

Project Link: https://github.com/yourusername/acedb

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

acedb-0.1.4.tar.gz (10.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

acedb-0.1.4-py3-none-any.whl (11.4 kB view details)

Uploaded Python 3

File details

Details for the file acedb-0.1.4.tar.gz.

File metadata

  • Download URL: acedb-0.1.4.tar.gz
  • Upload date:
  • Size: 10.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.8

File hashes

Hashes for acedb-0.1.4.tar.gz
Algorithm Hash digest
SHA256 65b380a47635d5fdf9f7356fd01a11f1b7721701dcacabfba0513ccdc7eae803
MD5 8e807fa077d68b88c2f0da7cc1d630e2
BLAKE2b-256 8f660aa5d31859c94e9387fdd80849d7e4aea5b23c0c1a8b160251e85feb1906

See more details on using hashes here.

File details

Details for the file acedb-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: acedb-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 11.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.8

File hashes

Hashes for acedb-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 ad898db780ba966eadbdae08fb4d0c2e819581f8abe1495671d04dee558595c4
MD5 d570f4b2a187393bdae21b2be9f11b9a
BLAKE2b-256 da6dfe8076128af4cc49f2ee88954b310e2881c1343397741b39327a4122c9c3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page