Move settings hints into rules; add OO amplitude filter toggle default off.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -279,6 +279,16 @@ class StrategyEngine:
|
||||
)
|
||||
or s.oo_amplitude_hours
|
||||
),
|
||||
"oo_amplitude_filter_enabled": str(
|
||||
self.ledger.get_setting_str(
|
||||
"oo_amplitude_filter_enabled",
|
||||
str(s.oo_amplitude_filter_enabled),
|
||||
)
|
||||
or s.oo_amplitude_filter_enabled
|
||||
)
|
||||
.strip()
|
||||
.lower()
|
||||
in ("1", "true", "yes", "on"),
|
||||
"oo_min_option_hours": float(
|
||||
self.ledger.get_setting_float(
|
||||
"oo_min_option_hours", s.oo_min_option_hours
|
||||
|
||||
Reference in New Issue
Block a user