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",)

# Upload Downloaded Data (pd/pl DataFrame)

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

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.2.tar.gz (9.8 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.2-py3-none-any.whl (10.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: acedb-0.1.2.tar.gz
  • Upload date:
  • Size: 9.8 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.2.tar.gz
Algorithm Hash digest
SHA256 3580db243036dc96bd7c14603097f3840d762e7abba280a55936e36260828d75
MD5 9316411b30ad328924c786f840f3df8b
BLAKE2b-256 a273e2ad0a305a98c69b30a105f7a8b427398f8d19cccfc0b825c1c285c545b1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: acedb-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 10.7 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ae973cee7b493040bd5e435cd456823fb46223e6b13f1b4e35aa9a0bc76ad5db
MD5 bc206d34298749291bea558860061881
BLAKE2b-256 733e3634deba37fae6c1913efa776ff2c15223a664c93d356659979fac832e14

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