Skip to main content

Quant Research Library

Project description

Xpectral

Spectral decomposition

A quantitative research library that extends Polars DataFrames with charting and financial analytics.

Modules

  • xpectral.charts — Fluent Bokeh visualization via df.bokeh.line(...), df.bokeh.scatter(...), etc.
  • xpectral.quant — Financial metrics (returns, volatility, beta) via pl.col(...).quant.returns()
  • xpectral.data — Market data from the Polygon/Massive API with caching and rate limiting

Usage

import polars as pl
import xpectral  # registers .bokeh and .quant accessors

df = pl.DataFrame({"x": [1, 2, 3], "y": [4, 5, 6]})
fig = df.bokeh.line(x="x", y="y")

Install

uv sync

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

xpectral-1.0.0.tar.gz (13.0 kB view details)

Uploaded Source

Built Distribution

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

xpectral-1.0.0-py3-none-any.whl (15.0 kB view details)

Uploaded Python 3

File details

Details for the file xpectral-1.0.0.tar.gz.

File metadata

  • Download URL: xpectral-1.0.0.tar.gz
  • Upload date:
  • Size: 13.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for xpectral-1.0.0.tar.gz
Algorithm Hash digest
SHA256 7a860d60dbd1a07884d33cbf9b957f3484aea6093693360d1087125eb4fec1be
MD5 0c4fd9bf16e661a37794a3e4a747add4
BLAKE2b-256 b333a348b11087851b7c24b8d5235eae0fc6eefe970d9e353f48e66a7dbeafc8

See more details on using hashes here.

Provenance

The following attestation bundles were made for xpectral-1.0.0.tar.gz:

Publisher: publish.yml on bayquant/xpectral

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file xpectral-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: xpectral-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 15.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for xpectral-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4f9f555edc703072fafdc869f266c4242c7ae01f8b9f3a90ed8a57af367faad6
MD5 12f0f72cc922e4c1042b92cd29a8254a
BLAKE2b-256 eb5862a08961c84d9d8dac61fffebec0824a7f43e0db97339fe97945a9ea81e9

See more details on using hashes here.

Provenance

The following attestation bundles were made for xpectral-1.0.0-py3-none-any.whl:

Publisher: publish.yml on bayquant/xpectral

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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