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 — pure Polars throughout, including synthetic data generation via Rust-native plugins. No pandas, no NumPy, no heavy ML stack
  • Well tested — cross-validated exchange calendars, full backtest parity tests across engines, and pandera schema validation on every DataFrame-returning function to guarantee no silent column/dtype regressions
  • 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.7.2.tar.gz (241.6 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.7.2-py3-none-any.whl (283.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for mktlib-0.7.2.tar.gz
Algorithm Hash digest
SHA256 a042a0b551e02469314a36bee764e726e89b8252e75cee8a45eb32fbc1fe05b6
MD5 8a9053e873fdfc340a14f5f48dbfbe80
BLAKE2b-256 e9df814ae365b0f07620d7ee3b1dd54e51ac1e04c94af44535b6e0335fd67dd1

See more details on using hashes here.

Provenance

The following attestation bundles were made for mktlib-0.7.2.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.7.2-py3-none-any.whl.

File metadata

  • Download URL: mktlib-0.7.2-py3-none-any.whl
  • Upload date:
  • Size: 283.4 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.7.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7d73892d7791b5939e4030c9744238dee759dd6c23b059c78fec72e5632c1e9c
MD5 c0b9273f9e05471b2fd9586bf7da6538
BLAKE2b-256 098b0fd163ff6c513f0156f4f9a816136a1a1eee8a4fb5817eae99b26f877d13

See more details on using hashes here.

Provenance

The following attestation bundles were made for mktlib-0.7.2-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