也可通过 REST
https://api.qfex.com/refdata 获取。判断各品种的资金费用行为时,请使用 market_hours,详见资金费率。响应结构示例
WebSocket 载荷与 REST 字段一致。单条消息可能包含一个或多个交易品种。
{
"type": "refdata",
"data": [
{
"clobPairId": "4",
"symbol": "GOOG-USD",
"underlier_price": "154.16",
"price_change_24h": "-2.1",
"tick_size": "0.05",
"lot_size": "0.001",
"min_price": "112",
"max_price": "209",
"min_quantity": "0.001",
"max_quantity": "100000000",
"base_asset": "GOOG",
"quote_asset": "USD",
"margin_asset": "USD",
"order_time_in_force": ["GTC", "IOC", "FOK"],
"order_types": ["LIMIT", "MARKET", "ALO"],
"default_max_leverage": 20,
"market_hours": {
"tz": "America/New_York",
"monday": { "open": "04:00:00", "close": "20:00:00" },
"tuesday": { "open": "04:00:00", "close": "20:00:00" },
"wednesday": { "open": "04:00:00", "close": "20:00:00" },
"thursday": { "open": "04:00:00", "close": "20:00:00" },
"friday": { "open": "04:00:00", "close": "20:00:00" }
}
}
]
}