mirror of
https://ghfast.top/https://github.com/aeroxw/easy-tdx.git
synced 2026-09-12 16:54:17 +08:00
- Add Signal dataclass for trading signals with optional price/stop_loss/take_profit - Add Trade dataclass for executed trades with commission/slippage/pnl/rejected - Add Position dataclass for position snapshots (long/short/flat) - Add BacktestResult dataclass with to_dict()/to_json()/summary() methods - Add comprehensive unit tests (13 test cases, 100% pass) - All code passes mypy strict, ruff lint+format checks Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>