Skip to main content

No project description provided

Project description

Hawk Backtester

A fast portfolio backtesting engine written in Rust with Python bindings.

Installation

pip install hawk-backtester

Usage

from hawk_backtester import run_backtest
results = run_backtest(prices_df, weights_df, risk_free_rate)
cargo install maturin --locked
poetry run maturin develop
poetry run python tests/test_basic.py
poetry run python tests/test_portfolio.py

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

hawk_backtester-0.1.0.tar.gz (8.6 MB view details)

Uploaded Source

Built Distribution

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

hawk_backtester-0.1.0-cp312-cp312-manylinux_2_34_x86_64.whl (4.4 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.34+ x86-64

File details

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

File metadata

  • Download URL: hawk_backtester-0.1.0.tar.gz
  • Upload date:
  • Size: 8.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.7.4

File hashes

Hashes for hawk_backtester-0.1.0.tar.gz
Algorithm Hash digest
SHA256 95ccc068d37cedd60d448e12869367cbaf3bc1e8163b52f545dac53cf29cc61f
MD5 498975ae1dc697ba9cd410c7c4be0db4
BLAKE2b-256 578e6ee0cbdbfb159820967a20c6ab49c89c16a70572439eb9a30f17ad7aacd8

See more details on using hashes here.

File details

Details for the file hawk_backtester-0.1.0-cp312-cp312-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for hawk_backtester-0.1.0-cp312-cp312-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 a0287e44cb6ab2183a0edb0e9140cd128afcb412c2d58be04233aab763d21aa0
MD5 60b954adbd8b7c54d923037dbbd7d460
BLAKE2b-256 cf52c52897094344f896b449056dbb579a7f6a3a9f0be89fa6e058a3f50bed1c

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