dekun
fad85ae710
关键位监控币种改为仅 BTC/USDT、ETH/USDT 下拉,对齐期权标的。
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-30 23:49:07 +08:00
dekun
23ee7ea2e9
清理 env 保存路径中未使用的 import。
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-30 23:42:28 +08:00
dekun
6f9e6e2a32
env 锁定币本位并清掉对冲/USDC 配置项。
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-30 23:42:10 +08:00
dekun
2352a5fbdf
env 配置去掉期权/对冲模式与对冲计划区块,仅保留单独期权。
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-30 23:38:03 +08:00
dekun
56df9a596f
从导航显示与顶栏去掉「对冲计划」开关与入口。
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-30 23:28:01 +08:00
dekun
0acba5e351
移除全部对冲计划模块:crypto_okx 改为币本位单独期权执行机。
...
交易模式锁定 options;okx_trade_mode / 到期盈亏迁入 options;保留期权/桥/关键位/企微与中控预留快照口径。恢复点:backup/before-remove-hedge 与 tag backup-before-remove-hedge-20260930。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-30 23:20:21 +08:00
dekun
8a62cfbb48
修复比特币期权浮盈把币数量当成 U:看板/中控改为按指数折 USDT。
...
币本位 BTC/ETH 净盈亏须 × 指数后再标 U;并兜底从合约推断 premium_ccy,避免缺失时漏折算。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-30 22:01:41 +08:00
dekun
45c7e73db5
Hide coin/USDC options env fields by margin mode.
...
Also toggle close-gate and compound subfields so the settings page only shows relevant controls.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-25 09:36:13 +08:00
dekun
0cb2167770
Set ultrawide fish-eye container width to 1920px.
...
Widen centered layout on 21:9 displays from 1600 to 1920 while keeping normal screens unchanged.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-23 08:35:17 +08:00
dekun
81654c8dd8
Fix ultrawide 1600px cap when Windows display scaling shrinks viewport.
...
Trigger on 21:9 aspect ratio only, without min-width 1601, so scaled fish-eye monitors still get 1600px container.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-23 08:32:09 +08:00
dekun
625eabb15c
Cap ultrawide layout at 1600px centered using 21:9 aspect ratio.
...
Apply fixed container width only on fish-eye monitors; bump instance_page.css cache version.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-23 08:27:32 +08:00
dekun
d1e6d841c9
Hide contract env/UI: keep options+OO hedge and RS key alerts only.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-21 17:54:49 +08:00
dekun
703ab4a04e
修复系统设置保存500:鉴权不再依赖缺失的lib.hub;补全order_prices初始化。
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-20 18:12:39 +08:00
dekun
7236700cc9
顶栏 CSS 版本号 bump,确保交易账户多行样式生效。
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-20 17:41:58 +08:00
dekun
feef36db78
资金栏交易账户 USDT/ETH 多行显示。
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-20 17:40:16 +08:00
dekun
7ca31b74fb
币本位隐藏 USDT↔USDC 兑换,持仓区与设置仅保留划转。
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-20 15:45:11 +08:00
dekun
c8688a11ae
对齐币本位期权:现货缓冲开仓、页头 ETH/BTC 余额与默认 coin 模式。
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-20 15:01:19 +08:00
dekun
432adfb602
Fix nav ticker day-change: use SWAP sodUtc0 (Beijing 08:00) from same instrument.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-17 11:52:35 +08:00
dekun
de13869b38
Enlarge BTC/ETH nav spot ticker font size for readability.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-17 11:47:50 +08:00
dekun
f03d5d3704
Fix nav spot tickers: register JS in static allowlist and harden price fetch.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-17 11:46:35 +08:00
dekun
08029ccb15
Add BTC/ETH spot tickers on nav, anchored to Beijing 08:00 open.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-17 11:42:19 +08:00
dekun
960565482f
Add proper PWA install icons and sim-aware app manifest.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-16 16:38:37 +08:00
dekun
f66b4c3fb3
Widen ultrawide page container from 1440px to 1600px.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-16 16:19:43 +08:00
dekun
48ea7e1bc7
Keep options internal transfer controls on a single row.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-16 16:11:46 +08:00
dekun
cdbc947838
Move options convert/transfer into the positions card as a collapsed fold.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-16 16:09:10 +08:00
dekun
d0197914ea
Add convert and transfer controls below the options order card.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-16 16:06:36 +08:00
dekun
4ade3be2eb
Show options-page price clock and drive header trade stats from pure options.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-16 15:59:26 +08:00
dekun
82d891ac92
Cap the full page container at 1440px on ultrawide screens.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-16 15:55:18 +08:00
dekun
7b1fd91ab1
Widen page container for 1920px desktops.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-14 20:55:13 +08:00
dekun
e7aa724a3b
Show okx_sim/okx_live and gate live API fields by matching mode.
...
In sim, hide LIVE/API keys and expose simulated fund settings in env UI.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-14 18:35:08 +08:00
dekun
679c7a313c
Drop obsolete trade-execution and cooling sections from risk policy.
...
Options/hedge standalone no longer surfaces perpetual manual-risk blurbs.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-14 18:16:04 +08:00
dekun
919ac70bc2
Expose sim/live matching mode in env config UI.
...
Saving SIM_DEFAULT_MODE also switches runtime trading.mode immediately.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-14 18:14:17 +08:00
dekun
56618a6655
Harden embed live refresh with reconnect backoff and poll fallback.
...
Document Nginx SSE proxy settings for long-lived live streams.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-14 18:10:54 +08:00
dekun
d9de3fe784
Restore shared CSS/JS static mounts for standalone deploy.
...
Embed UI looked unstyled because hub_bridge no longer registers lib/common/static.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-14 18:00:56 +08:00
dekun
a1abe159fa
Initial standalone crypto_okx with one-click deploy.
...
Add deploy/manage.sh bootstrap for git.bz121.com/dekun/crypto_okx and point docs at this repo.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-13 20:00:59 +08:00