Remove USDC product path; CoinOX is coin-margined only.

Drop USDC open/quote/swap APIs and env knobs; retarget hedge/settings copy to USDT/coin.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-10-14 12:33:59 +08:00
parent 5608173784
commit 2854d94e6b
13 changed files with 1682 additions and 2183 deletions
+2 -3
View File
@@ -53,9 +53,8 @@ def margin_mode_from_inst_id(inst_id: str) -> str:
def premium_ccy_for_mode(margin_mode: str, underlying: str = "ETH") -> str:
if normalize_options_margin_mode(margin_mode) == MODE_COIN:
return (underlying or "ETH").strip().upper() or "ETH"
return "USDC"
"""CoinOX 仅币本位:权利金币种为标的币."""
return (underlying or "ETH").strip().upper() or "ETH"
def spot_quote_inst_id(underlying: str) -> str: