dekun
886b6dcc5b
修复全仓复利开启时单笔预算仍显示:flex 覆盖了 hidden,改为强制隐藏。
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-12 10:16:47 +08:00
dekun
425fc701bc
fix(hedge): equal-height right shell card with strategy status
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-09 10:02:59 +08:00
dekun
eca6d091e9
feat(hedge): option-primary watch entry with leverage gate
...
Start strategy arms a watching plan instead of opening immediately; list filters by leverage; type is a dropdown defaulting to OTM.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-09 09:27:42 +08:00
dekun
6ab27cebcd
fix(hedge): show option list by interval; leverage only at start
...
Keep capital/select params on one row, reload chain when interval changes, and stop filtering the chain by option leverage.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-09 09:18:36 +08:00
dekun
20e0c2cb9f
refactor(hedge): env-driven option-primary UI with grouped params
...
Move mode switch to HEDGE_PLAN_OPTION_PRIMARY, split left into capital/select/exit groups, and show perp quote above options with leverage auto-match.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-09 09:05:32 +08:00
dekun
f7e5329915
fix(hedge): hide mode-specific fields and default to option-primary
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-09 08:49:24 +08:00
dekun
993189ce13
Limit OO T-quote to 3 Call and 3 Put by default with leverage columns.
...
Drop the scroll box, add a show-all toggle after refresh, and show K/ask leverage on both sides.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-06 09:27:01 +08:00
dekun
2181c81aba
Show selected state on OO money filters and recommend buttons.
...
Muted idle chips, cyan checkmark when active so 平/虚 and 推荐跨式/双虚 are obvious after click.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-06 09:17:07 +08:00
dekun
baf928d064
Highlight selected Call/Put legs on the OO hedge T-quote board.
...
Selected buttons show 腿A/腿B and accent styling so the active strikes are obvious.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-06 09:13:00 +08:00
dekun
747434a65e
Add index-over-ask leverage column to options chain list.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-01 10:26:11 +08:00
dekun
f6ea0dc399
Add all-time stats tab with monthly breakdown on instance analytics.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-01 09:49:47 +08:00
dekun
28a329cb63
Restructure live order form into labeled rows for clearer hierarchy.
...
Group policy selects, SL/RR fields, options, and submit so the unlabeled RR input and scrambled checkbox/price row no longer fight for space.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-29 09:24:17 +08:00
dekun
6886de0bad
Phone-only: funds strip, hide list filter, slim options columns, fix order dialog.
2026-07-27 07:26:34 +08:00
dekun
f04a91efe6
Fix instance phone layout: tabbar padding, form stack, options table scroll.
2026-07-27 07:20:08 +08:00
dekun
b5a061e758
Add instance phone shell with bottom tabbar and more sheet.
2026-07-27 07:13:04 +08:00
dekun
67a09b1de8
Fix options review light theme dark card/filter styles.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-21 10:14:26 +08:00
dekun
c9229d64bf
Move hedge rule tips into left parameter cards as inline collapses.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-20 10:25:31 +08:00
dekun
3923818508
Add collapsible rule tips for perp-options and options-options hedge tabs.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-20 10:22:04 +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
7eb098def6
Options: merge duplicate order dialog head CSS.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-20 08:16:23 +08:00
dekun
972ef4f910
Options: loosen order dialog spacing and stack mode/note rows.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-20 08:15:55 +08:00
dekun
4e614eb9ed
Options: frame target and size-mode chips like cancel buttons.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-20 08:11:23 +08:00
dekun
547eedeec4
Options: show order form as viewport modal on select.
...
Stop inserting the panel under the strike row; mount backdrop on body with cancel/Esc close.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-20 08:06:07 +08:00
dekun
19b46d19fd
Options: eth-amount dialog, stop note autofill, pending tab in positions.
...
Selecting 指定币数量 opens an order dialog; pending orders move into a 当前委托 tab after 当前持仓; harden remark autofill that showed dekun.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-20 08:00:39 +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
899a2de931
Show options position source (纯期权/永期/期期) on holdings cards.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-19 08:45:17 +08:00
dekun
fa2127d66c
Make 永期 hedge UI clearer with dir segments and field grid.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-19 08:34:45 +08:00
dekun
d5f3f315dc
Show hedge-plan scenario preview in a modal with start/cancel.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-19 08:28:54 +08:00
dekun
1c155328b4
Move 期期 USDC transfer into T-quote card to free left panel.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-19 08:20:55 +08:00
dekun
3093d07167
期期: green index after lower target, USDC transfer, clearer selected state.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-19 08:16:44 +08:00
dekun
79420904f4
Tighten 期期 parameter UI: compact controls, less copy.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-19 08:10:12 +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
b3548240cc
Auto-fill 期期 sheets from trading balance with same-sheets default.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-19 00:56:35 +08:00
dekun
4126784056
Make env config panel full width like the funds header strip.
...
Match settings/risk-policy: span the page grid so the card aligns with account stats.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-17 13:16:06 +08:00
dekun
3a20546782
Make risk policy and settings panels full width.
...
Match the funds header span by spanning the two-column content grid.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-17 12:55:40 +08:00
dekun
8f71dbe874
Show hedge targets in options monitoring
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-17 07:15:00 +08:00
dekun
195eeae295
Fix options select UI and false contract-missing quotes.
...
Keep the order host out of tbody wipes, sync pick-button labels, and retry/fallback OKX meta under rate limits so live contracts are not reported as missing.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-16 12:18:41 +08:00
dekun
95e46ab803
Restyle options target-monitor banner for light mode.
...
Use a light panel with dark text instead of keeping the dark-theme black bar.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-16 12:06:01 +08:00
dekun
b50eebe37c
Boost light-mode contrast on options position cards.
...
Darken labels, hints, and badges so call/put chips and metric text stay readable on white.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-16 12:00:30 +08:00
dekun
4c7197ad99
Fix options chain headers mixing list and T-view columns.
...
Thead rows used a .hidden class with no CSS rule on instance pages, so both header sets stayed visible.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-16 11:57:07 +08:00
dekun
4a0b0def1d
Center instance login form by fixing broken theme-bar layout.
...
Move the theme toggle inside body and stack it above the form so flex no longer pushes the card to the right.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-16 08:49:23 +08:00
dekun
cbb7f954f5
Auto-cancel stale option close limits after pending TTL.
...
Default 10m via OKX_OPTIONS_PENDING_TTL_SECONDS; show age/countdown in pending panel; monitor loop cancels sell closes.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-15 22:06:24 +08:00
dekun
ee7be3e7f3
Align options realtime PnL with bid-net and show totals in stats.
...
Header float PnL now uses bid recycle minus premium like position cards. Stats adds realized/open/total net PnL.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-15 22:00:45 +08:00
dekun
ab8b2a74e2
Show cancellable pending option orders beside the order form.
...
Fetch live OKX option hangs on the right after submit, with refresh and one-click cancel.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-15 21:22:29 +08:00
dekun
0bedb2e972
Clear target input after set and show estimated value/profit.
...
Position委托 row keeps the field empty for new entry and displays target value plus estimated PnL after arming.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-15 16:05:54 +08:00
dekun
d6823a2903
Add options index target monitors that auto limit-close on hit.
...
Position and order forms can arm a target; right-side and hub panels show active monitors; expiry remains the stop with no separate SL.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-15 15:27:46 +08:00
dekun
8ecc70a61c
Support dual breakout targets for options-options hedges.
...
Replace single S* with up/down targets across UI, preview, persist, monitor, and alerts so ranging breakouts can close the winner either way.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-14 14:32:06 +08:00
dekun
f6ef06f659
Add hedge history delete/detail modal and typed stats cards.
...
History shows contract names with clickable fill details; stats split perp vs options plans for win rate, profit factor, max win/loss, and drawdown.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-14 14:04:48 +08:00
dekun
5fcf649c79
Move hedge-plan calc actions to second card and add spacing above preview.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-14 13:05:56 +08:00
dekun
8afaea1ea6
Allow entering sheet counts for each options-options hedge leg.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-14 12:59:24 +08:00