No project description provided
Project description
Hawk Backtester
A fast portfolio backtesting engine written in Rust with Python bindings.
map: < portfolio_weights, model_state, R_f > --> < log_portfolio_raturns >
Assumes Execution on the close price.
Installation
pip install hawk-backtester
Usage
from hawk_backtester import run_backtest
results = run_backtest(prices_df, weights_df, risk_free_rate)
Developer Commands
cargo install maturin --locked
poetry run maturin develop
poetry run python tests/test_basic.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.2.3.tar.gz
(34.5 kB
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.2.3.tar.gz.
File metadata
- Download URL: hawk_backtester-0.2.3.tar.gz
- Upload date:
- Size: 34.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.8.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3b6302d6080e9b650bf9394f4430110b43552c55b466148a1dd9fb618a72d6ee
|
|
| MD5 |
189ddd3a955ebdd0ba6c23857291c9b2
|
|
| BLAKE2b-256 |
3e30de2297efa0edb2d424ce029e2bc2dd96e245685cce01e4b4b632b87585fb
|
File details
Details for the file hawk_backtester-0.2.3-cp311-cp311-manylinux_2_34_x86_64.whl.
File metadata
- Download URL: hawk_backtester-0.2.3-cp311-cp311-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 4.4 MB
- Tags: CPython 3.11, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.8.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d6d9cd3278eeb1fc42d9334b21b231258008a7d1530c1b5bab5f776f3af1278b
|
|
| MD5 |
4d583127772517ca569b5402c4309bd7
|
|
| BLAKE2b-256 |
fb372a8bc5d67e0def37cdf11ffdc8339f9b6f6a00913e60e4cf1c21ae49fe2e
|