v3.0.14 is now available. This release fixes one issue that has appeared recently for some users running the newest version of TWS.
Bug Fix
- Don't replace stop orders cancelled at market close
Context
A recent behavior change in TWS has started cancelling 0 DTE stop orders immediately at 4:00pm ET. Previously, those orders remained in TWS until approx. 4:45pm. With these immediate stop cancellations happening in some cases before TAT marked the trades expired, TAT will attempt to replace the stop orders (if extended hours stops were enabled on your trade template), which TWS was rejecting.
With this update TAT, will not replace stops after market close, until the end of day expiration process marks 0 DTE trades expired.