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
Metadata
Release files for acedb 0.1.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| acedb-0.1.6.tar.gz | 14.3 kB | Without provenance | Details for acedb-0.1.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| acedb-0.1.6-py3-none-any.whl | Python 3 | none | any | Details for acedb-0.1.6-py3-none-any.whl |
Total release size: 29.8 kB
Release files / acedb-0.1.6.tar.gz
| Download URL | acedb-0.1.6.tar.gz |
|---|---|
| Size | 14.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1dcefbc4647ce25d3ed14f7c43922be7e9a8523506c86ba89de84cde68232108
|
|
BLAKE2b-256 checksum How to use checksums |
4a48c8a3fb927464e4a0abdc03092e51a31ef95696d369edec6f0659830fc171
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.8
|
Release files / acedb-0.1.6-py3-none-any.whl
| Download URL | acedb-0.1.6-py3-none-any.whl |
|---|---|
| Size | 15.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
84dced79aa4b3c20221b33f59f7ff05a33ef9b54a8d116f7f8e19ff52fa230c6
|
|
BLAKE2b-256 checksum How to use checksums |
59d48edbd1fe9fb4281e42240718f1c327f06416c31c3156888e94d24451ab6a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.8
|
Security for acedb 0.1.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.