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
## [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
### Added