feat(hub): trend plan breakeven and stop from monitor fullscreen

Proxy /api/hub/trend/stop and breakeven to instances; enable offset input and actions in hub UI. Add horizontal padding on strategy records page.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-06-04 14:46:24 +08:00
parent 52d97482f2
commit f9301b92b9
8 changed files with 253 additions and 14 deletions
+2
View File
@@ -7727,6 +7727,8 @@ try:
"add_key": add_key,
"preview_trend_pullback": preview_trend_pullback,
"execute_trend_pullback": execute_trend_pullback,
"stop_trend_pullback": stop_trend_pullback,
"trend_pullback_breakeven": trend_pullback_breakeven,
},
ohlcv_fn=_hub_fetch_ohlcv,
)