brndnmtthws / thetagang

ThetaGang is an IBKR bot for collecting money
GNU Affero General Public License v3.0
1.89k stars 248 forks source link

Only close ITM contracts when DTE <= rolling DTE #443

Closed brndnmtthws closed 4 weeks ago

brndnmtthws commented 4 weeks ago

If configured to close when unable to roll with roll_when.{calls,puts}.always_when_itm, only close contracts where the DTE is <= the configured value for roll_when.dte.