brndnmtthws / thetagang

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

Optionally maintain a high water mark w/ CCs #341

Closed brndnmtthws closed 7 months ago

brndnmtthws commented 7 months ago

When rolling covered calls, we may want to avoid rolling strikes down. Instead, we might want to maintain the high water mark for our CCs to prevent missing out on a rebound.

This can be configured globally with roll_when.calls.maintain_high_water_mark or per-symbol with symbols.<symbol>.calls.maintain_high_water_mark.