From ec0737ff5e654b6d16e94707cdf024cdff456790 Mon Sep 17 00:00:00 2001 From: sora233 Date: Sun, 19 Apr 2026 10:52:41 +0800 Subject: [PATCH] feat: add new contract type for Tradifi perpetual in futures client --- v2/futures/client.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/v2/futures/client.go b/v2/futures/client.go index 65eb8e05..c7ca970e 100644 --- a/v2/futures/client.go +++ b/v2/futures/client.go @@ -161,9 +161,10 @@ const ( MarginTypeIsolated MarginType = "ISOLATED" MarginTypeCrossed MarginType = "CROSSED" - ContractTypePerpetual ContractType = "PERPETUAL" - ContractTypeCurrentQuarter ContractType = "CURRENT_QUARTER" - ContractTypeNextQuarter ContractType = "NEXT_QUARTER" + ContractTypePerpetual ContractType = "PERPETUAL" + ContractTypeCurrentQuarter ContractType = "CURRENT_QUARTER" + ContractTypeNextQuarter ContractType = "NEXT_QUARTER" + ContractTypeTradifiPerpetual ContractType = "TRADIFI_PERPETUAL" UserDataEventTypeListenKeyExpired UserDataEventType = "listenKeyExpired" UserDataEventTypeMarginCall UserDataEventType = "MARGIN_CALL"