Show live hedge budget buffer ratio in options-options rule tips.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-07-20 10:32:06 +08:00
parent c9229d64bf
commit 3ae7def999
4 changed files with 22 additions and 5 deletions
+1
View File
@@ -209,6 +209,7 @@ def _gates_public(cfg: dict[str, Any], plan_type: str) -> dict[str, Any]:
g["oo_close_mode_default"] = "close_all" if _oo_close_mode_enabled() else "hold_expiry"
g["oo_bias_split_by"] = _oo_bias_split_by()
g["oo_bias_ratio"] = _oo_bias_ratio()
g["budget_buffer"] = float(cfg.get("budget_buffer") or 0.95)
return g