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 || "—") +