Skip to main content

Polars-native financial market toolkit

Project description

mktlib

License: Apache 2.0 Python 3.12+ Documentation

Financial market toolkit built entirely on Polars.

tl;dr

  • Fast enough for real work — vectorized Polars engine grid-searches thousands of parameter combos on minute-bar data without reaching for Numba or Cython
  • Lightweight — core is Polars-only; numpy is the sole extra for synthetic data generation. No pandas, no heavy ML stack
  • Well tested — cross-validated exchange calendars, property-based OHLCV checks, and full backtest parity tests across engines
  • Swiss-army knife — scheduling, rates, metrics, backtesting, reporting, and data generation in one package. Great for learning, prototyping, or production
  • Apache 2.0 — use it anywhere, fork it, vendor it, no strings attached

Disclaimer: Backtesting results and any computed market returns are for educational and research purposes only. They do not constitute financial advice, and past performance does not indicate future results.

For full documentation, see polars-mktlib.readthedocs.io.

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

mktlib-0.6.3.tar.gz (217.2 kB view details)

Uploaded Source

Built Distribution

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

mktlib-0.6.3-py3-none-any.whl (255.6 kB view details)

Uploaded Python 3

File details

Details for the file mktlib-0.6.3.tar.gz.

File metadata

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

File hashes

Hashes for mktlib-0.6.3.tar.gz
Algorithm Hash digest
SHA256 52600f3fd1d1f3cd1fdde103cd7e8b538c207ba9141b6730fced45c19486a77f
MD5 00dd53448461754c826fc0571fde3fd5
BLAKE2b-256 610843f3af78845524f371ddd9121a607b074178e5458124e96d07cba1a6f07a

See more details on using hashes here.

Provenance

The following attestation bundles were made for mktlib-0.6.3.tar.gz:

Publisher: release.yml on mattbuck85/polars-mktlib

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

File details

Details for the file mktlib-0.6.3-py3-none-any.whl.

File metadata

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

File hashes

Hashes for mktlib-0.6.3-py3-none-any.whl
Algorithm Hash digest
SHA256 fdd330b63979e01bfe30eb895deaacbe51bc185bc970512e4635f6c699ceb0fe
MD5 d9f0cfc31af4a76e10eb2f9a7ff61364
BLAKE2b-256 f62a38501931f78f6a96308c6eeccd757ff1ba839e1b08cb1e8bc16fe837a4b8

See more details on using hashes here.

Provenance

The following attestation bundles were made for mktlib-0.6.3-py3-none-any.whl:

Publisher: release.yml on mattbuck85/polars-mktlib

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