Skip to main content

pyalloq-data-connector

pyalloq-data-connector provides vendor-agnostic data adapters for PyAlloq. It handles fetching raw market data from various third-party APIs and automatically standardizes them into pure, time-aligned MarketData objects.

Supported Adapters

  • YahooFinanceClient: Free adapter using Yahoo Finance (yfinance). No API key required.
  • AlphaVantageClient: Adapter for Alpha Vantage Time Series Daily API.
  • FinnhubClient: Adapter for Finnhub's stock candle endpoint.
  • EODHistoricalDataClient: Adapter for EOD Historical Data API.

Features

  • Standardized Output: Automatically converts heterogeneous JSON/DataFrame vendor payloads into T x N aligned price matrices (MarketData).
  • Missing Value Handling: Implements forward filling (ffill) for prices and zero-filling for volume data.
  • Time Alignment: Constructs unified datetime indices across all requested ticker symbols.

Quick Example

import datetime as dt
from pyalloq_data_connector.yahoo_finance import YahooFinanceClient

client = YahooFinanceClient()
start = dt.datetime(2023, 1, 1)
end = dt.datetime(2024, 1, 1)

# Fetch standardized MarketData object
market_data = client.get_market_data(
    tickers=["AAPL", "MSFT", "GOOGL"],
    start=start,
    end=end
)

print(market_data.prices.head())
print(market_data.features["volume"].head())

Metadata

Release files for pyalloq-data-connector 0.1.25

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyalloq-data-connector 0.1.25
File Size Uploaded Provenance Actions
pyalloq_data_connector-0.1.25.tar.gz 4.8 kB Without provenance Details for pyalloq_data_connector-0.1.25.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pyalloq-data-connector 0.1.25
File Interpreter ABI Platform Actions
pyalloq_data_connector-0.1.25-py3-none-any.whl Python 3 none any Details for pyalloq_data_connector-0.1.25-py3-none-any.whl

Total release size: 12.0 kB

Release files / pyalloq_data_connector-0.1.25.tar.gz

Download URL pyalloq_data_connector-0.1.25.tar.gz
Size 4.8 kB
Tags Source
SHA-256 checksum
How to use checksums
2a94460980467613d9788f2dcad6149bd62e099a82ef999d65a48531b70de16e
BLAKE2b-256 checksum
How to use checksums
5ccd65f0459ea380992b4610aae221bf4150d0483a8bc223572d385c3b03d0a2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.8 {"installer":{"name":"uv","version":"0.13.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / pyalloq_data_connector-0.1.25-py3-none-any.whl

Download URL pyalloq_data_connector-0.1.25-py3-none-any.whl
Size 7.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fd5ea0f195649bf6d8f6573228055d3036a418ee178ea0d8d855b5cc43116e17
BLAKE2b-256 checksum
How to use checksums
20b429383d467fd2e0d5e286bbe77d833163d7befd36c2289e8051186d2bcb3e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.8 {"installer":{"name":"uv","version":"0.13.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for pyalloq-data-connector 0.1.25

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page