Skip to main content

A lightweight Python wrapper for accessing the AlgoGators database .

Project description

Internal Data Analytics Toolkit

The algodata-wrapper is a library that facilitates data extraction by enabling users to use Python code rather than PG Admin SQL queries to access data from the PostgreSQL server.


Database Structural Requirements

  • The futures_data.ohlcv_1d table must have a 'symbol' column where symbols follow the following format: [ROOT].[ROLL_RULE].[RANK] (ex: '6C.v.0')
  • The global_macro_data schema must have the following tables:
    • consumer_confidence
    • gdp
    • industrial_production
    • inflation
    • trade_balance
  • Each table must have a 'time' column in datetime formatting (ex: "2025-02-13 00:00:00+00")
  • Each asset class schema must be follow the naming convention ASSET_CLASS_data (ex: futures_data)
  • All futures contracts follow a Sunday-Friday trading schedule except the following livestock futures: 'GF.v.0','HE.v.0','LE.v.0'

Access Prerequisites

Users must create a .env file with the following structure:

DB_NAME=XXXXXXXX
DB_USER=XXXXXXXX
DB_PASSWORD=XXXXXXXX
DB_HOST=XXXXXXXX
DB_PORT=XXXXXXXX

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

algogators_data-0.1.0.tar.gz (7.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

algogators_data-0.1.0-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

Details for the file algogators_data-0.1.0.tar.gz.

File metadata

  • Download URL: algogators_data-0.1.0.tar.gz
  • Upload date:
  • Size: 7.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.13

File hashes

Hashes for algogators_data-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e4f8bd7baf13ecb982d8e58432af45fada26a04021ba5b4fdb3397f65ccb6ae0
MD5 357850ef879ffdd0e3c376cb2aefa97f
BLAKE2b-256 1fa5d0c27c0c1e045d0a0bae6ac744e7f96c5326b99b410c7a9d681e761cd6c9

See more details on using hashes here.

File details

Details for the file algogators_data-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for algogators_data-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 80cab5267a273fe65e964290384df509429ea1a947f8bd2e348bfbac7f4aafb0
MD5 098035f6a2dc29c8db6e9c30155396d1
BLAKE2b-256 df7211d8a3424f109ac533ebc2e4a4643b771df35dc9f2e6c0e1e9a63a8babad

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