brndnmtthws / thetagang

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

Write calls when underlying is not green #410

Closed robby28-11 closed 2 months ago

robby28-11 commented 2 months ago

Changed green = false in [write_when.calls], to sell calls even when the underlying is not green.

This ends in this failure:

image

brndnmtthws commented 2 months ago

412 should resolve this for you. To always write regardless of the daily change, you will want to have the following settings:

[write_when.calls]
green = true
red   = true

[write_when.puts]
green = true
red   = true

[constants]
write_threshold = 0.0