Fix option history to full closes only, 2-decimal USDC, restore hide-delete.

Filter OKX positions-history to type 2/3/6, format premium and bid recovery to 2 decimals, and allow locally hiding rows via delete button.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-07-11 09:24:24 +08:00
parent fdea5bb610
commit bf2d668d3c
7 changed files with 130 additions and 20 deletions
+3 -2
View File
@@ -198,10 +198,11 @@
<th>状态</th>
<th>盈亏</th>
<th>时间</th>
<th>操作</th>
</tr>
</thead>
<tbody id="opt-history-tbody">
<tr><td colspan="6" class="muted">加载中…</td></tr>
<tr><td colspan="7" class="muted">加载中…</td></tr>
</tbody>
</table>
</div>
@@ -211,4 +212,4 @@
</div>
</div>
<script src="/static/options_expiry_countdown.js?v=1"></script>
<script src="/static/options_panel.js?v=24"></script>
<script src="/static/options_panel.js?v=25"></script>