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.1.tar.gz (7.4 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.1-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: acedb-0.1.1.tar.gz
  • Upload date:
  • Size: 7.4 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.1.tar.gz
Algorithm Hash digest
SHA256 65467790d517fb5d2e0273b9649e1a703f4c57fddd71d4e0a05385b361c99fbd
MD5 f9b97d482478a083201be9ff5318590a
BLAKE2b-256 8098faf5eae3fdd066e28ffbafc015b3f254d83cd2b0e753f3efe28b7303e10f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: acedb-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 7.9 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cca05b3906cc0f21a0f6226fc4d5d3d85b900d754605ab8682ae89c44f24630a
MD5 2993a27b918e9eae3e657cab631b5517
BLAKE2b-256 9be9836ac1c51a7b02cc8f90042a62dd71d8725cee9e4eace51a7098ce5dfc8e

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