Fix hub funds overview double-counting OKX USDT with options.

Only add options USDC/USDG onto perpetual USDT totals, repair historical double-counted snapshots, and label the options line as USDC.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-08-07 10:30:34 +08:00
parent 4bc238b014
commit 0b8e5a0914
5 changed files with 134 additions and 19 deletions
+1 -1
View File
@@ -211,7 +211,7 @@
monitored && ac.options_trading_usdt != null ? fmt(ac.options_trading_usdt, 2) + " U" : "";
const optLine =
optFunding || optTrading
? '<div><span class="k">期权</span><span class="v">' +
? '<div><span class="k">期权USDC</span><span class="v">' +
(optFunding || "—") +
" / " +
(optTrading || "—") +
+1 -1
View File
@@ -1756,7 +1756,7 @@
<script src="/assets/trade_stats_calendar.js?v=3"></script>
<script src="/assets/archive.js?v=20260724-opt-archive"></script>
<script src="/assets/quotes.js?v=20260717-quotes-feed"></script>
<script src="/assets/funds.js?v=20260717-funds-scroll-fix"></script>
<script src="/assets/funds.js?v=20260807-opt-no-double"></script>
<script src="/assets/dashboard.js?v=20260807-opt-float"></script>
<script src="/assets/strategy.js?v=11"></script>
<script src="/assets/amp_stats.js?v=20260728-hedge"></script>