dekun
09a763e47d
Merge OKX dual APIs into one OKX_API_* account for perp and options.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-05 21:28:33 +08:00
dekun
301a464f29
Add daily loss-count freeze for account risk cooldown.
...
RISK_DAILY_LOSS_LIMIT (default 2, 0 disables) freezes new opens after N losing closes in the trading day.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-21 22:13:38 +08:00
dekun
88d460d484
Options: collapse open rules; move open-guard tip into risk policy.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-20 08:46:02 +08:00
dekun
5e0ce43415
Add instance system guide nav (default off) with overview/options/hedge manual.
...
EOF
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-19 09:23:30 +08:00
dekun
b733e551a0
Normalize fullwidth punctuation to ASCII across codebase.
...
Add scripts/normalize_ambiguous_unicode.py; fix corrupted patch_instance_theme_templates.py. Preserves curly quotes in string literals; removes Git homoglyph warnings on .env.example.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-08 23:42:26 +08:00
dekun
2e0bde9cc2
Fix settings 500: pop display before building instance settings view.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-08 21:50:31 +08:00
dekun
1ee9eb02c3
Add settings page tabs and show env API keys with last four digits.
...
System settings now use the same CSS tab layout as env config; sensitive env fields display masked values from .env while keeping save-on-empty behavior.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-08 21:31:14 +08:00
dekun
0d2ce9c126
Add curated env config UI with Chinese labels and deploy secret bootstrap
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-08 21:03:00 +08:00
dekun
aa966114b1
Fix settings and env config stuck on loading via SSR form render
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-08 20:24:15 +08:00
dekun
ef4b2f17ca
Add instance nav prefs, env config UI, and PM2 restart.
...
P1-P4: configurable nav/section visibility in system settings, full .env editor with restart badges, password change, runtime hot overrides, and single-instance pm2 restart. Works in hub embed iframe.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-08 20:07:06 +08:00
dekun
d84a265b67
Split risk policy into its own navigation tab.
...
Move read-only risk control docs to /risk_policy before settings; keep transfers and exports on the settings page.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-08 19:42:29 +08:00
dekun
090b9c6215
feat: restructure OKX options UI with header funds, settings card, and dual-column layout
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-07 09:36:00 +08:00
dekun
806bb074ab
feat: add OKX options module with dual API, USDT/USDC convert, and docs
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-07 08:17:27 +08:00
dekun
d87081205d
feat: instance system settings page with risk docs, export and transfer
...
顶栏新增系统设置;风控说明读取 .env;数据导出与资金划转迁入三张卡片;顶栏移除导出条与手动划转。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-07 01:26:38 +08:00