v0.24.3
Fixed
- Schwab adapter: login no longer reaches into private
_account_hash. The class now exposes a stable publicaccount_hashattribute (used for token-file reuse). Login flow + test mocks updated. - Paper broker: removed dead
raise BrokerErrorsignalling code inreset()(never reached by the CLI and would incorrectly raise on some explicit-starting-cash calls).reset()now cleanly succeeds. - Paper login UX: when running
msts-trader login --broker paperagainst an existing book, the entered starting cash is now clearly noted as applying only to brand-new state files (with hint to usepaper-reset).
Improved
- Market hours: holiday + early-close calendars extended through 2028 using official NYSE dates. New Year 2028 (falls on Saturday) correctly has no observed trading holiday. Comment + README updated.
- Development: added
ruff formatexample +[tool.ruff.format]config. Main source package (msts_trader/) is now consistently formatted. - Ruff format run on the library source (24 files) as part of release hygiene.
What's Changed
- fix(stops): reconcile protective stops on no-trade and duplicate days by @markudevelop in #8
- fix: NYSE half-day early closes + atomic/locked runstate writes by @markudevelop in #9
Full Changelog: v0.24.2...v0.24.3