dekun
ed1ec6f14a
Options: default nearest expiry and env ask-liquidity chain filter.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-20 08:37:39 +08:00
dekun
7938628485
Fix 期期 sheets bias: split total 2n from same-sheets, not n.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-19 15:33:00 +08:00
dekun
e3cd2a75de
Replace 期期 equal-split with long/short bias sizing and env ratio controls.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-19 15:25:10 +08:00
dekun
eea4d4ff8f
Show auto-close as off when partial manual-complete is enabled.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-19 09:11:00 +08:00
dekun
d74d0aeae0
Park partial hedge plans for manual leg complete instead of auto-close.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-19 09:06:22 +08:00
dekun
e11c13747a
Add mutual-exclusion gate between hedge plans and standalone options.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-19 08:51:46 +08:00
dekun
3119486105
Add 期期 close mode (全平/到期平) with scheme-C env toggle.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-19 08:06:27 +08:00
dekun
f21e4d1166
Add env toggles to show/hide perp and options hedge plan tabs.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-19 00:43:04 +08:00
dekun
0a14fe73c1
Add key auto-order toggle to instance env config UI.
...
Expose KEY_AUTO_ORDER_ENABLED and KEY_AUTO_MIN_PLANNED_RR under 交易执行 so the frontend matches the settings readout.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-18 15:31:39 +08:00
dekun
aabbbef0a9
Turn position/margin/sizing/direction env fields into dropdown selects.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-17 19:41:47 +08:00
dekun
982497d65a
Enable hedge-plan live opens with path validation, DB, and monitor.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-14 13:15:10 +08:00
dekun
9e17814e37
Prevent env autofill from overwriting OKX API keys when saving hedge settings.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-14 11:22:28 +08:00
dekun
1fa98425e7
Add OKX hedge-plan P0: env group, preview page, and PnL scenario math.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-14 11:00:15 +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
aaa72c7961
Fix hub AI save: background PM2 restart after JSON response.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-08 23:06:31 +08:00
dekun
823aeda42a
Add hub AI config tab with sync to instances and deploy secret bootstrap.
...
Wire bootstrap_deploy_secrets into setup_env.sh (one-time HUB_BRIDGE_TOKEN, FLASK_SECRET_KEY, HUB_SESSION_SECRET). Remove AI section from instance env UI; hub saves OPENAI settings to all four .env files. SSO unchanged.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-08 22:50:58 +08:00
dekun
d339971c26
Fix env config UI to show runtime defaults when keys are missing from .env.
...
Account risk fields now match the risk policy page; uncomment RISK_* defaults in .env.example.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-08 21:54:47 +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
576f6fbcfc
Redesign env config UI: tabs, 2-col form, remove per-field badges
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-08 21:10:54 +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
68e03ccd97
Fix settings tab 500 and env config grouping in UI
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-08 20:33:31 +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