mirror of
https://ghfast.top/https://github.com/aeroxw/easy_tdx_max.git
synced 2026-09-12 16:54:20 +08:00
- Pre-allocate numpy arrays for performance (cash, position, avg_price) - apply_trades() processes buys/sells with commission and slippage - equity_curve returns DataFrame with drawdown calculation - positions returns DataFrame with market value and unrealized PnL - 12 unit tests covering all scenarios Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>