Swap 永期 layout to left option select / right order; default opt:perp ratio 2.

Call pairs with perp short and Put with perp long; sizing shows coin notional so 1 BTC option hedges 0.5 BTC perp.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-10-14 12:54:09 +08:00
parent 4c48c95562
commit 73a1d5f709
6 changed files with 263 additions and 162 deletions
+1 -1
View File
@@ -104,7 +104,7 @@ class TestOptionPrimary(unittest.TestCase):
"premium_budget": 100,
"option_target_points": 50,
"perp_target_points": 30,
"option_perp_ratio": 4,
"option_perp_ratio": 2,
"option_leverage": 200,
"moneyness": "otm",
}