If we try to roll a position and can't find a suitable contract to roll to, allow the option of closing the position out instead.
This can be configured by setting roll_when.close_if_unable_to_roll = true, or per-symbol with symbols.<symbol>.close_if_unable_to_roll = true. Disabled by default.
If we try to roll a position and can't find a suitable contract to roll to, allow the option of closing the position out instead.
This can be configured by setting
roll_when.close_if_unable_to_roll = true
, or per-symbol withsymbols.<symbol>.close_if_unable_to_roll = true
. Disabled by default.This closes #439.