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.3.tar.gz (10.3 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.3-py3-none-any.whl (11.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: acedb-0.1.3.tar.gz
  • Upload date:
  • Size: 10.3 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.3.tar.gz
Algorithm Hash digest
SHA256 a57ba4c83f5d8190f8f72a982d6186ecb146679016ff3d9c42fba3f9214e3f0d
MD5 1bad8a991a2dd465367679b17e6b9105
BLAKE2b-256 ccb64bff0595e052272a3716b65d8ffd9a5df2e19c6c79ff22ef1ed8a316430f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: acedb-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 11.2 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 613c5c735972de8c8515864300249404b4e35ff20388e7c4fae253c19ce02619
MD5 aef484cee505642ee6f0e82f548a89ad
BLAKE2b-256 7372a742f3f94798d7004b2cc7522390dbcaf6f7d2dd1bc3668f567ff63034ba

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