Wire manual close to actually flatten option then perp then sell coin.

UI 平仓 now calls /api/hedge-plan/<id>/close instead of end-only (不平仓).

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-10-14 16:49:24 +08:00
parent b7b1a7e7e0
commit 989accdc50
4 changed files with 304 additions and 8 deletions
@@ -431,4 +431,4 @@
</div>
</div>
</div>
<script src="/static/hedge_plan.js?v=55"></script>
<script src="/static/hedge_plan.js?v=56"></script>