env 配置去掉期权/对冲模式与对冲计划区块,仅保留单独期权。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-09-30 23:38:03 +08:00
parent 2e09814fe5
commit 2352a5fbdf
4 changed files with 31 additions and 214 deletions
-5
View File
@@ -170,7 +170,6 @@ SELECT_OPTIONS: dict[str, tuple[tuple[str, str], ...]] = {
),
"OKX_TRADE_MODE": (
("options", "单独期权"),
("options_options", "期期对冲"),
),
"OKX_OPTIONS_MARGIN_MODE": (
("coin", "币本位(USDT买币桥)"),
@@ -180,10 +179,6 @@ SELECT_OPTIONS: dict[str, tuple[tuple[str, str], ...]] = {
("premium", "权利金倍数"),
("net_pnl", "净盈亏(USDT)"),
),
"HEDGE_PLAN_OPTION_PRIMARY": (
("true", "以期权为主"),
("false", "保险模式"),
),
}
_SELECT_ALIASES: dict[str, dict[str, str]] = {