Versions in this module Expand all Collapse all v1 v1.1.2 Jun 29, 2026 v1.1.1 Jun 29, 2026 v1.1.0 Jun 28, 2026 v1.0.9 Jun 28, 2026 v1.0.8 Jun 28, 2026 v1.0.7 Jun 28, 2026 Changes in this version + const AccountTypeCoinFuture + const AccountTypeIsolatedMargin + const AccountTypeMargin + const AccountTypeSpot + const AccountTypeUSDTFuture + const BaseAPIDemoURL + const BaseAPIMainURL + const BaseAPITestnetURL + const CancelReplaceModeAllowFailure + const CancelReplaceModeStopOnFailure + const FuturesAlgoOrderStatusTypeCancelled + const FuturesAlgoOrderStatusTypeFinished + const FuturesAlgoOrderStatusTypeWorking + const FuturesAlgoTypeTwap + const FuturesAlgoTypeVp + const FuturesAlgoUrgencyTypeHigh + const FuturesAlgoUrgencyTypeLow + const FuturesAlgoUrgencyTypeMedium + const FuturesOrderBookHistoryDataTypeSDepth + const FuturesOrderBookHistoryDataTypeTDepth + const FuturesTransferStatusTypeConfirmed + const FuturesTransferStatusTypeFailed + const FuturesTransferStatusTypePending + const FuturesTransferTypeFuturesCMToMain + const FuturesTransferTypeToFutures + const FuturesTransferTypeToFuturesCM + const FuturesTransferTypeToMain + const LendingTypeActivity + const LendingTypeFixed + const LendingTypeFlexible + const LiquidityOperationTypeCombination + const LiquidityOperationTypeSingle + const MarginAccountBorrow + const MarginAccountBorrowRepayStatusConfirmed + const MarginAccountBorrowRepayStatusFailed + const MarginAccountBorrowRepayStatusPending + const MarginAccountRepay + const MarginLoanStatusTypeConfirmed + const MarginLoanStatusTypeFailed + const MarginLoanStatusTypePending + const MarginRepayStatusTypeConfirmed + const MarginRepayStatusTypeFailed + const MarginRepayStatusTypePending + const MarginTransferTypeToMain + const MarginTransferTypeToMargin + const NewOrderRespTypeACK + const NewOrderRespTypeFULL + const NewOrderRespTypeRESULT + const OrderStatusExpiredInMatch + const OrderStatusTypeCanceled + const OrderStatusTypeExpired + const OrderStatusTypeFilled + const OrderStatusTypeNew + const OrderStatusTypePartiallyFilled + const OrderStatusTypePendingCancel + const OrderStatusTypeRejected + const OrderTypeLimit + const OrderTypeLimitMaker + const OrderTypeMarket + const OrderTypeStopLoss + const OrderTypeStopLossLimit + const OrderTypeTakeProfit + const OrderTypeTakeProfitLimit + const RateLimitIntervalDay + const RateLimitIntervalMinute + const RateLimitIntervalSecond + const RateLimitTypeOrders + const RateLimitTypeRawRequests + const RateLimitTypeRequestWeight + const RewardClaimDone + const RewardClaimPending + const RewardTypeLiquidity + const RewardTypeTrading + const SelfTradePreventionModeExpireBoth + const SelfTradePreventionModeExpireMaker + const SelfTradePreventionModeExpireTaker + const SelfTradePreventionModeNone + const SideEffectTypeAutoBorrowRepay + const SideEffectTypeAutoRepay + const SideEffectTypeMarginBuy + const SideEffectTypeNoSideEffect + const SideTypeBuy + const SideTypeSell + const StakingProductFlexibleDeFiStaking + const StakingProductLockedDeFiStaking + const StakingProductLockedStaking + const StakingTransactionTypeInterest + const StakingTransactionTypeRedemption + const StakingTransactionTypeSubscription + const SubAccountTransferTypeTransferIn + const SubAccountTransferTypeTransferOut + const SwappingStatusDone + const SwappingStatusFailed + const SwappingStatusPending + const SymbolFilterTypeIcebergParts + const SymbolFilterTypeLotSize + const SymbolFilterTypeMarketLotSize + const SymbolFilterTypeMaxNumAlgoOrders + const SymbolFilterTypeMaxNumOrders + const SymbolFilterTypeMinNotional + const SymbolFilterTypeNotional + const SymbolFilterTypePercentPriceBySide + const SymbolFilterTypePriceFilter + const SymbolFilterTypeTrailingDelta + const SymbolStatusTypeAuctionMatch + const SymbolStatusTypeBreak + const SymbolStatusTypeEndOfDay + const SymbolStatusTypeHalt + const SymbolStatusTypePostTrading + const SymbolStatusTypePreTrading + const SymbolStatusTypeTrading + const SymbolTypeSpot + const TimeInForceTypeFOK + const TimeInForceTypeGTC + const TimeInForceTypeIOC + const TransactionTypeBuy + const TransactionTypeDeposit + const TransactionTypeSell + const TransactionTypeWithdraw + const UserDataEventTypeBalanceUpdate + const UserDataEventTypeExecutionReport + const UserDataEventTypeListStatus + const UserDataEventTypeOutboundAccountPosition + const UserUniversalTransferStatusTypeConfirmed + const UserUniversalTransferStatusTypeFailed + const UserUniversalTransferStatusTypePending + const UserUniversalTransferTypeCmFuturesToFunding + const UserUniversalTransferTypeCmFuturesToMain + const UserUniversalTransferTypeCmFuturesToMargin + const UserUniversalTransferTypeFundingToCmFutures + const UserUniversalTransferTypeFundingToMain + const UserUniversalTransferTypeFundingToMargin + const UserUniversalTransferTypeFundingToOption + const UserUniversalTransferTypeFundingToUmFutures + const UserUniversalTransferTypeIsolatedMarginToIsolatedMargin + const UserUniversalTransferTypeIsolatedMarginToMain + const UserUniversalTransferTypeIsolatedMarginToMargin + const UserUniversalTransferTypeMainToCmFutures + const UserUniversalTransferTypeMainToFunding + const UserUniversalTransferTypeMainToIsolatedMargin + const UserUniversalTransferTypeMainToMargin + const UserUniversalTransferTypeMainToOption + const UserUniversalTransferTypeMainToPortfolioMargin + const UserUniversalTransferTypeMainToUmFutures + const UserUniversalTransferTypeMarginToCmFutures + const UserUniversalTransferTypeMarginToFunding + const UserUniversalTransferTypeMarginToIsolatedMargin + const UserUniversalTransferTypeMarginToMain + const UserUniversalTransferTypeMarginToOption + const UserUniversalTransferTypeMarginToUmFutures + const UserUniversalTransferTypeOptionToFunding + const UserUniversalTransferTypeOptionToMain + const UserUniversalTransferTypeOptionToMargin + const UserUniversalTransferTypeOptionToUmFutures + const UserUniversalTransferTypePortfolioMarginToMain + const UserUniversalTransferTypeUmFuturesToFunding + const UserUniversalTransferTypeUmFuturesToMain + const UserUniversalTransferTypeUmFuturesToMargin + const UserUniversalTransferTypeUmFuturesToOption + var BaseCombinedDemoURL = "wss://demo-stream.binance.com/stream?streams=" + var BaseCombinedMainURL = "wss://stream.binance.com:9443/stream?streams=" + var BaseCombinedTestnetURL = "wss://stream.testnet.binance.vision/stream?streams=" + var BaseWsAnnouncementURL = "wss://api.binance.com/sapi/wss" + var BaseWsApiDemoURL = "wss://demo-ws-api.binance.com/ws-api/v3" + var BaseWsApiMainURL = "wss://ws-api.binance.com:443/ws-api/v3" + var BaseWsApiTestnetURL = "wss://ws-api.testnet.binance.vision/ws-api/v3" + var BaseWsDemoURL = "wss://demo-stream.binance.com/ws" + var BaseWsMainURL = "wss://stream.binance.com:9443/ws" + var BaseWsTestnetURL = "wss://stream.testnet.binance.vision/ws" + var ProxyUrl = "" + var UseDemo atomic.Bool + var UseTestnet atomic.Bool + var WebsocketKeepalive = true + var WebsocketPingTimeout = time.Second * 10 + var WebsocketPongTimeout = time.Second * 10 + var WebsocketTimeout = time.Second * 600 + var WebsocketTimeoutReadWriteConnection = time.Second * 10 + var WsGetReadWriteConnection = func(cfg *WsConfig) (*websocket.Conn, error) + func FormatTimestamp(t time.Time) int64 + func NewDeliveryClient(apiKey, secretKey string) *delivery.Client + func NewFuturesClient(apiKey, secretKey string) *futures.Client + func NewOptionsClient(apiKey, secretKey string) *options.Client + func SetWsProxyUrl(url string) + func WsAggTradeServe(symbol string, handler WsAggTradeHandler, errHandler ErrHandler) (doneC, stopC chan struct{}, err error) + func WsAllBookTickerServe(handler WsBookTickerHandler, errHandler ErrHandler) (doneC, stopC chan struct{}, err error) + func WsAllMarketsStatServe(handler WsAllMarketsStatHandler, errHandler ErrHandler) (doneC, stopC chan struct{}, err error) + func WsAllMiniMarketsStatServe(handler WsAllMiniMarketsStatServeHandler, errHandler ErrHandler) (doneC, stopC chan struct{}, err error) + func WsAnnouncementServe(params WsAnnouncementParam, handler WsAnnouncementHandler, ...) (doneC, stopC chan struct{}, err error) + func WsApiInitReadWriteConn() (*gorilla.Conn, error) + func WsBookTickerServe(symbol string, handler WsBookTickerHandler, errHandler ErrHandler) (doneC, stopC chan struct{}, err error) + func WsCombinedAggTradeServe(symbols []string, handler WsAggTradeHandler, errHandler ErrHandler) (doneC, stopC chan struct{}, err error) + func WsCombinedBookTickerServe(symbols []string, handler WsBookTickerHandler, errHandler ErrHandler) (doneC, stopC chan struct{}, err error) + func WsCombinedDepthServe(symbols []string, handler WsDepthHandler, errHandler ErrHandler) (doneC, stopC chan struct{}, err error) + func WsCombinedDepthServe100Ms(symbols []string, handler WsDepthHandler, errHandler ErrHandler) (doneC, stopC chan struct{}, err error) + func WsCombinedKlineServe(symbolIntervalPair map[string]string, handler WsKlineHandler, ...) (doneC, stopC chan struct{}, err error) + func WsCombinedKlineServeMultiInterval(symbolIntervals map[string][]string, handler WsKlineHandler, ...) (doneC, stopC chan struct{}, err error) + func WsCombinedMarketStatServe(symbols []string, handler WsMarketStatHandler, errHandler ErrHandler) (doneC, stopC chan struct{}, err error) + func WsCombinedPartialDepthServe(symbolLevels map[string]string, handler WsPartialDepthHandler, ...) (doneC, stopC chan struct{}, err error) + func WsCombinedTradeServe(symbols []string, handler WsCombinedTradeHandler, errHandler ErrHandler) (doneC, stopC chan struct{}, err error) + func WsDepthServe(symbol string, handler WsDepthHandler, errHandler ErrHandler) (doneC, stopC chan struct{}, err error) + func WsDepthServe100Ms(symbol string, handler WsDepthHandler, errHandler ErrHandler) (doneC, stopC chan struct{}, err error) + func WsKlineServe(symbol string, interval string, handler WsKlineHandler, errHandler ErrHandler) (doneC, stopC chan struct{}, err error) + func WsMarketStatServe(symbol string, handler WsMarketStatHandler, errHandler ErrHandler) (doneC, stopC chan struct{}, err error) + func WsPartialDepthServe(symbol string, levels string, handler WsPartialDepthHandler, ...) (doneC, stopC chan struct{}, err error) + func WsPartialDepthServe100Ms(symbol string, levels string, handler WsPartialDepthHandler, ...) (doneC, stopC chan struct{}, err error) + func WsTradeServe(symbol string, handler WsTradeHandler, errHandler ErrHandler) (doneC, stopC chan struct{}, err error) + func WsUserDataServe(listenKey string, handler WsUserDataHandler, errHandler ErrHandler) (doneC, stopC chan struct{}, err error) + func WsUserDataServeSignature(apiKey, secretKey string, keyType string, timeOffset int64, ...) (doneC, stopC chan struct{}, err error) + type APIKeyPermission struct + CreateTime uint64 + EnableFutures bool + EnableInternalTransfer bool + EnableMargin bool + EnableReading bool + EnableSpotAndMarginTrading bool + EnableVanillaOptions bool + EnableWithdrawals bool + IPRestrict bool + PermitsUniversalTransfer bool + TradingAuthorityExpirationTime uint64 + type Account struct + AccountType string + Balances []Balance + BuyerCommission int64 + CanDeposit bool + CanTrade bool + CanWithdraw bool + CommissionRates CommissionRates + MakerCommission int64 + Permissions []string + SellerCommission int64 + TakerCommission int64 + UID int64 + UpdateTime uint64 + type AccountType string + type AddLiquidityPreviewResponse struct + BaseAmt string + BaseAsset string + Fee string + Price string + QuoteAmt string + QuoteAsset string + Share string + Slippage string + type AddLiquidityPreviewService struct + func (s *AddLiquidityPreviewService) Do(ctx context.Context) (*AddLiquidityPreviewResponse, error) + func (s *AddLiquidityPreviewService) OperationType(operationType LiquidityOperationType) *AddLiquidityPreviewService + func (s *AddLiquidityPreviewService) PoolId(poolId int64) *AddLiquidityPreviewService + func (s *AddLiquidityPreviewService) QuoteAsset(quoteAsset string) *AddLiquidityPreviewService + func (s *AddLiquidityPreviewService) QuoteQty(quoteQty float64) *AddLiquidityPreviewService + type AddLiquidityResponse struct + OperationId int64 + type AddLiquidityService struct + func (s *AddLiquidityService) Do(ctx context.Context) (*AddLiquidityResponse, error) + func (s *AddLiquidityService) OperationType(operationType LiquidityOperationType) *AddLiquidityService + func (s *AddLiquidityService) PoolId(poolId int64) *AddLiquidityService + func (s *AddLiquidityService) QuoteAsset(quoteAsset string) *AddLiquidityService + func (s *AddLiquidityService) QuoteQty(quoteQty float64) *AddLiquidityService + type AggTrade struct + AggTradeID int64 + FirstTradeID int64 + IsBestPriceMatch bool + IsBuyerMaker bool + LastTradeID int64 + Price string + Quantity string + Timestamp int64 + type AggTradesService struct + func (s *AggTradesService) Do(ctx context.Context, opts ...RequestOption) (res []*AggTrade, err error) + func (s *AggTradesService) EndTime(endTime int64) *AggTradesService + func (s *AggTradesService) FromID(fromID int64) *AggTradesService + func (s *AggTradesService) Limit(limit int) *AggTradesService + func (s *AggTradesService) StartTime(startTime int64) *AggTradesService + func (s *AggTradesService) Symbol(symbol string) *AggTradesService + type AlgoOrderCancelWsRequest struct + func NewAlgoOrderCancelWsRequest() *AlgoOrderCancelWsRequest + func (s *AlgoOrderCancelWsRequest) AlgoID(algoID int64) *AlgoOrderCancelWsRequest + func (s *AlgoOrderCancelWsRequest) ClientAlgoID(clientAlgoID string) *AlgoOrderCancelWsRequest + func (s *AlgoOrderCancelWsRequest) RecvWindow(recvWindow int64) *AlgoOrderCancelWsRequest + type AlgoOrderCancelWsService struct + ApiKey string + KeyType string + SecretKey string + TimeOffset int64 + func NewAlgoOrderCancelWsService(apiKey, secretKey string) (*AlgoOrderCancelWsService, error) + func (s *AlgoOrderCancelWsService) Do(requestID string, request *AlgoOrderCancelWsRequest) error + func (s *AlgoOrderCancelWsService) GetReadChannel() <-chan []byte + func (s *AlgoOrderCancelWsService) GetReadErrorChannel() <-chan error + func (s *AlgoOrderCancelWsService) GetReconnectCount() int64 + func (s *AlgoOrderCancelWsService) ReceiveAllDataBeforeStop(timeout time.Duration) + func (s *AlgoOrderCancelWsService) SyncDo(requestID string, request *AlgoOrderCancelWsRequest) (*CancelAlgoOrderWsResponse, error) + type AlgoOrderPlaceWsRequest struct + func NewAlgoOrderPlaceWsRequest() *AlgoOrderPlaceWsRequest + func (s *AlgoOrderPlaceWsRequest) ClientAlgoID(clientAlgoID string) *AlgoOrderPlaceWsRequest + func (s *AlgoOrderPlaceWsRequest) ClosePosition(closePosition bool) *AlgoOrderPlaceWsRequest + func (s *AlgoOrderPlaceWsRequest) NewClientOrderID(newClientOrderID string) *AlgoOrderPlaceWsRequest + func (s *AlgoOrderPlaceWsRequest) NewOrderResponseType(newOrderResponseType futures.NewOrderRespType) *AlgoOrderPlaceWsRequest + func (s *AlgoOrderPlaceWsRequest) PositionSide(positionSide futures.PositionSideType) *AlgoOrderPlaceWsRequest + func (s *AlgoOrderPlaceWsRequest) Price(price string) *AlgoOrderPlaceWsRequest + func (s *AlgoOrderPlaceWsRequest) Quantity(quantity string) *AlgoOrderPlaceWsRequest + func (s *AlgoOrderPlaceWsRequest) RecvWindow(recvWindow int64) *AlgoOrderPlaceWsRequest + func (s *AlgoOrderPlaceWsRequest) ReduceOnly(reduceOnly bool) *AlgoOrderPlaceWsRequest + func (s *AlgoOrderPlaceWsRequest) Side(side futures.SideType) *AlgoOrderPlaceWsRequest + func (s *AlgoOrderPlaceWsRequest) Symbol(symbol string) *AlgoOrderPlaceWsRequest + func (s *AlgoOrderPlaceWsRequest) TimeInForce(timeInForce futures.TimeInForceType) *AlgoOrderPlaceWsRequest + func (s *AlgoOrderPlaceWsRequest) TriggerPrice(triggerPrice string) *AlgoOrderPlaceWsRequest + func (s *AlgoOrderPlaceWsRequest) Type(_type futures.AlgoOrderType) *AlgoOrderPlaceWsRequest + func (s *AlgoOrderPlaceWsRequest) WorkingType(workingType futures.WorkingType) *AlgoOrderPlaceWsRequest + type AlgoOrderPlaceWsService struct + ApiKey string + KeyType string + SecretKey string + TimeOffset int64 + func NewAlgoOrderPlaceWsService(apiKey, secretKey string) (*AlgoOrderPlaceWsService, error) + func (s *AlgoOrderPlaceWsService) GetReadChannel() <-chan []byte + func (s *AlgoOrderPlaceWsService) GetReadErrorChannel() <-chan error + func (s *AlgoOrderPlaceWsService) GetReconnectCount() int64 + func (s *AlgoOrderPlaceWsService) ReceiveAllDataBeforeStop(timeout time.Duration) + func (s *AlgoOrderPlaceWsService) SyncDo(requestID string, request *AlgoOrderPlaceWsRequest) (*CreateAlgoOrderWsResponse, error) + type Ask = common.PriceLevel + type AssetBalance struct + Asset string + Free float64 + Locked float64 + type AssetDetail struct + DepositStatus bool + DepositTip string + MinWithdrawAmount string + WithdrawFee string + WithdrawStatus bool + type AssetDividendService struct + func (s *AssetDividendService) Asset(asset string) *AssetDividendService + func (s *AssetDividendService) Do(ctx context.Context) (*DividendResponseWrapper, error) + func (s *AssetDividendService) EndTime(endTime int64) *AssetDividendService + func (s *AssetDividendService) Limit(limit int) *AssetDividendService + func (s *AssetDividendService) StartTime(startTime int64) *AssetDividendService + type AveragePriceService struct + func (s *AveragePriceService) Do(ctx context.Context, opts ...RequestOption) (res *AvgPrice, err error) + func (s *AveragePriceService) Symbol(symbol string) *AveragePriceService + type AvgPrice struct + Mins int64 + Price string + type BNBBurn struct + InterestBNBBurn bool + SpotBNBBurn bool + type Balance struct + Asset string + Free string + Locked string + type Bid = common.PriceLevel + type BookTicker struct + AskPrice string + AskQuantity string + BidPrice string + BidQuantity string + Symbol string + type C2CRecord struct + AdvNo string + AdvertisementRole string + Amount string + Asset string + Commission string + CounterPartNickName string + CreateTime int64 + Fiat string + FiatSymbol string + OrderNumber string + OrderStatus string + TotalPrice string + TradeType string + UnitPrice string + type C2CTradeHistory struct + Code string + Data []C2CRecord + Message string + Success bool + Total int64 + type C2CTradeHistoryService struct + func (s *C2CTradeHistoryService) Do(ctx context.Context, opts ...RequestOption) (*C2CTradeHistory, error) + func (s *C2CTradeHistoryService) EndTime(endTimestamp int64) *C2CTradeHistoryService + func (s *C2CTradeHistoryService) Page(page int32) *C2CTradeHistoryService + func (s *C2CTradeHistoryService) Rows(rows int32) *C2CTradeHistoryService + func (s *C2CTradeHistoryService) StartTimestamp(startTimestamp int64) *C2CTradeHistoryService + func (s *C2CTradeHistoryService) TradeType(tradeType SideType) *C2CTradeHistoryService + type CancelAlgoOrderResult struct + AlgoId int64 + ClientAlgoId string + Code string + Message string + type CancelAlgoOrderWsResponse struct + Error *common.APIError + Id string + Result CancelAlgoOrderResult + Status int + type CancelAllMarginOrdersReport struct + ClientOrderID string + CummulativeQuoteQuantity string + ExecutedQuantity string + IcebergQty string + OrderID int64 + OrderListID int64 + OrigClientOrderID string + OrigQuantity string + Price string + Side SideType + Status OrderStatusType + StopPrice string + Symbol string + TimeInForce TimeInForceType + Type OrderType + type CancelAllMarginOrdersResponse struct + ClientOrderID string + ContingencyType string + CummulativeQuoteQuantity string + ExecutedQuantity string + IsIsolated bool + ListClientOrderID string + ListOrderStatus string + ListStatusType string + OrderID int64 + OrderListID int64 + OrderReports []*CancelAllMarginOrdersReport + Orders []*MarginOCOOrder + OrigClientOrderID string + OrigQuantity string + Price string + SelfTradePreventionMode string + Side SideType + Status OrderStatusType + Symbol string + TimeInForce TimeInForceType + TransactTime int64 + TransactionTime int64 + Type OrderType + type CancelAllMarginOrdersService struct + func (s *CancelAllMarginOrdersService) Do(ctx context.Context, opts ...RequestOption) (res []*CancelAllMarginOrdersResponse, err error) + func (s *CancelAllMarginOrdersService) IsIsolated(isIsolated bool) *CancelAllMarginOrdersService + func (s *CancelAllMarginOrdersService) Symbol(symbol string) *CancelAllMarginOrdersService + type CancelFuturesAlgoOrderResponse struct + AlgoId int64 + Code int + Msg string + Success bool + type CancelFuturesAlgoOrderService struct + func (s *CancelFuturesAlgoOrderService) AlgoId(algoId int64) *CancelFuturesAlgoOrderService + func (s *CancelFuturesAlgoOrderService) Do(ctx context.Context, opts ...RequestOption) (res *CancelFuturesAlgoOrderResponse, err error) + type CancelMarginOCOResponse struct + ContingencyType string + IsIsolated bool + ListClientOrderID string + ListOrderStatus string + ListStatusType string + OrderListID int64 + OrderReports []*MarginOCOOrderReport + Orders []*MarginOCOOrder + Symbol string + TransactionTime int64 + type CancelMarginOCOService struct + func (s *CancelMarginOCOService) Do(ctx context.Context, opts ...RequestOption) (res *CancelMarginOCOResponse, err error) + func (s *CancelMarginOCOService) IsIsolated(isIsolated bool) *CancelMarginOCOService + func (s *CancelMarginOCOService) ListClientOrderID(listClientOrderID string) *CancelMarginOCOService + func (s *CancelMarginOCOService) NewClientOrderID(newClientOrderID string) *CancelMarginOCOService + func (s *CancelMarginOCOService) OrderListID(orderListID int64) *CancelMarginOCOService + func (s *CancelMarginOCOService) Symbol(symbol string) *CancelMarginOCOService + type CancelMarginOrderResponse struct + ClientOrderID string + CummulativeQuoteQuantity string + ExecutedQuantity string + OrderID string + OrigClientOrderID string + OrigQuantity string + Price string + Side SideType + Status OrderStatusType + Symbol string + TimeInForce TimeInForceType + TransactTime int64 + Type OrderType + type CancelMarginOrderService struct + func (s *CancelMarginOrderService) Do(ctx context.Context, opts ...RequestOption) (res *CancelMarginOrderResponse, err error) + func (s *CancelMarginOrderService) IsIsolated(isIsolated bool) *CancelMarginOrderService + func (s *CancelMarginOrderService) NewClientOrderID(newClientOrderID string) *CancelMarginOrderService + func (s *CancelMarginOrderService) OrderID(orderID int64) *CancelMarginOrderService + func (s *CancelMarginOrderService) OrigClientOrderID(origClientOrderID string) *CancelMarginOrderService + func (s *CancelMarginOrderService) Symbol(symbol string) *CancelMarginOrderService + type CancelOCOResponse struct + ContingencyType string + ListClientOrderID string + ListOrderStatus string + ListStatusType string + OrderListID int64 + OrderReports []*OCOOrderReport + Orders []*OCOOrder + Symbol string + TransactionTime int64 + type CancelOCOService struct + func (s *CancelOCOService) Do(ctx context.Context, opts ...RequestOption) (res *CancelOCOResponse, err error) + func (s *CancelOCOService) ListClientOrderID(listClientOrderID string) *CancelOCOService + func (s *CancelOCOService) NewClientOrderID(newClientOrderID string) *CancelOCOService + func (s *CancelOCOService) OrderListID(orderListID int64) *CancelOCOService + func (s *CancelOCOService) Symbol(symbol string) *CancelOCOService + type CancelOpenOrdersResponse struct + OCOOrders []*CancelOCOResponse + Orders []*CancelOrderResponse + type CancelOpenOrdersService struct + func (s *CancelOpenOrdersService) Do(ctx context.Context, opts ...RequestOption) (res *CancelOpenOrdersResponse, err error) + func (s *CancelOpenOrdersService) Symbol(symbol string) *CancelOpenOrdersService + type CancelOrderListResult struct + ContingencyType string + ListClientOrderId string + ListOrderStatus string + ListStatusType string + OrderListId int64 + OrderReports []struct{ ... } + Orders []struct{ ... } + Symbol string + TransactionTime int64 + type CancelOrderListWsResponse struct + Error *common.APIError + Id string + Result CancelOrderListResult + Status int + type CancelOrderResponse struct + ClientOrderID string + CummulativeQuoteQuantity string + ExecutedQuantity string + OrderID int64 + OrderListID int64 + OrigClientOrderID string + OrigQuantity string + OrigQuoteOrderQuantity string + Price string + SelfTradePreventionMode SelfTradePreventionMode + Side SideType + Status OrderStatusType + Symbol string + TimeInForce TimeInForceType + TransactTime int64 + Type OrderType + type CancelOrderService struct + func (s *CancelOrderService) Do(ctx context.Context, opts ...RequestOption) (res *CancelOrderResponse, err error) + func (s *CancelOrderService) NewClientOrderID(newClientOrderID string) *CancelOrderService + func (s *CancelOrderService) OrderID(orderID int64) *CancelOrderService + func (s *CancelOrderService) OrigClientOrderID(origClientOrderID string) *CancelOrderService + func (s *CancelOrderService) Symbol(symbol string) *CancelOrderService + type CancelReplaceMode string + type CancelReplaceOrderResponse struct + CancelResponse *CancelOrderResponse + CancelResult string + NewOrderResponse *CreateOrderResponse + NewOrderResult string + type CancelReplaceOrderService struct + func (s *CancelReplaceOrderService) CancelNewClientOrderID(cancelNewClientOrderID string) *CancelReplaceOrderService + func (s *CancelReplaceOrderService) CancelOrderID(cancelOrderID int64) *CancelReplaceOrderService + func (s *CancelReplaceOrderService) CancelOrigClientOrderID(cancelOrigClientOrderID string) *CancelReplaceOrderService + func (s *CancelReplaceOrderService) CancelReplaceMode(cancelReplaceMode CancelReplaceMode) *CancelReplaceOrderService + func (s *CancelReplaceOrderService) Do(ctx context.Context, opts ...RequestOption) (res *CancelReplaceOrderResponse, err error) + func (s *CancelReplaceOrderService) IcebergQuantity(icebergQuantity string) *CancelReplaceOrderService + func (s *CancelReplaceOrderService) NewClientOrderID(newClientOrderID string) *CancelReplaceOrderService + func (s *CancelReplaceOrderService) NewOrderRespType(newOrderRespType NewOrderRespType) *CancelReplaceOrderService + func (s *CancelReplaceOrderService) Price(price string) *CancelReplaceOrderService + func (s *CancelReplaceOrderService) Quantity(quantity string) *CancelReplaceOrderService + func (s *CancelReplaceOrderService) QuoteOrderQty(quoteOrderQty string) *CancelReplaceOrderService + func (s *CancelReplaceOrderService) SelfTradePreventionMode(selfTradePreventionMode SelfTradePreventionMode) *CancelReplaceOrderService + func (s *CancelReplaceOrderService) Side(side SideType) *CancelReplaceOrderService + func (s *CancelReplaceOrderService) StopPrice(stopPrice string) *CancelReplaceOrderService + func (s *CancelReplaceOrderService) StrategyId(strategyId int64) *CancelReplaceOrderService + func (s *CancelReplaceOrderService) StrategyType(strategyType int64) *CancelReplaceOrderService + func (s *CancelReplaceOrderService) Symbol(symbol string) *CancelReplaceOrderService + func (s *CancelReplaceOrderService) TimeInForce(timeInForce TimeInForceType) *CancelReplaceOrderService + func (s *CancelReplaceOrderService) TrailingDelta(trailingDelta string) *CancelReplaceOrderService + func (s *CancelReplaceOrderService) Type(orderType OrderType) *CancelReplaceOrderService + type ClaimRewardResponse struct + Success bool + type ClaimRewardService struct + func (s *ClaimRewardService) Do(ctx context.Context) (*ClaimRewardResponse, error) + func (s *ClaimRewardService) RewardType(t LiquidityRewardType) *ClaimRewardService + type ClaimedRewardHistory struct + AssetRewards string + ClaimedAmount string + ClaimedAt int64 + PoolId int + PoolName string + Status RewardClaimStatus + type Client struct + func NewClient(apiKey, secretKey string) *Client + func NewProxiedClient(apiKey, secretKey, proxyUrl string) (*Client, error) + func (c *Client) CreateAnnouncementParam(opts ...RequestOption) (WsAnnouncementParam, error) + func (c *Client) NewAddLiquidityPreviewService() *AddLiquidityPreviewService + func (c *Client) NewAddLiquidityService() *AddLiquidityService + func (c *Client) NewAggTradesService() *AggTradesService + func (c *Client) NewAssetDividendService() *AssetDividendService + func (c *Client) NewAveragePriceService() *AveragePriceService + func (c *Client) NewC2CTradeHistoryService() *C2CTradeHistoryService + func (c *Client) NewCancelAllMarginOrdersService() *CancelAllMarginOrdersService + func (c *Client) NewCancelFuturesAlgoOrderService() *CancelFuturesAlgoOrderService + func (c *Client) NewCancelMarginOCOService() *CancelMarginOCOService + func (c *Client) NewCancelMarginOrderService() *CancelMarginOrderService + func (c *Client) NewCancelOCOService() *CancelOCOService + func (c *Client) NewCancelOpenOrdersService() *CancelOpenOrdersService + func (c *Client) NewCancelOrderService() *CancelOrderService + func (c *Client) NewCancelReplaceOrderService() *CancelReplaceOrderService + func (c *Client) NewClaimRewardService() *ClaimRewardService + func (c *Client) NewCloseIsolatedMarginUserStreamService() *CloseIsolatedMarginUserStreamService + func (c *Client) NewCloseMarginUserStreamService() *CloseMarginUserStreamService + func (c *Client) NewCloseUserStreamService() *CloseUserStreamService + func (c *Client) NewConvertAcceptQuoteService() *ConvertAcceptQuoteService + func (c *Client) NewConvertAssetInfoService() *ConvertAssetInfoService + func (c *Client) NewConvertExchangeInfoService() *ConvertExchangeInfoService + func (c *Client) NewConvertOrderStatusService() *ConvertOrderStatusService + func (c *Client) NewConvertQuoteService() *ConvertGetQuoteService + func (c *Client) NewConvertTradeHistoryService() *ConvertTradeHistoryService + func (c *Client) NewCreateFuturesAlgoTwapOrderService() *CreateFuturesAlgoTwapOrderService + func (c *Client) NewCreateFuturesAlgoVpOrderService() *CreateFuturesAlgoVpOrderService + func (c *Client) NewCreateMarginOCOService() *CreateMarginOCOService + func (c *Client) NewCreateMarginOrderService() *CreateMarginOrderService + func (c *Client) NewCreateOCOService() *CreateOCOService + func (c *Client) NewCreateOrderService() *CreateOrderService + func (c *Client) NewCreateVirtualSubAccountService() *CreateVirtualSubAccountService + func (c *Client) NewCreateWithdrawService() *CreateWithdrawService + func (c *Client) NewDepthService() *DepthService + func (c *Client) NewDualInvestmentService() *DualInvestmentService + func (c *Client) NewDustTransferService() *DustTransferService + func (c *Client) NewExchangeInfoService() *ExchangeInfoService + func (c *Client) NewFiatDepositWithdrawHistoryService() *FiatDepositWithdrawHistoryService + func (c *Client) NewFiatPaymentsHistoryService() *FiatPaymentsHistoryService + func (c *Client) NewFuturesOrderBookHistoryService() *FuturesOrderBookHistoryService + func (c *Client) NewFuturesTransferService() *FuturesTransferService + func (c *Client) NewGetAPIKeyPermission() *GetAPIKeyPermission + func (c *Client) NewGetAccountService() *GetAccountService + func (c *Client) NewGetAccountSnapshotService() *GetAccountSnapshotService + func (c *Client) NewGetAllCoinsInfoService() *GetAllCoinsInfoService + func (c *Client) NewGetAllLiquidityPoolService() *GetAllLiquidityPoolService + func (c *Client) NewGetAllMarginAssetsService() *GetAllMarginAssetsService + func (c *Client) NewGetAssetDetailService() *GetAssetDetailService + func (c *Client) NewGetBNBBurnService() *GetBNBBurnService + func (c *Client) NewGetCommissionRatesService() *GetCommissionRatesService + func (c *Client) NewGetDepositAddressService() *GetDepositsAddressService + func (c *Client) NewGetFundingAssetService() *GetFundingAssetService + func (c *Client) NewGetFuturesAlgoSubOrdersService() *GetFuturesAlgoSubOrdersService + func (c *Client) NewGetIsolatedMarginAccountService() *GetIsolatedMarginAccountService + func (c *Client) NewGetIsolatedMarginAllPairsService() *GetIsolatedMarginAllPairsService + func (c *Client) NewGetLiquidityPoolDetailService() *GetLiquidityPoolDetailService + func (c *Client) NewGetMarginAccountService() *GetMarginAccountService + func (c *Client) NewGetMarginAllPairsService() *GetMarginAllPairsService + func (c *Client) NewGetMarginAssetService() *GetMarginAssetService + func (c *Client) NewGetMarginOrderService() *GetMarginOrderService + func (c *Client) NewGetMarginPairService() *GetMarginPairService + func (c *Client) NewGetMarginPriceIndexService() *GetMarginPriceIndexService + func (c *Client) NewGetMaxBorrowableService() *GetMaxBorrowableService + func (c *Client) NewGetMaxTransferableService() *GetMaxTransferableService + func (c *Client) NewGetOrderService() *GetOrderService + func (c *Client) NewGetSwapQuoteService() *GetSwapQuoteService + func (c *Client) NewGetUserAsset() *GetUserAssetService + func (c *Client) NewGetUserSwapRecordsService() *GetUserSwapRecordsService + func (c *Client) NewHistoricalTradesService() *HistoricalTradesService + func (c *Client) NewInterestHistoryService() *InterestHistoryService + func (c *Client) NewInternalUniversalTransferHistoryService() *InternalUniversalTransferHistoryService + func (c *Client) NewInternalUniversalTransferService() *InternalUniversalTransferService + func (c *Client) NewIsolatedMarginTransferService() *IsolatedMarginTransferService + func (c *Client) NewKeepaliveIsolatedMarginUserStreamService() *KeepaliveIsolatedMarginUserStreamService + func (c *Client) NewKeepaliveMarginUserStreamService() *KeepaliveMarginUserStreamService + func (c *Client) NewKeepaliveUserStreamService() *KeepaliveUserStreamService + func (c *Client) NewKlinesService() *KlinesService + func (c *Client) NewListBookTickersService() *ListBookTickersService + func (c *Client) NewListDepositsService() *ListDepositsService + func (c *Client) NewListDustLogService() *ListDustLogService + func (c *Client) NewListDustService() *ListDustService + func (c *Client) NewListFuturesTransferService() *ListFuturesTransferService + func (c *Client) NewListHistoryFuturesAlgoOrdersService() *ListHistoryFuturesAlgoOrdersService + func (c *Client) NewListMarginBorrowRepayService() *ListMarginBorrowRepayService + func (c *Client) NewListMarginLoansService() *ListMarginLoansService + func (c *Client) NewListMarginOpenOrdersService() *ListMarginOpenOrdersService + func (c *Client) NewListMarginOrdersService() *ListMarginOrdersService + func (c *Client) NewListMarginRepaysService() *ListMarginRepaysService + func (c *Client) NewListMarginTradesService() *ListMarginTradesService + func (c *Client) NewListOpenFuturesAlgoOrdersService() *ListOpenFuturesAlgoOrdersService + func (c *Client) NewListOpenOcoService() *ListOpenOcoService + func (c *Client) NewListOpenOrdersService() *ListOpenOrdersService + func (c *Client) NewListOrdersService() *ListOrdersService + func (c *Client) NewListPriceChangeStatsService() *ListPriceChangeStatsService + func (c *Client) NewListPricesService() *ListPricesService + func (c *Client) NewListSavingsFixedAndActivityProductsService() *ListSavingsFixedAndActivityProductsService + func (c *Client) NewListSavingsFlexibleProductsService() *ListSavingsFlexibleProductsService + func (c *Client) NewListSymbolTickerService() *ListSymbolTickerService + func (c *Client) NewListTradesService() *ListTradesService + func (c *Client) NewListUserUniversalTransferService() *ListUserUniversalTransferService + func (c *Client) NewListWithdrawsService() *ListWithdrawsService + func (c *Client) NewManagedSubAccountAssetsService() *ManagedSubAccountAssetsService + func (c *Client) NewManagedSubAccountDepositAddressService() *ManagedSubAccountDepositAddressService + func (c *Client) NewManagedSubAccountDepositService() *ManagedSubAccountDepositService + func (c *Client) NewManagedSubAccountInfoService() *ManagedSubAccountInfoService + func (c *Client) NewManagedSubAccountQueryFuturesAssetService() *ManagedSubAccountQueryFuturesAssetService + func (c *Client) NewManagedSubAccountQueryMarginAssetService() *ManagedSubAccountQueryMarginAssetService + func (c *Client) NewManagedSubAccountQueryTransferLogForInvestorService() *ManagedSubAccountQueryTransferLogForInvestorService + func (c *Client) NewManagedSubAccountQueryTransferLogForTradeParentService() *ManagedSubAccountQueryTransferLogForTradeParentService + func (c *Client) NewManagedSubAccountQueryTransferLogService() *ManagedSubAccountQueryTransferLogService + func (c *Client) NewManagedSubAccountSnapshotService() *ManagedSubAccountSnapshotService + func (c *Client) NewManagedSubAccountWithdrawService() *ManagedSubAccountWithdrawService + func (c *Client) NewManagedSubAccountWithdrawalService() *ManagedSubAccountWithdrawalService + func (c *Client) NewMarginAvailableInventoryService() *MarginAvailableInventoryService + func (c *Client) NewMarginBorrowRepayService() *MarginBorrowRepayService + func (c *Client) NewMarginInterestHistoryService() *MarginInterestHistoryService + func (c *Client) NewMarginInterestRateHistoryService() *MarginInterestRateHistoryService + func (c *Client) NewMarginLoanService() *MarginLoanService + func (c *Client) NewMarginNextHourlyInterestRateService() *MarginNextHourlyInterestRateService + func (c *Client) NewMarginRepayService() *MarginRepayService + func (c *Client) NewMarginTransferService() *MarginTransferService + func (c *Client) NewOrderCreateWsService() (*OrderCreateWsService, error) + func (c *Client) NewOrderListCancelWsService() (*OrderListCancelWsService, error) + func (c *Client) NewOrderListCreateWsService() (*OrderListCreateWsService, error) + func (c *Client) NewOrderListPlaceOtoWsService() (*OrderListPlaceOtoWsService, error) + func (c *Client) NewOrderListPlaceOtocoWsService() (*OrderListPlaceOtocoWsService, error) + func (c *Client) NewOrderListPlaceWsService() (*OrderListPlaceWsService, error) + func (c *Client) NewPayTradeHistoryService() *PayTradeHistoryService + func (c *Client) NewPingService() *PingService + func (c *Client) NewPurchaseSavingsFlexibleProductService() *PurchaseSavingsFlexibleProductService + func (c *Client) NewQueryClaimedRewardHistoryService() *QueryClaimedRewardHistoryService + func (c *Client) NewRateLimitService() *RateLimitService + func (c *Client) NewRecentTradesService() *RecentTradesService + func (c *Client) NewRedeemSavingsFlexibleProductService() *RedeemSavingsFlexibleProductService + func (c *Client) NewRemoveLiquidityService() *RemoveLiquidityService + func (c *Client) NewSavingFixedProjectPositionsService() *SavingFixedProjectPositionsService + func (c *Client) NewSavingFlexibleProductPositionsService() *SavingFlexibleProductPositionsService + func (c *Client) NewServerTimeService() *ServerTimeService + func (c *Client) NewSetServerTimeService() *SetServerTimeService + func (c *Client) NewSimpleEarnService() *SimpleEarnService + func (c *Client) NewSorOrderPlaceWsService() (*SorOrderPlaceWsService, error) + func (c *Client) NewSorOrderTestWsService() (*SorOrderTestWsService, error) + func (c *Client) NewSpotRebateHistoryService() *SpotRebateHistoryService + func (c *Client) NewStakingHistoryService() *StakingHistoryService + func (c *Client) NewStakingProductPositionService() *StakingProductPositionService + func (c *Client) NewStartIsolatedMarginUserStreamService() *StartIsolatedMarginUserStreamService + func (c *Client) NewStartMarginUserStreamService() *StartMarginUserStreamService + func (c *Client) NewStartUserStreamService() *StartUserStreamService + func (c *Client) NewSubAccUniversalTransferHistoryService() *SubAccUniversalTransferHistoryService + func (c *Client) NewSubAccountApiAddIpRestrictionService() *SubAccountApiAddIpRestrictionService + func (c *Client) NewSubAccountApiDeleteIpRestrictionService() *SubAccountApiDeleteIpRestrictionService + func (c *Client) NewSubAccountApiIpRestrictionService() *SubAccountApiIpRestrictionService + func (c *Client) NewSubAccountAssetService() *SubAccountAssetService + func (c *Client) NewSubAccountBlvtEnableService() *SubAccountBlvtEnableService + func (c *Client) NewSubAccountDepositRecordService() *SubAccountDepositRecordService + func (c *Client) NewSubAccountFuturesAccountService() *SubAccountFuturesAccountService + func (c *Client) NewSubAccountFuturesAccountSummaryService() *SubAccountFuturesAccountSummaryService + func (c *Client) NewSubAccountFuturesAccountV2Service() *SubAccountFuturesAccountV2Service + func (c *Client) NewSubAccountFuturesEnableService() *SubAccountFuturesEnableService + func (c *Client) NewSubAccountFuturesInternalTransferService() *SubAccountFuturesInternalTransferService + func (c *Client) NewSubAccountFuturesPositionsService() *SubAccountFuturesPositionsService + func (c *Client) NewSubAccountFuturesSummaryV1Service() *SubAccountFuturesSummaryV1Service + func (c *Client) NewSubAccountFuturesTransferHistoryService() *SubAccountFuturesTransferHistoryService + func (c *Client) NewSubAccountFuturesTransferV1Service() *SubAccountFuturesTransferV1Service + func (c *Client) NewSubAccountListService() *SubAccountListService + func (c *Client) NewSubAccountMarginAccountInfoService() *SubAccountMarginAccountInfoService + func (c *Client) NewSubAccountMarginAccountSummaryService() *SubAccountMarginAccountSummaryService + func (c *Client) NewSubAccountMarginEnableService() *SubAccountMarginEnableService + func (c *Client) NewSubAccountMarginFuturesStatusService() *SubAccountMarginFuturesStatusService + func (c *Client) NewSubAccountMarginTransferService() *SubAccountMarginTransferService + func (c *Client) NewSubAccountOptionsEnableService() *SubAccountOptionsEnableService + func (c *Client) NewSubAccountSpotTransferHistoryService() *SubAccountSpotTransferHistoryService + func (c *Client) NewSubAccountTransactionStatisticsService() *SubAccountTransactionStatisticsService + func (c *Client) NewSubAccountTransferHistoryService() *SubAccountTransferHistoryService + func (c *Client) NewSubAccountTransferSubToMasterService() *SubAccountTransferSubToMasterService + func (c *Client) NewSubAccountUniversalTransferService() *SubAccountUniversalTransferService + func (c *Client) NewSubaccountAssetsService() *SubaccountAssetsService + func (c *Client) NewSubaccountDepositAddressService() *SubaccountDepositAddressService + func (c *Client) NewSubaccountSpotSummaryService() *SubaccountSpotSummaryService + func (c *Client) NewSwapService() *SwapService + func (c *Client) NewToggleBNBBurnService() *ToggleBNBBurnService + func (c *Client) NewTradeFeeService() *TradeFeeService + func (c *Client) NewTradingDayTickerService() *TradingDayTickerService + func (c *Client) NewTransferToSubAccountService() *TransferToSubAccountService + func (c *Client) NewUiKlinesService() *UiKlinesService + func (c *Client) NewUserUniversalTransferService() *CreateUserUniversalTransferService + func (c *Client) NewWalletBalanceService() *WalletBalanceService + func (c *Client) SetApiEndpoint(url string) *Client + type CloseIsolatedMarginUserStreamService struct + func (s *CloseIsolatedMarginUserStreamService) Do(ctx context.Context, opts ...RequestOption) (err error) + func (s *CloseIsolatedMarginUserStreamService) ListenKey(listenKey string) *CloseIsolatedMarginUserStreamService + func (s *CloseIsolatedMarginUserStreamService) Symbol(symbol string) *CloseIsolatedMarginUserStreamService + type CloseMarginUserStreamService struct + func (s *CloseMarginUserStreamService) Do(ctx context.Context, opts ...RequestOption) (err error) + func (s *CloseMarginUserStreamService) ListenKey(listenKey string) *CloseMarginUserStreamService + type CloseUserStreamService struct + func (s *CloseUserStreamService) Do(ctx context.Context, opts ...RequestOption) (err error) + func (s *CloseUserStreamService) ListenKey(listenKey string) *CloseUserStreamService + type CoinInfo struct + Coin string + DepositAllEnable bool + Free string + Freeze string + Ipoable string + Ipoing string + IsLegalMoney bool + Locked string + Name string + NetworkList []Network + Storage string + Trading bool + WithdrawAllEnable bool + Withdrawing string + type CommissionGroup struct + Buyer string + Maker string + Seller string + Taker string + type CommissionRates struct + Buyer string + Maker string + Seller string + Taker string + type CommissionRatesResponse struct + Discount DiscountInfo + StandardCommission CommissionGroup + Symbol string + TaxCommission CommissionGroup + type ConnHandler func(context.Context, *websocket.Conn) + type ConvertAcceptQuote struct + CreateTime int64 + OrderId string + OrderStatus string + type ConvertAcceptQuoteService struct + func (s *ConvertAcceptQuoteService) Do(ctx context.Context, opts ...RequestOption) (*ConvertAcceptQuote, error) + func (s *ConvertAcceptQuoteService) QuoteId(quoteId string) *ConvertAcceptQuoteService + type ConvertAssetInfo struct + Asset string + Fraction int + type ConvertAssetInfoService struct + func (s *ConvertAssetInfoService) Do(ctx context.Context, opts ...RequestOption) ([]*ConvertAssetInfo, error) + type ConvertExchangeInfo struct + FromAsset string + FromAssetMaxAmount string + FromAssetMinAmount string + ToAsset string + ToAssetMaxAmount string + ToAssetMinAmount string + type ConvertExchangeInfoService struct + func (s *ConvertExchangeInfoService) Do(ctx context.Context, opts ...RequestOption) ([]*ConvertExchangeInfo, error) + func (s *ConvertExchangeInfoService) FromAsset(fromAsset string) *ConvertExchangeInfoService + func (s *ConvertExchangeInfoService) ToAsset(toAsset string) *ConvertExchangeInfoService + type ConvertGetQuoteService struct + func (s *ConvertGetQuoteService) Do(ctx context.Context, opts ...RequestOption) (*ConvertQuote, error) + func (s *ConvertGetQuoteService) FromAmount(fromAmount string) *ConvertGetQuoteService + func (s *ConvertGetQuoteService) FromAsset(fromAsset string) *ConvertGetQuoteService + func (s *ConvertGetQuoteService) ToAmount(toAmount string) *ConvertGetQuoteService + func (s *ConvertGetQuoteService) ToAsset(toAsset string) *ConvertGetQuoteService + func (s *ConvertGetQuoteService) ValidTime(validTime string) *ConvertGetQuoteService + func (s *ConvertGetQuoteService) WalletType(walletType string) *ConvertGetQuoteService + type ConvertOrderStatus struct + CreateTime int64 + FromAmount string + FromAsset string + InverseRatio string + OrderId int64 + OrderStatus string + Ratio string + ToAmount string + ToAsset string + type ConvertOrderStatusService struct + func (s *ConvertOrderStatusService) Do(ctx context.Context, opts ...RequestOption) (*ConvertOrderStatus, error) + func (s *ConvertOrderStatusService) OrderId(orderId string) *ConvertOrderStatusService + func (s *ConvertOrderStatusService) QuoteId(quoteId string) *ConvertOrderStatusService + type ConvertQuote struct + FromAmount string + InverseRatio string + QuoteId string + Ratio string + ToAmount string + ValidTime int64 + type ConvertTradeHistory struct + EndTime int64 + Limit int32 + List []ConvertTradeHistoryItem + MoreData bool + StartTime int64 + type ConvertTradeHistoryItem struct + CreateTime int64 + FromAmount string + FromAsset string + InverseRatio string + OrderId int64 + OrderStatus string + QuoteId string + Ratio string + ToAmount string + ToAsset string + type ConvertTradeHistoryService struct + func (s *ConvertTradeHistoryService) Do(ctx context.Context, opts ...RequestOption) (*ConvertTradeHistory, error) + func (s *ConvertTradeHistoryService) EndTime(endTime int64) *ConvertTradeHistoryService + func (s *ConvertTradeHistoryService) Limit(limit int32) *ConvertTradeHistoryService + func (s *ConvertTradeHistoryService) StartTime(startTime int64) *ConvertTradeHistoryService + type CreateAlgoOrderResult struct + AlgoId int64 + ClientAlgoId string + type CreateAlgoOrderWsResponse struct + Error *common.APIError + Id string + Result CreateAlgoOrderResult + Status int + type CreateFuturesAlgoOrderResponse struct + ClientAlgoId string + Code int + Msg string + Success bool + type CreateFuturesAlgoTwapOrderService struct + func (s *CreateFuturesAlgoTwapOrderService) ClientAlgoId(clientAlgoId string) *CreateFuturesAlgoTwapOrderService + func (s *CreateFuturesAlgoTwapOrderService) Do(ctx context.Context, opts ...RequestOption) (res *CreateFuturesAlgoOrderResponse, err error) + func (s *CreateFuturesAlgoTwapOrderService) Duration(duration int64) *CreateFuturesAlgoTwapOrderService + func (s *CreateFuturesAlgoTwapOrderService) LimitPrice(limitPrice float64) *CreateFuturesAlgoTwapOrderService + func (s *CreateFuturesAlgoTwapOrderService) PositionSide(positionSide futures.PositionSideType) *CreateFuturesAlgoTwapOrderService + func (s *CreateFuturesAlgoTwapOrderService) Quantity(quantity float64) *CreateFuturesAlgoTwapOrderService + func (s *CreateFuturesAlgoTwapOrderService) ReduceOnly(reduceOnly bool) *CreateFuturesAlgoTwapOrderService + func (s *CreateFuturesAlgoTwapOrderService) Side(side SideType) *CreateFuturesAlgoTwapOrderService + func (s *CreateFuturesAlgoTwapOrderService) Symbol(symbol string) *CreateFuturesAlgoTwapOrderService + type CreateFuturesAlgoVpOrderService struct + func (s *CreateFuturesAlgoVpOrderService) ClientAlgoId(clientAlgoId string) *CreateFuturesAlgoVpOrderService + func (s *CreateFuturesAlgoVpOrderService) Do(ctx context.Context, opts ...RequestOption) (res *CreateFuturesAlgoOrderResponse, err error) + func (s *CreateFuturesAlgoVpOrderService) LimitPrice(limitPrice float64) *CreateFuturesAlgoVpOrderService + func (s *CreateFuturesAlgoVpOrderService) PositionSide(positionSide futures.PositionSideType) *CreateFuturesAlgoVpOrderService + func (s *CreateFuturesAlgoVpOrderService) Quantity(quantity float64) *CreateFuturesAlgoVpOrderService + func (s *CreateFuturesAlgoVpOrderService) ReduceOnly(reduceOnly bool) *CreateFuturesAlgoVpOrderService + func (s *CreateFuturesAlgoVpOrderService) Side(side SideType) *CreateFuturesAlgoVpOrderService + func (s *CreateFuturesAlgoVpOrderService) Symbol(symbol string) *CreateFuturesAlgoVpOrderService + func (s *CreateFuturesAlgoVpOrderService) Urgency(urgency FuturesAlgoUrgencyType) *CreateFuturesAlgoVpOrderService + type CreateMarginOCOResponse struct + ContingencyType string + IsIsolated bool + ListClientOrderID string + ListOrderStatus string + ListStatusType string + MarginBuyBorrowAmount string + MarginBuyBorrowAsset string + OrderListID int64 + OrderReports []*MarginOCOOrderReport + Orders []*MarginOCOOrder + Symbol string + TransactionTime int64 + type CreateMarginOCOService struct + func (s *CreateMarginOCOService) Do(ctx context.Context, opts ...RequestOption) (res *CreateMarginOCOResponse, err error) + func (s *CreateMarginOCOService) IsIsolated(isIsolated bool) *CreateMarginOCOService + func (s *CreateMarginOCOService) LimitClientOrderID(limitClientOrderID string) *CreateMarginOCOService + func (s *CreateMarginOCOService) LimitIcebergQuantity(limitIcebergQty string) *CreateMarginOCOService + func (s *CreateMarginOCOService) ListClientOrderID(listClientOrderID string) *CreateMarginOCOService + func (s *CreateMarginOCOService) NewOrderRespType(newOrderRespType NewOrderRespType) *CreateMarginOCOService + func (s *CreateMarginOCOService) Price(price string) *CreateMarginOCOService + func (s *CreateMarginOCOService) Quantity(quantity string) *CreateMarginOCOService + func (s *CreateMarginOCOService) Side(side SideType) *CreateMarginOCOService + func (s *CreateMarginOCOService) SideEffectType(sideEffectType SideEffectType) *CreateMarginOCOService + func (s *CreateMarginOCOService) StopClientOrderID(stopClientOrderID string) *CreateMarginOCOService + func (s *CreateMarginOCOService) StopIcebergQty(stopIcebergQty string) *CreateMarginOCOService + func (s *CreateMarginOCOService) StopLimitPrice(stopLimitPrice string) *CreateMarginOCOService + func (s *CreateMarginOCOService) StopLimitTimeInForce(stopLimitTimeInForce TimeInForceType) *CreateMarginOCOService + func (s *CreateMarginOCOService) StopPrice(stopPrice string) *CreateMarginOCOService + func (s *CreateMarginOCOService) Symbol(symbol string) *CreateMarginOCOService + type CreateMarginOrderService struct + func (s *CreateMarginOrderService) AutoRepayAtCancel(autoRepayAtCancel bool) *CreateMarginOrderService + func (s *CreateMarginOrderService) Do(ctx context.Context, opts ...RequestOption) (res *CreateOrderResponse, err error) + func (s *CreateMarginOrderService) IcebergQuantity(icebergQuantity string) *CreateMarginOrderService + func (s *CreateMarginOrderService) IsIsolated(isIsolated bool) *CreateMarginOrderService + func (s *CreateMarginOrderService) NewClientOrderID(newClientOrderID string) *CreateMarginOrderService + func (s *CreateMarginOrderService) NewOrderRespType(newOrderRespType NewOrderRespType) *CreateMarginOrderService + func (s *CreateMarginOrderService) Price(price string) *CreateMarginOrderService + func (s *CreateMarginOrderService) Quantity(quantity string) *CreateMarginOrderService + func (s *CreateMarginOrderService) QuoteOrderQty(quoteOrderQty string) *CreateMarginOrderService + func (s *CreateMarginOrderService) SelfTradePreventionMode(selfTradePreventionMode SelfTradePreventionMode) *CreateMarginOrderService + func (s *CreateMarginOrderService) Side(side SideType) *CreateMarginOrderService + func (s *CreateMarginOrderService) SideEffectType(sideEffectType SideEffectType) *CreateMarginOrderService + func (s *CreateMarginOrderService) StopPrice(stopPrice string) *CreateMarginOrderService + func (s *CreateMarginOrderService) Symbol(symbol string) *CreateMarginOrderService + func (s *CreateMarginOrderService) TimeInForce(timeInForce TimeInForceType) *CreateMarginOrderService + func (s *CreateMarginOrderService) Type(orderType OrderType) *CreateMarginOrderService + type CreateOCOResponse struct + ContingencyType string + ListClientOrderID string + ListOrderStatus string + ListStatusType string + OrderListID int64 + OrderReports []*OCOOrderReport + Orders []*OCOOrder + Symbol string + TransactionTime int64 + type CreateOCOService struct + func (s *CreateOCOService) Do(ctx context.Context, opts ...RequestOption) (res *CreateOCOResponse, err error) + func (s *CreateOCOService) LimitClientOrderID(limitClientOrderID string) *CreateOCOService + func (s *CreateOCOService) LimitIcebergQuantity(limitIcebergQty string) *CreateOCOService + func (s *CreateOCOService) ListClientOrderID(listClientOrderID string) *CreateOCOService + func (s *CreateOCOService) NewOrderRespType(newOrderRespType NewOrderRespType) *CreateOCOService + func (s *CreateOCOService) Price(price string) *CreateOCOService + func (s *CreateOCOService) Quantity(quantity string) *CreateOCOService + func (s *CreateOCOService) Side(side SideType) *CreateOCOService + func (s *CreateOCOService) StopClientOrderID(stopClientOrderID string) *CreateOCOService + func (s *CreateOCOService) StopIcebergQty(stopIcebergQty string) *CreateOCOService + func (s *CreateOCOService) StopLimitPrice(stopLimitPrice string) *CreateOCOService + func (s *CreateOCOService) StopLimitTimeInForce(stopLimitTimeInForce TimeInForceType) *CreateOCOService + func (s *CreateOCOService) StopPrice(stopPrice string) *CreateOCOService + func (s *CreateOCOService) Symbol(symbol string) *CreateOCOService + type CreateOrderListResult struct + ContingencyType string + ListClientOrderId string + ListOrderStatus string + ListStatusType string + OrderListId int64 + OrderReports []struct{ ... } + Orders []struct{ ... } + Symbol string + TransactionTime int64 + type CreateOrderListWsResponse struct + Error *common.APIError + Id string + Result CreateOrderListResult + Status int + type CreateOrderResponse struct + ClientOrderID string + CummulativeQuoteQuantity string + ExecutedQuantity string + Fills []*Fill + IsIsolated bool + MarginBuyBorrowAmount string + MarginBuyBorrowAsset string + OrderID int64 + OrigQuantity string + OrigQuoteOrderQuantity string + Price string + SelfTradePreventionMode SelfTradePreventionMode + Side SideType + Status OrderStatusType + Symbol string + TimeInForce TimeInForceType + TransactTime int64 + Type OrderType + type CreateOrderResult struct + type CreateOrderService struct + func (s *CreateOrderService) Do(ctx context.Context, opts ...RequestOption) (res *CreateOrderResponse, err error) + func (s *CreateOrderService) IcebergQuantity(icebergQuantity string) *CreateOrderService + func (s *CreateOrderService) NewClientOrderID(newClientOrderID string) *CreateOrderService + func (s *CreateOrderService) NewOrderRespType(newOrderRespType NewOrderRespType) *CreateOrderService + func (s *CreateOrderService) Price(price string) *CreateOrderService + func (s *CreateOrderService) Quantity(quantity string) *CreateOrderService + func (s *CreateOrderService) QuoteOrderQty(quoteOrderQty string) *CreateOrderService + func (s *CreateOrderService) SelfTradePreventionMode(selfTradePreventionMode SelfTradePreventionMode) *CreateOrderService + func (s *CreateOrderService) Side(side SideType) *CreateOrderService + func (s *CreateOrderService) StopPrice(stopPrice string) *CreateOrderService + func (s *CreateOrderService) Symbol(symbol string) *CreateOrderService + func (s *CreateOrderService) Test(ctx context.Context, opts ...RequestOption) (err error) + func (s *CreateOrderService) TimeInForce(timeInForce TimeInForceType) *CreateOrderService + func (s *CreateOrderService) TrailingDelta(trailingDelta string) *CreateOrderService + func (s *CreateOrderService) Type(orderType OrderType) *CreateOrderService + type CreateOrderWsResponse struct + Error *common.APIError + Id string + Result CreateOrderResult + Status int + type CreateUserUniversalTransferResponse struct + ID int64 + type CreateUserUniversalTransferService struct + func (s *CreateUserUniversalTransferService) Amount(v string) *CreateUserUniversalTransferService + func (s *CreateUserUniversalTransferService) Asset(v string) *CreateUserUniversalTransferService + func (s *CreateUserUniversalTransferService) Do(ctx context.Context) (*CreateUserUniversalTransferResponse, error) + func (s *CreateUserUniversalTransferService) FromSymbol(v string) *CreateUserUniversalTransferService + func (s *CreateUserUniversalTransferService) ToSymbol(v string) *CreateUserUniversalTransferService + func (s *CreateUserUniversalTransferService) Type(v UserUniversalTransferType) *CreateUserUniversalTransferService + type CreateVirtualSubAccountResponse struct + Email string + type CreateVirtualSubAccountService struct + func (s *CreateVirtualSubAccountService) Do(ctx context.Context, opts ...RequestOption) (res *CreateVirtualSubAccountResponse, err error) + func (s *CreateVirtualSubAccountService) RecvWindow(recvWindow int64) *CreateVirtualSubAccountService + func (s *CreateVirtualSubAccountService) SubAccountString(subAccountString string) *CreateVirtualSubAccountService + type CreateWithdrawResponse struct + ID string + type CreateWithdrawService struct + func (s *CreateWithdrawService) Address(v string) *CreateWithdrawService + func (s *CreateWithdrawService) AddressTag(v string) *CreateWithdrawService + func (s *CreateWithdrawService) Amount(v string) *CreateWithdrawService + func (s *CreateWithdrawService) Coin(v string) *CreateWithdrawService + func (s *CreateWithdrawService) Do(ctx context.Context, opts ...RequestOption) (*CreateWithdrawResponse, error) + func (s *CreateWithdrawService) Name(v string) *CreateWithdrawService + func (s *CreateWithdrawService) Network(v string) *CreateWithdrawService + func (s *CreateWithdrawService) TransactionFeeFlag(v bool) *CreateWithdrawService + func (s *CreateWithdrawService) WalletType(walletType int) *CreateWithdrawService + func (s *CreateWithdrawService) WithdrawOrderID(v string) *CreateWithdrawService + type DeliverySubAccount struct + Asset string + Email string + TotalMarginBalance string + TotalUnrealizedProfit string + TotalWalletBalance string + type Deposit struct + Address string + AddressTag string + Amount string + Coin string + ConfirmTimes string + InsertTime int64 + Network string + Status int + TransferType int64 + TxID string + UnlockConfirm int64 + type DepthResponse struct + Asks []Ask + Bids []Bid + LastUpdateID int64 + type DepthService struct + func (s *DepthService) Do(ctx context.Context, opts ...RequestOption) (res *DepthResponse, err error) + func (s *DepthService) Limit(limit int) *DepthService + func (s *DepthService) Symbol(symbol string) *DepthService + type DiscountInfo struct + Discount string + DiscountAsset string + EnabledForAccount bool + EnabledForSymbol bool + type DividendResponse struct + Amount string + Asset string + ID int64 + Info string + Time int64 + TranID int64 + type DividendResponseWrapper struct + Rows []*DividendResponse + Total int32 + type DualInvestmentCompoundPlan string + const DualInvestmentCompoundPlanAdvanced + const DualInvestmentCompoundPlanNone + const DualInvestmentCompoundPlanStandard + type DualInvestmentOptionType string + const DualInvestmentOptionTypeCall + const DualInvestmentOptionTypePut + type DualInvestmentProduct struct + APR string + AutoCompoundPlanList []string + CanPurchase bool + CreateTimestamp int64 + Duration int + ExercisedCoin string + ID string + InvestCoin string + IsAutoCompoundEnable bool + MaxAmount string + MinAmount string + OptionType DualInvestmentOptionType + OrderID int64 + PurchaseDecimal int + PurchaseEndTime int64 + SettleDate int64 + StrikePrice string + type DualInvestmentProductListResponse struct + List []DualInvestmentProduct + Total int + type DualInvestmentService struct + func (s DualInvestmentService) EditAutoCompoundStatusService() *EditAutoCompoundStatusDualInvestmentService + func (s DualInvestmentService) GetAccountService() *GetDualInvestmentAccountsService + func (s DualInvestmentService) ListPositionService() *ListDualInvestmentPositionService + func (s DualInvestmentService) ListProductService() *ListDualInvestmentProductService + func (s DualInvestmentService) SubscribeService() *SubscribeDualInvestmentService + type DustResult struct + Total uint8 + UserAssetDribblets []UserAssetDribblet + type DustTransferResponse struct + TotalServiceCharge string + TotalTransfered string + TransferResult []*DustTransferResult + type DustTransferResult struct + Amount string + FromAsset string + OperateTime int64 + ServiceChargeAmount string + TranID int64 + TransferedAmount string + type DustTransferService struct + func (s *DustTransferService) Asset(asset []string) *DustTransferService + func (s *DustTransferService) Do(ctx context.Context) (withdraws *DustTransferResponse, err error) + type EditAutoCompoundStatusDualInvestmentResp struct + AutoCompoundPlan DualInvestmentCompoundPlan + PositionID int64 + type EditAutoCompoundStatusDualInvestmentService struct + func (s *EditAutoCompoundStatusDualInvestmentService) AutoCompoundPlan(plan DualInvestmentCompoundPlan) *EditAutoCompoundStatusDualInvestmentService + func (s *EditAutoCompoundStatusDualInvestmentService) Do(ctx context.Context, opts ...RequestOption) (res *EditAutoCompoundStatusDualInvestmentResp, err error) + func (s *EditAutoCompoundStatusDualInvestmentService) PositionID(positionID string) *EditAutoCompoundStatusDualInvestmentService + type ErrHandler func(err error) + type ExchangeInfo struct + ExchangeFilters []any + RateLimits []RateLimit + ServerTime int64 + Symbols []Symbol + Timezone string + type ExchangeInfoService struct + func (s *ExchangeInfoService) Do(ctx context.Context, opts ...RequestOption) (res *ExchangeInfo, err error) + func (s *ExchangeInfoService) Permissions(permissions ...string) *ExchangeInfoService + func (s *ExchangeInfoService) ShowPermissionSets(showPermissionSets *bool) *ExchangeInfoService + func (s *ExchangeInfoService) Symbol(symbol string) *ExchangeInfoService + func (s *ExchangeInfoService) Symbols(symbols ...string) *ExchangeInfoService + type FiatDepositWithdrawHistory struct + Code string + Data []FiatDepositWithdrawHistoryItem + Message string + Success bool + Total int32 + type FiatDepositWithdrawHistoryItem struct + Amount string + CreateTime int64 + FiatCurrency string + IndicatedAmount string + Method string + OrderNo string + Status string + TotalFee string + UpdateTime int64 + type FiatDepositWithdrawHistoryService struct + func (s *FiatDepositWithdrawHistoryService) BeginTime(beginTime int64) *FiatDepositWithdrawHistoryService + func (s *FiatDepositWithdrawHistoryService) Do(ctx context.Context, opts ...RequestOption) (*FiatDepositWithdrawHistory, error) + func (s *FiatDepositWithdrawHistoryService) EndTime(endTime int64) *FiatDepositWithdrawHistoryService + func (s *FiatDepositWithdrawHistoryService) Page(page int32) *FiatDepositWithdrawHistoryService + func (s *FiatDepositWithdrawHistoryService) Rows(rows int32) *FiatDepositWithdrawHistoryService + func (s *FiatDepositWithdrawHistoryService) TransactionType(transactionType TransactionType) *FiatDepositWithdrawHistoryService + type FiatPaymentsHistory struct + Code string + Data []FiatPaymentsHistoryItem + Message string + Success bool + Total int32 + type FiatPaymentsHistoryItem struct + CreateTime int64 + CryptoCurrency string + FiatCurrency string + ObtainAmount string + OrderNo string + Price string + SourceAmount string + Status string + TotalFee string + UpdateTime int64 + type FiatPaymentsHistoryService struct + func (s *FiatPaymentsHistoryService) BeginTime(beginTime int64) *FiatPaymentsHistoryService + func (s *FiatPaymentsHistoryService) Do(ctx context.Context, opts ...RequestOption) (*FiatPaymentsHistory, error) + func (s *FiatPaymentsHistoryService) EndTime(endTime int64) *FiatPaymentsHistoryService + func (s *FiatPaymentsHistoryService) Page(page int32) *FiatPaymentsHistoryService + func (s *FiatPaymentsHistoryService) Rows(rows int32) *FiatPaymentsHistoryService + func (s *FiatPaymentsHistoryService) TransactionType(transactionType TransactionType) *FiatPaymentsHistoryService + type Fill struct + Commission string + CommissionAsset string + Price string + Quantity string + TradeID int64 + type FundingAsset struct + Asset string + BtcValuation string + Free string + Freeze string + Locked string + Withdrawing string + type FundsDetail struct + Amount string + Currency string + type FuturesAlgoOrder struct + AlgoId int64 + AlgoStatus FuturesAlgoOrderStatusType + AlgoType FuturesAlgoType + AvgPrice string + BookTime int64 + ClientAlgoId string + EndTime int64 + ExecutedAmount string + ExecutedQuantity string + PositionSide futures.PositionSideType + Side SideType + Symbol string + TotalQuantity string + Urgency FuturesAlgoUrgencyType + type FuturesAlgoOrderStatusType string + type FuturesAlgoSubOrder struct + AlgoId int64 + AvgPrice string + BookTime int64 + ExecutedAmount string + ExecutedQuantity string + FeeAmount string + FeeAsset string + OrderId int64 + OrderStatus OrderStatusType + OriginQuantity string + Side SideType + SubId int64 + Symbol string + TimeInForce TimeInForceType + type FuturesAlgoType string + type FuturesAlgoUrgencyType string + type FuturesAsset struct + Asset string + InitialMargin string + MaintenanceMargin string + MarginBalance string + MaxWithdrawAmount string + OpenOrderInitialMargin string + PositionInitialMargin string + UnrealizedProfit string + WalletBalance string + type FuturesOrderBookHistory struct + Data []*FuturesOrderBookHistoryItem + type FuturesOrderBookHistoryDataType string + type FuturesOrderBookHistoryItem struct + Day string + Url string + type FuturesOrderBookHistoryService struct + func (s *FuturesOrderBookHistoryService) DataType(dataType FuturesOrderBookHistoryDataType) *FuturesOrderBookHistoryService + func (s *FuturesOrderBookHistoryService) Do(ctx context.Context, opts ...RequestOption) (res *FuturesOrderBookHistory, err error) + func (s *FuturesOrderBookHistoryService) EndTime(endTime int64) *FuturesOrderBookHistoryService + func (s *FuturesOrderBookHistoryService) StartTime(startTime int64) *FuturesOrderBookHistoryService + func (s *FuturesOrderBookHistoryService) Symbol(symbol string) *FuturesOrderBookHistoryService + type FuturesSubAccount struct + Asset string + Email string + TotalInitialMargin string + TotalMaintenanceMargin string + TotalMarginBalance string + TotalOpenOrderInitialMargin string + TotalPositionInitialMargin string + TotalUnrealizedProfit string + TotalWalletBalance string + type FuturesTransfer struct + Amount string + Asset string + Status FuturesTransferStatusType + Timestamp int64 + TranID int64 + Type int64 + type FuturesTransferHistory struct + Rows []FuturesTransfer + Total int64 + type FuturesTransferService struct + func (s *FuturesTransferService) Amount(amount string) *FuturesTransferService + func (s *FuturesTransferService) Asset(asset string) *FuturesTransferService + func (s *FuturesTransferService) Do(ctx context.Context, opts ...RequestOption) (res *TransactionResponse, err error) + func (s *FuturesTransferService) Type(transferType FuturesTransferType) *FuturesTransferService + type FuturesTransferStatusType string + type FuturesTransferType int + type FuturesUserAsset struct + Asset string + MarginBalance string + WalletBalance string + type FuturesUserPosition struct + EntryPrice string + MarkPrice string + PositionAmt string + Symbol string + UnRealizedProfit string + type GetAPIKeyPermission struct + func (s *GetAPIKeyPermission) Do(ctx context.Context, opts ...RequestOption) (res *APIKeyPermission, err error) + type GetAccountService struct + func (s *GetAccountService) Do(ctx context.Context, opts ...RequestOption) (res *Account, err error) + func (s *GetAccountService) OmitZeroBalances(v bool) *GetAccountService + type GetAccountSnapshotService struct + func (s *GetAccountSnapshotService) Do(ctx context.Context, opts ...RequestOption) (res *Snapshot, err error) + func (s *GetAccountSnapshotService) EndTime(endTime int64) *GetAccountSnapshotService + func (s *GetAccountSnapshotService) Limit(limit int) *GetAccountSnapshotService + func (s *GetAccountSnapshotService) StartTime(startTime int64) *GetAccountSnapshotService + func (s *GetAccountSnapshotService) Type(accountType string) *GetAccountSnapshotService + type GetAllCoinsInfoService struct + func (s *GetAllCoinsInfoService) Do(ctx context.Context) (res []*CoinInfo, err error) + type GetAllLiquidityPoolService struct + func (s *GetAllLiquidityPoolService) Do(ctx context.Context, opts ...RequestOption) ([]*LiquidityPool, error) + type GetAllMarginAssetsService struct + func (s *GetAllMarginAssetsService) Do(ctx context.Context, opts ...RequestOption) (res []*MarginAsset, err error) + type GetAssetDetailService struct + func (s *GetAssetDetailService) Asset(asset string) *GetAssetDetailService + func (s *GetAssetDetailService) Do(ctx context.Context) (res map[string]AssetDetail, err error) + type GetBNBBurnService struct + func (s *GetBNBBurnService) Do(ctx context.Context, opts ...RequestOption) (*BNBBurn, error) + type GetCommissionRatesService struct + func (s *GetCommissionRatesService) Do(ctx context.Context, opts ...RequestOption) (res *CommissionRatesResponse, err error) + func (s *GetCommissionRatesService) Symbol(symbol string) *GetCommissionRatesService + type GetDepositAddressResponse struct + Address string + Coin string + Tag string + URL string + type GetDepositsAddressService struct + func (s *GetDepositsAddressService) Coin(coin string) *GetDepositsAddressService + func (s *GetDepositsAddressService) Do(ctx context.Context, opts ...RequestOption) (*GetDepositAddressResponse, error) + func (s *GetDepositsAddressService) Network(network string) *GetDepositsAddressService + type GetDualInvestmentAccountsResp struct + TotalAmountInBTC string + TotalAmountInUSDT string + type GetDualInvestmentAccountsService struct + func (s *GetDualInvestmentAccountsService) Do(ctx context.Context, opts ...RequestOption) (res *GetDualInvestmentAccountsResp, err error) + type GetFundingAssetService struct + func (s *GetFundingAssetService) Asset(asset string) *GetFundingAssetService + func (s *GetFundingAssetService) Do(ctx context.Context) (res []FundingAsset, err error) + func (s *GetFundingAssetService) NeedBtcValuation(needBtcValuation string) *GetFundingAssetService + type GetFuturesAlgoSubOrdersResponse struct + ExecutedAmount string + ExecutedQuantity string + SubOrders []*FuturesAlgoSubOrder + Total int64 + type GetFuturesAlgoSubOrdersService struct + func (s *GetFuturesAlgoSubOrdersService) AlgoId(algoId int64) *GetFuturesAlgoSubOrdersService + func (s *GetFuturesAlgoSubOrdersService) Do(ctx context.Context, opts ...RequestOption) (res *GetFuturesAlgoSubOrdersResponse, err error) + func (s *GetFuturesAlgoSubOrdersService) Page(page int) *GetFuturesAlgoSubOrdersService + func (s *GetFuturesAlgoSubOrdersService) PageSize(pageSize int) *GetFuturesAlgoSubOrdersService + type GetIsolatedMarginAccountService struct + func (s *GetIsolatedMarginAccountService) Do(ctx context.Context, opts ...RequestOption) (res *IsolatedMarginAccount, err error) + func (s *GetIsolatedMarginAccountService) Symbols(symbols ...string) *GetIsolatedMarginAccountService + type GetIsolatedMarginAllPairsService struct + func (s *GetIsolatedMarginAllPairsService) Do(ctx context.Context, opts ...RequestOption) (res []*IsolatedMarginAllPair, err error) + type GetLiquidityPoolDetailService struct + func (s *GetLiquidityPoolDetailService) Do(ctx context.Context) ([]*LiquidityPoolDetail, error) + func (s *GetLiquidityPoolDetailService) PoolId(poolId int64) *GetLiquidityPoolDetailService + type GetMarginAccountService struct + func (s *GetMarginAccountService) Do(ctx context.Context, opts ...RequestOption) (res *MarginAccount, err error) + type GetMarginAllPairsService struct + func (s *GetMarginAllPairsService) Do(ctx context.Context, opts ...RequestOption) (res []*MarginAllPair, err error) + type GetMarginAssetService struct + func (s *GetMarginAssetService) Asset(asset string) *GetMarginAssetService + func (s *GetMarginAssetService) Do(ctx context.Context, opts ...RequestOption) (res *MarginAsset, err error) + type GetMarginOrderService struct + func (s *GetMarginOrderService) Do(ctx context.Context, opts ...RequestOption) (res *Order, err error) + func (s *GetMarginOrderService) IsIsolated(isIsolated bool) *GetMarginOrderService + func (s *GetMarginOrderService) OrderID(orderID int64) *GetMarginOrderService + func (s *GetMarginOrderService) OrigClientOrderID(origClientOrderID string) *GetMarginOrderService + func (s *GetMarginOrderService) Symbol(symbol string) *GetMarginOrderService + type GetMarginPairService struct + func (s *GetMarginPairService) Do(ctx context.Context, opts ...RequestOption) (res *MarginPair, err error) + func (s *GetMarginPairService) Symbol(symbol string) *GetMarginPairService + type GetMarginPriceIndexService struct + func (s *GetMarginPriceIndexService) Do(ctx context.Context, opts ...RequestOption) (res *MarginPriceIndex, err error) + func (s *GetMarginPriceIndexService) Symbol(symbol string) *GetMarginPriceIndexService + type GetMaxBorrowableService struct + func (s *GetMaxBorrowableService) Asset(asset string) *GetMaxBorrowableService + func (s *GetMaxBorrowableService) Do(ctx context.Context, opts ...RequestOption) (res *MaxBorrowable, err error) + func (s *GetMaxBorrowableService) IsolatedSymbol(isolatedSymbol string) *GetMaxBorrowableService + type GetMaxTransferableService struct + func (s *GetMaxTransferableService) Asset(asset string) *GetMaxTransferableService + func (s *GetMaxTransferableService) Do(ctx context.Context, opts ...RequestOption) (res *MaxTransferable, err error) + type GetOrderService struct + func (s *GetOrderService) Do(ctx context.Context, opts ...RequestOption) (res *Order, err error) + func (s *GetOrderService) OrderID(orderID int64) *GetOrderService + func (s *GetOrderService) OrigClientOrderID(origClientOrderID string) *GetOrderService + func (s *GetOrderService) Symbol(symbol string) *GetOrderService + type GetSwapQuoteResponse struct + BaseAsset string + BaseQty string + Fee string + Price string + QuoteAsset string + QuoteQty string + Slippage string + type GetSwapQuoteService struct + func (s *GetSwapQuoteService) BaseAsset(baseAsset string) *GetSwapQuoteService + func (s *GetSwapQuoteService) Do(ctx context.Context) (*GetSwapQuoteResponse, error) + func (s *GetSwapQuoteService) QuoteAsset(quoteAsset string) *GetSwapQuoteService + func (s *GetSwapQuoteService) QuoteQty(quoteQty float64) *GetSwapQuoteService + type GetUserAssetService struct + func (s *GetUserAssetService) Asset(asset string) *GetUserAssetService + func (s *GetUserAssetService) Do(ctx context.Context) (res []UserAssetRecord, err error) + func (s *GetUserAssetService) NeedBtcValuation(val bool) *GetUserAssetService + type GetUserSwapRecordsService struct + func (s *GetUserSwapRecordsService) BaseAsset(baseAsset string) *GetUserSwapRecordsService + func (s *GetUserSwapRecordsService) Do(ctx context.Context) ([]*SwapRecord, error) + func (s *GetUserSwapRecordsService) EndTime(endTime int64) *GetUserSwapRecordsService + func (s *GetUserSwapRecordsService) QuoteAsset(quoteAsset string) *GetUserSwapRecordsService + func (s *GetUserSwapRecordsService) ResultSize(resultSize int64) *GetUserSwapRecordsService + func (s *GetUserSwapRecordsService) StartTime(startTime int64) *GetUserSwapRecordsService + func (s *GetUserSwapRecordsService) Status(status SwappingStatus) *GetUserSwapRecordsService + func (s *GetUserSwapRecordsService) SwapId(swapId int64) *GetUserSwapRecordsService + type HistoricalTradesService struct + func (s *HistoricalTradesService) Do(ctx context.Context, opts ...RequestOption) (res []*Trade, err error) + func (s *HistoricalTradesService) FromID(fromID int64) *HistoricalTradesService + func (s *HistoricalTradesService) Limit(limit int) *HistoricalTradesService + func (s *HistoricalTradesService) Symbol(symbol string) *HistoricalTradesService + type IcebergPartsFilter struct + Limit int + type InterestHistory []InterestHistoryElement + type InterestHistoryElement struct + Asset string + Interest string + LendingType LendingType + ProductName string + Time int64 + type InterestHistoryService struct + func (s *InterestHistoryService) Asset(asset string) *InterestHistoryService + func (s *InterestHistoryService) Current(current int32) *InterestHistoryService + func (s *InterestHistoryService) Do(ctx context.Context) (*InterestHistory, error) + func (s *InterestHistoryService) EndTime(endTime int64) *InterestHistoryService + func (s *InterestHistoryService) LendingType(lendingType LendingType) *InterestHistoryService + func (s *InterestHistoryService) Size(size int32) *InterestHistoryService + func (s *InterestHistoryService) StartTime(startTime int64) *InterestHistoryService + type InternalUniversalTransfer struct + Amount string + Asset string + ClientTranId string + CreateTimeStamp uint64 + FromAccountType string + FromEmail string + Status string + ToAccountType string + ToEmail string + TranId int64 + type InternalUniversalTransferHistoryResponse struct + Result []*InternalUniversalTransfer + TotalCount int + type InternalUniversalTransferHistoryService struct + func (s *InternalUniversalTransferHistoryService) ClientTranId(v string) *InternalUniversalTransferHistoryService + func (s *InternalUniversalTransferHistoryService) Do(ctx context.Context, opts ...RequestOption) (res InternalUniversalTransferHistoryResponse, err error) + func (s *InternalUniversalTransferHistoryService) EndTime(v int64) *InternalUniversalTransferHistoryService + func (s *InternalUniversalTransferHistoryService) FromEmail(v string) *InternalUniversalTransferHistoryService + func (s *InternalUniversalTransferHistoryService) Limit(v int) *InternalUniversalTransferHistoryService + func (s *InternalUniversalTransferHistoryService) Page(v int) *InternalUniversalTransferHistoryService + func (s *InternalUniversalTransferHistoryService) StartTime(v int64) *InternalUniversalTransferHistoryService + func (s *InternalUniversalTransferHistoryService) ToEmail(v string) *InternalUniversalTransferHistoryService + type InternalUniversalTransferResponse struct + ClientTranID string + ID int64 + type InternalUniversalTransferService struct + func (s *InternalUniversalTransferService) Amount(v string) *InternalUniversalTransferService + func (s *InternalUniversalTransferService) Asset(v string) *InternalUniversalTransferService + func (s *InternalUniversalTransferService) ClientTranId(v string) *InternalUniversalTransferService + func (s *InternalUniversalTransferService) Do(ctx context.Context, opts ...RequestOption) (*InternalUniversalTransferResponse, error) + func (s *InternalUniversalTransferService) FromAccountType(v string) *InternalUniversalTransferService + func (s *InternalUniversalTransferService) FromEmail(v string) *InternalUniversalTransferService + func (s *InternalUniversalTransferService) Symbol(v string) *InternalUniversalTransferService + func (s *InternalUniversalTransferService) ToAccountType(v string) *InternalUniversalTransferService + func (s *InternalUniversalTransferService) ToEmail(v string) *InternalUniversalTransferService + type IsolatedMarginAccount struct + Assets []IsolatedMarginAsset + TotalAssetOfBTC string + TotalLiabilityOfBTC string + TotalNetAssetOfBTC string + type IsolatedMarginAllPair struct + Base string + IsBuyAllowed bool + IsMarginTrade bool + IsSellAllowed bool + Quote string + Symbol string + type IsolatedMarginAsset struct + BaseAsset IsolatedUserAsset + Enabled bool + IndexPrice string + IsolatedCreated bool + LiquidatePrice string + LiquidateRate string + MarginLevel string + MarginLevelStatus string + MarginRatio string + QuoteAsset IsolatedUserAsset + Symbol string + TradeEnabled bool + type IsolatedMarginTransferService struct + func (s *IsolatedMarginTransferService) Amount(amount string) *IsolatedMarginTransferService + func (s *IsolatedMarginTransferService) Asset(asset string) *IsolatedMarginTransferService + func (s *IsolatedMarginTransferService) Do(ctx context.Context, opts ...RequestOption) (res *TransactionResponse, err error) + func (s *IsolatedMarginTransferService) Symbol(symbol string) *IsolatedMarginTransferService + func (s *IsolatedMarginTransferService) TransFrom(transFrom AccountType) *IsolatedMarginTransferService + func (s *IsolatedMarginTransferService) TransTo(transTo AccountType) *IsolatedMarginTransferService + type IsolatedUserAsset struct + Asset string + BorrowEnabled bool + Borrowed string + Free string + Interest string + Locked string + NetAsset string + NetAssetOfBtc string + RepayEnabled bool + TotalAsset string + type KeepaliveIsolatedMarginUserStreamService struct + func (s *KeepaliveIsolatedMarginUserStreamService) Do(ctx context.Context, opts ...RequestOption) (err error) + func (s *KeepaliveIsolatedMarginUserStreamService) ListenKey(listenKey string) *KeepaliveIsolatedMarginUserStreamService + func (s *KeepaliveIsolatedMarginUserStreamService) Symbol(symbol string) *KeepaliveIsolatedMarginUserStreamService + type KeepaliveMarginUserStreamService struct + func (s *KeepaliveMarginUserStreamService) Do(ctx context.Context, opts ...RequestOption) (err error) + func (s *KeepaliveMarginUserStreamService) ListenKey(listenKey string) *KeepaliveMarginUserStreamService + type KeepaliveUserStreamService struct + func (s *KeepaliveUserStreamService) Do(ctx context.Context, opts ...RequestOption) (err error) + func (s *KeepaliveUserStreamService) ListenKey(listenKey string) *KeepaliveUserStreamService + type Kline struct + Close string + CloseTime int64 + High string + Low string + Open string + OpenTime int64 + QuoteAssetVolume string + TakerBuyBaseAssetVolume string + TakerBuyQuoteAssetVolume string + TradeNum int64 + Volume string + type KlinesService struct + func (s *KlinesService) Do(ctx context.Context, opts ...RequestOption) (res []*Kline, err error) + func (s *KlinesService) EndTime(endTime int64) *KlinesService + func (s *KlinesService) Interval(interval string) *KlinesService + func (s *KlinesService) Limit(limit int) *KlinesService + func (s *KlinesService) StartTime(startTime int64) *KlinesService + func (s *KlinesService) Symbol(symbol string) *KlinesService + func (s *KlinesService) TimeZone(timeZone string) *KlinesService + type LendingType string + type LiquidityOperationType string + type LiquidityPool struct + Assets []string + PoolId int64 + PoolName string + type LiquidityPoolDetail struct + Liquidity map[string]string + PoolId int64 + PoolName string + Share *PoolShareInformation + UpdateTime int64 + type LiquidityRewardType int + type ListBookTickersService struct + func (s *ListBookTickersService) Do(ctx context.Context, opts ...RequestOption) (res []*BookTicker, err error) + func (s *ListBookTickersService) Symbol(symbol string) *ListBookTickersService + func (s *ListBookTickersService) Symbols(symbols ...string) *ListBookTickersService + type ListDepositsService struct + func (s *ListDepositsService) Coin(coin string) *ListDepositsService + func (s *ListDepositsService) Do(ctx context.Context, opts ...RequestOption) (res []*Deposit, err error) + func (s *ListDepositsService) EndTime(endTime int64) *ListDepositsService + func (s *ListDepositsService) Limit(limit int) *ListDepositsService + func (s *ListDepositsService) Offset(offset int) *ListDepositsService + func (s *ListDepositsService) StartTime(startTime int64) *ListDepositsService + func (s *ListDepositsService) Status(status int) *ListDepositsService + func (s *ListDepositsService) TxID(id string) *ListDepositsService + type ListDualInvestmentPosition struct + APR string + AutoCompoundPlan DualInvestmentCompoundPlan + Duration int + ExercisedCoin string + ID string + InvestCoin string + IsExercised *bool + OptionType DualInvestmentOptionType + OrderID int64 + PurchaseEndTime int64 + PurchaseStatus ListDualInvestmentPositionStatus + SettleAmount *string + SettleAsset *string + SettleDate int64 + SettlePrice *string + StrikePrice string + SubscriptionAmount string + type ListDualInvestmentPositionResponse struct + List []ListDualInvestmentPosition + Total int + type ListDualInvestmentPositionService struct + func (s *ListDualInvestmentPositionService) Do(ctx context.Context, opts ...RequestOption) (res *ListDualInvestmentPositionResponse, err error) + func (s *ListDualInvestmentPositionService) PageIndex(pageIndex int) *ListDualInvestmentPositionService + func (s *ListDualInvestmentPositionService) PageSize(pageSize int) *ListDualInvestmentPositionService + func (s *ListDualInvestmentPositionService) Status(status ListDualInvestmentPositionStatus) *ListDualInvestmentPositionService + type ListDualInvestmentPositionStatus string + const ListDualInvestmentPositionStatusPending + const ListDualInvestmentPositionStatusPurchaseFail + const ListDualInvestmentPositionStatusPurchaseSuccess + const ListDualInvestmentPositionStatusRefundSuccess + const ListDualInvestmentPositionStatusRefunding + const ListDualInvestmentPositionStatusSettled + const ListDualInvestmentPositionStatusSettling + type ListDualInvestmentProductService struct + func (s *ListDualInvestmentProductService) Do(ctx context.Context, opts ...RequestOption) (res *DualInvestmentProductListResponse, err error) + func (s *ListDualInvestmentProductService) ExercisedCoin(exercisedCoin string) *ListDualInvestmentProductService + func (s *ListDualInvestmentProductService) InvestCoin(investCoin string) *ListDualInvestmentProductService + func (s *ListDualInvestmentProductService) OptionType(optionType DualInvestmentOptionType) *ListDualInvestmentProductService + func (s *ListDualInvestmentProductService) PageIndex(pageIndex int) *ListDualInvestmentProductService + func (s *ListDualInvestmentProductService) PageSize(pageSize int) *ListDualInvestmentProductService + type ListDustDetail struct + AmountFree string + Asset string + AssetFullName string + Exchange string + ToBNB string + ToBNBOffExchange string + ToBTC string + type ListDustLogService struct + func (s *ListDustLogService) Do(ctx context.Context) (withdraws *DustResult, err error) + func (s *ListDustLogService) EndTime(endTime int64) *ListDustLogService + func (s *ListDustLogService) StartTime(startTime int64) *ListDustLogService + type ListDustResponse struct + Details []ListDustDetail + DribbletPercentage string + TotalTransferBNB string + TotalTransferBtc string + type ListDustService struct + func (s *ListDustService) Do(ctx context.Context) (res *ListDustResponse, err error) + type ListFuturesTransferService struct + func (s *ListFuturesTransferService) Asset(asset string) *ListFuturesTransferService + func (s *ListFuturesTransferService) Current(current int64) *ListFuturesTransferService + func (s *ListFuturesTransferService) Do(ctx context.Context, opts ...RequestOption) (res *FuturesTransferHistory, err error) + func (s *ListFuturesTransferService) EndTime(endTime int64) *ListFuturesTransferService + func (s *ListFuturesTransferService) Size(size int64) *ListFuturesTransferService + func (s *ListFuturesTransferService) StartTime(startTime int64) *ListFuturesTransferService + type ListHistoryFuturesAlgoOrdersResponse struct + Orders []*FuturesAlgoOrder + Total int64 + type ListHistoryFuturesAlgoOrdersService struct + func (s *ListHistoryFuturesAlgoOrdersService) Do(ctx context.Context, opts ...RequestOption) (res *ListHistoryFuturesAlgoOrdersResponse, err error) + func (s *ListHistoryFuturesAlgoOrdersService) EndTime(endTime int64) *ListHistoryFuturesAlgoOrdersService + func (s *ListHistoryFuturesAlgoOrdersService) Page(page int) *ListHistoryFuturesAlgoOrdersService + func (s *ListHistoryFuturesAlgoOrdersService) PageSize(pageSize int) *ListHistoryFuturesAlgoOrdersService + func (s *ListHistoryFuturesAlgoOrdersService) Side(side SideType) *ListHistoryFuturesAlgoOrdersService + func (s *ListHistoryFuturesAlgoOrdersService) StartTime(startTime int64) *ListHistoryFuturesAlgoOrdersService + func (s *ListHistoryFuturesAlgoOrdersService) Symbol(symbol string) *ListHistoryFuturesAlgoOrdersService + type ListMarginBorrowRepayService struct + func (s *ListMarginBorrowRepayService) Asset(asset string) *ListMarginBorrowRepayService + func (s *ListMarginBorrowRepayService) Current(current int64) *ListMarginBorrowRepayService + func (s *ListMarginBorrowRepayService) Do(ctx context.Context, opts ...RequestOption) (res *MarginBorrowRepayResponse, err error) + func (s *ListMarginBorrowRepayService) EndTime(endTime int64) *ListMarginBorrowRepayService + func (s *ListMarginBorrowRepayService) IsolatedSymbol(isolatedSymbol string) *ListMarginBorrowRepayService + func (s *ListMarginBorrowRepayService) Size(size int64) *ListMarginBorrowRepayService + func (s *ListMarginBorrowRepayService) StartTime(startTime int64) *ListMarginBorrowRepayService + func (s *ListMarginBorrowRepayService) TxId(txId int64) *ListMarginBorrowRepayService + func (s *ListMarginBorrowRepayService) Type(marginBorrowRepayType MarginAccountBorrowRepayType) *ListMarginBorrowRepayService + type ListMarginLoansService struct + func (s *ListMarginLoansService) Asset(asset string) *ListMarginLoansService + func (s *ListMarginLoansService) Current(current int64) *ListMarginLoansService + func (s *ListMarginLoansService) Do(ctx context.Context, opts ...RequestOption) (res *MarginLoanResponse, err error) + func (s *ListMarginLoansService) EndTime(endTime int64) *ListMarginLoansService + func (s *ListMarginLoansService) Size(size int64) *ListMarginLoansService + func (s *ListMarginLoansService) StartTime(startTime int64) *ListMarginLoansService + func (s *ListMarginLoansService) TxID(txID int64) *ListMarginLoansService + type ListMarginOpenOrdersService struct + func (s *ListMarginOpenOrdersService) Do(ctx context.Context, opts ...RequestOption) (res []*Order, err error) + func (s *ListMarginOpenOrdersService) IsIsolated(isIsolated bool) *ListMarginOpenOrdersService + func (s *ListMarginOpenOrdersService) Symbol(symbol string) *ListMarginOpenOrdersService + type ListMarginOrdersService struct + func (s *ListMarginOrdersService) Do(ctx context.Context, opts ...RequestOption) (res []*Order, err error) + func (s *ListMarginOrdersService) EndTime(endTime int64) *ListMarginOrdersService + func (s *ListMarginOrdersService) IsIsolated(isIsolated bool) *ListMarginOrdersService + func (s *ListMarginOrdersService) Limit(limit int) *ListMarginOrdersService + func (s *ListMarginOrdersService) OrderID(orderID int64) *ListMarginOrdersService + func (s *ListMarginOrdersService) StartTime(startTime int64) *ListMarginOrdersService + func (s *ListMarginOrdersService) Symbol(symbol string) *ListMarginOrdersService + type ListMarginRepaysService struct + func (s *ListMarginRepaysService) Asset(asset string) *ListMarginRepaysService + func (s *ListMarginRepaysService) Current(current int64) *ListMarginRepaysService + func (s *ListMarginRepaysService) Do(ctx context.Context, opts ...RequestOption) (res *MarginRepayResponse, err error) + func (s *ListMarginRepaysService) EndTime(endTime int64) *ListMarginRepaysService + func (s *ListMarginRepaysService) Size(size int64) *ListMarginRepaysService + func (s *ListMarginRepaysService) StartTime(startTime int64) *ListMarginRepaysService + func (s *ListMarginRepaysService) TxID(txID int64) *ListMarginRepaysService + type ListMarginTradesService struct + func (s *ListMarginTradesService) Do(ctx context.Context, opts ...RequestOption) (res []*TradeV3, err error) + func (s *ListMarginTradesService) EndTime(endTime int64) *ListMarginTradesService + func (s *ListMarginTradesService) FromID(fromID int64) *ListMarginTradesService + func (s *ListMarginTradesService) IsIsolated(isIsolated bool) *ListMarginTradesService + func (s *ListMarginTradesService) Limit(limit int) *ListMarginTradesService + func (s *ListMarginTradesService) StartTime(startTime int64) *ListMarginTradesService + func (s *ListMarginTradesService) Symbol(symbol string) *ListMarginTradesService + type ListOpenFuturesAlgoOrdersResponse struct + Orders []*FuturesAlgoOrder + Total int64 + type ListOpenFuturesAlgoOrdersService struct + func (s *ListOpenFuturesAlgoOrdersService) Do(ctx context.Context, opts ...RequestOption) (res *ListOpenFuturesAlgoOrdersResponse, err error) + type ListOpenOcoService struct + func (s *ListOpenOcoService) Do(ctx context.Context, opts ...RequestOption) (res []*Oco, err error) + type ListOpenOrdersService struct + func (s *ListOpenOrdersService) Do(ctx context.Context, opts ...RequestOption) (res []*Order, err error) + func (s *ListOpenOrdersService) Symbol(symbol string) *ListOpenOrdersService + type ListOrdersService struct + func (s *ListOrdersService) Do(ctx context.Context, opts ...RequestOption) (res []*Order, err error) + func (s *ListOrdersService) EndTime(endTime int64) *ListOrdersService + func (s *ListOrdersService) Limit(limit int) *ListOrdersService + func (s *ListOrdersService) OrderID(orderID int64) *ListOrdersService + func (s *ListOrdersService) StartTime(startTime int64) *ListOrdersService + func (s *ListOrdersService) Symbol(symbol string) *ListOrdersService + type ListPriceChangeStatsService struct + func (s *ListPriceChangeStatsService) Do(ctx context.Context, opts ...RequestOption) (res []*PriceChangeStats, err error) + func (s *ListPriceChangeStatsService) Symbol(symbol string) *ListPriceChangeStatsService + func (s *ListPriceChangeStatsService) Symbols(symbols []string) *ListPriceChangeStatsService + type ListPricesService struct + func (s *ListPricesService) Do(ctx context.Context, opts ...RequestOption) (res []*SymbolPrice, err error) + func (s *ListPricesService) Symbol(symbol string) *ListPricesService + func (s *ListPricesService) Symbols(symbols []string) *ListPricesService + type ListSavingsFixedAndActivityProductsService struct + func (s *ListSavingsFixedAndActivityProductsService) Asset(asset string) *ListSavingsFixedAndActivityProductsService + func (s *ListSavingsFixedAndActivityProductsService) Current(current int64) *ListSavingsFixedAndActivityProductsService + func (s *ListSavingsFixedAndActivityProductsService) Do(ctx context.Context, opts ...RequestOption) ([]*SavingsFixedProduct, error) + func (s *ListSavingsFixedAndActivityProductsService) IsSortAsc(isSortAsc bool) *ListSavingsFixedAndActivityProductsService + func (s *ListSavingsFixedAndActivityProductsService) Size(size int64) *ListSavingsFixedAndActivityProductsService + func (s *ListSavingsFixedAndActivityProductsService) SortBy(sortBy string) *ListSavingsFixedAndActivityProductsService + func (s *ListSavingsFixedAndActivityProductsService) Status(status string) *ListSavingsFixedAndActivityProductsService + func (s *ListSavingsFixedAndActivityProductsService) Type(projectType string) *ListSavingsFixedAndActivityProductsService + type ListSavingsFlexibleProductsService struct + func (s *ListSavingsFlexibleProductsService) Current(current int64) *ListSavingsFlexibleProductsService + func (s *ListSavingsFlexibleProductsService) Do(ctx context.Context, opts ...RequestOption) ([]*SavingsFlexibleProduct, error) + func (s *ListSavingsFlexibleProductsService) Featured(featured string) *ListSavingsFlexibleProductsService + func (s *ListSavingsFlexibleProductsService) Size(size int64) *ListSavingsFlexibleProductsService + func (s *ListSavingsFlexibleProductsService) Status(status string) *ListSavingsFlexibleProductsService + type ListSymbolTickerService struct + func (s *ListSymbolTickerService) Do(ctx context.Context, opts ...RequestOption) (res []*SymbolTicker, err error) + func (s *ListSymbolTickerService) Symbol(symbol string) *ListSymbolTickerService + func (s *ListSymbolTickerService) Symbols(symbols []string) *ListSymbolTickerService + func (s *ListSymbolTickerService) WindowSize(windowSize string) *ListSymbolTickerService + type ListTradesService struct + func (s *ListTradesService) Do(ctx context.Context, opts ...RequestOption) (res []*TradeV3, err error) + func (s *ListTradesService) EndTime(endTime int64) *ListTradesService + func (s *ListTradesService) FromID(fromID int64) *ListTradesService + func (s *ListTradesService) Limit(limit int) *ListTradesService + func (s *ListTradesService) OrderId(OrderId int64) *ListTradesService + func (s *ListTradesService) StartTime(startTime int64) *ListTradesService + func (s *ListTradesService) Symbol(symbol string) *ListTradesService + type ListUserUniversalTransferService struct + func (s *ListUserUniversalTransferService) Current(v int) *ListUserUniversalTransferService + func (s *ListUserUniversalTransferService) Do(ctx context.Context) (res *UserUniversalTransferResponse, err error) + func (s *ListUserUniversalTransferService) EndTime(v int64) *ListUserUniversalTransferService + func (s *ListUserUniversalTransferService) FromSymbol(v string) *ListUserUniversalTransferService + func (s *ListUserUniversalTransferService) Size(v int) *ListUserUniversalTransferService + func (s *ListUserUniversalTransferService) StartTime(v int64) *ListUserUniversalTransferService + func (s *ListUserUniversalTransferService) ToSymbol(v string) *ListUserUniversalTransferService + func (s *ListUserUniversalTransferService) Type(v UserUniversalTransferType) *ListUserUniversalTransferService + type ListWithdrawsService struct + func (s *ListWithdrawsService) Coin(coin string) *ListWithdrawsService + func (s *ListWithdrawsService) Do(ctx context.Context, opts ...RequestOption) (res []*Withdraw, err error) + func (s *ListWithdrawsService) EndTime(endTime int64) *ListWithdrawsService + func (s *ListWithdrawsService) IdList(ids string) *ListWithdrawsService + func (s *ListWithdrawsService) Limit(limit int) *ListWithdrawsService + func (s *ListWithdrawsService) Offset(offset int) *ListWithdrawsService + func (s *ListWithdrawsService) StartTime(startTime int64) *ListWithdrawsService + func (s *ListWithdrawsService) Status(status int) *ListWithdrawsService + func (s *ListWithdrawsService) WithdrawOrderId(withdrawOrderId string) *ListWithdrawsService + type LotSizeFilter struct + MaxQuantity string + MinQuantity string + StepSize string + type ManagedSubAccountAsset struct + AvailableBalance string + BtcValue string + Coin string + InOrder string + Name string + TotalBalance string + type ManagedSubAccountAssetsService struct + func (s *ManagedSubAccountAssetsService) Do(ctx context.Context, opts ...RequestOption) ([]*ManagedSubAccountAsset, error) + func (s *ManagedSubAccountAssetsService) Email(email string) *ManagedSubAccountAssetsService + type ManagedSubAccountDepositAddressService struct + func (s *ManagedSubAccountDepositAddressService) Coin(coin string) *ManagedSubAccountDepositAddressService + func (s *ManagedSubAccountDepositAddressService) Do(ctx context.Context, opts ...RequestOption) (res *ManagedSubAccountDepositAddressServiceResponse, err error) + func (s *ManagedSubAccountDepositAddressService) Email(email string) *ManagedSubAccountDepositAddressService + func (s *ManagedSubAccountDepositAddressService) Network(network string) *ManagedSubAccountDepositAddressService + func (s *ManagedSubAccountDepositAddressService) RecvWindow(recvWindow int64) *ManagedSubAccountDepositAddressService + type ManagedSubAccountDepositAddressServiceResponse struct + Address string + Coin string + Tag string + Url string + type ManagedSubAccountDepositResponse struct + ID int64 + type ManagedSubAccountDepositService struct + func (s *ManagedSubAccountDepositService) Amount(amount string) *ManagedSubAccountDepositService + func (s *ManagedSubAccountDepositService) Asset(asset string) *ManagedSubAccountDepositService + func (s *ManagedSubAccountDepositService) Do(ctx context.Context, opts ...RequestOption) (*ManagedSubAccountDepositResponse, error) + func (s *ManagedSubAccountDepositService) ToEmail(email string) *ManagedSubAccountDepositService + type ManagedSubAccountInfoService struct + func (s *ManagedSubAccountInfoService) Do(ctx context.Context, opts ...RequestOption) (res *ManagedSubAccountInfoServiceResponse, err error) + func (s *ManagedSubAccountInfoService) Email(email string) *ManagedSubAccountInfoService + func (s *ManagedSubAccountInfoService) Limit(limit int32) *ManagedSubAccountInfoService + func (s *ManagedSubAccountInfoService) Page(page int32) *ManagedSubAccountInfoService + func (s *ManagedSubAccountInfoService) RecvWindow(recvWindow int64) *ManagedSubAccountInfoService + type ManagedSubAccountInfoServiceResponse struct + ManagerSubUserInfoVoList []*ManagedSubAccountUserInfoVo + Total int32 + type ManagedSubAccountMarginAsset struct + Asset string + Borrowed string + Free string + Interest string + Locked string + NetAsset string + type ManagedSubAccountQueryFuturesAssetService struct + func (s *ManagedSubAccountQueryFuturesAssetService) Do(ctx context.Context, opts ...RequestOption) (res *ManagedSubAccountQueryFuturesAssetServiceResponse, err error) + func (s *ManagedSubAccountQueryFuturesAssetService) Email(email string) *ManagedSubAccountQueryFuturesAssetService + type ManagedSubAccountQueryFuturesAssetServiceResponse struct + Code int32 + Message string + SnapshotVos []*ManagedSubFuturesAccountSnapVo + type ManagedSubAccountQueryMarginAssetService struct + func (s *ManagedSubAccountQueryMarginAssetService) Do(ctx context.Context, opts ...RequestOption) (res *ManagedSubAccountQueryMarginAssetServiceResponse, err error) + func (s *ManagedSubAccountQueryMarginAssetService) Email(email string) *ManagedSubAccountQueryMarginAssetService + type ManagedSubAccountQueryMarginAssetServiceResponse struct + MarginLevel string + TotalAssetOfBtc string + TotalLiabilityOfBtc string + TotalNetAssetOfBtc string + UserAssets []*ManagedSubAccountMarginAsset + type ManagedSubAccountQueryTransferLogForInvestorService struct + func (s *ManagedSubAccountQueryTransferLogForInvestorService) Do(ctx context.Context, opts ...RequestOption) (res *ManagedSubAccountQueryTransferLogForInvestorServiceResponse, err error) + func (s *ManagedSubAccountQueryTransferLogForInvestorService) Email(email string) *ManagedSubAccountQueryTransferLogForInvestorService + func (s *ManagedSubAccountQueryTransferLogForInvestorService) EndTime(endTime int64) *ManagedSubAccountQueryTransferLogForInvestorService + func (s *ManagedSubAccountQueryTransferLogForInvestorService) Limit(limit int32) *ManagedSubAccountQueryTransferLogForInvestorService + func (s *ManagedSubAccountQueryTransferLogForInvestorService) Page(page int32) *ManagedSubAccountQueryTransferLogForInvestorService + func (s *ManagedSubAccountQueryTransferLogForInvestorService) StartTime(startTime int64) *ManagedSubAccountQueryTransferLogForInvestorService + func (s *ManagedSubAccountQueryTransferLogForInvestorService) TransferFunctionAccountType(transferFunctionAccountType string) *ManagedSubAccountQueryTransferLogForInvestorService + func (s *ManagedSubAccountQueryTransferLogForInvestorService) Transfers(transfers string) *ManagedSubAccountQueryTransferLogForInvestorService + type ManagedSubAccountQueryTransferLogForInvestorServiceResponse struct + Count int32 + ManagerSubTransferHistoryVos []*ManagedSubTransferHistoryVo + type ManagedSubAccountQueryTransferLogForTradeParentService struct + func (s *ManagedSubAccountQueryTransferLogForTradeParentService) Do(ctx context.Context, opts ...RequestOption) (res *ManagedSubAccountQueryTransferLogForTradeParentServiceResponse, err error) + func (s *ManagedSubAccountQueryTransferLogForTradeParentService) Email(email string) *ManagedSubAccountQueryTransferLogForTradeParentService + func (s *ManagedSubAccountQueryTransferLogForTradeParentService) EndTime(endTime int64) *ManagedSubAccountQueryTransferLogForTradeParentService + func (s *ManagedSubAccountQueryTransferLogForTradeParentService) Limit(limit int32) *ManagedSubAccountQueryTransferLogForTradeParentService + func (s *ManagedSubAccountQueryTransferLogForTradeParentService) Page(page int32) *ManagedSubAccountQueryTransferLogForTradeParentService + func (s *ManagedSubAccountQueryTransferLogForTradeParentService) StartTime(startTime int64) *ManagedSubAccountQueryTransferLogForTradeParentService + func (s *ManagedSubAccountQueryTransferLogForTradeParentService) TransferFunctionAccountType(transferFunctionAccountType string) *ManagedSubAccountQueryTransferLogForTradeParentService + func (s *ManagedSubAccountQueryTransferLogForTradeParentService) Transfers(transfers string) *ManagedSubAccountQueryTransferLogForTradeParentService + type ManagedSubAccountQueryTransferLogForTradeParentServiceResponse struct + Count int32 + ManagerSubTransferHistoryVos []*ManagedSubTransferHistoryVo + type ManagedSubAccountQueryTransferLogService struct + func (s *ManagedSubAccountQueryTransferLogService) Do(ctx context.Context, opts ...RequestOption) (res *ManagedSubAccountQueryTransferLogServiceResponse, err error) + func (s *ManagedSubAccountQueryTransferLogService) EndTime(endTime int64) *ManagedSubAccountQueryTransferLogService + func (s *ManagedSubAccountQueryTransferLogService) Limit(limit int32) *ManagedSubAccountQueryTransferLogService + func (s *ManagedSubAccountQueryTransferLogService) Page(page int32) *ManagedSubAccountQueryTransferLogService + func (s *ManagedSubAccountQueryTransferLogService) RecvWindow(recvWindow int64) *ManagedSubAccountQueryTransferLogService + func (s *ManagedSubAccountQueryTransferLogService) StartTime(startTime int64) *ManagedSubAccountQueryTransferLogService + func (s *ManagedSubAccountQueryTransferLogService) TransferFunctionAccountType(transferFunctionAccountType string) *ManagedSubAccountQueryTransferLogService + func (s *ManagedSubAccountQueryTransferLogService) Transfers(transfers string) *ManagedSubAccountQueryTransferLogService + type ManagedSubAccountQueryTransferLogServiceResponse struct + Count int32 + ManagerSubTransferHistoryVos []*ManagedSubTransferHistoryVo + type ManagedSubAccountSnapshotService struct + func (s *ManagedSubAccountSnapshotService) AccType(accType string) *ManagedSubAccountSnapshotService + func (s *ManagedSubAccountSnapshotService) Do(ctx context.Context, opts ...RequestOption) (res *ManagedSubAccountSnapshotServiceResponse, err error) + func (s *ManagedSubAccountSnapshotService) Email(email string) *ManagedSubAccountSnapshotService + func (s *ManagedSubAccountSnapshotService) EndTime(endTime int64) *ManagedSubAccountSnapshotService + func (s *ManagedSubAccountSnapshotService) Limit(limit int32) *ManagedSubAccountSnapshotService + func (s *ManagedSubAccountSnapshotService) RecvWindow(recvWindow int64) *ManagedSubAccountSnapshotService + func (s *ManagedSubAccountSnapshotService) StartTime(startTime int64) *ManagedSubAccountSnapshotService + type ManagedSubAccountSnapshotServiceResponse struct + Code int64 + Msg string + SnapshotVos []*SnapshotVo + type ManagedSubAccountUserInfoVo struct + BindParentEmail string + BindParentUserId int64 + Email string + InsertTimeStamp int64 + IsFutureEnabled bool + IsMarginEnabled bool + IsSignedLVTRiskAgreement bool + IsSubUserEnabled bool + IsUserActive bool + ManagersubUserId int64 + RootUserId int64 + type ManagedSubAccountWithdrawService struct + func (s *ManagedSubAccountWithdrawService) Amount(amount string) *ManagedSubAccountWithdrawService + func (s *ManagedSubAccountWithdrawService) Asset(asset string) *ManagedSubAccountWithdrawService + func (s *ManagedSubAccountWithdrawService) Do(ctx context.Context, opts ...RequestOption) (res *ManagedSubAccountWithdrawServiceResponse, err error) + func (s *ManagedSubAccountWithdrawService) FromEmail(fromEmail string) *ManagedSubAccountWithdrawService + func (s *ManagedSubAccountWithdrawService) RecvWindow(recvWindow int64) *ManagedSubAccountWithdrawService + func (s *ManagedSubAccountWithdrawService) TransferDate(transferDate int64) *ManagedSubAccountWithdrawService + type ManagedSubAccountWithdrawServiceResponse struct + TranId int64 + type ManagedSubAccountWithdrawalResponse struct + ID int64 + type ManagedSubAccountWithdrawalService struct + func (s *ManagedSubAccountWithdrawalService) Amount(amount string) *ManagedSubAccountWithdrawalService + func (s *ManagedSubAccountWithdrawalService) Asset(asset string) *ManagedSubAccountWithdrawalService + func (s *ManagedSubAccountWithdrawalService) Do(ctx context.Context, opts ...RequestOption) (*ManagedSubAccountWithdrawalResponse, error) + func (s *ManagedSubAccountWithdrawalService) FromEmail(email string) *ManagedSubAccountWithdrawalService + func (s *ManagedSubAccountWithdrawalService) TransferDate(val int64) *ManagedSubAccountWithdrawalService + type ManagedSubFuturesAccountSnapVo struct + Data *ManagedSubFuturesAccountSnapVoData + Type string + UpdateTime int64 + type ManagedSubFuturesAccountSnapVoData struct + Assets []*ManagedSubFuturesAccountSnapVoDataAsset + Position []*ManagedSubFuturesAccountSnapVoDataPosition + type ManagedSubFuturesAccountSnapVoDataAsset struct + Asset string + MarginBalance string + WalletBalance string + type ManagedSubFuturesAccountSnapVoDataPosition struct + EntryPrice string + MarkPrice string + PositionAmt string + Symbol string + type ManagedSubTransferHistoryVo struct + Amount string + Asset string + CreateTime int64 + FromAccountType string + FromEmail string + ScheduledData int64 + Status string + ToAccountType string + ToEmail string + TranId int64 + type MarginAccount struct + AccountType string + BorrowEnabled bool + CollateralMarginLevel string + Created bool + MarginLevel string + TotalAssetOfBTC string + TotalCollateralValueInUSDT string + TotalLiabilityOfBTC string + TotalNetAssetOfBTC string + TradeEnabled bool + TransferInEnabled bool + TransferOutEnabled bool + UserAssets []UserAsset + type MarginAccountBorrowRepayStatusType string + type MarginAccountBorrowRepayType string + type MarginAllPair struct + Base string + ID int64 + IsBuyAllowed bool + IsMarginTrade bool + IsSellAllowed bool + Quote string + Symbol string + type MarginAsset struct + Borrowable bool + FullName string + Mortgageable bool + Name string + UserMinBorrow string + UserMinRepay string + type MarginAvailableInventoryService struct + func (s *MarginAvailableInventoryService) Do(ctx context.Context) (*marginAvailableInventory, error) + func (s *MarginAvailableInventoryService) MarginType(marginType string) *MarginAvailableInventoryService + type MarginBorrowRepay struct + Amount string + Asset string + ClientTag string + Interest string + IsolatedSymbol string + Principal string + Status MarginAccountBorrowRepayStatusType + Timestamp int64 + TxID int64 + Type string + type MarginBorrowRepayResponse struct + Rows []MarginBorrowRepay + Total int64 + type MarginBorrowRepayService struct + func (s *MarginBorrowRepayService) Amount(amount string) *MarginBorrowRepayService + func (s *MarginBorrowRepayService) Asset(asset string) *MarginBorrowRepayService + func (s *MarginBorrowRepayService) Do(ctx context.Context, opts ...RequestOption) (res *TransactionResponse, err error) + func (s *MarginBorrowRepayService) IsIsolated(isIsolated bool) *MarginBorrowRepayService + func (s *MarginBorrowRepayService) Symbol(symbol string) *MarginBorrowRepayService + func (s *MarginBorrowRepayService) Type(marginBorrowRepayType MarginAccountBorrowRepayType) *MarginBorrowRepayService + type MarginInterestHistory struct + Rows []MarginInterestHistoryRow + Total int64 + type MarginInterestHistoryRow struct + Asset string + Interest string + InterestAccuredTime int64 + InterestRate string + IsolatedSymbol string + Principal string + RawAsset string + TxId int64 + Type string + type MarginInterestHistoryService struct + func (s *MarginInterestHistoryService) Asset(asset string) *MarginInterestHistoryService + func (s *MarginInterestHistoryService) Current(current int64) *MarginInterestHistoryService + func (s *MarginInterestHistoryService) Do(ctx context.Context) (*MarginInterestHistory, error) + func (s *MarginInterestHistoryService) EndTime(endTime int64) *MarginInterestHistoryService + func (s *MarginInterestHistoryService) IsolatedSymbol(symbol string) *MarginInterestHistoryService + func (s *MarginInterestHistoryService) Size(size int64) *MarginInterestHistoryService + func (s *MarginInterestHistoryService) StartTime(startTime int64) *MarginInterestHistoryService + type MarginInterestRateHistory []MarginInterestRateHistoryElement + type MarginInterestRateHistoryElement struct + Asset string + DailyInterestRate string + Timestamp int64 + VipLevel int64 + type MarginInterestRateHistoryService struct + func (s *MarginInterestRateHistoryService) Asset(asset string) *MarginInterestRateHistoryService + func (s *MarginInterestRateHistoryService) Do(ctx context.Context) (*MarginInterestRateHistory, error) + func (s *MarginInterestRateHistoryService) EndTime(endTime int64) *MarginInterestRateHistoryService + func (s *MarginInterestRateHistoryService) StartTime(startTime int64) *MarginInterestRateHistoryService + func (s *MarginInterestRateHistoryService) VipLevel(vipLevel int64) *MarginInterestRateHistoryService + type MarginLoan struct + Asset string + Principal string + Status MarginLoanStatusType + Timestamp int64 + type MarginLoanResponse struct + Rows []MarginLoan + Total int64 + type MarginLoanService struct + func (s *MarginLoanService) Amount(amount string) *MarginLoanService + func (s *MarginLoanService) Asset(asset string) *MarginLoanService + func (s *MarginLoanService) Do(ctx context.Context, opts ...RequestOption) (res *TransactionResponse, err error) + func (s *MarginLoanService) IsIsolated(isIsolated bool) *MarginLoanService + func (s *MarginLoanService) Symbol(symbol string) *MarginLoanService + type MarginLoanStatusType string + type MarginNextHourlyInterestRate []MarginNextHourlyInterestRateElement + type MarginNextHourlyInterestRateElement struct + Asset string + NextHourlyInterestRate string + type MarginNextHourlyInterestRateService struct + func (s *MarginNextHourlyInterestRateService) Assets(assets string) *MarginNextHourlyInterestRateService + func (s *MarginNextHourlyInterestRateService) Do(ctx context.Context) (*MarginNextHourlyInterestRate, error) + func (s *MarginNextHourlyInterestRateService) Isolated(isolated bool) *MarginNextHourlyInterestRateService + type MarginOCOOrder struct + ClientOrderID string + OrderID int64 + Symbol string + type MarginOCOOrderReport struct + ClientOrderID string + CummulativeQuoteQuantity string + ExecutedQuantity string + OrderID int64 + OrderListID int64 + OrigQuantity string + Price string + Side SideType + Status OrderStatusType + StopPrice string + Symbol string + TimeInForce TimeInForceType + TransactionTime int64 + Type OrderType + type MarginPair struct + Base string + ID int64 + IsBuyAllowed bool + IsMarginTrade bool + IsSellAllowed bool + Quote string + Symbol string + type MarginPriceIndex struct + CalcTime int64 + Price string + Symbol string + type MarginRepay struct + Amount string + Asset string + Interest string + Principal string + Status MarginRepayStatusType + Timestamp int64 + TxID int64 + type MarginRepayResponse struct + Rows []MarginRepay + Total int64 + type MarginRepayService struct + func (s *MarginRepayService) Amount(amount string) *MarginRepayService + func (s *MarginRepayService) Asset(asset string) *MarginRepayService + func (s *MarginRepayService) Do(ctx context.Context, opts ...RequestOption) (res *TransactionResponse, err error) + func (s *MarginRepayService) IsIsolated(isIsolated bool) *MarginRepayService + func (s *MarginRepayService) Symbol(symbol string) *MarginRepayService + type MarginRepayStatusType string + type MarginSubAccount struct + Email string + TotalAssetOfBtc string + TotalLiabilityOfBtc string + TotalNetAssetOfBtc string + type MarginTradeCoeffVo struct + ForceLiquidationBar string + MarginCallBar string + NormalBar string + type MarginTransferService struct + func (s *MarginTransferService) Amount(amount string) *MarginTransferService + func (s *MarginTransferService) Asset(asset string) *MarginTransferService + func (s *MarginTransferService) Do(ctx context.Context, opts ...RequestOption) (res *TransactionResponse, err error) + func (s *MarginTransferService) Type(transferType MarginTransferType) *MarginTransferService + type MarginTransferType int + type MarginUserAsset struct + Asset string + Borrowed string + Free string + Interest string + Locked string + NetAsset string + type MarginUserAssetVo struct + Asset string + Borrowed string + Free string + Interest string + Locked string + NetAsset string + type MarketLotSizeFilter struct + MaxQuantity string + MinQuantity string + StepSize string + type MaxBorrowable struct + Amount string + BorrowLimit string + type MaxNumAlgoOrdersFilter struct + MaxNumAlgoOrders int + type MaxNumOrdersFilter struct + MaxNumOrders int + type MaxTransferable struct + Amount string + type Network struct + AddressRegex string + Busy bool + Coin string + ContractAddress string + ContractAddressUrl string + DepositDesc string + DepositEnable bool + EstimatedArrivalTime int + IsDefault bool + MemoRegex string + MinConfirm int + Name string + Network string + ResetAddressStatus bool + SameAddress bool + SpecialTips string + UnLockConfirm int + WithdrawDesc string + WithdrawEnable bool + WithdrawFee string + WithdrawIntegerMultiple string + WithdrawMax string + WithdrawMin string + type NewOrderRespType string + type NotionalFilter struct + ApplyMaxToMarket bool + ApplyMinToMarket bool + AvgPriceMins int + MaxNotional string + MinNotional string + type OCOOrder struct + ClientOrderID string + OrderID int64 + Symbol string + type OCOOrderReport struct + ClientOrderID string + CummulativeQuoteQuantity string + ExecutedQuantity string + IcebergQuantity string + OrderID int64 + OrderListID int64 + OrigClientOrderID string + OrigQuantity string + Price string + Side SideType + Status OrderStatusType + StopPrice string + Symbol string + TimeInForce TimeInForceType + TransactionTime int64 + Type OrderType + type Oco struct + ContingencyType string + ListClientOrderID string + ListOrderStatus string + ListStatusType string + OrderListId int64 + Orders []*Order + Symbol string + TransactionTime int64 + type Order struct + ClientOrderID string + CummulativeQuoteQuantity string + ExecutedQuantity string + IcebergQuantity string + IsIsolated bool + IsWorking bool + OrderID int64 + OrderListId int64 + OrigQuantity string + OrigQuoteOrderQuantity string + Price string + Side SideType + Status OrderStatusType + StopPrice string + Symbol string + Time int64 + TimeInForce TimeInForceType + Type OrderType + UpdateTime int64 + type OrderCreateWsRequest struct + func NewOrderCreateWsRequest() *OrderCreateWsRequest + func (s *OrderCreateWsRequest) GetParams() map[string]any + func (s *OrderCreateWsRequest) IcebergQty(icebergQty string) *OrderCreateWsRequest + func (s *OrderCreateWsRequest) NewClientOrderID(newClientOrderID string) *OrderCreateWsRequest + func (s *OrderCreateWsRequest) NewOrderRespType(newOrderRespType NewOrderRespType) *OrderCreateWsRequest + func (s *OrderCreateWsRequest) Price(price string) *OrderCreateWsRequest + func (s *OrderCreateWsRequest) Quantity(quantity string) *OrderCreateWsRequest + func (s *OrderCreateWsRequest) QuoteOrderQty(quoteOrderQty string) *OrderCreateWsRequest + func (s *OrderCreateWsRequest) RecvWindow(recvWindow uint16) *OrderCreateWsRequest + func (s *OrderCreateWsRequest) Side(side SideType) *OrderCreateWsRequest + func (s *OrderCreateWsRequest) StopPrice(stopPrice string) *OrderCreateWsRequest + func (s *OrderCreateWsRequest) StrategyId(strategyId uint64) *OrderCreateWsRequest + func (s *OrderCreateWsRequest) StrategyType(strategyType uint32) *OrderCreateWsRequest + func (s *OrderCreateWsRequest) Symbol(symbol string) *OrderCreateWsRequest + func (s *OrderCreateWsRequest) TimeInForce(timeInForce TimeInForceType) *OrderCreateWsRequest + func (s *OrderCreateWsRequest) TrailingDelta(trailingDelta int64) *OrderCreateWsRequest + func (s *OrderCreateWsRequest) Type(orderType OrderType) *OrderCreateWsRequest + type OrderCreateWsService struct + ApiKey string + KeyType string + SecretKey string + TimeOffset int64 + func NewOrderCreateWsService(apiKey, secretKey string) (*OrderCreateWsService, error) + func (s *OrderCreateWsService) Do(requestID string, request *OrderCreateWsRequest) error + func (s *OrderCreateWsService) GetReadChannel() <-chan []byte + func (s *OrderCreateWsService) GetReadErrorChannel() <-chan error + func (s *OrderCreateWsService) GetReconnectCount() int64 + func (s *OrderCreateWsService) ReceiveAllDataBeforeStop(timeout time.Duration) + func (s *OrderCreateWsService) SyncDo(requestID string, request *OrderCreateWsRequest) (*CreateOrderWsResponse, error) + type OrderListCancelWsRequest struct + func NewOrderListCancelWsRequest() *OrderListCancelWsRequest + func (s *OrderListCancelWsRequest) GetParams() map[string]any + func (s *OrderListCancelWsRequest) ListClientOrderID(listClientOrderID string) *OrderListCancelWsRequest + func (s *OrderListCancelWsRequest) NewClientOrderID(newClientOrderID string) *OrderListCancelWsRequest + func (s *OrderListCancelWsRequest) OrderListID(orderListID int64) *OrderListCancelWsRequest + func (s *OrderListCancelWsRequest) RecvWindow(recvWindow uint16) *OrderListCancelWsRequest + func (s *OrderListCancelWsRequest) Symbol(symbol string) *OrderListCancelWsRequest + type OrderListCancelWsService struct + ApiKey string + KeyType string + SecretKey string + TimeOffset int64 + func NewOrderListCancelWsService(apiKey, secretKey string) (*OrderListCancelWsService, error) + func (s *OrderListCancelWsService) Do(requestID string, request *OrderListCancelWsRequest) error + func (s *OrderListCancelWsService) GetReadChannel() <-chan []byte + func (s *OrderListCancelWsService) GetReadErrorChannel() <-chan error + func (s *OrderListCancelWsService) GetReconnectCount() int64 + func (s *OrderListCancelWsService) ReceiveAllDataBeforeStop(timeout time.Duration) + func (s *OrderListCancelWsService) SyncDo(requestID string, request *OrderListCancelWsRequest) (*CancelOrderListWsResponse, error) + type OrderListCreateWsRequest struct + func NewOrderListCreateWsRequest() *OrderListCreateWsRequest + func (s *OrderListCreateWsRequest) AboveClientOrderID(aboveClientOrderID string) *OrderListCreateWsRequest + func (s *OrderListCreateWsRequest) AboveIcebergQty(aboveIcebergQty string) *OrderListCreateWsRequest + func (s *OrderListCreateWsRequest) AbovePrice(abovePrice string) *OrderListCreateWsRequest + func (s *OrderListCreateWsRequest) AboveStopPrice(aboveStopPrice string) *OrderListCreateWsRequest + func (s *OrderListCreateWsRequest) AboveStrategyId(aboveStrategyId int64) *OrderListCreateWsRequest + func (s *OrderListCreateWsRequest) AboveStrategyType(aboveStrategyType int64) *OrderListCreateWsRequest + func (s *OrderListCreateWsRequest) AboveTimeInForce(aboveTimeInForce TimeInForceType) *OrderListCreateWsRequest + func (s *OrderListCreateWsRequest) AboveTrailingDelta(aboveTrailingDelta int64) *OrderListCreateWsRequest + func (s *OrderListCreateWsRequest) AboveType(aboveType OrderType) *OrderListCreateWsRequest + func (s *OrderListCreateWsRequest) BelowClientOrderID(belowClientOrderID string) *OrderListCreateWsRequest + func (s *OrderListCreateWsRequest) BelowIcebergQty(belowIcebergQty string) *OrderListCreateWsRequest + func (s *OrderListCreateWsRequest) BelowPrice(belowPrice string) *OrderListCreateWsRequest + func (s *OrderListCreateWsRequest) BelowStopPrice(belowStopPrice string) *OrderListCreateWsRequest + func (s *OrderListCreateWsRequest) BelowStrategyId(belowStrategyId int64) *OrderListCreateWsRequest + func (s *OrderListCreateWsRequest) BelowStrategyType(belowStrategyType int64) *OrderListCreateWsRequest + func (s *OrderListCreateWsRequest) BelowTimeInForce(belowTimeInForce TimeInForceType) *OrderListCreateWsRequest + func (s *OrderListCreateWsRequest) BelowTrailingDelta(belowTrailingDelta int64) *OrderListCreateWsRequest + func (s *OrderListCreateWsRequest) BelowType(belowType OrderType) *OrderListCreateWsRequest + func (s *OrderListCreateWsRequest) GetParams() map[string]any + func (s *OrderListCreateWsRequest) ListClientOrderID(listClientOrderID string) *OrderListCreateWsRequest + func (s *OrderListCreateWsRequest) NewOrderRespType(newOrderRespType NewOrderRespType) *OrderListCreateWsRequest + func (s *OrderListCreateWsRequest) Quantity(quantity string) *OrderListCreateWsRequest + func (s *OrderListCreateWsRequest) RecvWindow(recvWindow uint16) *OrderListCreateWsRequest + func (s *OrderListCreateWsRequest) SelfTradePreventionMode(selfTradePreventionMode SelfTradePreventionMode) *OrderListCreateWsRequest + func (s *OrderListCreateWsRequest) Side(side SideType) *OrderListCreateWsRequest + func (s *OrderListCreateWsRequest) Symbol(symbol string) *OrderListCreateWsRequest + type OrderListCreateWsService struct + ApiKey string + KeyType string + SecretKey string + TimeOffset int64 + func NewOrderListCreateWsService(apiKey, secretKey string) (*OrderListCreateWsService, error) + func (s *OrderListCreateWsService) Do(requestID string, request *OrderListCreateWsRequest) error + func (s *OrderListCreateWsService) GetReadChannel() <-chan []byte + func (s *OrderListCreateWsService) GetReadErrorChannel() <-chan error + func (s *OrderListCreateWsService) GetReconnectCount() int64 + func (s *OrderListCreateWsService) ReceiveAllDataBeforeStop(timeout time.Duration) + func (s *OrderListCreateWsService) SyncDo(requestID string, request *OrderListCreateWsRequest) (*CreateOrderListWsResponse, error) + type OrderListPlaceOtoWsRequest struct + func NewOrderListPlaceOtoWsRequest() *OrderListPlaceOtoWsRequest + func (s *OrderListPlaceOtoWsRequest) GetParams() map[string]any + func (s *OrderListPlaceOtoWsRequest) ListClientOrderID(listClientOrderID string) *OrderListPlaceOtoWsRequest + func (s *OrderListPlaceOtoWsRequest) NewOrderRespType(newOrderRespType NewOrderRespType) *OrderListPlaceOtoWsRequest + func (s *OrderListPlaceOtoWsRequest) PendingClientOrderID(pendingClientOrderID string) *OrderListPlaceOtoWsRequest + func (s *OrderListPlaceOtoWsRequest) PendingIcebergQty(pendingIcebergQty string) *OrderListPlaceOtoWsRequest + func (s *OrderListPlaceOtoWsRequest) PendingPrice(pendingPrice string) *OrderListPlaceOtoWsRequest + func (s *OrderListPlaceOtoWsRequest) PendingQuantity(pendingQuantity string) *OrderListPlaceOtoWsRequest + func (s *OrderListPlaceOtoWsRequest) PendingSide(pendingSide SideType) *OrderListPlaceOtoWsRequest + func (s *OrderListPlaceOtoWsRequest) PendingStopPrice(pendingStopPrice string) *OrderListPlaceOtoWsRequest + func (s *OrderListPlaceOtoWsRequest) PendingStrategyId(pendingStrategyId int64) *OrderListPlaceOtoWsRequest + func (s *OrderListPlaceOtoWsRequest) PendingStrategyType(pendingStrategyType int32) *OrderListPlaceOtoWsRequest + func (s *OrderListPlaceOtoWsRequest) PendingTimeInForce(pendingTimeInForce TimeInForceType) *OrderListPlaceOtoWsRequest + func (s *OrderListPlaceOtoWsRequest) PendingTrailingDelta(pendingTrailingDelta int64) *OrderListPlaceOtoWsRequest + func (s *OrderListPlaceOtoWsRequest) PendingType(pendingType OrderType) *OrderListPlaceOtoWsRequest + func (s *OrderListPlaceOtoWsRequest) RecvWindow(recvWindow uint16) *OrderListPlaceOtoWsRequest + func (s *OrderListPlaceOtoWsRequest) SelfTradePreventionMode(selfTradePreventionMode SelfTradePreventionMode) *OrderListPlaceOtoWsRequest + func (s *OrderListPlaceOtoWsRequest) Symbol(symbol string) *OrderListPlaceOtoWsRequest + func (s *OrderListPlaceOtoWsRequest) WorkingClientOrderID(workingClientOrderID string) *OrderListPlaceOtoWsRequest + func (s *OrderListPlaceOtoWsRequest) WorkingIcebergQty(workingIcebergQty string) *OrderListPlaceOtoWsRequest + func (s *OrderListPlaceOtoWsRequest) WorkingPrice(workingPrice string) *OrderListPlaceOtoWsRequest + func (s *OrderListPlaceOtoWsRequest) WorkingQuantity(workingQuantity string) *OrderListPlaceOtoWsRequest + func (s *OrderListPlaceOtoWsRequest) WorkingSide(workingSide SideType) *OrderListPlaceOtoWsRequest + func (s *OrderListPlaceOtoWsRequest) WorkingStrategyId(workingStrategyId int64) *OrderListPlaceOtoWsRequest + func (s *OrderListPlaceOtoWsRequest) WorkingStrategyType(workingStrategyType int32) *OrderListPlaceOtoWsRequest + func (s *OrderListPlaceOtoWsRequest) WorkingTimeInForce(workingTimeInForce TimeInForceType) *OrderListPlaceOtoWsRequest + func (s *OrderListPlaceOtoWsRequest) WorkingType(workingType OrderType) *OrderListPlaceOtoWsRequest + type OrderListPlaceOtoWsService struct + ApiKey string + KeyType string + SecretKey string + TimeOffset int64 + func NewOrderListPlaceOtoWsService(apiKey, secretKey string) (*OrderListPlaceOtoWsService, error) + func (s *OrderListPlaceOtoWsService) Do(requestID string, request *OrderListPlaceOtoWsRequest) error + func (s *OrderListPlaceOtoWsService) GetReadChannel() <-chan []byte + func (s *OrderListPlaceOtoWsService) GetReadErrorChannel() <-chan error + func (s *OrderListPlaceOtoWsService) GetReconnectCount() int64 + func (s *OrderListPlaceOtoWsService) ReceiveAllDataBeforeStop(timeout time.Duration) + func (s *OrderListPlaceOtoWsService) SyncDo(requestID string, request *OrderListPlaceOtoWsRequest) (*CreateOrderListWsResponse, error) + type OrderListPlaceOtocoWsRequest struct + func NewOrderListPlaceOtocoWsRequest() *OrderListPlaceOtocoWsRequest + func (s *OrderListPlaceOtocoWsRequest) GetParams() map[string]any + func (s *OrderListPlaceOtocoWsRequest) ListClientOrderID(listClientOrderID string) *OrderListPlaceOtocoWsRequest + func (s *OrderListPlaceOtocoWsRequest) NewOrderRespType(newOrderRespType NewOrderRespType) *OrderListPlaceOtocoWsRequest + func (s *OrderListPlaceOtocoWsRequest) PendingAboveClientOrderID(pendingAboveClientOrderID string) *OrderListPlaceOtocoWsRequest + func (s *OrderListPlaceOtocoWsRequest) PendingAboveIcebergQty(pendingAboveIcebergQty string) *OrderListPlaceOtocoWsRequest + func (s *OrderListPlaceOtocoWsRequest) PendingAbovePrice(pendingAbovePrice string) *OrderListPlaceOtocoWsRequest + func (s *OrderListPlaceOtocoWsRequest) PendingAboveStopPrice(pendingAboveStopPrice string) *OrderListPlaceOtocoWsRequest + func (s *OrderListPlaceOtocoWsRequest) PendingAboveStrategyId(pendingAboveStrategyId int64) *OrderListPlaceOtocoWsRequest + func (s *OrderListPlaceOtocoWsRequest) PendingAboveStrategyType(pendingAboveStrategyType int32) *OrderListPlaceOtocoWsRequest + func (s *OrderListPlaceOtocoWsRequest) PendingAboveTimeInForce(pendingAboveTimeInForce TimeInForceType) *OrderListPlaceOtocoWsRequest + func (s *OrderListPlaceOtocoWsRequest) PendingAboveTrailingDelta(pendingAboveTrailingDelta int64) *OrderListPlaceOtocoWsRequest + func (s *OrderListPlaceOtocoWsRequest) PendingAboveType(pendingAboveType OrderType) *OrderListPlaceOtocoWsRequest + func (s *OrderListPlaceOtocoWsRequest) PendingBelowClientOrderID(pendingBelowClientOrderID string) *OrderListPlaceOtocoWsRequest + func (s *OrderListPlaceOtocoWsRequest) PendingBelowIcebergQty(pendingBelowIcebergQty string) *OrderListPlaceOtocoWsRequest + func (s *OrderListPlaceOtocoWsRequest) PendingBelowPrice(pendingBelowPrice string) *OrderListPlaceOtocoWsRequest + func (s *OrderListPlaceOtocoWsRequest) PendingBelowStopPrice(pendingBelowStopPrice string) *OrderListPlaceOtocoWsRequest + func (s *OrderListPlaceOtocoWsRequest) PendingBelowStrategyId(pendingBelowStrategyId int64) *OrderListPlaceOtocoWsRequest + func (s *OrderListPlaceOtocoWsRequest) PendingBelowStrategyType(pendingBelowStrategyType int32) *OrderListPlaceOtocoWsRequest + func (s *OrderListPlaceOtocoWsRequest) PendingBelowTimeInForce(pendingBelowTimeInForce TimeInForceType) *OrderListPlaceOtocoWsRequest + func (s *OrderListPlaceOtocoWsRequest) PendingBelowTrailingDelta(pendingBelowTrailingDelta int64) *OrderListPlaceOtocoWsRequest + func (s *OrderListPlaceOtocoWsRequest) PendingBelowType(pendingBelowType OrderType) *OrderListPlaceOtocoWsRequest + func (s *OrderListPlaceOtocoWsRequest) PendingQuantity(pendingQuantity string) *OrderListPlaceOtocoWsRequest + func (s *OrderListPlaceOtocoWsRequest) PendingSide(pendingSide SideType) *OrderListPlaceOtocoWsRequest + func (s *OrderListPlaceOtocoWsRequest) RecvWindow(recvWindow uint16) *OrderListPlaceOtocoWsRequest + func (s *OrderListPlaceOtocoWsRequest) SelfTradePreventionMode(selfTradePreventionMode SelfTradePreventionMode) *OrderListPlaceOtocoWsRequest + func (s *OrderListPlaceOtocoWsRequest) Symbol(symbol string) *OrderListPlaceOtocoWsRequest + func (s *OrderListPlaceOtocoWsRequest) WorkingClientOrderID(workingClientOrderID string) *OrderListPlaceOtocoWsRequest + func (s *OrderListPlaceOtocoWsRequest) WorkingIcebergQty(workingIcebergQty string) *OrderListPlaceOtocoWsRequest + func (s *OrderListPlaceOtocoWsRequest) WorkingPrice(workingPrice string) *OrderListPlaceOtocoWsRequest + func (s *OrderListPlaceOtocoWsRequest) WorkingQuantity(workingQuantity string) *OrderListPlaceOtocoWsRequest + func (s *OrderListPlaceOtocoWsRequest) WorkingSide(workingSide SideType) *OrderListPlaceOtocoWsRequest + func (s *OrderListPlaceOtocoWsRequest) WorkingStrategyId(workingStrategyId int64) *OrderListPlaceOtocoWsRequest + func (s *OrderListPlaceOtocoWsRequest) WorkingStrategyType(workingStrategyType int32) *OrderListPlaceOtocoWsRequest + func (s *OrderListPlaceOtocoWsRequest) WorkingTimeInForce(workingTimeInForce TimeInForceType) *OrderListPlaceOtocoWsRequest + func (s *OrderListPlaceOtocoWsRequest) WorkingType(workingType OrderType) *OrderListPlaceOtocoWsRequest + type OrderListPlaceOtocoWsService struct + ApiKey string + KeyType string + SecretKey string + TimeOffset int64 + func NewOrderListPlaceOtocoWsService(apiKey, secretKey string) (*OrderListPlaceOtocoWsService, error) + func (s *OrderListPlaceOtocoWsService) Do(requestID string, request *OrderListPlaceOtocoWsRequest) error + func (s *OrderListPlaceOtocoWsService) GetReadChannel() <-chan []byte + func (s *OrderListPlaceOtocoWsService) GetReadErrorChannel() <-chan error + func (s *OrderListPlaceOtocoWsService) GetReconnectCount() int64 + func (s *OrderListPlaceOtocoWsService) ReceiveAllDataBeforeStop(timeout time.Duration) + func (s *OrderListPlaceOtocoWsService) SyncDo(requestID string, request *OrderListPlaceOtocoWsRequest) (*CreateOrderListWsResponse, error) + type OrderListPlaceWsRequest struct + func NewOrderListPlaceWsRequest() *OrderListPlaceWsRequest + func (s *OrderListPlaceWsRequest) GetParams() map[string]any + func (s *OrderListPlaceWsRequest) LimitClientOrderID(limitClientOrderID string) *OrderListPlaceWsRequest + func (s *OrderListPlaceWsRequest) LimitIcebergQty(limitIcebergQty string) *OrderListPlaceWsRequest + func (s *OrderListPlaceWsRequest) LimitStrategyId(limitStrategyId int64) *OrderListPlaceWsRequest + func (s *OrderListPlaceWsRequest) LimitStrategyType(limitStrategyType int32) *OrderListPlaceWsRequest + func (s *OrderListPlaceWsRequest) ListClientOrderID(listClientOrderID string) *OrderListPlaceWsRequest + func (s *OrderListPlaceWsRequest) NewOrderRespType(newOrderRespType NewOrderRespType) *OrderListPlaceWsRequest + func (s *OrderListPlaceWsRequest) Price(price string) *OrderListPlaceWsRequest + func (s *OrderListPlaceWsRequest) Quantity(quantity string) *OrderListPlaceWsRequest + func (s *OrderListPlaceWsRequest) RecvWindow(recvWindow uint16) *OrderListPlaceWsRequest + func (s *OrderListPlaceWsRequest) SelfTradePreventionMode(selfTradePreventionMode SelfTradePreventionMode) *OrderListPlaceWsRequest + func (s *OrderListPlaceWsRequest) Side(side SideType) *OrderListPlaceWsRequest + func (s *OrderListPlaceWsRequest) StopClientOrderID(stopClientOrderID string) *OrderListPlaceWsRequest + func (s *OrderListPlaceWsRequest) StopIcebergQty(stopIcebergQty string) *OrderListPlaceWsRequest + func (s *OrderListPlaceWsRequest) StopLimitPrice(stopLimitPrice string) *OrderListPlaceWsRequest + func (s *OrderListPlaceWsRequest) StopLimitTimeInForce(stopLimitTimeInForce TimeInForceType) *OrderListPlaceWsRequest + func (s *OrderListPlaceWsRequest) StopPrice(stopPrice string) *OrderListPlaceWsRequest + func (s *OrderListPlaceWsRequest) StopStrategyId(stopStrategyId int64) *OrderListPlaceWsRequest + func (s *OrderListPlaceWsRequest) StopStrategyType(stopStrategyType int32) *OrderListPlaceWsRequest + func (s *OrderListPlaceWsRequest) Symbol(symbol string) *OrderListPlaceWsRequest + func (s *OrderListPlaceWsRequest) TrailingDelta(trailingDelta int64) *OrderListPlaceWsRequest + type OrderListPlaceWsService struct + ApiKey string + KeyType string + SecretKey string + TimeOffset int64 + func NewOrderListPlaceWsService(apiKey, secretKey string) (*OrderListPlaceWsService, error) + func (s *OrderListPlaceWsService) Do(requestID string, request *OrderListPlaceWsRequest) error + func (s *OrderListPlaceWsService) GetReadChannel() <-chan []byte + func (s *OrderListPlaceWsService) GetReadErrorChannel() <-chan error + func (s *OrderListPlaceWsService) GetReconnectCount() int64 + func (s *OrderListPlaceWsService) ReceiveAllDataBeforeStop(timeout time.Duration) + func (s *OrderListPlaceWsService) SyncDo(requestID string, request *OrderListPlaceWsRequest) (*CreateOrderListWsResponse, error) + type OrderStatusType string + type OrderType string + type PayTradeHistory struct + Code string + Data []PayTradeItem + Message string + Success bool + type PayTradeHistoryService struct + func (s *PayTradeHistoryService) Do(ctx context.Context, opts ...RequestOption) (*PayTradeHistory, error) + func (s *PayTradeHistoryService) EndTimestamp(endTimestamp int64) *PayTradeHistoryService + func (s *PayTradeHistoryService) Limit(limit int32) *PayTradeHistoryService + func (s *PayTradeHistoryService) StartTimestamp(startTimestamp int64) *PayTradeHistoryService + type PayTradeItem struct + Amount string + Currency string + FundsDetail []FundsDetail + OrderType string + PayerInfo *PayerInfo + ReceiverInfo *ReceiverInfo + TransactionID string + TransactionTime int64 + type PayerInfo struct + AccountId int + BinanceId int + CountryCode int + Email string + MobileCode string + Name string + PhoneNumber string + Type string + UnmaskData bool + type PercentPriceBySideFilter struct + AskMultiplierDown string + AskMultiplierUp string + AveragePriceMins int + BidMultiplierDown string + BidMultiplierUp string + type PingService struct + func (s *PingService) Do(ctx context.Context, opts ...RequestOption) (err error) + type PoolShareInformation struct + Assets map[string]string + ShareAmount string + SharePercentage string + type PriceChangeStats struct + AskPrice string + AskQty string + BidPrice string + BidQty string + CloseTime int64 + Count int64 + FirstID int64 + HighPrice string + LastID int64 + LastPrice string + LastQty string + LowPrice string + OpenPrice string + OpenTime int64 + PrevClosePrice string + PriceChange string + PriceChangePercent string + QuoteVolume string + Symbol string + Volume string + WeightedAvgPrice string + type PriceFilter struct + MaxPrice string + MinPrice string + TickSize string + type PurchaseSavingsFlexibleProductResponse struct + PurchaseId uint64 + type PurchaseSavingsFlexibleProductService struct + func (s *PurchaseSavingsFlexibleProductService) Amount(amount float64) *PurchaseSavingsFlexibleProductService + func (s *PurchaseSavingsFlexibleProductService) Do(ctx context.Context, opts ...RequestOption) (uint64, error) + func (s *PurchaseSavingsFlexibleProductService) ProductId(productId string) *PurchaseSavingsFlexibleProductService + type QueryClaimedRewardHistoryService struct + func (s *QueryClaimedRewardHistoryService) AssetRewards(assetRewards string) *QueryClaimedRewardHistoryService + func (s *QueryClaimedRewardHistoryService) Do(ctx context.Context) ([]*ClaimedRewardHistory, error) + func (s *QueryClaimedRewardHistoryService) EndTime(endTime int64) *QueryClaimedRewardHistoryService + func (s *QueryClaimedRewardHistoryService) PoolId(poolId int64) *QueryClaimedRewardHistoryService + func (s *QueryClaimedRewardHistoryService) ResultSize(resultSize int64) *QueryClaimedRewardHistoryService + func (s *QueryClaimedRewardHistoryService) RewardType(t LiquidityRewardType) *QueryClaimedRewardHistoryService + func (s *QueryClaimedRewardHistoryService) StartTime(startTime int64) *QueryClaimedRewardHistoryService + type RateLimit struct + Interval string + IntervalNum int64 + Limit int64 + RateLimitType string + type RateLimitFull struct + Count int + Interval RateLimitInterval + IntervalNum int + Limit int + RateLimitType RateLimitType + type RateLimitInterval string + type RateLimitService struct + func (s *RateLimitService) Do(ctx context.Context, opts ...RequestOption) (res []*RateLimitFull, err error) + type RateLimitType string + type ReceiverInfo struct + AccountId int + BinanceId int + CountryCode int + Email string + Extend struct{ ... } + MobileCode string + Name string + PhoneNumber string + Type string + UnmaskData bool + type RecentTradesService struct + func (s *RecentTradesService) Do(ctx context.Context, opts ...RequestOption) (res []*Trade, err error) + func (s *RecentTradesService) Limit(limit int) *RecentTradesService + func (s *RecentTradesService) Symbol(symbol string) *RecentTradesService + type RedeemSavingsFlexibleProductService struct + func (s *RedeemSavingsFlexibleProductService) Amount(amount float64) *RedeemSavingsFlexibleProductService + func (s *RedeemSavingsFlexibleProductService) Do(ctx context.Context, opts ...RequestOption) error + func (s *RedeemSavingsFlexibleProductService) ProductId(productId string) *RedeemSavingsFlexibleProductService + func (s *RedeemSavingsFlexibleProductService) Type(redeemType string) *RedeemSavingsFlexibleProductService + type RedeemTo string + const RedeemToFlexible + const RedeemToSpot + type RemoveLiquidityResponse struct + OperationId int64 + type RemoveLiquidityService struct + func (s *RemoveLiquidityService) AddAesst(asset string) *RemoveLiquidityService + func (s *RemoveLiquidityService) Do(ctx context.Context) (*RemoveLiquidityResponse, error) + func (s *RemoveLiquidityService) OperationType(operationType LiquidityOperationType) *RemoveLiquidityService + func (s *RemoveLiquidityService) PoolId(poolId int64) *RemoveLiquidityService + func (s *RemoveLiquidityService) ShareAmount(amt float64) *RemoveLiquidityService + type RequestOption func(*request) + func WithHeader(key, value string, replace bool) RequestOption + func WithHeaders(header http.Header) RequestOption + func WithRecvWindow(recvWindow int64) RequestOption + func WithRetry(maxRetries int, backoff time.Duration) RequestOption + type RewardClaimStatus int + type SavingFixedProjectPosition struct + Asset string + CanTransfer bool + CreateTimestamp int64 + Duration int64 + EndTime int64 + Interest string + InterestRate string + Lot int32 + PositionId int64 + Principal string + ProjectId string + ProjectName string + ProjectType string + PurchaseTime int64 + RedeemDate string + StartTime int64 + Status string + type SavingFixedProjectPositionsService struct + func (s *SavingFixedProjectPositionsService) Asset(asset string) *SavingFixedProjectPositionsService + func (s *SavingFixedProjectPositionsService) Do(ctx context.Context, opts ...RequestOption) ([]*SavingFixedProjectPosition, error) + func (s *SavingFixedProjectPositionsService) ProjectID(projectId string) *SavingFixedProjectPositionsService + func (s *SavingFixedProjectPositionsService) Status(status string) *SavingFixedProjectPositionsService + type SavingFlexibleProductPosition struct + AnnualInterestRate string + Asset string + AvgAnnualInterestRate string + CanRedeem bool + DailyInterestRate string + FreeAmount string + FreezeAmount string + LockedAmount string + ProductId string + ProductName string + RedeemingAmount string + TotalAmount string + TotalInterest string + TotalPurchasedAmount string + type SavingFlexibleProductPositionsService struct + func (s *SavingFlexibleProductPositionsService) Asset(asset string) *SavingFlexibleProductPositionsService + func (s *SavingFlexibleProductPositionsService) Do(ctx context.Context, opts ...RequestOption) ([]*SavingFlexibleProductPosition, error) + type SavingsFixedProduct struct + Asset string + DisplayPriority int + Duration int + InterestPerLot string + InterestRate string + LotSize string + LotsLowLimit int + LotsPurchased int + LotsUpLimit int + MaxLotsPerUser int + NeedKyc bool + ProjectId string + ProjectName string + Status string + Type string + WithAreaLimitation bool + type SavingsFlexibleProduct struct + Asset string + AvgAnnualInterestRate string + CanPurchase bool + CanRedeem bool + DailyInterestPerThousand string + Featured bool + MinPurchaseAmount string + ProductId string + PurchasedAmount string + Status string + UpLimit string + UpLimitPerUser string + type SelfTradePreventionMode string + type ServerTimeService struct + func (s *ServerTimeService) Do(ctx context.Context, opts ...RequestOption) (serverTime int64, err error) + type SetServerTimeService struct + func (s *SetServerTimeService) Do(ctx context.Context, opts ...RequestOption) (timeOffset int64, err error) + type SideEffectType string + type SideType string + type SimpleEarnAccount struct + TotalAmountInBTC string + TotalAmountInUSDT string + TotalFlexibleAmountInBTC string + TotalFlexibleAmountInUSDT string + TotalLockedInBTC string + TotalLockedInUSDT string + type SimpleEarnFlexiblePersonalLeftQuotaResp struct + LeftPersonalQuota string + type SimpleEarnFlexiblePosition struct + AirDropAsset string + Asset string + AutoSubscribe bool + CanRedeem bool + CollateralAmount string + CumulativeBonusRewards string + CumulativeRealTimeRewards string + CumulativeTotalRewards string + LatestAnnualPercentageRate string + ProductId string + TierAnnualPercentageRate map[string]string + TotalAmount string + YesterdayAirdropPercentageRate string + YesterdayRealTimeRewards string + type SimpleEarnFlexiblePositionResp struct + Rows []SimpleEarnFlexiblePosition + Total int + type SimpleEarnFlexibleProduct struct + AirDropPercentageRate string + Asset string + CanPurchase bool + CanRedeem bool + Hot bool + IsSoldOut bool + LatestAnnualPercentageRate string + MinPurchaseAmount string + ProductId string + Status string + SubscriptionStartTime int64 + TierAnnualPercentageRate map[string]string + type SimpleEarnFlexibleProductResp struct + Rows []SimpleEarnFlexibleProduct + Total int + type SimpleEarnFlexibleService struct + func (s *SimpleEarnFlexibleService) GetLeftQuote() *SimpleEarnGetFlexibleQuotaService + func (s *SimpleEarnFlexibleService) GetPosition() *SimpleEarnGetFlexiblePositionService + func (s *SimpleEarnFlexibleService) ListProduct() *SimpleEarnListFlexibleProductService + func (s *SimpleEarnFlexibleService) PreviewSubscribe() *SimpleEarnFlexibleSubscriptionPreviewService + func (s *SimpleEarnFlexibleService) Redeem() *SimpleEarnRedeemFlexibleProductService + func (s *SimpleEarnFlexibleService) SetAutoSubscribe() *SimpleEarnSetAutoSubscribeFlexibleProductService + func (s *SimpleEarnFlexibleService) Subscribe() *SimpleEarnSubscribeFlexibleProductService + type SimpleEarnFlexibleSubscriptionPreviewResp struct + AirDropAsset string + EstDailyAirdropRewards string + EstDailyBonusRewards string + EstDailyRealTimeRewards string + RewardAsset string + TotalAmount string + type SimpleEarnFlexibleSubscriptionPreviewService struct + func (s *SimpleEarnFlexibleSubscriptionPreviewService) Amount(amount string) *SimpleEarnFlexibleSubscriptionPreviewService + func (s *SimpleEarnFlexibleSubscriptionPreviewService) Do(ctx context.Context, opts ...RequestOption) (res *SimpleEarnFlexibleSubscriptionPreviewResp, err error) + func (s *SimpleEarnFlexibleSubscriptionPreviewService) ProductId(productId string) *SimpleEarnFlexibleSubscriptionPreviewService + type SimpleEarnGetAccountService struct + func (s *SimpleEarnGetAccountService) Do(ctx context.Context, opts ...RequestOption) (res *SimpleEarnAccount, err error) + type SimpleEarnGetFlexiblePositionService struct + func (s *SimpleEarnGetFlexiblePositionService) Asset(asset string) *SimpleEarnGetFlexiblePositionService + func (s *SimpleEarnGetFlexiblePositionService) Current(current int) *SimpleEarnGetFlexiblePositionService + func (s *SimpleEarnGetFlexiblePositionService) Do(ctx context.Context, opts ...RequestOption) (res *SimpleEarnFlexiblePositionResp, err error) + func (s *SimpleEarnGetFlexiblePositionService) ProductId(productId string) *SimpleEarnGetFlexiblePositionService + func (s *SimpleEarnGetFlexiblePositionService) Size(size int) *SimpleEarnGetFlexiblePositionService + type SimpleEarnGetFlexibleQuotaService struct + func (s *SimpleEarnGetFlexibleQuotaService) Do(ctx context.Context, opts ...RequestOption) (res *SimpleEarnFlexiblePersonalLeftQuotaResp, err error) + func (s *SimpleEarnGetFlexibleQuotaService) ProductId(productId string) *SimpleEarnGetFlexibleQuotaService + type SimpleEarnGetLockedPositionService struct + func (s *SimpleEarnGetLockedPositionService) Asset(asset string) *SimpleEarnGetLockedPositionService + func (s *SimpleEarnGetLockedPositionService) Current(current int64) *SimpleEarnGetLockedPositionService + func (s *SimpleEarnGetLockedPositionService) Do(ctx context.Context, opts ...RequestOption) (res *SimpleEarnLockedPositionResp, err error) + func (s *SimpleEarnGetLockedPositionService) PositionId(positionId int) *SimpleEarnGetLockedPositionService + func (s *SimpleEarnGetLockedPositionService) ProjectId(projectId string) *SimpleEarnGetLockedPositionService + func (s *SimpleEarnGetLockedPositionService) Size(size int64) *SimpleEarnGetLockedPositionService + type SimpleEarnGetLockedQuotaService struct + func (s *SimpleEarnGetLockedQuotaService) Do(ctx context.Context, opts ...RequestOption) (res *SimpleEarnLockedPersonalLeftQuotaResp, err error) + func (s *SimpleEarnGetLockedQuotaService) ProjectId(projectId string) *SimpleEarnGetLockedQuotaService + type SimpleEarnListFlexibleProductService struct + func (s *SimpleEarnListFlexibleProductService) Asset(asset string) *SimpleEarnListFlexibleProductService + func (s *SimpleEarnListFlexibleProductService) Current(current int) *SimpleEarnListFlexibleProductService + func (s *SimpleEarnListFlexibleProductService) Do(ctx context.Context, opts ...RequestOption) (res *SimpleEarnFlexibleProductResp, err error) + func (s *SimpleEarnListFlexibleProductService) Size(size int) *SimpleEarnListFlexibleProductService + type SimpleEarnListLockedProductService struct + func (s *SimpleEarnListLockedProductService) Asset(asset string) *SimpleEarnListLockedProductService + func (s *SimpleEarnListLockedProductService) Current(current int) *SimpleEarnListLockedProductService + func (s *SimpleEarnListLockedProductService) Do(ctx context.Context, opts ...RequestOption) (res *SimpleEarnLockedProductResp, err error) + func (s *SimpleEarnListLockedProductService) Size(size int) *SimpleEarnListLockedProductService + type SimpleEarnLockedPersonalLeftQuotaResp struct + LeftPersonalQuota string + type SimpleEarnLockedPosition struct + APY string + AccrualDays int + Amount string + Asset string + AutoSubscribe bool + CanFastRedemption bool + CanReStake bool + CanRedeemEarly bool + DeliverDate int64 + Duration int + EstExtraRewardAmt string + ExtraRewardAPR string + ExtraRewardAsset string + NextPay string + NextPayDate int64 + ParentPositionId int + PartialAmtDeliverDate int64 + PayPeriod int + PositionId int + ProjectId string + PurchaseTime int64 + RedeemAmountEarly string + RedeemPeriod int + RedeemTo string + RedeemingAmt string + RewardAmt string + RewardAsset string + RewardsEndDate int64 + Status string + Type string + type SimpleEarnLockedPositionResp struct + Rows []SimpleEarnLockedPosition + Total int + type SimpleEarnLockedProduct struct + Detail struct{ ... } + ProjectId string + Quota struct{ ... } + type SimpleEarnLockedProductResp struct + Rows []SimpleEarnLockedProduct + Total int + type SimpleEarnLockedService struct + func (s *SimpleEarnLockedService) GetLeftQuote() *SimpleEarnGetLockedQuotaService + func (s *SimpleEarnLockedService) GetPosition() *SimpleEarnGetLockedPositionService + func (s *SimpleEarnLockedService) ListProduct() *SimpleEarnListLockedProductService + func (s *SimpleEarnLockedService) PreviewSubscribe() *SimpleEarnLockedSubscriptionPreviewService + func (s *SimpleEarnLockedService) Redeem() *SimpleEarnRedeemLockedProductService + func (s *SimpleEarnLockedService) SetAutoSubscribe() *SimpleEarnSetAutoSubscribeLockedProductService + func (s *SimpleEarnLockedService) SetRedeemOption() *SimpleEarnSetRedeemOptionService + func (s *SimpleEarnLockedService) Subscribe() *SimpleEarnSubscribeLockedProductService + type SimpleEarnLockedSubscriptionPreviewResp struct + DeliverDate int64 + EstTotalExtraRewardAmt string + ExtraRewardAsset string + NextPay string + NextPayDate int64 + NextSubscriptionDate int64 + RewardAsset string + RewardsEndDate int64 + TotalRewardAmt string + ValueDate int64 + type SimpleEarnLockedSubscriptionPreviewService struct + func (s *SimpleEarnLockedSubscriptionPreviewService) Amount(amount string) *SimpleEarnLockedSubscriptionPreviewService + func (s *SimpleEarnLockedSubscriptionPreviewService) AutoSubscribe(autoSubscribe bool) *SimpleEarnLockedSubscriptionPreviewService + func (s *SimpleEarnLockedSubscriptionPreviewService) Do(ctx context.Context, opts ...RequestOption) (res *SimpleEarnLockedSubscriptionPreviewResp, err error) + func (s *SimpleEarnLockedSubscriptionPreviewService) ProjectId(projectId string) *SimpleEarnLockedSubscriptionPreviewService + type SimpleEarnRedeemFlexibleProductResp struct + RedeemId int + Success bool + type SimpleEarnRedeemFlexibleProductService struct + func (s *SimpleEarnRedeemFlexibleProductService) Amount(amount string) *SimpleEarnRedeemFlexibleProductService + func (s *SimpleEarnRedeemFlexibleProductService) DestAccount(destAccount string) *SimpleEarnRedeemFlexibleProductService + func (s *SimpleEarnRedeemFlexibleProductService) Do(ctx context.Context, opts ...RequestOption) (res *SimpleEarnRedeemFlexibleProductResp, err error) + func (s *SimpleEarnRedeemFlexibleProductService) ProductId(productId string) *SimpleEarnRedeemFlexibleProductService + func (s *SimpleEarnRedeemFlexibleProductService) RedeemAll(redeemAll bool) *SimpleEarnRedeemFlexibleProductService + type SimpleEarnRedeemLockedProductResp struct + RedeemId int + Success bool + type SimpleEarnRedeemLockedProductService struct + func (s *SimpleEarnRedeemLockedProductService) Do(ctx context.Context, opts ...RequestOption) (res *SimpleEarnRedeemLockedProductResp, err error) + func (s *SimpleEarnRedeemLockedProductService) PositionId(positionId int) *SimpleEarnRedeemLockedProductService + type SimpleEarnService struct + func (s *SimpleEarnService) FlexibleService() *SimpleEarnFlexibleService + func (s *SimpleEarnService) GetAccount() *SimpleEarnGetAccountService + func (s *SimpleEarnService) LockedService() *SimpleEarnLockedService + type SimpleEarnSetAutoSubscribeFlexibleProductResp struct + Success bool + type SimpleEarnSetAutoSubscribeFlexibleProductService struct + func (s *SimpleEarnSetAutoSubscribeFlexibleProductService) AutoSubscribe(autoSubscribe bool) *SimpleEarnSetAutoSubscribeFlexibleProductService + func (s *SimpleEarnSetAutoSubscribeFlexibleProductService) Do(ctx context.Context, opts ...RequestOption) (res *SimpleEarnSetAutoSubscribeFlexibleProductResp, err error) + func (s *SimpleEarnSetAutoSubscribeFlexibleProductService) ProductId(productId string) *SimpleEarnSetAutoSubscribeFlexibleProductService + type SimpleEarnSetAutoSubscribeLockedProductResp struct + Success bool + type SimpleEarnSetAutoSubscribeLockedProductService struct + func (s *SimpleEarnSetAutoSubscribeLockedProductService) AutoSubscribe(autoSubscribe bool) *SimpleEarnSetAutoSubscribeLockedProductService + func (s *SimpleEarnSetAutoSubscribeLockedProductService) Do(ctx context.Context, opts ...RequestOption) (res *SimpleEarnSetAutoSubscribeLockedProductResp, err error) + func (s *SimpleEarnSetAutoSubscribeLockedProductService) PositionId(positionId int) *SimpleEarnSetAutoSubscribeLockedProductService + type SimpleEarnSetRedeemOptionResp struct + Success bool + type SimpleEarnSetRedeemOptionService struct + func (s *SimpleEarnSetRedeemOptionService) Do(ctx context.Context, opts ...RequestOption) (res *SimpleEarnSetRedeemOptionResp, err error) + func (s *SimpleEarnSetRedeemOptionService) PositionId(positionId string) *SimpleEarnSetRedeemOptionService + func (s *SimpleEarnSetRedeemOptionService) RedeemTo(redeemTo RedeemTo) *SimpleEarnSetRedeemOptionService + type SimpleEarnSubscribeFlexibleProductResp struct + PurchaseId int + Success bool + type SimpleEarnSubscribeFlexibleProductService struct + func (s *SimpleEarnSubscribeFlexibleProductService) Amount(amount string) *SimpleEarnSubscribeFlexibleProductService + func (s *SimpleEarnSubscribeFlexibleProductService) AutoSubscribe(autoSubscribe bool) *SimpleEarnSubscribeFlexibleProductService + func (s *SimpleEarnSubscribeFlexibleProductService) Do(ctx context.Context, opts ...RequestOption) (res *SimpleEarnSubscribeFlexibleProductResp, err error) + func (s *SimpleEarnSubscribeFlexibleProductService) ProductId(productId string) *SimpleEarnSubscribeFlexibleProductService + func (s *SimpleEarnSubscribeFlexibleProductService) SourceAccount(sourceAccount SimpleEarnSubscribeSourceAccount) *SimpleEarnSubscribeFlexibleProductService + type SimpleEarnSubscribeLockedProductResp struct + PositionId int + PurchaseId int + Success bool + type SimpleEarnSubscribeLockedProductService struct + func (s *SimpleEarnSubscribeLockedProductService) Amount(amount string) *SimpleEarnSubscribeLockedProductService + func (s *SimpleEarnSubscribeLockedProductService) AutoSubscribe(autoSubscribe bool) *SimpleEarnSubscribeLockedProductService + func (s *SimpleEarnSubscribeLockedProductService) Do(ctx context.Context, opts ...RequestOption) (res *SimpleEarnSubscribeLockedProductResp, err error) + func (s *SimpleEarnSubscribeLockedProductService) ProjectId(projectId string) *SimpleEarnSubscribeLockedProductService + func (s *SimpleEarnSubscribeLockedProductService) RedeemTo(redeemTo string) *SimpleEarnSubscribeLockedProductService + func (s *SimpleEarnSubscribeLockedProductService) SourceAccount(sourceAccount SimpleEarnSubscribeSourceAccount) *SimpleEarnSubscribeLockedProductService + type SimpleEarnSubscribeSourceAccount string + const SourceAccountAll + const SourceAccountFund + const SourceAccountSpot + type SnapShotSpotBalance struct + Asset string + Free string + Locked string + type Snapshot struct + Code int + Msg string + Snapshot []*SnapshotVos + type SnapshotAssets struct + Asset string + MarginBalance string + WalletBalance string + type SnapshotBalances struct + Asset string + Free string + Locked string + type SnapshotData struct + Assets []*SnapshotAssets + Balances []*SnapshotBalances + MarginLevel string + Positions []*SnapshotPositions + TotalAssetOfBtc string + TotalLiabilityOfBtc string + TotalNetAssetOfBtc string + UserAssets []*SnapshotUserAssets + type SnapshotPositions struct + EntryPrice string + MarkPrice string + PositionAmt string + Symbol string + UnRealizedProfit string + type SnapshotUserAssets struct + Asset string + Borrowed string + Free string + Interest string + Locked string + NetAsset string + type SnapshotVo struct + Data SnapshotVoData + Type string + UpdateTime int64 + type SnapshotVoData struct + Assets []*FuturesUserAsset + Balances []*SnapShotSpotBalance + MarginLevel string + Position []*FuturesUserPosition + TotalAssetOfBtc string + TotalLiabilityOfBtc string + TotalNetAssetOfBtc string + UserAssets []*MarginUserAsset + type SnapshotVos struct + Data *SnapshotData + Type string + UpdateTime int64 + type SorOrderPlaceResult struct + ClientOrderId string + CummulativeQuoteQty string + ExecutedQty string + Fills []struct{ ... } + OrderId int64 + OrderListId int64 + OrigQty string + Price string + SelfTradePreventionMode string + Side SideType + Status OrderStatusType + Symbol string + TimeInForce TimeInForceType + TransactTime int64 + Type OrderType + UsedSor bool + WorkingFloor string + WorkingTime int64 + type SorOrderPlaceWsRequest struct + func NewSorOrderPlaceWsRequest() *SorOrderPlaceWsRequest + func (s *SorOrderPlaceWsRequest) GetParams() map[string]any + func (s *SorOrderPlaceWsRequest) IcebergQty(icebergQty string) *SorOrderPlaceWsRequest + func (s *SorOrderPlaceWsRequest) NewClientOrderID(newClientOrderID string) *SorOrderPlaceWsRequest + func (s *SorOrderPlaceWsRequest) NewOrderRespType(newOrderRespType NewOrderRespType) *SorOrderPlaceWsRequest + func (s *SorOrderPlaceWsRequest) Price(price string) *SorOrderPlaceWsRequest + func (s *SorOrderPlaceWsRequest) Quantity(quantity string) *SorOrderPlaceWsRequest + func (s *SorOrderPlaceWsRequest) RecvWindow(recvWindow uint16) *SorOrderPlaceWsRequest + func (s *SorOrderPlaceWsRequest) SelfTradePreventionMode(selfTradePreventionMode SelfTradePreventionMode) *SorOrderPlaceWsRequest + func (s *SorOrderPlaceWsRequest) Side(side SideType) *SorOrderPlaceWsRequest + func (s *SorOrderPlaceWsRequest) StrategyId(strategyId int64) *SorOrderPlaceWsRequest + func (s *SorOrderPlaceWsRequest) StrategyType(strategyType int32) *SorOrderPlaceWsRequest + func (s *SorOrderPlaceWsRequest) Symbol(symbol string) *SorOrderPlaceWsRequest + func (s *SorOrderPlaceWsRequest) TimeInForce(timeInForce TimeInForceType) *SorOrderPlaceWsRequest + func (s *SorOrderPlaceWsRequest) Type(orderType OrderType) *SorOrderPlaceWsRequest + type SorOrderPlaceWsResponse struct + Error *common.APIError + Id string + Result []SorOrderPlaceResult + Status int + type SorOrderPlaceWsService struct + ApiKey string + KeyType string + SecretKey string + TimeOffset int64 + func NewSorOrderPlaceWsService(apiKey, secretKey string) (*SorOrderPlaceWsService, error) + func (s *SorOrderPlaceWsService) Do(requestID string, request *SorOrderPlaceWsRequest) error + func (s *SorOrderPlaceWsService) GetReadChannel() <-chan []byte + func (s *SorOrderPlaceWsService) GetReadErrorChannel() <-chan error + func (s *SorOrderPlaceWsService) GetReconnectCount() int64 + func (s *SorOrderPlaceWsService) ReceiveAllDataBeforeStop(timeout time.Duration) + func (s *SorOrderPlaceWsService) SyncDo(requestID string, request *SorOrderPlaceWsRequest) (*SorOrderPlaceWsResponse, error) + type SorOrderTestResult struct + Discount ... + StandardCommissionForOrder ... + TaxCommissionForOrder ... + type SorOrderTestWsRequest struct + func NewSorOrderTestWsRequest() *SorOrderTestWsRequest + func (s *SorOrderTestWsRequest) ComputeCommissionRates(computeCommissionRates bool) *SorOrderTestWsRequest + func (s *SorOrderTestWsRequest) GetParams() map[string]any + func (s *SorOrderTestWsRequest) IcebergQty(icebergQty string) *SorOrderTestWsRequest + func (s *SorOrderTestWsRequest) NewClientOrderID(newClientOrderID string) *SorOrderTestWsRequest + func (s *SorOrderTestWsRequest) Price(price string) *SorOrderTestWsRequest + func (s *SorOrderTestWsRequest) Quantity(quantity string) *SorOrderTestWsRequest + func (s *SorOrderTestWsRequest) RecvWindow(recvWindow uint16) *SorOrderTestWsRequest + func (s *SorOrderTestWsRequest) SelfTradePreventionMode(selfTradePreventionMode SelfTradePreventionMode) *SorOrderTestWsRequest + func (s *SorOrderTestWsRequest) Side(side SideType) *SorOrderTestWsRequest + func (s *SorOrderTestWsRequest) StrategyId(strategyId int64) *SorOrderTestWsRequest + func (s *SorOrderTestWsRequest) StrategyType(strategyType int32) *SorOrderTestWsRequest + func (s *SorOrderTestWsRequest) Symbol(symbol string) *SorOrderTestWsRequest + func (s *SorOrderTestWsRequest) TimeInForce(timeInForce TimeInForceType) *SorOrderTestWsRequest + func (s *SorOrderTestWsRequest) Type(orderType OrderType) *SorOrderTestWsRequest + type SorOrderTestWsResponse struct + Error *common.APIError + Id string + Result SorOrderTestResult + Status int + type SorOrderTestWsService struct + ApiKey string + KeyType string + SecretKey string + TimeOffset int64 + func NewSorOrderTestWsService(apiKey, secretKey string) (*SorOrderTestWsService, error) + func (s *SorOrderTestWsService) Do(requestID string, request *SorOrderTestWsRequest) error + func (s *SorOrderTestWsService) GetReadChannel() <-chan []byte + func (s *SorOrderTestWsService) GetReadErrorChannel() <-chan error + func (s *SorOrderTestWsService) GetReconnectCount() int64 + func (s *SorOrderTestWsService) ReceiveAllDataBeforeStop(timeout time.Duration) + func (s *SorOrderTestWsService) SyncDo(requestID string, request *SorOrderTestWsRequest) (*SorOrderTestWsResponse, error) + type SpotRebateHistory struct + Code string + Data SpotRebateHistoryData + Status string + Type string + type SpotRebateHistoryData struct + Data []SpotRebateHistoryDataItem + Page int32 + TotalPageNum int32 + TotalRecords int32 + type SpotRebateHistoryDataItem struct + Amount string + Asset string + Type int32 + UpdateTime int64 + type SpotRebateHistoryService struct + func (s *SpotRebateHistoryService) Do(ctx context.Context, opts ...RequestOption) (*SpotRebateHistory, error) + func (s *SpotRebateHistoryService) EndTime(endTime int64) *SpotRebateHistoryService + func (s *SpotRebateHistoryService) Page(page int32) *SpotRebateHistoryService + func (s *SpotRebateHistoryService) StartTime(startTime int64) *SpotRebateHistoryService + type SpotSubUserAssetBtcVoList struct + Email string + TotalAsset string + type StakingHistory []StakingHistoryTransaction + type StakingHistoryService struct + func (s *StakingHistoryService) Asset(asset string) *StakingHistoryService + func (s *StakingHistoryService) Current(current int32) *StakingHistoryService + func (s *StakingHistoryService) Do(ctx context.Context) (*StakingHistory, error) + func (s *StakingHistoryService) EndTime(endTime int64) *StakingHistoryService + func (s *StakingHistoryService) Product(product StakingProduct) *StakingHistoryService + func (s *StakingHistoryService) Size(size int32) *StakingHistoryService + func (s *StakingHistoryService) StartTime(startTime int64) *StakingHistoryService + func (s *StakingHistoryService) TransactionType(transactionType StakingTransactionType) *StakingHistoryService + type StakingHistoryTransaction struct + Amount string + Asset string + DeliverDate int64 + LockPeriod int64 + PositionId int64 + Project string + Status string + Time int64 + Type string + type StakingProduct string + type StakingProductPosition struct + APY string + AccrualDays int64 + Amount string + Asset string + CanRedeemEarly bool + DeliverDate int64 + Duration int64 + EstimatedExtraRewardAmount string + ExtraRewardAPY string + ExtraRewardAsset string + InterestEndDate int64 + NextInterestPay string + NextInterestPayDate int64 + PartialAmountDeliverDate int64 + PayInterestPeriod int64 + PositionId int64 + ProductId string + PurchaseTime int64 + RedeemAmountEarly string + RedeemPeriod int64 + RedeemingAmount string + Renewable bool + RewardAmount string + RewardAsset string + Status string + Type string + type StakingProductPositionService struct + func (s *StakingProductPositionService) Asset(asset string) *StakingProductPositionService + func (s *StakingProductPositionService) Current(current int32) *StakingProductPositionService + func (s *StakingProductPositionService) Do(ctx context.Context) (*StakingProductPositions, error) + func (s *StakingProductPositionService) Product(product StakingProduct) *StakingProductPositionService + func (s *StakingProductPositionService) ProductId(productId string) *StakingProductPositionService + func (s *StakingProductPositionService) Size(size int32) *StakingProductPositionService + type StakingProductPositions []StakingProductPosition + type StakingTransactionType string + type StartIsolatedMarginUserStreamService struct + func (s *StartIsolatedMarginUserStreamService) Do(ctx context.Context, opts ...RequestOption) (listenKey string, err error) + func (s *StartIsolatedMarginUserStreamService) Symbol(symbol string) *StartIsolatedMarginUserStreamService + type StartMarginUserStreamService struct + func (s *StartMarginUserStreamService) Do(ctx context.Context, opts ...RequestOption) (listenKey string, err error) + type StartUserStreamService struct + func (s *StartUserStreamService) Do(ctx context.Context, opts ...RequestOption) (listenKey string, err error) + type SubAccUniversalTransferHistoryService struct + func (s *SubAccUniversalTransferHistoryService) ClientTranId(clientTranId string) *SubAccUniversalTransferHistoryService + func (s *SubAccUniversalTransferHistoryService) Do(ctx context.Context, opts ...RequestOption) (res *SubAccountUniversalTransferHistoryServiceResponse, err error) + func (s *SubAccUniversalTransferHistoryService) EndTime(endTime int64) *SubAccUniversalTransferHistoryService + func (s *SubAccUniversalTransferHistoryService) FromEmail(fromEmail string) *SubAccUniversalTransferHistoryService + func (s *SubAccUniversalTransferHistoryService) Limit(limit int32) *SubAccUniversalTransferHistoryService + func (s *SubAccUniversalTransferHistoryService) Page(page int32) *SubAccUniversalTransferHistoryService + func (s *SubAccUniversalTransferHistoryService) RecvWindow(recvWindow int64) *SubAccUniversalTransferHistoryService + func (s *SubAccUniversalTransferHistoryService) StartTime(startTime int64) *SubAccUniversalTransferHistoryService + func (s *SubAccUniversalTransferHistoryService) ToEmail(toEmail string) *SubAccUniversalTransferHistoryService + type SubAccount struct + CreateTime uint64 + Email string + IsAssetManagementSubAccount bool + IsFreeze bool + IsManagedSubAccount bool + Remark string + SubUserID int64 + type SubAccountApiAddIpRestrictServiceResponse struct + ApiKey string + IpList []string + IpRestrict string + UpdateTime int64 + type SubAccountApiAddIpRestrictionService struct + func (s *SubAccountApiAddIpRestrictionService) Do(ctx context.Context, opts ...RequestOption) (res *SubAccountApiAddIpRestrictServiceResponse, err error) + func (s *SubAccountApiAddIpRestrictionService) Email(email string) *SubAccountApiAddIpRestrictionService + func (s *SubAccountApiAddIpRestrictionService) IpAddress(ipAddress string) *SubAccountApiAddIpRestrictionService + func (s *SubAccountApiAddIpRestrictionService) RecvWindow(recvWindow int64) *SubAccountApiAddIpRestrictionService + func (s *SubAccountApiAddIpRestrictionService) Status(status string) *SubAccountApiAddIpRestrictionService + func (s *SubAccountApiAddIpRestrictionService) SubAccountApiKey(subAccountApiKey string) *SubAccountApiAddIpRestrictionService + type SubAccountApiDeleteIpRestrictServiceResponse struct + ApiKey string + IpList []string + IpRestrict string + UpdateTime int64 + type SubAccountApiDeleteIpRestrictionService struct + func (s *SubAccountApiDeleteIpRestrictionService) Do(ctx context.Context, opts ...RequestOption) (res *SubAccountApiDeleteIpRestrictServiceResponse, err error) + func (s *SubAccountApiDeleteIpRestrictionService) Email(email string) *SubAccountApiDeleteIpRestrictionService + func (s *SubAccountApiDeleteIpRestrictionService) IpAddress(ipAddress string) *SubAccountApiDeleteIpRestrictionService + func (s *SubAccountApiDeleteIpRestrictionService) RecvWindow(recvWindow int64) *SubAccountApiDeleteIpRestrictionService + func (s *SubAccountApiDeleteIpRestrictionService) SubAccountApiKey(subAccountApiKey string) *SubAccountApiDeleteIpRestrictionService + type SubAccountApiIpRestrictServiceResponse struct + ApiKey string + IpList []string + IpRestrict string + UpdateTime int64 + type SubAccountApiIpRestrictionService struct + func (s *SubAccountApiIpRestrictionService) Do(ctx context.Context, opts ...RequestOption) (res *SubAccountApiIpRestrictServiceResponse, err error) + func (s *SubAccountApiIpRestrictionService) Email(email string) *SubAccountApiIpRestrictionService + func (s *SubAccountApiIpRestrictionService) RecvWindow(recvWindow int64) *SubAccountApiIpRestrictionService + func (s *SubAccountApiIpRestrictionService) SubAccountApiKey(subAccountApiKey string) *SubAccountApiIpRestrictionService + type SubAccountAssetBalance struct + Asset string + Free string + Locked string + type SubAccountAssetService struct + func (s *SubAccountAssetService) Do(ctx context.Context, opts ...RequestOption) (res *SubAccountAssetServiceResponse, err error) + func (s *SubAccountAssetService) Email(email string) *SubAccountAssetService + func (s *SubAccountAssetService) RecvWindow(recvWindow int64) *SubAccountAssetService + type SubAccountAssetServiceResponse struct + Balances []*SubAccountAssetBalance + type SubAccountBlvtEnableService struct + func (s *SubAccountBlvtEnableService) Do(ctx context.Context, opts ...RequestOption) (res *SubAccountBlvtEnableServiceResponse, err error) + func (s *SubAccountBlvtEnableService) Email(email string) *SubAccountBlvtEnableService + func (s *SubAccountBlvtEnableService) EnableBlvt(enableBlvt bool) *SubAccountBlvtEnableService + func (s *SubAccountBlvtEnableService) RecvWindow(recvWindow int64) *SubAccountBlvtEnableService + type SubAccountBlvtEnableServiceResponse struct + Email string + EnableBlvt bool + type SubAccountDeliveryAccountSummary struct + Asset string + SubAccountList []*DeliverySubAccount + TotalMarginBalanceOfBTC string + TotalUnrealizedProfitOfBTC string + TotalWalletBalanceOfBTC string + type SubAccountDeliveryAccountV2 struct + Assets []*FuturesAsset + CanDeposit bool + CanTrade bool + CanWithdraw bool + Email string + FeeTier int32 + UpdateTime int64 + type SubAccountDeliveryPosition struct + EntryPrice string + IsAutoAddMargin string + Isolated string + IsolatedMargin string + IsolatedWallet string + Leverage string + MarkPrice string + PositionAmount string + PositionSide string + Symbol string + UnrealizedProfit string + type SubAccountDepositRecord struct + Address string + AddressTag string + Amount string + Coin string + ConfirmTimes string + Id string + InsertTime int64 + Network string + Status int32 + TransferType int32 + TxId string + UnlockConfirm int32 + WalletType int32 + type SubAccountDepositRecordService struct + func (s *SubAccountDepositRecordService) Coin(coin string) *SubAccountDepositRecordService + func (s *SubAccountDepositRecordService) Do(ctx context.Context, opts ...RequestOption) (res []*SubAccountDepositRecord, err error) + func (s *SubAccountDepositRecordService) Email(email string) *SubAccountDepositRecordService + func (s *SubAccountDepositRecordService) EndTime(endTime int64) *SubAccountDepositRecordService + func (s *SubAccountDepositRecordService) Limit(limit int) *SubAccountDepositRecordService + func (s *SubAccountDepositRecordService) Offset(offset int) *SubAccountDepositRecordService + func (s *SubAccountDepositRecordService) RecvWindow(recvWindow int64) *SubAccountDepositRecordService + func (s *SubAccountDepositRecordService) StartTime(startTime int64) *SubAccountDepositRecordService + func (s *SubAccountDepositRecordService) Status(status int32) *SubAccountDepositRecordService + func (s *SubAccountDepositRecordService) TxId(txId string) *SubAccountDepositRecordService + type SubAccountFuturesAccount struct + Asset string + Assets []SubAccountFuturesAccountAsset + CanDeposit bool + CanTrade bool + CanWithdraw bool + Email string + FeeTier int + MaxWithdrawAmount string + TotalInitialMargin string + TotalMaintenanceMargin string + TotalMarginBalance string + TotalOpenOrderInitialMargin string + TotalPositionInitialMargin string + TotalUnrealizedProfit string + TotalWalletBalance string + UpdateTime int64 + type SubAccountFuturesAccountAsset struct + Asset string + InitialMargin string + MaintenanceMargin string + MarginBalance string + MaxWithdrawAmount string + OpenOrderInitialMargin string + PositionInitialMargin string + UnrealizedProfit string + WalletBalance string + type SubAccountFuturesAccountService struct + func (s *SubAccountFuturesAccountService) Do(ctx context.Context, opts ...RequestOption) (res *SubAccountFuturesAccount, err error) + func (s *SubAccountFuturesAccountService) Email(v string) *SubAccountFuturesAccountService + type SubAccountFuturesAccountSummary struct + Asset string + SubAccountList []*FuturesSubAccount + TotalInitialMargin string + TotalMaintenanceMargin string + TotalMarginBalance string + TotalOpenOrderInitialMargin string + TotalPositionInitialMargin string + TotalUnrealizedProfit string + TotalWalletBalance string + type SubAccountFuturesAccountSummaryService struct + func (s *SubAccountFuturesAccountSummaryService) Do(ctx context.Context, opts ...RequestOption) (res *SubAccountFuturesAccountSummaryServiceResponse, err error) + func (s *SubAccountFuturesAccountSummaryService) FuturesType(futuresType int32) *SubAccountFuturesAccountSummaryService + func (s *SubAccountFuturesAccountSummaryService) Limit(limit int32) *SubAccountFuturesAccountSummaryService + func (s *SubAccountFuturesAccountSummaryService) Page(page int32) *SubAccountFuturesAccountSummaryService + func (s *SubAccountFuturesAccountSummaryService) RecvWindow(recvWindow int64) *SubAccountFuturesAccountSummaryService + type SubAccountFuturesAccountSummaryServiceResponse struct + DeliveryAccountSummaryResp *SubAccountDeliveryAccountSummary + FutureAccountSummaryResp *SubAccountFuturesAccountSummary + type SubAccountFuturesAccountV2 struct + Asset string + Assets []*FuturesAsset + CanDeposit bool + CanTrade bool + CanWithdraw bool + Email string + FeeTier int32 + MaxWithdrawAmount string + TotalInitialMargin string + TotalMaintenanceMargin string + TotalMarginBalance string + TotalOpenOrderInitialMargin string + TotalPositionInitialMargin string + TotalUnrealizedProfit string + TotalWalletBalance string + UpdateTime int64 + type SubAccountFuturesAccountV2Service struct + func (s *SubAccountFuturesAccountV2Service) Do(ctx context.Context, opts ...RequestOption) (res *SubAccountFuturesAccountV2ServiceResponse, err error) + func (s *SubAccountFuturesAccountV2Service) Email(email string) *SubAccountFuturesAccountV2Service + func (s *SubAccountFuturesAccountV2Service) FuturesType(futuresType int32) *SubAccountFuturesAccountV2Service + func (s *SubAccountFuturesAccountV2Service) RecvWindow(recvWindow int64) *SubAccountFuturesAccountV2Service + type SubAccountFuturesAccountV2ServiceResponse struct + DeliveryAccountResp *SubAccountDeliveryAccountV2 + FutureAccountResp *SubAccountFuturesAccountV2 + type SubAccountFuturesEnableResponse struct + Email string + IsFuturesEnabled bool + type SubAccountFuturesEnableService struct + func (s *SubAccountFuturesEnableService) Do(ctx context.Context, opts ...RequestOption) (res *SubAccountFuturesEnableResponse, err error) + func (s *SubAccountFuturesEnableService) Email(email string) *SubAccountFuturesEnableService + func (s *SubAccountFuturesEnableService) RecvWindow(recvWindow int64) *SubAccountFuturesEnableService + type SubAccountFuturesInternalTransferResponse struct + Success bool + TxnId string + type SubAccountFuturesInternalTransferService struct + func (s *SubAccountFuturesInternalTransferService) Amount(amount string) *SubAccountFuturesInternalTransferService + func (s *SubAccountFuturesInternalTransferService) Asset(asset string) *SubAccountFuturesInternalTransferService + func (s *SubAccountFuturesInternalTransferService) Do(ctx context.Context, opts ...RequestOption) (res *SubAccountFuturesInternalTransferResponse, err error) + func (s *SubAccountFuturesInternalTransferService) FromEmail(fromEmail string) *SubAccountFuturesInternalTransferService + func (s *SubAccountFuturesInternalTransferService) FuturesType(futuresType int64) *SubAccountFuturesInternalTransferService + func (s *SubAccountFuturesInternalTransferService) RecvWindow(recvWindow int64) *SubAccountFuturesInternalTransferService + func (s *SubAccountFuturesInternalTransferService) ToEmail(toEmail string) *SubAccountFuturesInternalTransferService + type SubAccountFuturesPosition struct + EntryPrice string + Leverage string + LiquidationPrice string + MarkPrice string + MaxNotional string + PositionAmount string + Symbol string + UnrealizedProfit string + type SubAccountFuturesPositionsService struct + func (s *SubAccountFuturesPositionsService) Do(ctx context.Context, opts ...RequestOption) (res *SubAccountFuturesPositionsServiceResponse, err error) + func (s *SubAccountFuturesPositionsService) Email(email string) *SubAccountFuturesPositionsService + func (s *SubAccountFuturesPositionsService) FuturesType(futuresType int32) *SubAccountFuturesPositionsService + func (s *SubAccountFuturesPositionsService) RecvWindow(recvWindow int64) *SubAccountFuturesPositionsService + type SubAccountFuturesPositionsServiceResponse struct + DeliveryPositionRiskVos []*SubAccountDeliveryPosition + FuturePositionRiskVos []*SubAccountFuturesPosition + type SubAccountFuturesSummaryCommon struct + Asset string + TotalInitialMargin string + TotalMaintenanceMargin string + TotalMarginBalance string + TotalOpenOrderInitialMargin string + TotalPositionInitialMargin string + TotalUnrealizedProfit string + TotalWalletBalance string + type SubAccountFuturesSummaryV1 struct + SubAccountList []SubAccountFuturesSummaryV1SubAccountList + type SubAccountFuturesSummaryV1Service struct + func (s *SubAccountFuturesSummaryV1Service) Do(ctx context.Context, opts ...RequestOption) (res *SubAccountFuturesSummaryV1, err error) + type SubAccountFuturesSummaryV1SubAccountList struct + Email string + type SubAccountFuturesTransfer struct + Asset string + From string + Qty string + Status string + Time uint64 + To string + TranId uint64 + type SubAccountFuturesTransferHistoryResponse struct + FuturesType int32 + Success bool + Transfers []*SubAccountFuturesTransfer + type SubAccountFuturesTransferHistoryService struct + func (s *SubAccountFuturesTransferHistoryService) Do(ctx context.Context, opts ...RequestOption) (res *SubAccountFuturesTransferHistoryResponse, err error) + func (s *SubAccountFuturesTransferHistoryService) Email(email string) *SubAccountFuturesTransferHistoryService + func (s *SubAccountFuturesTransferHistoryService) EndTime(endTime int64) *SubAccountFuturesTransferHistoryService + func (s *SubAccountFuturesTransferHistoryService) FuturesType(futuresType int64) *SubAccountFuturesTransferHistoryService + func (s *SubAccountFuturesTransferHistoryService) Limit(limit int32) *SubAccountFuturesTransferHistoryService + func (s *SubAccountFuturesTransferHistoryService) Page(page int32) *SubAccountFuturesTransferHistoryService + func (s *SubAccountFuturesTransferHistoryService) RecvWindow(recvWindow int64) *SubAccountFuturesTransferHistoryService + func (s *SubAccountFuturesTransferHistoryService) StartTime(startTime int64) *SubAccountFuturesTransferHistoryService + type SubAccountFuturesTransferResponse struct + TranID int64 + type SubAccountFuturesTransferV1Service struct + func (s *SubAccountFuturesTransferV1Service) Amount(v float64) *SubAccountFuturesTransferV1Service + func (s *SubAccountFuturesTransferV1Service) Asset(v string) *SubAccountFuturesTransferV1Service + func (s *SubAccountFuturesTransferV1Service) Do(ctx context.Context, opts ...RequestOption) (res *SubAccountFuturesTransferResponse, err error) + func (s *SubAccountFuturesTransferV1Service) Email(v string) *SubAccountFuturesTransferV1Service + func (s *SubAccountFuturesTransferV1Service) TransferType(v int) *SubAccountFuturesTransferV1Service + type SubAccountList struct + SubAccounts []SubAccount + type SubAccountListService struct + func (s *SubAccountListService) Do(ctx context.Context, opts ...RequestOption) (res *SubAccountList, err error) + func (s *SubAccountListService) Email(v string) *SubAccountListService + func (s *SubAccountListService) IsFreeze(v bool) *SubAccountListService + func (s *SubAccountListService) Limit(v int) *SubAccountListService + func (s *SubAccountListService) Page(v int) *SubAccountListService + type SubAccountMarginAccountInfo struct + Email string + MarginLevel string + MarginTradeCoeffVo *MarginTradeCoeffVo + MarginUserAssetVoList []*MarginUserAssetVo + TotalAssetOfBtc string + TotalLiabilityOfBtc string + TotalNetAssetOfBtc string + type SubAccountMarginAccountInfoService struct + func (s *SubAccountMarginAccountInfoService) Do(ctx context.Context, opts ...RequestOption) (res *SubAccountMarginAccountInfo, err error) + func (s *SubAccountMarginAccountInfoService) Email(email string) *SubAccountMarginAccountInfoService + func (s *SubAccountMarginAccountInfoService) RecvWindow(recvWindow int64) *SubAccountMarginAccountInfoService + type SubAccountMarginAccountSummary struct + SubAccountList []*MarginSubAccount + TotalAssetOfBtc string + TotalLiabilityOfBtc string + TotalNetAssetOfBtc string + type SubAccountMarginAccountSummaryService struct + func (s *SubAccountMarginAccountSummaryService) Do(ctx context.Context, opts ...RequestOption) (res *SubAccountMarginAccountSummary, err error) + func (s *SubAccountMarginAccountSummaryService) RecvWindow(recvWindow int64) *SubAccountMarginAccountSummaryService + type SubAccountMarginEnableResponse struct + Email string + IsMarginEnabled bool + type SubAccountMarginEnableService struct + func (s *SubAccountMarginEnableService) Do(ctx context.Context, opts ...RequestOption) (res *SubAccountMarginEnableResponse, err error) + func (s *SubAccountMarginEnableService) Email(email string) *SubAccountMarginEnableService + func (s *SubAccountMarginEnableService) RecvWindow(recvWindow int64) *SubAccountMarginEnableService + type SubAccountMarginFuturesStatus struct + Email string + InsertTime int64 + IsFutureEnabled bool + IsMarginEnabled bool + IsSubUserEnabled bool + IsUserActive bool + Mobile int64 + type SubAccountMarginFuturesStatusService struct + func (s *SubAccountMarginFuturesStatusService) Do(ctx context.Context, opts ...RequestOption) (res []*SubAccountMarginFuturesStatus, err error) + func (s *SubAccountMarginFuturesStatusService) Email(email string) *SubAccountMarginFuturesStatusService + func (s *SubAccountMarginFuturesStatusService) RecvWindow(recvWindow int64) *SubAccountMarginFuturesStatusService + type SubAccountMarginTransferResponse struct + TxnId string + type SubAccountMarginTransferService struct + func (s *SubAccountMarginTransferService) Amount(amount string) *SubAccountMarginTransferService + func (s *SubAccountMarginTransferService) Asset(asset string) *SubAccountMarginTransferService + func (s *SubAccountMarginTransferService) Do(ctx context.Context, opts ...RequestOption) (res *SubAccountMarginTransferResponse, err error) + func (s *SubAccountMarginTransferService) Email(email string) *SubAccountMarginTransferService + func (s *SubAccountMarginTransferService) RecvWindow(recvWindow int64) *SubAccountMarginTransferService + func (s *SubAccountMarginTransferService) TransferType(transferType int32) *SubAccountMarginTransferService + type SubAccountOptionsEnableService struct + func (s *SubAccountOptionsEnableService) Do(ctx context.Context, opts ...RequestOption) (res *SubAccountOptionsEnableServiceResponse, err error) + func (s *SubAccountOptionsEnableService) Email(email string) *SubAccountOptionsEnableService + func (s *SubAccountOptionsEnableService) RecvWindow(recvWindow int64) *SubAccountOptionsEnableService + type SubAccountOptionsEnableServiceResponse struct + Email string + IsEOptionsEnabled bool + type SubAccountSpotTransfer struct + Asset string + From string + Qty string + Status string + Time uint64 + To string + TranId uint64 + type SubAccountSpotTransferHistoryService struct + func (s *SubAccountSpotTransferHistoryService) Do(ctx context.Context, opts ...RequestOption) (res []*SubAccountSpotTransfer, err error) + func (s *SubAccountSpotTransferHistoryService) EndTime(endTime uint64) *SubAccountSpotTransferHistoryService + func (s *SubAccountSpotTransferHistoryService) FromEmail(fromEmail string) *SubAccountSpotTransferHistoryService + func (s *SubAccountSpotTransferHistoryService) Limit(limit int32) *SubAccountSpotTransferHistoryService + func (s *SubAccountSpotTransferHistoryService) Page(page int32) *SubAccountSpotTransferHistoryService + func (s *SubAccountSpotTransferHistoryService) RecvWindow(recvWindow int64) *SubAccountSpotTransferHistoryService + func (s *SubAccountSpotTransferHistoryService) StartTime(startTime uint64) *SubAccountSpotTransferHistoryService + func (s *SubAccountSpotTransferHistoryService) ToEmail(toEmail string) *SubAccountSpotTransferHistoryService + type SubAccountTransactionStatisticServiceResponse struct + Recent30BtcFuturesTotal string + Recent30BtcMarginTotal string + Recent30BtcTotal string + Recent30BusdFuturesTotal string + Recent30BusdMarginTotal string + Recent30BusdTotal string + TradeInfoVos []*TradeInfoVo + type SubAccountTransactionStatisticsService struct + func (s *SubAccountTransactionStatisticsService) Do(ctx context.Context, opts ...RequestOption) (res *SubAccountTransactionStatisticServiceResponse, err error) + func (s *SubAccountTransactionStatisticsService) Email(email string) *SubAccountTransactionStatisticsService + func (s *SubAccountTransactionStatisticsService) RecvWindow(recvWindow int64) *SubAccountTransactionStatisticsService + type SubAccountTransferHistory struct + Asset string + CounterParty string + Email string + FromAccountType AccountType + Qty string + Status string + Time int64 + ToAccountType AccountType + TranID int64 + Type SubAccountTransferType + type SubAccountTransferHistoryService struct + func (s *SubAccountTransferHistoryService) Asset(v string) *SubAccountTransferHistoryService + func (s *SubAccountTransferHistoryService) Do(ctx context.Context, opts ...RequestOption) (res []*SubAccountTransferHistory, err error) + func (s *SubAccountTransferHistoryService) EndTime(v int64) *SubAccountTransferHistoryService + func (s *SubAccountTransferHistoryService) Limit(v int) *SubAccountTransferHistoryService + func (s *SubAccountTransferHistoryService) ReturnFailHistory(v bool) *SubAccountTransferHistoryService + func (s *SubAccountTransferHistoryService) StartTime(v int64) *SubAccountTransferHistoryService + func (s *SubAccountTransferHistoryService) TransferType(v SubAccountTransferType) *SubAccountTransferHistoryService + type SubAccountTransferSubToMasterResponse struct + TxnId string + type SubAccountTransferSubToMasterService struct + func (s *SubAccountTransferSubToMasterService) Amount(amount string) *SubAccountTransferSubToMasterService + func (s *SubAccountTransferSubToMasterService) Asset(asset string) *SubAccountTransferSubToMasterService + func (s *SubAccountTransferSubToMasterService) Do(ctx context.Context, opts ...RequestOption) (res *SubAccountTransferSubToMasterResponse, err error) + func (s *SubAccountTransferSubToMasterService) RecvWindow(recvWindow int64) *SubAccountTransferSubToMasterService + type SubAccountTransferType int + type SubAccountUniversalTransferHistoryServiceResponse struct + Result []*SubAccountUniversalTransferRecord + TotalCount int64 + type SubAccountUniversalTransferRecord struct + Amount string + Asset string + ClientTranId string + CreateTimeStamp int64 + FromAccountType string + FromEmail string + Status string + ToAccountType string + ToEmail string + TranId int64 + type SubAccountUniversalTransferResponse struct + ClientTranId string + TranId int64 + type SubAccountUniversalTransferService struct + func (s *SubAccountUniversalTransferService) Amount(amount string) *SubAccountUniversalTransferService + func (s *SubAccountUniversalTransferService) Asset(asset string) *SubAccountUniversalTransferService + func (s *SubAccountUniversalTransferService) ClientTranId(clientTranId string) *SubAccountUniversalTransferService + func (s *SubAccountUniversalTransferService) Do(ctx context.Context, opts ...RequestOption) (res *SubAccountUniversalTransferResponse, err error) + func (s *SubAccountUniversalTransferService) FromAccountType(fromAccountType string) *SubAccountUniversalTransferService + func (s *SubAccountUniversalTransferService) FromEmail(fromEmail string) *SubAccountUniversalTransferService + func (s *SubAccountUniversalTransferService) RecvWindow(recvWindow int64) *SubAccountUniversalTransferService + func (s *SubAccountUniversalTransferService) Symbol(symbol string) *SubAccountUniversalTransferService + func (s *SubAccountUniversalTransferService) ToAccountType(toAccountType string) *SubAccountUniversalTransferService + func (s *SubAccountUniversalTransferService) ToEmail(toEmail string) *SubAccountUniversalTransferService + type SubaccountAssetsResponse struct + Balances []AssetBalance + type SubaccountAssetsService struct + func (s *SubaccountAssetsService) Do(ctx context.Context, opts ...RequestOption) (res *SubaccountAssetsResponse, err error) + func (s *SubaccountAssetsService) Email(email string) *SubaccountAssetsService + type SubaccountDepositAddressResponse struct + Address string + Coin string + Tag string + URL string + type SubaccountDepositAddressService struct + func (s *SubaccountDepositAddressService) Coin(coin string) *SubaccountDepositAddressService + func (s *SubaccountDepositAddressService) Do(ctx context.Context, opts ...RequestOption) (res *SubaccountDepositAddressResponse, err error) + func (s *SubaccountDepositAddressService) Email(email string) *SubaccountDepositAddressService + func (s *SubaccountDepositAddressService) Network(network string) *SubaccountDepositAddressService + type SubaccountSpotSummaryResponse struct + MasterAccountTotalAsset string + SpotSubUserAssetBtcVoList []SpotSubUserAssetBtcVoList + TotalCount int64 + type SubaccountSpotSummaryService struct + func (s *SubaccountSpotSummaryService) Do(ctx context.Context, opts ...RequestOption) (res *SubaccountSpotSummaryResponse, err error) + func (s *SubaccountSpotSummaryService) Email(email string) *SubaccountSpotSummaryService + func (s *SubaccountSpotSummaryService) Page(page int32) *SubaccountSpotSummaryService + func (s *SubaccountSpotSummaryService) Size(size int32) *SubaccountSpotSummaryService + type SubscribeDualInvestmentResp struct + APR string + AutoCompoundPlan DualInvestmentCompoundPlan + Duration int + ExercisedCoin string + InvestCoin string + OptionType DualInvestmentOptionType + OrderID int64 + PositionID int64 + PurchaseStatus ListDualInvestmentPositionStatus + PurchaseTime int64 + SettleDate int64 + StrikePrice string + SubscriptionAmount string + type SubscribeDualInvestmentService struct + func (s *SubscribeDualInvestmentService) AutoCompoundPlan(autoCompoundPlan DualInvestmentCompoundPlan) *SubscribeDualInvestmentService + func (s *SubscribeDualInvestmentService) DepositAmount(depositAmount string) *SubscribeDualInvestmentService + func (s *SubscribeDualInvestmentService) Do(ctx context.Context, opts ...RequestOption) (res *SubscribeDualInvestmentResp, err error) + func (s *SubscribeDualInvestmentService) ID(id string) *SubscribeDualInvestmentService + func (s *SubscribeDualInvestmentService) OrderID(orderId int64) *SubscribeDualInvestmentService + type SwapRecord struct + BaseAsset string + BaseQty string + Fee string + Price string + QuoteAsset string + QuoteQty string + Status SwappingStatus + SwapId int64 + SwapTime int64 + type SwapResponse struct + SwapId int64 + type SwapService struct + func (s *SwapService) BaseAsset(baseAsset string) *SwapService + func (s *SwapService) Do(ctx context.Context) (*SwapResponse, error) + func (s *SwapService) QuoteAsset(quoteAsset string) *SwapService + func (s *SwapService) QuoteQty(quoteQty float64) *SwapService + type SwappingStatus int + type Symbol struct + BaseAsset string + BaseAssetPrecision int + BaseCommissionPrecision int32 + Filters []map[string]any + IcebergAllowed bool + IsMarginTradingAllowed bool + IsSpotTradingAllowed bool + OcoAllowed bool + OrderTypes []string + PermissionSets [][]string + Permissions []string + QuoteAsset string + QuoteAssetPrecision int + QuoteCommissionPrecision int32 + QuoteOrderQtyMarketAllowed bool + QuotePrecision int + Status string + Symbol string + func (s *Symbol) IcebergPartsFilter() *IcebergPartsFilter + func (s *Symbol) LotSizeFilter() *LotSizeFilter + func (s *Symbol) MarketLotSizeFilter() *MarketLotSizeFilter + func (s *Symbol) MaxNumAlgoOrdersFilter() *MaxNumAlgoOrdersFilter + func (s *Symbol) MaxNumOrdersFilter() *MaxNumOrdersFilter + func (s *Symbol) NotionalFilter() *NotionalFilter + func (s *Symbol) PercentPriceBySideFilter() *PercentPriceBySideFilter + func (s *Symbol) PriceFilter() *PriceFilter + func (s *Symbol) TrailingDeltaFilter() *TrailingDeltaFilter + type SymbolFilterType string + type SymbolPrice struct + Price string + Symbol string + type SymbolStatusType string + type SymbolTicker struct + CloseTime int64 + Count int64 + FirstId int64 + HighPrice string + LastId int64 + LastPrice string + LowPrice string + OpenPrice string + OpenTime int64 + PriceChange string + PriceChangePercent string + QuoteVolume string + Symbol string + Volume string + WeightedAvgPrice string + type SymbolType string + type TimeInForceType string + type ToggleBNBBurnService struct + func (s *ToggleBNBBurnService) Do(ctx context.Context, opts ...RequestOption) (*BNBBurn, error) + func (s *ToggleBNBBurnService) InterestBNBBurn(v bool) *ToggleBNBBurnService + func (s *ToggleBNBBurnService) SpotBNBBurn(v bool) *ToggleBNBBurnService + type Trade struct + ID int64 + IsBestMatch bool + IsBuyerMaker bool + IsIsolated bool + Price string + Quantity string + QuoteQuantity string + Time int64 + type TradeFeeDetails struct + MakerCommission string + Symbol string + TakerCommission string + type TradeFeeService struct + func (s *TradeFeeService) Do(ctx context.Context) (res []*TradeFeeDetails, err error) + func (s *TradeFeeService) Symbol(symbol string) *TradeFeeService + type TradeInfoVo struct + Btc float64 + BtcFutures float64 + BtcMargin float64 + Busd float64 + BusdFutures float64 + BusdMargin float64 + Date int64 + UserId int64 + type TradeV3 struct + Commission string + CommissionAsset string + ID int64 + IsBestMatch bool + IsBuyer bool + IsIsolated bool + IsMaker bool + OrderID int64 + OrderListId int64 + Price string + Quantity string + QuoteQuantity string + Symbol string + Time int64 + type TradingDayTicker struct + CloseTime uint64 + Count uint64 + FirstId uint64 + HighPrice string + LastId uint64 + LastPrice string + LowPrice string + OpenPrice string + OpenTime uint64 + PriceChange string + PriceChangePercent string + QuoteVolume string + Symbol string + Volume string + WeightedAvgPrice string + type TradingDayTickerService struct + func (s *TradingDayTickerService) Do(ctx context.Context, opts ...RequestOption) (res []*TradingDayTicker, err error) + func (s *TradingDayTickerService) Symbol(symbol string) *TradingDayTickerService + func (s *TradingDayTickerService) Symbols(symbols []string) *TradingDayTickerService + func (s *TradingDayTickerService) TickerType(tickerType string) *TradingDayTickerService + func (s *TradingDayTickerService) TimeZone(timeZone string) *TradingDayTickerService + type TrailingDeltaFilter struct + MaxTrailingAboveDelta int + MaxTrailingBelowDelta int + MinTrailingAboveDelta int + MinTrailingBelowDelta int + type TransactionResponse struct + TranID int64 + type TransactionType string + type TransferToSubAccountResponse struct + TxnID int64 + type TransferToSubAccountService struct + func (s *TransferToSubAccountService) Amount(amount string) *TransferToSubAccountService + func (s *TransferToSubAccountService) Asset(asset string) *TransferToSubAccountService + func (s *TransferToSubAccountService) Do(ctx context.Context, opts ...RequestOption) (res *TransferToSubAccountResponse, err error) + func (s *TransferToSubAccountService) ToEmail(toEmail string) *TransferToSubAccountService + type UiKline struct + Close string + CloseTime uint64 + High string + Low string + Open string + OpenTime uint64 + QuoteVolume string + TakerBuyBaseAssetVolume string + TakerBuyQuoteAssetVolume string + TradeNum uint64 + Volume string + type UiKlinesService struct + func (s *UiKlinesService) Do(ctx context.Context, opts ...RequestOption) (res []*UiKline, err error) + func (s *UiKlinesService) EndTime(endTime uint64) *UiKlinesService + func (s *UiKlinesService) Interval(interval string) *UiKlinesService + func (s *UiKlinesService) Limit(limit uint32) *UiKlinesService + func (s *UiKlinesService) StartTime(startTime uint64) *UiKlinesService + func (s *UiKlinesService) Symbol(symbol string) *UiKlinesService + func (s *UiKlinesService) TimeZone(timeZone string) *UiKlinesService + type UserAsset struct + Asset string + Borrowed string + Free string + Interest string + Locked string + NetAsset string + type UserAssetDribblet struct + OperateTime int64 + TotalServiceChargeAmount string + TotalTransferedAmount string + TransID int64 + UserAssetDribbletDetails []UserAssetDribbletDetail + type UserAssetDribbletDetail struct + Amount string + FromAsset string + OperateTime int64 + ServiceChargeAmount string + TransID int + TransferedAmount string + type UserAssetRecord struct + Asset string + BtcValuation string + Free string + Freeze string + Ipoable string + Locked string + Withdrawing string + type UserDataEventType string + type UserUniversalTransfer struct + Amount string + Asset string + Status UserUniversalTransferStatusType + Timestamp int64 + TranId int64 + Type UserUniversalTransferType + type UserUniversalTransferResponse struct + Results []*UserUniversalTransfer + Total int64 + type UserUniversalTransferStatusType string + type UserUniversalTransferType string + type WalletBalance struct + Activate bool + Balance string + WalletName string + type WalletBalanceService struct + func (s *WalletBalanceService) Do(ctx context.Context, opts ...RequestOption) (res []*WalletBalance, err error) + func (s *WalletBalanceService) QuoteAsset(asset string) *WalletBalanceService + type Withdraw struct + Address string + Amount string + ApplyTime string + Coin string + CompleteTime string + ConfirmNo int32 + ID string + Info string + Network string + Status int + TransactionFee string + TransferType int + TxID string + TxKey string + WithdrawOrderID string + type WsAccountUpdate struct + Asset string + Free string + Locked string + type WsAccountUpdateList struct + AccountUpdateTime int64 + WsAccountUpdates []WsAccountUpdate + type WsAggTradeEvent struct + AggTradeID int64 + Event string + FirstBreakdownTradeID int64 + IsBuyerMaker bool + LastBreakdownTradeID int64 + Placeholder bool + Price string + Quantity string + Symbol string + Time int64 + TradeTime int64 + type WsAggTradeHandler func(event *WsAggTradeEvent) + type WsAllMarketsStatEvent []*WsMarketStatEvent + type WsAllMarketsStatHandler func(event WsAllMarketsStatEvent) + type WsAllMiniMarketsStatEvent []*WsMiniMarketsStatEvent + type WsAllMiniMarketsStatServeHandler func(event WsAllMiniMarketsStatEvent) + type WsAnnouncementEvent struct + Body string + CatalogID int64 + CatalogName string + Disclaimer string + PublishDate int64 + Title string + type WsAnnouncementHandler func(event *WsAnnouncementEvent) + type WsAnnouncementParam struct + ApiKey string + Random string + RecvWindow int64 + Signature string + Timestamp int64 + Topic string + type WsBalanceUpdate struct + Asset string + Change string + TransactionTime int64 + type WsBookTickerEvent struct + BestAskPrice string + BestAskQty string + BestBidPrice string + BestBidQty string + Symbol string + UpdateID int64 + type WsBookTickerHandler func(event *WsBookTickerEvent) + type WsCombinedBookTickerEvent struct + Data *WsBookTickerEvent + Stream string + type WsCombinedTradeEvent struct + Data WsTradeEvent + Stream string + type WsCombinedTradeHandler func(event *WsCombinedTradeEvent) + type WsConfig struct + Endpoint string + Header http.Header + Proxy *string + type WsDepthEvent struct + Asks []Ask + Bids []Bid + Event string + FirstUpdateID int64 + LastUpdateID int64 + Symbol string + Time int64 + type WsDepthHandler func(event *WsDepthEvent) + type WsHandler func(message []byte) + type WsKline struct + ActiveBuyQuoteVolume string + ActiveBuyVolume string + Close string + EndTime int64 + FirstTradeID int64 + High string + Interval string + IsFinal bool + LastTradeID int64 + Low string + Open string + QuoteVolume string + StartTime int64 + Symbol string + TradeNum int64 + Volume string + type WsKlineEvent struct + Event string + Kline WsKline + Symbol string + Time int64 + type WsKlineHandler func(event *WsKlineEvent) + type WsMarketStatEvent struct + AskPrice string + AskQty string + BaseVolume string + BidPrice string + BidQty string + CloseQty string + CloseTime int64 + Count int64 + Event string + FirstID int64 + HighPrice string + LastID int64 + LastPrice string + LowPrice string + OpenPrice string + OpenTime int64 + PrevClosePrice string + PriceChange string + PriceChangePercent string + QuoteVolume string + Symbol string + Time int64 + WeightedAvgPrice string + type WsMarketStatHandler func(event *WsMarketStatEvent) + type WsMiniMarketsStatEvent struct + BaseVolume string + Event string + HighPrice string + LastPrice string + LowPrice string + OpenPrice string + QuoteVolume string + Symbol string + Time int64 + type WsOCOOrder struct + ClientOrderId string + OrderId int64 + Symbol string + type WsOCOOrderList struct + WsOCOOrders []WsOCOOrder + type WsOCOUpdate struct + ClientOrderId string + ContingencyType string + ListOrderStatus string + ListStatusType string + OrderListId int64 + Orders WsOCOOrderList + RejectReason string + Symbol string + TransactionTime int64 + type WsOrderUpdate struct + AllocationId int64 + ClientOrderId string + CounterOrderId int64 + CounterSymbol string + CreateTime int64 + ExecutionType string + FeeAsset string + FeeCost string + FilledQuoteVolume string + FilledVolume string + IceBergVolume string + Id int64 + IgnoreI int64 + IgnoreM bool + IsInOrderBook bool + IsMaker bool + LastPreventedQuantity string + LatestPrice string + LatestQuoteVolume string + LatestVolume string + MatchType string + OrderListId int64 + OrigCustomOrderId string + PreventedExecutionPrice string + PreventedExecutionQuantity string + PreventedExecutionQuoteQty string + PreventedMatchId int64 + PreventedQuantity string + Price string + QuoteVolume string + RejectReason string + SelfTradePreventionMode string + Side string + Status string + StopPrice string + StrategyId int64 + StrategyType int64 + Symbol string + TimeInForce TimeInForceType + TradeGroupId int64 + TradeId int64 + TrailingDelta int64 + TrailingTime int64 + TransactionTime int64 + Type string + UsedSor bool + Volume string + WorkingFloor string + WorkingTime int64 + type WsPartialDepthEvent struct + Asks []Ask + Bids []Bid + LastUpdateID int64 + Symbol string + type WsPartialDepthHandler func(event *WsPartialDepthEvent) + type WsTradeEvent struct + BuyerOrderID int64 + Event string + IsBuyerMaker bool + Placeholder bool + Price string + Quantity string + SellerOrderID int64 + Symbol string + Time int64 + TradeID int64 + TradeTime int64 + type WsTradeHandler func(event *WsTradeEvent) + type WsUserDataEvent struct + AccountUpdate WsAccountUpdateList + BalanceUpdate WsBalanceUpdate + Event UserDataEventType + OCOUpdate WsOCOUpdate + OrderUpdate WsOrderUpdate + Time int64 + type WsUserDataHandler func(event *WsUserDataEvent) Other modules containing this package github.com/crazy-choose/bn_sdk_go/v2