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
Release history Release notifications | RSS feed
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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
95ccc068d37cedd60d448e12869367cbaf3bc1e8163b52f545dac53cf29cc61f
|
|
| MD5 |
498975ae1dc697ba9cd410c7c4be0db4
|
|
| BLAKE2b-256 |
578e6ee0cbdbfb159820967a20c6ab49c89c16a70572439eb9a30f17ad7aacd8
|
File details
Details for the file hawk_backtester-0.1.0-cp312-cp312-manylinux_2_34_x86_64.whl.
File metadata
- Download URL: hawk_backtester-0.1.0-cp312-cp312-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 4.4 MB
- Tags: CPython 3.12, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a0287e44cb6ab2183a0edb0e9140cd128afcb412c2d58be04233aab763d21aa0
|
|
| MD5 |
60b954adbd8b7c54d923037dbbd7d460
|
|
| BLAKE2b-256 |
cf52c52897094344f896b449056dbb579a7f6a3a9f0be89fa6e058a3f50bed1c
|