Hide perp signal direction in option-option mode.
Plan panel shows Call+Put structure and OO selection/exit labels instead. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -261,6 +261,36 @@ class StrategyEngine:
|
||||
in ("perp_option", "option_option")
|
||||
else "perp_option"
|
||||
),
|
||||
"oo_amplitude_pct": float(
|
||||
self.ledger.get_setting_float(
|
||||
"oo_amplitude_pct", s.oo_amplitude_pct
|
||||
)
|
||||
or s.oo_amplitude_pct
|
||||
),
|
||||
"oo_amplitude_hours": float(
|
||||
self.ledger.get_setting_float(
|
||||
"oo_amplitude_hours", s.oo_amplitude_hours
|
||||
)
|
||||
or s.oo_amplitude_hours
|
||||
),
|
||||
"oo_min_option_hours": float(
|
||||
self.ledger.get_setting_float(
|
||||
"oo_min_option_hours", s.oo_min_option_hours
|
||||
)
|
||||
or s.oo_min_option_hours
|
||||
),
|
||||
"oo_min_leverage": float(
|
||||
self.ledger.get_setting_float(
|
||||
"oo_min_leverage", s.oo_min_leverage
|
||||
)
|
||||
or s.oo_min_leverage
|
||||
),
|
||||
"oo_reward_ratio": float(
|
||||
self.ledger.get_setting_float(
|
||||
"oo_reward_ratio", s.oo_reward_ratio
|
||||
)
|
||||
or s.oo_reward_ratio
|
||||
),
|
||||
"risk_perp_unit": risk_perp_unit,
|
||||
"risk_option_unit": risk_option_unit,
|
||||
"risk_exit_unit": risk_exit_unit,
|
||||
|
||||
Reference in New Issue
Block a user