Releases: phasenexa/nexa-backtest
Releases · phasenexa/nexa-backtest
v0.8.0
0.7.0
v0.6.0b1
v0.5.0b2
v0.5.0b1
v0.5.0b1
Beta release 0.5.0b1.
What's included
- Core types and protocols
- SimpleAlgo with DA and IDC hooks
- BacktestEngine (DA + IDC)
- Nord Pool DA and IDC adapters
- EPEX SPOT adapter
- Signal system with CSV loader
- Equity curve tracking
- Sharpe ratio, max drawdown, profit factor
- HTML, JSON, and Parquet report export
- CLI (
nexa run,nexa validate) @algolow-level async API- Validation pipeline (all 6 checks)
- Gate closure NOP tracking
- Windowed IDC replay (SlidingWindow)
v0.4.0b3
v0.4.0b2
Full Changelog: v0.4.0b1...v0.4.0b2
v0.4.0b4
v0.4.0b1
What's new in 0.4.0b1
Advanced tutorial notebooks
Two new walkthrough notebooks covering the advanced API:
- algo_decorator_walkthrough.ipynb — The
@algodecorator and async event stream API for building complex strategies with full control over the event loop - custom_signals_walkthrough.ipynb — Custom
SignalProviderimplementations,publication_offsetlook-ahead bias prevention, and gate closure NOP analysis
Plus updates to backtester_walkthrough.ipynb and idc_and_metrics_walkthrough.ipynb to match current API.
Bug fixes
- IDC VWAP benchmarking: per-product VWAPs now computed incrementally from
HistoricalTradeevents (O(P) memory, compatible with sliding-window replay). Each fill is benchmarked against its own product's market VWAP, giving accurate win/loss attribution GateClosureWarningin@algoevent stream: emitted one MTU before gate closure for each IDC product, giving the algo a last chance to act- Equity curve accuracy: snapshots now use running per-product VWAPs instead of zero, making the intra-run curve directionally meaningful
Internal
- Extract
_dispatch_signals()helper to eliminate duplicated signal loop between DA and IDC paths - Updated implementation status in README
v0.3.0b1
What's new in v0.3.0b1
Equity curve, advanced metrics, and report exports (spec-03)
- Equity curve — cumulative PnL plotted over time, available in backtest results
- Advanced metrics — Sharpe ratio, maximum drawdown, profit factor added to
BacktestResult - Report exports — results can be exported to HTML, JSON, and Parquet via
nexa report
Previous releases
- v0.1.0b2 — signal system, CSV signal loader, and
nexa runCLI (spec-02) - v0.1.0b1 — core types, DA engine, Nord Pool adapter, PnL + VWAP analysis (spec-01)
This is a pre-release (b1). API is stabilising but may have breaking changes before 1.0.