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
  • Integration with FRED 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

#Enter FRED API Token:
acedb fred-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()

Planned Features:

  • Adding unconvential/custom data along the lines of news reports/ non databento data
  • Crypto

License

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

Contact

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

More Details:

Take a look at the documentation

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.6.tar.gz (14.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.6-py3-none-any.whl (15.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: acedb-0.1.6.tar.gz
  • Upload date:
  • Size: 14.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.6.tar.gz
Algorithm Hash digest
SHA256 1dcefbc4647ce25d3ed14f7c43922be7e9a8523506c86ba89de84cde68232108
MD5 ae154fe1ef88cf7cd21f81b7a5b0d490
BLAKE2b-256 4a48c8a3fb927464e4a0abdc03092e51a31ef95696d369edec6f0659830fc171

See more details on using hashes here.

File details

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

File metadata

  • Download URL: acedb-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 15.5 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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 84dced79aa4b3c20221b33f59f7ff05a33ef9b54a8d116f7f8e19ff52fa230c6
MD5 29b04c7ff5c993d8383a8c800659ed2e
BLAKE2b-256 59d48edbd1fe9fb4281e42240718f1c327f06416c31c3156888e94d24451ab6a

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