Skip to content

SimTradeLab v2.13.9

Latest

Choose a tag to compare

@github-actions github-actions released this 24 Nov 19:22

Fixed

  • Minute orders no longer use a previous trading day's bar for execution prices or volume checks when current-day minute data is missing.
  • Failed orders now retain status 9, matching their order response callbacks and keeping order queries consistent.
  • Partial sells now deduct position lots in FIFO order and proportionally reduce dividend records for the remaining shares.

Tests

  • Added seven regression cases covering stale minute bars for buy/sell and market/limit orders, same-day minute fallback, failed order status, and FIFO lot/dividend accounting.
  • All 506 tests pass, including unit and integration coverage. Critical Ruff checks and the Ruff baseline check pass.
  • Three user-run strategy backtests produced unchanged results.