feat: 盈亏比与亏损额度展示,市价FAK报单,修复止盈止损保存失败

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-06-25 14:33:05 +08:00
parent 367f32dd82
commit 63beda3c71
5 changed files with 125 additions and 88 deletions
+2 -1
View File
@@ -67,7 +67,7 @@
<button type="button" class="price-tab" data-type="market">市价</button>
</div>
<input type="number" id="trade-price" step="any" placeholder="限价">
<p class="hint market-hint" id="market-hint" hidden>市价将按最新行情价报单</p>
<p class="hint market-hint" id="market-hint" hidden>市价以 FAK 即时成交报单(非限价挂单)</p>
</div>
<div class="trade-field">
<label class="text-label">止盈</label>
@@ -85,6 +85,7 @@
<input type="checkbox" id="trailing-be" checked>
<span>移动保本</span>
</label>
<span class="hint trade-rr-hint" id="trade-rr-hint" hidden></span>
<button type="button" class="btn-primary btn-open" id="btn-open">开仓</button>
<p class="hint session-hint text-muted" id="session-hint" hidden>不在交易时间段</p>
<p class="trade-order-msg" id="order-msg" hidden></p>