Repository navigation
ThetaGang v2.1.4
This release hardens IBKR order handling: startup cancellation leaves manual orders alone, dry runs cannot change broker orders, and the run stops submitting if an order’s acceptance cannot be confirmed.
Full Changelog: v2.1.3...v2.1.4
Breaking Changes
runtime.account.cancel_ordersnow cancels only unfinished, ThetaGang-tagged orders (tg:) for managed symbols in the configured account. Manual orders and older untagged ThetaGang orders are left alone. Stale tail-hedge entries are still canceled separately, and working tail reductions are preserved.
Highlights Since v2.1.3
- Dry-run protection: The broker adapter blocks new placements and amendments in
--dry-run; cancellation remains blocked. - Unconfirmed placement: If IBKR placement raises, ThetaGang fails the run and stops further submissions, including repricing. The broker may still have accepted the order, and earlier orders may still fill. Check open orders and fills in IBKR before retrying.
Upgrade Check
No config changes are required. Before your first live run, review any older untagged orders in IBKR and cancel only those you no longer want working. You can check your setup without changing broker orders:
thetagang --config ./thetagang.toml --dry-runPull Requests by Category
Bug Fixes
- Guard broker order execution and fail on uncertain placement (#726).
Misc
- Bump the package version (#728).