Add roll leg avg/TP profit display and reduce instance nav flicker
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -158,6 +158,11 @@ def install_strategy_trend(app: Flask, repo_root: str, app_module: Any = None, *
|
||||
app.extensions["strategy_trend_cfg"] = cfg
|
||||
register_trend_routes(app, cfg)
|
||||
_patch_hub_monitor_enrich(app, cfg)
|
||||
roll_cfg = app.extensions.get("strategy_roll_cfg")
|
||||
if isinstance(roll_cfg, dict):
|
||||
from strategy_roll_ui_lib import patch_roll_hub_enrich
|
||||
|
||||
patch_roll_hub_enrich(app, roll_cfg)
|
||||
_patch_hub_trend_views(app)
|
||||
|
||||
@app.context_processor
|
||||
|
||||
Reference in New Issue
Block a user