chore: bump version to 0.1.1

This commit is contained in:
KhizarImran
2026-07-05 16:37:12 +01:00
parent cefa7c8ee1
commit 2f726b73ab
3 changed files with 19 additions and 2 deletions
+17
View File
@@ -1,5 +1,22 @@
# Changelog # Changelog
## [0.1.1] - 2026-07-05
### Added
- `self.data`, `self.index`, `self.cash`, `self.equity` properties on Strategy
- Sharpe ratio in Stats output (unannualized)
- `__repr__` on Position — readable output when printing positions
- DataFrame column validation with clear error message
### Fixed
- Trade PnL in history now stores net PnL (after exit commission) — per-trade stats were slightly optimistic
- `Position` pyclass uses `from_py_object` to fix PyO3 deprecation warning
- Removed dead `AttributeError` swallow in engine.rs
### Examples
- Added `examples/sma_cross.py` — SMA 10/50 crossover on EURUSD hourly data
- Added `examples/compare_bt.py` — side-by-side comparison against backtesting.py
## [0.1.0] - 2026-06-21 ## [0.1.0] - 2026-06-21
### Added ### Added
+1 -1
View File
@@ -1,6 +1,6 @@
[package] [package]
name = "backtestingfx" name = "backtestingfx"
version = "0.1.0" version = "0.1.1"
edition = "2024" edition = "2024"
[lib] [lib]
+1 -1
View File
@@ -4,7 +4,7 @@ build-backend = "maturin"
[project] [project]
name = "backtestingfx" name = "backtestingfx"
version = "0.1.0" version = "0.1.1"
description = "FX backtesting library built in Rust" description = "FX backtesting library built in Rust"
requires-python = ">=3.9" requires-python = ">=3.9"
dependencies = ["pandas"] dependencies = ["pandas"]