mirror of
https://github.com/KhizarImran/backtestingfx.git
synced 2026-07-27 20:17:44 +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
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "backtestingfx"
|
||||
version = "0.1.0"
|
||||
version = "0.1.1"
|
||||
edition = "2024"
|
||||
|
||||
[lib]
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ build-backend = "maturin"
|
||||
|
||||
[project]
|
||||
name = "backtestingfx"
|
||||
version = "0.1.0"
|
||||
version = "0.1.1"
|
||||
description = "FX backtesting library built in Rust"
|
||||
requires-python = ">=3.9"
|
||||
dependencies = ["pandas"]
|
||||
|
||||
Reference in New Issue
Block a user