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.5.tar.gz (13.9 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.5-py3-none-any.whl (15.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: acedb-0.1.5.tar.gz
  • Upload date:
  • Size: 13.9 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.5.tar.gz
Algorithm Hash digest
SHA256 3e64faf8b6755105df20cb7e1f77df9bb4f433f810c275ec0ed7b3f075eff1fc
MD5 f6e38052bf363f5e6324254ef281c0ea
BLAKE2b-256 fe27bf3807c7c76d6552fad21e05f20cc3aefcfa95de0ef62dcc3bdeb88c9057

See more details on using hashes here.

File details

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

File metadata

  • Download URL: acedb-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 15.1 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 45e549c3975dab56653d913415bf93334b8af383633bdd69af8c2468a32c87bb
MD5 38ed1259cafcdad5195ab8e17051910f
BLAKE2b-256 2b4c9400f806cea7d7c421706c56efe1a72c791c8eee8d7532fcef14db73cde9

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