mirror of
https://github.com/KhizarImran/backtestingfx.git
synced 2026-08-14 20:48:05 +00:00
chore: bump version to 0.1.1
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user