From e79afeea40cce23981179724f4887a97f9baad08 Mon Sep 17 00:00:00 2001 From: Rostislav <43965646+lyro41@users.noreply.github.com> Date: Sat, 12 Oct 2024 15:42:10 +0300 Subject: [PATCH] update unified margin status enums (#186) --- v5_enum.go | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/v5_enum.go b/v5_enum.go index 3de7aa6..677ac4c 100644 --- a/v5_enum.go +++ b/v5_enum.go @@ -250,10 +250,14 @@ const ( // UnifiedMarginStatusUnifiedMargin : Unified margin account, it only trades linear perpetual and options. // Deprecated: Is not used anymore - Please ignore UnifiedMarginStatusUnifiedMargin = UnifiedMarginStatus(2) - // UnifiedMarginStatusUnifiedTrade : Unified trade account, it can trade linear perpetual, options and spot + // UnifiedMarginStatusUnifiedTrade : Unified trading account 1.0 UnifiedMarginStatusUnifiedTrade = UnifiedMarginStatus(3) - // UnifiedMarginStatusUTAPro : UTA Pro, the pro version of Unified trade account + // UnifiedMarginStatusUTAPro : Unified trading account 1.0 (pro version) UnifiedMarginStatusUTAPro = UnifiedMarginStatus(4) + // UnifiedMarginStatusUTAv2 : Unified trading account 2.0 + UnifiedMarginStatusUTAv2 = UnifiedMarginStatus(5) + // UnifiedMarginStatusUTAv2Pro : Unified trading account 2.0 (pro version) + UnifiedMarginStatusUTAv2Pro = UnifiedMarginStatus(6) ) // TransactionLogTypeV5 :