Versions in this module Expand all Collapse all v0 v0.0.2 Nov 20, 2024 Changes in this version + const ACK + const FULL + const Name + const QuerySubAccountTransactionTatisticsEndpoint + const RESULT + const UserDelegationHistoryEndpoint + const Version + var WebsocketAPIKeepalive = true + var WebsocketAPITimeout = time.Second * 60 + var WebsocketKeepalive = false + var WebsocketTimeout = time.Second * 60 + func FormatTimestamp(t time.Time) int64 + func PrettyPrint(i interface{}) string + type APIKeyPermissionResponse struct + CreateTime uint64 + EnableFixApiTrade bool + EnableFixReadOnly bool + EnableFutures bool + EnableInternalTransfer bool + EnableMargin bool + EnablePortfolioMarginTrading bool + EnableReading bool + EnableSpotAndMarginTrading bool + EnableVanillaOptions bool + EnableWithdrawals bool + IPRestrict bool + PermitsUniversalTransfer bool + type APIKeyPermissionService struct + func (s *APIKeyPermissionService) Do(ctx context.Context) (res *APIKeyPermissionResponse, err error) + type AccountApiTradingStatusResponse struct + Data struct{ ... } + type AccountApiTradingStatusService struct + func (s *AccountApiTradingStatusService) Do(ctx context.Context) (res *AccountApiTradingStatusResponse, err error) + type AccountInfoResponse struct + IsFutureEnabled bool + IsMarginEnabled bool + IsOptionsEnabled bool + IsPortfolioMarginRetailEnabled bool + VipLevel int + type AccountInfoService struct + func (s *AccountInfoService) Do(ctx context.Context) (res *AccountInfoResponse, err error) + type AccountInformation struct + AccountType string + Balances []WsBalance + Brokered bool + BuyerCommission int + CanDeposit bool + CanTrade bool + CanWithdraw bool + CommissionRates WsCommissionRates + MakerCommission int + Permissions []string + RequireSelfTradePrevention bool + SellerCommission int + TakerCommission int + UpdateTime int64 + type AccountInformationResponse struct + Error *WsAPIErrorResponse + ID string + RateLimits []*WsAPIRateLimit + Result AccountInformation + Status int + type AccountInformationService struct + func (s *AccountInformationService) Do(ctx context.Context) (*AccountInformationResponse, error) + func (s *AccountInformationService) RecvWindow(recvWindow int64) *AccountInformationService + type AccountOCOHistoryResponse struct + Error *WsAPIErrorResponse + ID string + RateLimits []*WsAPIRateLimit + Result []*OCOOrder + Status int + type AccountOCOHistoryService struct + func (s *AccountOCOHistoryService) Do(ctx context.Context) (*AccountOCOHistoryResponse, error) + func (s *AccountOCOHistoryService) EndTime(endTime uint64) *AccountOCOHistoryService + func (s *AccountOCOHistoryService) FromID(fromID int64) *AccountOCOHistoryService + func (s *AccountOCOHistoryService) Limit(limit int) *AccountOCOHistoryService + func (s *AccountOCOHistoryService) RecvWindow(recvWindow int64) *AccountOCOHistoryService + func (s *AccountOCOHistoryService) StartTime(startTime uint64) *AccountOCOHistoryService + type AccountOrderBookResponse struct + type AccountOrderHistoryResponse struct + Error *WsAPIErrorResponse + ID string + RateLimits []*WsAPIRateLimit + Result []*OrderHistoryItem + Status int + type AccountOrderHistoryService struct + func (s *AccountOrderHistoryService) Do(ctx context.Context) (*AccountOrderHistoryResponse, error) + func (s *AccountOrderHistoryService) EndTime(endTime uint64) *AccountOrderHistoryService + func (s *AccountOrderHistoryService) Limit(limit int) *AccountOrderHistoryService + func (s *AccountOrderHistoryService) OrderId(orderId string) *AccountOrderHistoryService + func (s *AccountOrderHistoryService) RecvWindow(recvWindow int64) *AccountOrderHistoryService + func (s *AccountOrderHistoryService) StartTime(startTime uint64) *AccountOrderHistoryService + func (s *AccountOrderHistoryService) Symbol(symbol string) *AccountOrderHistoryService + type AccountOrderRateLimit struct + Count int + Interval string + IntervalNum int + Limit int + RateLimitType string + type AccountOrderRateLimitsResponse struct + Error *WsAPIErrorResponse + ID string + RateLimits []*WsAPIRateLimit + Result []*AccountOrderRateLimit + Status int + type AccountOrderRateLimitsService struct + func (s *AccountOrderRateLimitsService) Do(ctx context.Context) (*AccountOrderRateLimitsResponse, error) + func (s *AccountOrderRateLimitsService) RecvWindow(recvWindow int64) *AccountOrderRateLimitsService + type AccountPreventedMatchesResponse struct + Error *WsAPIErrorResponse + ID string + RateLimits []*WsAPIRateLimit + Result []*PreventedMatch + Status int + type AccountPreventedMatchesService struct + func (s *AccountPreventedMatchesService) Do(ctx context.Context) (*AccountPreventedMatchesResponse, error) + func (s *AccountPreventedMatchesService) RecvWindow(recvWindow int64) *AccountPreventedMatchesService + type AccountResponse struct + AccountType string + Balances []Balance + BuyerCommission int64 + CanDeposit bool + CanTrade bool + CanWithdraw bool + MakerCommission int64 + Permissions []string + SellerCommission int64 + TakerCommission int64 + UpdateTime uint64 + type AccountSnapshotResponse struct + Code int + Msg string + SnapshotVos []struct{ ... } + type AccountStatusResponse struct + Data string + type AccountStatusService struct + func (s *AccountStatusService) Do(ctx context.Context) (res *AccountStatusResponse, err error) + type AccountTradeHistoryResponse struct + Error *WsAPIErrorResponse + ID string + RateLimits []*WsAPIRateLimit + Result []*TradeHistoryItem + Status int + type AccountTradeHistoryService struct + func (s *AccountTradeHistoryService) Do(ctx context.Context) (*AccountTradeHistoryResponse, error) + func (s *AccountTradeHistoryService) EndTime(endTime int64) *AccountTradeHistoryService + func (s *AccountTradeHistoryService) FromID(fromID int64) *AccountTradeHistoryService + func (s *AccountTradeHistoryService) Limit(limit int) *AccountTradeHistoryService + func (s *AccountTradeHistoryService) RecvWindow(recvWindow int64) *AccountTradeHistoryService + func (s *AccountTradeHistoryService) StartTime(startTime int64) *AccountTradeHistoryService + func (s *AccountTradeHistoryService) Symbol(symbol string) *AccountTradeHistoryService + type AccountTradeListResponse struct + Commission string + CommissionAsset string + Id int64 + IsBestMatch bool + IsBuyer bool + IsMaker bool + OrderId int64 + OrderListId int64 + Price string + Quantity string + QuoteQuantity string + Symbol string + Time uint64 + type AggTradesList struct + func (s *AggTradesList) Do(ctx context.Context, opts ...RequestOption) (res []*AggTradesListResponse, err error) + func (s *AggTradesList) EndTime(endTime uint64) *AggTradesList + func (s *AggTradesList) FromId(fromId int) *AggTradesList + func (s *AggTradesList) Limit(limit int) *AggTradesList + func (s *AggTradesList) StartTime(startTime uint64) *AggTradesList + func (s *AggTradesList) Symbol(symbol string) *AggTradesList + type AggTradesListResponse struct + AggTradeId uint64 + FirstTradeId uint64 + IsBest bool + IsBuyer bool + LastTradeId uint64 + Price string + Qty string + Time uint64 + type AggregateTradeData struct + AggregateTradeID int64 + FirstTradeID int64 + IsBestMatch bool + IsBuyerMaker bool + LastTradeID int64 + Price string + Quantity string + Timestamp int64 + type AggregateTradesResponse struct + Error *WsAPIErrorResponse + ID string + RateLimits []*WsAPIRateLimit + Result []*AggregateTradeData + Status int + type AggregateTradesService struct + func (s *AggregateTradesService) Do(ctx context.Context) (*AggregateTradesResponse, error) + func (s *AggregateTradesService) EndTime(endTime uint64) *AggregateTradesService + func (s *AggregateTradesService) FromId(fromId int64) *AggregateTradesService + func (s *AggregateTradesService) Limit(limit int) *AggregateTradesService + func (s *AggregateTradesService) StartTime(startTime uint64) *AggregateTradesService + func (s *AggregateTradesService) Symbol(symbol string) *AggregateTradesService + type AllIsolatedMarginSymbolService struct + func (s *AllIsolatedMarginSymbolService) Do(ctx context.Context, opts ...RequestOption) (res []*MarginIsolatedSymbolResponse, err error) + type Ask = PriceLevel + type AssetDetailResponse struct + Details []struct{ ... } + DribbletPercentage string + TotalTransferBnb string + TotalTransferBtc string + type AssetDetailService struct + func (s *AssetDetailService) AccountType(accountType string) *AssetDetailService + func (s *AssetDetailService) Do(ctx context.Context) (res *AssetDetailResponse, err error) + type AssetDetailV2Response struct + AssetDetail struct{ ... } + type AssetDetailV2Service struct + func (s *AssetDetailV2Service) Asset(asset string) *AssetDetailV2Service + func (s *AssetDetailV2Service) Do(ctx context.Context) (res *AssetDetailV2Response, err error) + type AssetDividendRecordResponse struct + Rows []struct{ ... } + Total int64 + type AssetDividendRecordService struct + func (s *AssetDividendRecordService) Asset(asset string) *AssetDividendRecordService + func (s *AssetDividendRecordService) Do(ctx context.Context) (res *AssetDividendRecordResponse, err error) + func (s *AssetDividendRecordService) EndTime(endTime uint64) *AssetDividendRecordService + func (s *AssetDividendRecordService) Limit(limit int) *AssetDividendRecordService + func (s *AssetDividendRecordService) StartTime(startTime uint64) *AssetDividendRecordService + type AvgPrice struct + func (s *AvgPrice) Do(ctx context.Context, opts ...RequestOption) (res *AvgPriceResponse, err error) + func (s *AvgPrice) Symbol(symbol string) *AvgPrice + type AvgPriceResponse struct + Mins uint64 + Price string + type AvgPriceResult struct + Mins int64 + Price string + type AvgPriceService struct + func (s *AvgPriceService) Do(ctx context.Context) (*WsAPIAvgPriceResponse, error) + func (s *AvgPriceService) Symbol(symbol string) *AvgPriceService + type BUSDConvertHistoryResponse struct + Rows []struct{ ... } + Total int32 + type BUSDConvertHistoryService struct + func (s *BUSDConvertHistoryService) AccountType(accountType string) *BUSDConvertHistoryService + func (s *BUSDConvertHistoryService) Asset(asset string) *BUSDConvertHistoryService + func (s *BUSDConvertHistoryService) ClientTranId(clientTranId string) *BUSDConvertHistoryService + func (s *BUSDConvertHistoryService) Current(current int) *BUSDConvertHistoryService + func (s *BUSDConvertHistoryService) Do(ctx context.Context) (res *BUSDConvertHistoryResponse, err error) + func (s *BUSDConvertHistoryService) EndTime(endTime uint64) *BUSDConvertHistoryService + func (s *BUSDConvertHistoryService) Size(size int) *BUSDConvertHistoryService + func (s *BUSDConvertHistoryService) StartTime(startTime uint64) *BUSDConvertHistoryService + func (s *BUSDConvertHistoryService) TranId(tranId int64) *BUSDConvertHistoryService + type Balance struct + Asset string + Free string + Locked string + type Bid = PriceLevel + type BookTickerData struct + AskPrice string + AskQty string + BidPrice string + BidQty string + type CancelOCOService struct + func (s *CancelOCOService) Do(ctx context.Context, opts ...RequestOption) (res *OrderOCOResponse, err error) + func (s *CancelOCOService) ListClientOrderId(ListClientOrderId string) *CancelOCOService + func (s *CancelOCOService) NewClientOrderId(newClientOrderId string) *CancelOCOService + func (s *CancelOCOService) OrderListId(orderListId int) *CancelOCOService + func (s *CancelOCOService) Symbol(symbol string) *CancelOCOService + type CancelOpenOrdersService struct + func (s *CancelOpenOrdersService) Do(ctx context.Context, opts ...RequestOption) (res []*CancelOrderResponse, err error) + func (s *CancelOpenOrdersService) Symbol(symbol string) *CancelOpenOrdersService + type CancelOrderResponse struct + ClientOrderId string + CummulativeQuoteQty string + ExecutedQty string + IcebergQty string + OrderId int64 + OrderListId int64 + OrigClientOrderId string + OrigQty string + PreventedMatchId int64 + PreventedQuantity string + Price string + SelfTradePrevention string + Side string + Status string + StopPrice string + StrategyId int64 + StrategyType int64 + Symbol string + TimeInForce string + TrailingDelta string + TrailingTime int64 + Type string + type CancelOrderService struct + func (s *CancelOrderService) CancelRestrictions(cancelRestrictions string) *CancelOrderService + 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 CancelReplaceResponse struct + CancelResponse ... + CancelResult string + Code int64 + Data ... + Msg string + NewOrderResponse ... + NewOrderResult string + type CancelReplaceService struct + func (s *CancelReplaceService) CancelNewClientOrderId(cancelNewClientOrderId string) *CancelReplaceService + func (s *CancelReplaceService) CancelOrderId(cancelOrderId int64) *CancelReplaceService + func (s *CancelReplaceService) CancelOrigClientOrderId(cancelOrigClientOrderId string) *CancelReplaceService + func (s *CancelReplaceService) CancelReplaceMode(cancelReplaceMode string) *CancelReplaceService + func (s *CancelReplaceService) CancelRestrictions(cancelRestrictions string) *CancelReplaceService + func (s *CancelReplaceService) Do(ctx context.Context, opts ...RequestOption) (res *CancelReplaceResponse, err error) + func (s *CancelReplaceService) IcebergQty(icebergQty float64) *CancelReplaceService + func (s *CancelReplaceService) NewClientOrderId(newClientOrderId string) *CancelReplaceService + func (s *CancelReplaceService) NewOrderRespType(newOrderRespType string) *CancelReplaceService + func (s *CancelReplaceService) OrderType(orderType string) *CancelReplaceService + func (s *CancelReplaceService) Price(price float64) *CancelReplaceService + func (s *CancelReplaceService) Quantity(quantity float64) *CancelReplaceService + func (s *CancelReplaceService) QuoteOrderQty(quoteOrderQty float64) *CancelReplaceService + func (s *CancelReplaceService) SelfTradePreventionMode(selfTradePreventionMode string) *CancelReplaceService + func (s *CancelReplaceService) Side(side string) *CancelReplaceService + func (s *CancelReplaceService) StopPrice(stopPrice float64) *CancelReplaceService + func (s *CancelReplaceService) StrategyId(strategyId int32) *CancelReplaceService + func (s *CancelReplaceService) StrategyType(strategyType int32) *CancelReplaceService + func (s *CancelReplaceService) Symbol(symbol string) *CancelReplaceService + func (s *CancelReplaceService) TimeInForce(timeInForce string) *CancelReplaceService + func (s *CancelReplaceService) TrailingDelta(trailingDelta int64) *CancelReplaceService + type CheckServerTimeResponse struct + Error *WsAPIErrorResponse + ID string + RateLimits WsAPIRateLimit + Result struct{ ... } + Status int + type CheckServerTimeService struct + func (s *CheckServerTimeService) Do(ctx context.Context) (*CheckServerTimeResponse, error) + type Client struct + APIKey string + BaseURL string + Debug bool + HTTPClient *http.Client + Logger *log.Logger + SecretKey string + TimeOffset int64 + func NewClient(apiKey string, secretKey string, baseURL ...string) *Client + func (c *Client) NewAPIKeyPermissionService() *APIKeyPermissionService + func (c *Client) NewAccountApiTradingStatusService() *AccountApiTradingStatusService + func (c *Client) NewAccountInfoService() *AccountInfoService + func (c *Client) NewAccountStatusService() *AccountStatusService + func (c *Client) NewAggTradesListService() *AggTradesList + func (c *Client) NewAllIsolatedMarginSymbolService() *AllIsolatedMarginSymbolService + func (c *Client) NewAssetDetailService() *AssetDetailService + func (c *Client) NewAssetDetailV2Service() *AssetDetailV2Service + func (c *Client) NewAssetDividendRecordService() *AssetDividendRecordService + func (c *Client) NewAvgPriceService() *AvgPrice + func (c *Client) NewBUSDConvertHistoryService() *BUSDConvertHistoryService + func (c *Client) NewCancelOCOService() *CancelOCOService + func (c *Client) NewCancelOpenOrdersService() *CancelOpenOrdersService + func (c *Client) NewCancelOrderService() *CancelOrderService + func (c *Client) NewCancelReplaceService() *CancelReplaceService + func (c *Client) NewCloseUserStream() *CloseUserStream + func (c *Client) NewCloudMiningPaymentHistoryService() *CloudMiningPaymentHistoryService + func (c *Client) NewCreateListenKeyService() *CreateListenKey + func (c *Client) NewCreateOrderService() *CreateOrderService + func (c *Client) NewCreateSubAccountService() *CreateSubAccountService + func (c *Client) NewCrossMarginAccountDetailService() *CrossMarginAccountDetailService + func (c *Client) NewCrossMarginTransferHistoryService() *CrossMarginTransferHistoryService + func (c *Client) NewDeleteIPListForSubAccountAPIKeyService() *DeleteIPListForSubAccountAPIKeyService + func (c *Client) NewDepositAddressListService() *DepositAddressListService + func (c *Client) NewDepositAddressService() *DepositAddressService + func (c *Client) NewDepositAssetsIntoManagedSubAccountService() *DepositAssetsIntoTheManagedSubAccountService + func (c *Client) NewDepositHistoryService() *DepositHistoryService + func (c *Client) NewDisableFastWithdrawSwitchService() *DisableFastWithdrawSwitchService + func (c *Client) NewDustLogService() *DustLogService + func (c *Client) NewDustTransferService() *DustTransferService + func (c *Client) NewEnableFastWithdrawSwitchService() *EnableFastWithdrawSwitchService + func (c *Client) NewEnableFuturesForSubAccountService() *EnableFuturesForSubAccountService + func (c *Client) NewEnableLeverageTokenForSubAccountService() *EnableLeverageTokenForSubAccountService + func (c *Client) NewEnableMarginForSubAccountService() *EnableMarginForSubAccountService + func (c *Client) NewExchangeInfoService() *ExchangeInfo + func (c *Client) NewForceLiquidationRecordService() *ForceLiquidationRecordService + func (c *Client) NewFundingWalletService() *FundingWalletService + func (c *Client) NewFuturesTransferForSubAccountService() *FuturesTransferForSubAccountService + func (c *Client) NewGetAccountService() *GetAccountService + func (c *Client) NewGetAccountSnapshotService() *GetAccountSnapshotService + func (c *Client) NewGetAllCoinsInfoService() *GetAllCoinsInfoService + func (c *Client) NewGetAllMarginAssetsService() *GetAllMarginAssetsService + func (c *Client) NewGetAllMarginPairsService() *GetAllMarginPairsService + func (c *Client) NewGetAllOrdersService() *GetAllOrdersService + func (c *Client) NewGetC2CTradeHistoryService() *GetC2CTradeHistoryService + func (c *Client) NewGetDetailOnSubAccountFuturesAccountService() *GetDetailOnSubAccountFuturesAccountService + func (c *Client) NewGetDetailOnSubAccountFuturesAccountV2Service() *GetDetailOnSubAccountFuturesAccountV2Service + func (c *Client) NewGetDetailOnSubAccountMarginAccountService() *GetDetailOnSubAccountMarginAccountService + func (c *Client) NewGetFiatDepositWithdrawHistoryService() *GetFiatDepositWithdrawHistoryService + func (c *Client) NewGetFiatPaymentHistoryService() *GetFiatPaymentHistoryService + func (c *Client) NewGetFuturesPositionRiskOfSubAccountService() *GetFuturesPositionRiskOfSubAccountService + func (c *Client) NewGetFuturesPositionRiskOfSubAccountV2Service() *GetFuturesPositionRiskOfSubAccountV2Service + func (c *Client) NewGetIPRestrictionForSubAccountAPIKeyService() *GetIPRestrictionForSubAccountAPIKeyService + func (c *Client) NewGetManagedSubAccountDepositAddressService() *GetManagedSubAccountDepositAddressService + func (c *Client) NewGetMyTradesService() *GetMyTradesService + func (c *Client) NewGetOpenOrdersService() *GetOpenOrdersService + func (c *Client) NewGetOrderService() *GetOrderService + func (c *Client) NewGetQueryCurrentOrderCountUsageService() *GetQueryCurrentOrderCountUsageService + func (c *Client) NewGetQueryPreventedMatchesService() *GetQueryPreventedMatchesService + func (c *Client) NewGetSubAccountDepositAddressService() *GetSubAccountDepositAddressService + func (c *Client) NewGetSubAccountDepositHistoryService() *GetSubAccountDepositHistoryService + func (c *Client) NewGetSubAccountStatusService() *GetSubAccountStatusService + func (c *Client) NewGetSummaryOfSubAccountFuturesAccountService() *GetSummaryOfSubAccountFuturesAccountService + func (c *Client) NewGetSummaryOfSubAccountFuturesAccountV2Service() *GetSummaryOfSubAccountFuturesAccountV2Service + func (c *Client) NewGetSummaryOfSubAccountMarginAccountService() *GetSummaryOfSubAccountMarginAccountService + func (c *Client) NewGetSymbolsDelistScheduleService() *GetSymbolsDelistScheduleService + func (c *Client) NewGetSystemStatusService() *GetSystemStatusService + func (c *Client) NewHistoricalTradeLookupService() *HistoricalTradeLookup + func (c *Client) NewInterestHistoryService() *InterestHistoryService + func (c *Client) NewKlinesService() *Klines + func (c *Client) NewMarginAccountAdjustCrossMaxLeverageService() *MarginAccountAdjustCrossMaxLeverageService + func (c *Client) NewMarginAccountAllOrderService() *MarginAccountAllOrderService + func (c *Client) NewMarginAccountCancelAllOrdersService() *MarginAccountCancelAllOrdersService + func (c *Client) NewMarginAccountCancelOCOService() *MarginAccountCancelOCOService + func (c *Client) NewMarginAccountCancelOrderService() *MarginAccountCancelOrderService + func (c *Client) NewMarginAccountNewOCOService() *MarginAccountNewOCOService + func (c *Client) NewMarginAccountNewOTOCOService() *MarginAccountNewOTOCOService + func (c *Client) NewMarginAccountNewOTOService() *MarginAccountNewOTOService + func (c *Client) NewMarginAccountNewOrderService() *MarginAccountNewOrderService + func (c *Client) NewMarginAccountOpenOrderService() *MarginAccountOpenOrderService + func (c *Client) NewMarginAccountOrderService() *MarginAccountOrderService + func (c *Client) NewMarginAccountQueryAllOCOService() *MarginAccountQueryAllOCOService + func (c *Client) NewMarginAccountQueryMaxBorrowService() *MarginAccountQueryMaxBorrowService + func (c *Client) NewMarginAccountQueryMaxTransferOutAmountService() *MarginAccountQueryMaxTransferOutAmountService + func (c *Client) NewMarginAccountQueryOCOService() *MarginAccountQueryOCOService + func (c *Client) NewMarginAccountQueryOpenOCOService() *MarginAccountQueryOpenOCOService + func (c *Client) NewMarginAccountQueryTradeListService() *MarginAccountQueryTradeListService + func (c *Client) NewMarginAccountSummaryService() *MarginAccountSummaryService + func (c *Client) NewMarginBnbBurnStatusService() *MarginBnbBurnStatusService + func (c *Client) NewMarginCrossCollateralRatioService() *MarginCrossCollateralRatioService + func (c *Client) NewMarginCrossMarginFeeService() *MarginCrossMarginFeeService + func (c *Client) NewMarginCurrentOrderCountService() *MarginCurrentOrderCountService + func (c *Client) NewMarginInterestRateHistoryService() *MarginInterestRateHistoryService + func (c *Client) NewMarginIsolatedAccountDisableService() *MarginIsolatedAccountDisableService + func (c *Client) NewMarginIsolatedAccountEnableService() *MarginIsolatedAccountEnableService + func (c *Client) NewMarginIsolatedAccountInfoService() *MarginIsolatedAccountInfoService + func (c *Client) NewMarginIsolatedAccountLimitService() *MarginIsolatedAccountLimitService + func (c *Client) NewMarginIsolatedCapitalFlowService() *MarginIsolatedCapitalFlowService + func (c *Client) NewMarginIsolatedMarginFeeService() *MarginIsolatedMarginFeeService + func (c *Client) NewMarginIsolatedMarginTierService() *MarginIsolatedMarginTierService + func (c *Client) NewMarginManualLiquidationService() *MarginManualLiquidationService + func (c *Client) NewMarginSmallLiabilityExchangeCoinListService() *MarginSmallLiabilityExchangeCoinListService + func (c *Client) NewMarginSmallLiabilityExchangeHistoryService() *MarginSmallLiabilityExchangeHistoryService + func (c *Client) NewMarginSmallLiabilityExchangeService() *MarginSmallLiabilityExchangeService + func (c *Client) NewMarginToggleBnbBurnService() *MarginToggleBnbBurnService + func (c *Client) NewMarginTransferForSubAccountService() *MarginTransferForSubAccountService + func (c *Client) NewNewOCOService() *NewOCOService + func (c *Client) NewOrderBookService() *OrderBook + func (c *Client) NewPingService() *Ping + func (c *Client) NewPingUserStream() *PingUserStream + func (c *Client) NewQueryAllOCOService() *QueryAllOCOService + func (c *Client) NewQueryLiabilityCoinLeverageBracketService() *QueryLiabilityCoinLeverageBracketService + func (c *Client) NewQueryManagedSubAccountAssetDetailsService() *QueryManagedSubAccountAssetDetailsService + func (c *Client) NewQueryManagedSubAccountFuturesAssetDetailsService() *QueryManagedSubAccountFuturesAssetDetailsService + func (c *Client) NewQueryManagedSubAccountList() *QueryManagedSubAccountList + func (c *Client) NewQueryManagedSubAccountMarginAssetDetailsService() *QueryManagedSubAccountMarginAssetDetailsService + func (c *Client) NewQueryManagedSubAccountSnapshotService() *QueryManagedSubAccountSnapshotService + func (c *Client) NewQueryManagedSubAccountTransferLogForTradingTeamService() *QueryManagedSubAccountTransferLogForTradingTeamService + func (c *Client) NewQueryManagedSubAccountTransferLogService() *QueryManagedSubAccountTransferLogService + func (c *Client) NewQueryMarginAvailableInventoryService() *QueryMarginAvailableInventoryService + func (c *Client) NewQueryMarginPriceIndexService() *QueryMarginPriceIndexService + func (c *Client) NewQueryOCOService() *QueryOCOService + func (c *Client) NewQueryOpenOCOService() *QueryOpenOCOService + func (c *Client) NewQuerySubAccountAssetsForMasterAccountService() *QuerySubAccountAssetsForMasterAccountService + func (c *Client) NewQuerySubAccountAssetsService() *QuerySubAccountAssetsService + func (c *Client) NewQuerySubAccountFuturesAssetTransferHistoryService() *QuerySubAccountFuturesAssetTransferHistoryService + func (c *Client) NewQuerySubAccountListService() *QuerySubAccountListService + func (c *Client) NewQuerySubAccountSpotAssetTransferHistoryService() *QuerySubAccountSpotAssetTransferHistoryService + func (c *Client) NewQuerySubAccountSpotAssetsSummaryService() *QuerySubAccountSpotAssetsSummaryService + func (c *Client) NewQuerySubAccountTransactionTatistics() *QuerySubAccountTransactionTatistics + func (c *Client) NewQueryUniversalTransferHistoryService() *QueryUniversalTransferHistoryService + func (c *Client) NewRecentTradesListService() *RecentTradesList + func (c *Client) NewServerTimeService() *ServerTime + func (c *Client) NewSubAccountFuturesAssetTransferService() *SubAccountFuturesAssetTransferService + func (c *Client) NewSubAccountTransferHistoryService() *SubAccountTransferHistoryService + func (c *Client) NewTestNewOrder() *TestNewOrder + func (c *Client) NewTicker24hrService() *Ticker24hr + func (c *Client) NewTickerBookTickerService() *TickerBookTicker + func (c *Client) NewTickerPriceService() *TickerPrice + func (c *Client) NewTickerService() *Ticker + func (c *Client) NewTradeFeeService() *TradeFeeService + func (c *Client) NewTransferToMasterService() *TransferToMasterService + func (c *Client) NewTransferToSubAccountOfSameMasterService() *TransferToSubAccountOfSameMasterService + func (c *Client) NewUIKlinesService() *UiKlines + func (c *Client) NewUniversalTransferService() *UniversalTransferService + func (c *Client) NewUpdateIPRestrictionForSubAccountAPIKeyService() *UpdateIPRestrictionForSubAccountAPIKeyService + func (c *Client) NewUserAssetService() *UserAssetService + func (c *Client) NewUserDelegationHistoryService() *UserDelegationHistoryService + func (c *Client) NewUserUniversalTransferHistoryService() *UserUniversalTransferHistoryService + func (c *Client) NewUserUniversalTransferService() *UserUniversalTransferService + func (c *Client) NewWalletBalanceService() *WalletBalanceService + func (c *Client) NewWithdrawAssetsFromTheManagedSubAccountService() *WithdrawAssetsFromTheManagedSubAccountService + func (c *Client) NewWithdrawHistoryService() *WithdrawHistoryService + func (c *Client) NewWithdrawService() *WithdrawService + type CloseUserStream struct + func (s *CloseUserStream) Do(ctx context.Context, opts ...RequestOption) (err error) + func (s *CloseUserStream) ListenKey(listenKey string) *CloseUserStream + type CloudMiningPaymentHistoryResponse struct + Rows []struct{ ... } + Total int32 + type CloudMiningPaymentHistoryService struct + func (s *CloudMiningPaymentHistoryService) Asset(asset string) *CloudMiningPaymentHistoryService + func (s *CloudMiningPaymentHistoryService) ClientTranId(clientTranId string) *CloudMiningPaymentHistoryService + func (s *CloudMiningPaymentHistoryService) Current(current int) *CloudMiningPaymentHistoryService + func (s *CloudMiningPaymentHistoryService) Do(ctx context.Context) (res *CloudMiningPaymentHistoryResponse, err error) + func (s *CloudMiningPaymentHistoryService) EndTime(endTime uint64) *CloudMiningPaymentHistoryService + func (s *CloudMiningPaymentHistoryService) Size(size int) *CloudMiningPaymentHistoryService + func (s *CloudMiningPaymentHistoryService) StartTime(startTime uint64) *CloudMiningPaymentHistoryService + func (s *CloudMiningPaymentHistoryService) Tranid(tranid int64) *CloudMiningPaymentHistoryService + type CoinInfo struct + Coin string + DepositAllEnable bool + Free string + Freeze string + Ipoable string + Ipoing string + IsLegalMoney bool + Locked string + Name string + NetworkList []struct{ ... } + Storage string + Trading bool + WithdrawAllEnable bool + Withdrawing string + type CreateListenKey struct + func (s *CreateListenKey) Do(ctx context.Context, opts ...RequestOption) (listenKey string, err error) + type CreateOrderResponseACK struct + ClientOrderId string + OrderId int64 + OrderListId int64 + Symbol string + TransactTime uint64 + type CreateOrderResponseFULL struct + ClientOrderId string + CummulativeQuoteQty string + ExecutedQty string + Fills []struct{ ... } + IcebergQty string + OrderId int64 + OrderListId int64 + OrigQty string + PreventedMatchId int64 + PreventedQuantity string + Price string + SelfTradePreventionMode string + Side string + Status string + StopPrice string + StrategyId int64 + StrategyType int64 + Symbol string + TimeInForce string + TrailingDelta string + TrailingTime int64 + TransactTime uint64 + Type string + WorkingTime uint64 + type CreateOrderResponseRESULT struct + ClientOrderId string + CummulativeQuoteQty string + ExecutedQty string + IcebergQty string + OrderId int64 + OrderListId int64 + OrigQty string + PreventedMatchId int64 + PreventedQuantity string + Price string + SelfTradePreventionMode string + Side string + Status string + StopPrice string + StrategyId int64 + StrategyType int64 + Symbol string + TimeInForce string + TrailingDelta string + TrailingTime int64 + TransactTime uint64 + Type string + WorkingTime uint64 + type CreateOrderService struct + func (s *CreateOrderService) Do(ctx context.Context, opts ...RequestOption) (res interface{}, err error) + func (s *CreateOrderService) IcebergQuantity(icebergQty float64) *CreateOrderService + func (s *CreateOrderService) NewClientOrderId(newClientOrderId string) *CreateOrderService + func (s *CreateOrderService) NewOrderRespType(newOrderRespType string) *CreateOrderService + func (s *CreateOrderService) Price(price float64) *CreateOrderService + func (s *CreateOrderService) Quantity(quantity float64) *CreateOrderService + func (s *CreateOrderService) QuoteOrderQty(quoteOrderQty float64) *CreateOrderService + func (s *CreateOrderService) SelfTradePreventionMode(selfTradePreventionMode string) *CreateOrderService + func (s *CreateOrderService) Side(side string) *CreateOrderService + func (s *CreateOrderService) StopPrice(stopPrice float64) *CreateOrderService + func (s *CreateOrderService) StrategyId(strategyId int) *CreateOrderService + func (s *CreateOrderService) StrategyType(strategyType int) *CreateOrderService + func (s *CreateOrderService) Symbol(symbol string) *CreateOrderService + func (s *CreateOrderService) TimeInForce(timeInForce string) *CreateOrderService + func (s *CreateOrderService) TrailingDelta(trailingDelta int) *CreateOrderService + func (s *CreateOrderService) Type(orderType string) *CreateOrderService + type CreateSubAccountResp struct + Email string + type CreateSubAccountService struct + func (s *CreateSubAccountService) Do(ctx context.Context, opts ...RequestOption) (res *CreateSubAccountResp, err error) + func (s *CreateSubAccountService) SubAccountString(subAccountString string) *CreateSubAccountService + type CrossMarginAccountDetailResponse 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 []struct{ ... } + type CrossMarginAccountDetailService struct + func (s *CrossMarginAccountDetailService) Do(ctx context.Context, opts ...RequestOption) (res *CrossMarginAccountDetailResponse, err error) + type CrossMarginTransferHistoryResponse struct + Rows []struct{ ... } + Total int + type CrossMarginTransferHistoryService struct + func (s *CrossMarginTransferHistoryService) Archived(archived string) *CrossMarginTransferHistoryService + func (s *CrossMarginTransferHistoryService) Asset(asset string) *CrossMarginTransferHistoryService + func (s *CrossMarginTransferHistoryService) Current(current int) *CrossMarginTransferHistoryService + func (s *CrossMarginTransferHistoryService) Do(ctx context.Context, opts ...RequestOption) (res *CrossMarginTransferHistoryResponse, err error) + func (s *CrossMarginTransferHistoryService) EndTime(endTime uint64) *CrossMarginTransferHistoryService + func (s *CrossMarginTransferHistoryService) OrderType(orderType string) *CrossMarginTransferHistoryService + func (s *CrossMarginTransferHistoryService) Size(size int) *CrossMarginTransferHistoryService + func (s *CrossMarginTransferHistoryService) StartTime(startTime uint64) *CrossMarginTransferHistoryService + type DeleteIPListForSubAccountAPIKeyResp struct + ApiKey string + IpList []struct{ ... } + IpRestrict string + UpdateTime uint64 + type DeleteIPListForSubAccountAPIKeyService struct + func (s *DeleteIPListForSubAccountAPIKeyService) Do(ctx context.Context, opts ...RequestOption) (res *DeleteIPListForSubAccountAPIKeyResp, err error) + func (s *DeleteIPListForSubAccountAPIKeyService) Email(email string) *DeleteIPListForSubAccountAPIKeyService + func (s *DeleteIPListForSubAccountAPIKeyService) IpAddress(ipAddress string) *DeleteIPListForSubAccountAPIKeyService + func (s *DeleteIPListForSubAccountAPIKeyService) SubAccountApiKey(subAccountApiKey string) *DeleteIPListForSubAccountAPIKeyService + type DepositAddressListResponse struct + Address string + Coin string + IsDefault int32 + Tag string + type DepositAddressListService struct + func (s *DepositAddressListService) Coin(coin string) *DepositAddressListService + func (s *DepositAddressListService) Do(ctx context.Context) (res []*DepositAddressListResponse, err error) + func (s *DepositAddressListService) Network(network string) *DepositAddressListService + type DepositAddressResponse struct + Address string + Coin string + Tag string + Url string + type DepositAddressService struct + func (s *DepositAddressService) Amount(amount float64) *DepositAddressService + func (s *DepositAddressService) Coin(coin string) *DepositAddressService + func (s *DepositAddressService) Do(ctx context.Context) (res *DepositAddressResponse, err error) + func (s *DepositAddressService) Network(network string) *DepositAddressService + type DepositAssetsIntoTheManagedSubAccountResp struct + TranId int64 + type DepositAssetsIntoTheManagedSubAccountService struct + func (s *DepositAssetsIntoTheManagedSubAccountService) Amount(amount float64) *DepositAssetsIntoTheManagedSubAccountService + func (s *DepositAssetsIntoTheManagedSubAccountService) Asset(asset string) *DepositAssetsIntoTheManagedSubAccountService + func (s *DepositAssetsIntoTheManagedSubAccountService) Do(ctx context.Context, opts ...RequestOption) (res *DepositAssetsIntoTheManagedSubAccountResp, err error) + func (s *DepositAssetsIntoTheManagedSubAccountService) ToEmail(toEmail string) *DepositAssetsIntoTheManagedSubAccountService + type DepositHistoryResponse struct + Address string + AddressTag string + Amount string + Coin string + ConfirmTimes string + Id string + InsertTime uint64 + Network string + Status int + TransferType int + TxId string + UnlockConfirm int + WalletType int + type DepositHistoryService struct + func (s *DepositHistoryService) Coin(coin string) *DepositHistoryService + func (s *DepositHistoryService) Do(ctx context.Context) (res []*DepositHistoryResponse, err error) + func (s *DepositHistoryService) EndTime(endTime uint64) *DepositHistoryService + func (s *DepositHistoryService) Limit(limit int) *DepositHistoryService + func (s *DepositHistoryService) Offset(offset int) *DepositHistoryService + func (s *DepositHistoryService) StartTime(startTime uint64) *DepositHistoryService + func (s *DepositHistoryService) Status(status int) *DepositHistoryService + func (s *DepositHistoryService) TxId(txid string) *DepositHistoryService + type DepthResponse struct + Error *WsAPIErrorResponse + ID string + RateLimits []*WsAPIRateLimit + Result *DepthResult + Status int + type DepthResult struct + Asks [][]string + Bids [][]string + LastUpdateID int64 + type DepthService struct + func (s *DepthService) Do(ctx context.Context) (*DepthResponse, error) + func (s *DepthService) Limit(limit int) *DepthService + func (s *DepthService) Symbol(symbol string) *DepthService + type DisableFastWithdrawSwitchResponse struct + type DisableFastWithdrawSwitchService struct + func (s *DisableFastWithdrawSwitchService) Do(ctx context.Context) (res *DisableFastWithdrawSwitchResponse, err error) + type DustLogResponse struct + Total int + UserAssetDribblets []struct{ ... } + type DustLogService struct + func (s *DustLogService) Do(ctx context.Context) (res *DustLogResponse, err error) + func (s *DustLogService) EndTime(endTime uint64) *DustLogService + func (s *DustLogService) StartTime(startTime uint64) *DustLogService + 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) (res *DustTransferResponse, err error) + type EnableFastWithdrawSwitchResponse struct + type EnableFastWithdrawSwitchService struct + func (s *EnableFastWithdrawSwitchService) Do(ctx context.Context) (res *EnableFastWithdrawSwitchResponse, err error) + type EnableFuturesForSubAccountResp struct + Email string + IsFuturesEnabled bool + type EnableFuturesForSubAccountService struct + func (s *EnableFuturesForSubAccountService) Do(ctx context.Context, opts ...RequestOption) (res *EnableFuturesForSubAccountResp, err error) + func (s *EnableFuturesForSubAccountService) Email(email string) *EnableFuturesForSubAccountService + type EnableLeverageTokenForSubAccountResp struct + Email string + EnableBlvt bool + type EnableLeverageTokenForSubAccountService struct + func (s *EnableLeverageTokenForSubAccountService) Do(ctx context.Context, opts ...RequestOption) (res *EnableLeverageTokenForSubAccountResp, err error) + func (s *EnableLeverageTokenForSubAccountService) Email(email string) *EnableLeverageTokenForSubAccountService + func (s *EnableLeverageTokenForSubAccountService) EnableBlvt(enableBlvt bool) *EnableLeverageTokenForSubAccountService + type EnableMarginForSubAccountResp struct + Email string + IsMarginEnabled bool + type EnableMarginForSubAccountService struct + func (s *EnableMarginForSubAccountService) Do(ctx context.Context, opts ...RequestOption) (res *EnableMarginForSubAccountResp, err error) + func (s *EnableMarginForSubAccountService) Email(email string) *EnableMarginForSubAccountService + type ErrHandler func(err error) + type ExchangeFilter struct + FilterType string + MaxNumAlgo int64 + type ExchangeInfo struct + func (s *ExchangeInfo) Do(ctx context.Context, opts ...RequestOption) (res *ExchangeInfoResponse, err error) + func (s *ExchangeInfo) Permissions(permissions string) *ExchangeInfo + func (s *ExchangeInfo) ShowPermissionSets(showPermissionSets bool) *ExchangeInfo + func (s *ExchangeInfo) Symbol(symbol string) *ExchangeInfo + func (s *ExchangeInfo) SymbolStatus(symbolStatus string) *ExchangeInfo + func (s *ExchangeInfo) Symbols(symbols []string) *ExchangeInfo + type ExchangeInfoResponse struct + ExchangeFilters []*ExchangeFilter + RateLimits []*RateLimit + ServerTime uint64 + Symbols []*SymbolInfo + Timezone string + type ExchangeInformationResponse struct + Error *WsAPIErrorResponse + ID string + RateLimits []*WsAPIRateLimit + Result json.RawMessage + Status int + type ExchangeInformationService struct + func (s *ExchangeInformationService) Do(ctx context.Context) (*ExchangeInformationResponse, error) + func (s *ExchangeInformationService) Permissions(permissions []string) *ExchangeInformationService + func (s *ExchangeInformationService) Symbol(symbol string) *ExchangeInformationService + func (s *ExchangeInformationService) Symbols(symbols []string) *ExchangeInformationService + type Fill struct + Commission string + CommissionAsset string + Price string + Qty string + TradeID int64 + type ForceLiquidationRecordResponse struct + Rows []struct{ ... } + Total int + type ForceLiquidationRecordService struct + func (s *ForceLiquidationRecordService) Current(current int) *ForceLiquidationRecordService + func (s *ForceLiquidationRecordService) Do(ctx context.Context, opts ...RequestOption) (res *ForceLiquidationRecordResponse, err error) + func (s *ForceLiquidationRecordService) EndTime(endTime uint64) *ForceLiquidationRecordService + func (s *ForceLiquidationRecordService) IsolatedSymbol(isolatedSymbol string) *ForceLiquidationRecordService + func (s *ForceLiquidationRecordService) Size(size int) *ForceLiquidationRecordService + func (s *ForceLiquidationRecordService) StartTime(startTime uint64) *ForceLiquidationRecordService + type FundingWalletResponse struct + Asset string + BtcValuation string + Free string + Freeze string + Locked string + Withdrawing string + type FundingWalletService struct + func (s *FundingWalletService) Asset(asset string) *FundingWalletService + func (s *FundingWalletService) Do(ctx context.Context) (res []*FundingWalletResponse, err error) + func (s *FundingWalletService) NeedBtcValuation(needBtcValuation string) *FundingWalletService + type FuturesTransferForSubAccountResp struct + TxnId int + type FuturesTransferForSubAccountService struct + func (s *FuturesTransferForSubAccountService) Amount(amount float64) *FuturesTransferForSubAccountService + func (s *FuturesTransferForSubAccountService) Asset(asset string) *FuturesTransferForSubAccountService + func (s *FuturesTransferForSubAccountService) Do(ctx context.Context, opts ...RequestOption) (res *FuturesTransferForSubAccountResp, err error) + func (s *FuturesTransferForSubAccountService) Email(email string) *FuturesTransferForSubAccountService + func (s *FuturesTransferForSubAccountService) TransferType(transferType int) *FuturesTransferForSubAccountService + type GetAccountService struct + func (s *GetAccountService) Do(ctx context.Context, opts ...RequestOption) (res *AccountResponse, err error) + type GetAccountSnapshotService struct + func (s *GetAccountSnapshotService) Do(ctx context.Context) (res *AccountSnapshotResponse, err error) + func (s *GetAccountSnapshotService) EndTime(endTime uint64) *GetAccountSnapshotService + func (s *GetAccountSnapshotService) Limit(limit int) *GetAccountSnapshotService + func (s *GetAccountSnapshotService) MarketType(marketType string) *GetAccountSnapshotService + func (s *GetAccountSnapshotService) StartTime(startTime uint64) *GetAccountSnapshotService + type GetAllCoinsInfoService struct + func (s *GetAllCoinsInfoService) Do(ctx context.Context) (res []*CoinInfo, err error) + type GetAllMarginAssetsResponse struct + Asset string + AssetFullName string + AssetName string + IsBorrowable bool + IsMortgageable bool + MaxLoanAmt string + MaxMortgageAmt string + MinLoanAmt string + MinMortgageAmt string + type GetAllMarginAssetsService struct + func (s *GetAllMarginAssetsService) Do(ctx context.Context, opts ...RequestOption) (res []*GetAllMarginAssetsResponse, err error) + type GetAllMarginPairsResponse struct + Base string + Id int + IsBuyAllowed bool + IsMarginTrade bool + IsSellAllowed bool + Quote string + Symbol string + type GetAllMarginPairsService struct + func (s *GetAllMarginPairsService) Do(ctx context.Context, opts ...RequestOption) (res []*GetAllMarginPairsResponse, err error) + type GetAllOrdersService struct + func (s *GetAllOrdersService) Do(ctx context.Context, opts ...RequestOption) (res []*NewAllOrdersResponse, err error) + func (s *GetAllOrdersService) EndTime(endTime uint64) *GetAllOrdersService + func (s *GetAllOrdersService) Limit(limit int) *GetAllOrdersService + func (s *GetAllOrdersService) OrderId(orderId int64) *GetAllOrdersService + func (s *GetAllOrdersService) StartTime(startTime uint64) *GetAllOrdersService + func (s *GetAllOrdersService) Symbol(symbol string) *GetAllOrdersService + type GetC2CTradeHistoryResponse struct + Code string + Data []struct{ ... } + Message string + Success bool + Total int64 + type GetC2CTradeHistoryService struct + func (s *GetC2CTradeHistoryService) Do(ctx context.Context) (res *GetC2CTradeHistoryResponse, err error) + func (s *GetC2CTradeHistoryService) EndTimestamp(endTimestamp uint64) *GetC2CTradeHistoryService + func (s *GetC2CTradeHistoryService) Page(page int) *GetC2CTradeHistoryService + func (s *GetC2CTradeHistoryService) RecvWindow(recvWindow uint64) *GetC2CTradeHistoryService + func (s *GetC2CTradeHistoryService) StartTimestamp(startTimestamp uint64) *GetC2CTradeHistoryService + func (s *GetC2CTradeHistoryService) Timestamp(timestamp uint64) *GetC2CTradeHistoryService + func (s *GetC2CTradeHistoryService) TradeType(tradeType string) *GetC2CTradeHistoryService + type GetDetailOnSubAccountFuturesAccountResp struct + Asset string + Assets []struct{ ... } + 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 uint64 + type GetDetailOnSubAccountFuturesAccountService struct + func (s *GetDetailOnSubAccountFuturesAccountService) Do(ctx context.Context, opts ...RequestOption) (res *GetDetailOnSubAccountFuturesAccountResp, err error) + func (s *GetDetailOnSubAccountFuturesAccountService) Email(email string) *GetDetailOnSubAccountFuturesAccountService + type GetDetailOnSubAccountFuturesAccountV2COINResp struct + DeliveryAccountResp struct{ ... } + type GetDetailOnSubAccountFuturesAccountV2Service struct + func (s *GetDetailOnSubAccountFuturesAccountV2Service) Do(ctx context.Context, opts ...RequestOption) (res interface{}, err error) + func (s *GetDetailOnSubAccountFuturesAccountV2Service) Email(email string) *GetDetailOnSubAccountFuturesAccountV2Service + func (s *GetDetailOnSubAccountFuturesAccountV2Service) FuturesType(futuresType int) *GetDetailOnSubAccountFuturesAccountV2Service + type GetDetailOnSubAccountFuturesAccountV2USDTResp struct + FutureAccountResp struct{ ... } + type GetDetailOnSubAccountMarginAccountResp struct + Email string + MarginLevel string + MarginTradeCoeffVo struct{ ... } + MarginUserAssetVoList []struct{ ... } + TotalAssetOfBtc string + TotalLiabilityOfBtc string + TotalNetAssetOfBtc string + type GetDetailOnSubAccountMarginAccountService struct + func (s *GetDetailOnSubAccountMarginAccountService) Do(ctx context.Context, opts ...RequestOption) (res *GetDetailOnSubAccountMarginAccountResp, err error) + func (s *GetDetailOnSubAccountMarginAccountService) Email(email string) *GetDetailOnSubAccountMarginAccountService + type GetFiatDepositWithdrawHistoryResponse struct + Code string + Data []struct{ ... } + Message string + Success bool + Total int64 + type GetFiatDepositWithdrawHistoryService struct + func (s *GetFiatDepositWithdrawHistoryService) BeginTime(beginTime uint64) *GetFiatDepositWithdrawHistoryService + func (s *GetFiatDepositWithdrawHistoryService) Do(ctx context.Context) (res *GetFiatDepositWithdrawHistoryResponse, err error) + func (s *GetFiatDepositWithdrawHistoryService) EndTime(endTime uint64) *GetFiatDepositWithdrawHistoryService + func (s *GetFiatDepositWithdrawHistoryService) Page(page int) *GetFiatDepositWithdrawHistoryService + func (s *GetFiatDepositWithdrawHistoryService) Rows(rows int) *GetFiatDepositWithdrawHistoryService + func (s *GetFiatDepositWithdrawHistoryService) TransactionType(transactionType string) *GetFiatDepositWithdrawHistoryService + type GetFiatPaymentHistoryResponse struct + Code string + Data []struct{ ... } + Message string + Success bool + Total int64 + type GetFiatPaymentHistoryService struct + func (s *GetFiatPaymentHistoryService) BeginTime(beginTime uint64) *GetFiatPaymentHistoryService + func (s *GetFiatPaymentHistoryService) Do(ctx context.Context) (res *GetFiatPaymentHistoryResponse, err error) + func (s *GetFiatPaymentHistoryService) EndTime(endTime uint64) *GetFiatPaymentHistoryService + func (s *GetFiatPaymentHistoryService) Page(page int) *GetFiatPaymentHistoryService + func (s *GetFiatPaymentHistoryService) Rows(rows int) *GetFiatPaymentHistoryService + func (s *GetFiatPaymentHistoryService) TransactionType(transactionType string) *GetFiatPaymentHistoryService + type GetFuturesPositionRiskOfSubAccountResp struct + EntryPrice string + Leverage string + LiquidationPrice string + MarkPrice string + MaxNotional string + PositionAmount string + Symbol string + UnrealizedProfit string + type GetFuturesPositionRiskOfSubAccountService struct + func (s *GetFuturesPositionRiskOfSubAccountService) Do(ctx context.Context, opts ...RequestOption) (res *GetFuturesPositionRiskOfSubAccountResp, err error) + func (s *GetFuturesPositionRiskOfSubAccountService) Email(email string) *GetFuturesPositionRiskOfSubAccountService + type GetFuturesPositionRiskOfSubAccountV2COINResp struct + DeliveryPositionRiskVos []struct{ ... } + type GetFuturesPositionRiskOfSubAccountV2Service struct + func (s *GetFuturesPositionRiskOfSubAccountV2Service) Do(ctx context.Context, opts ...RequestOption) (res interface{}, err error) + func (s *GetFuturesPositionRiskOfSubAccountV2Service) Email(email string) *GetFuturesPositionRiskOfSubAccountV2Service + func (s *GetFuturesPositionRiskOfSubAccountV2Service) FuturesType(futuresType int) *GetFuturesPositionRiskOfSubAccountV2Service + type GetFuturesPositionRiskOfSubAccountV2USDTResp struct + FuturePositionRiskVos []struct{ ... } + type GetIPRestrictionForSubAccountAPIKeyResp struct + ApiKey string + IpList []struct{ ... } + IpRestrict string + UpdateTime uint64 + type GetIPRestrictionForSubAccountAPIKeyService struct + func (s *GetIPRestrictionForSubAccountAPIKeyService) Do(ctx context.Context, opts ...RequestOption) (res *GetIPRestrictionForSubAccountAPIKeyResp, err error) + func (s *GetIPRestrictionForSubAccountAPIKeyService) Email(email string) *GetIPRestrictionForSubAccountAPIKeyService + func (s *GetIPRestrictionForSubAccountAPIKeyService) SubAccountApiKey(subAccountApiKey string) *GetIPRestrictionForSubAccountAPIKeyService + type GetManagedSubAccountDepositAddressResp struct + Address string + Coin string + Tag string + Url string + type GetManagedSubAccountDepositAddressService struct + func (s *GetManagedSubAccountDepositAddressService) Coin(coin string) *GetManagedSubAccountDepositAddressService + func (s *GetManagedSubAccountDepositAddressService) Do(ctx context.Context, opts ...RequestOption) (res *GetManagedSubAccountDepositAddressResp, err error) + func (s *GetManagedSubAccountDepositAddressService) Email(email string) *GetManagedSubAccountDepositAddressService + func (s *GetManagedSubAccountDepositAddressService) Network(network string) *GetManagedSubAccountDepositAddressService + type GetMyTradesService struct + func (s *GetMyTradesService) Do(ctx context.Context, opts ...RequestOption) (res []*AccountTradeListResponse, err error) + func (s *GetMyTradesService) EndTime(endTime uint64) *GetMyTradesService + func (s *GetMyTradesService) FromId(fromId int64) *GetMyTradesService + func (s *GetMyTradesService) Limit(limit int) *GetMyTradesService + func (s *GetMyTradesService) OrderId(orderId int64) *GetMyTradesService + func (s *GetMyTradesService) StartTime(startTime uint64) *GetMyTradesService + func (s *GetMyTradesService) Symbol(symbol string) *GetMyTradesService + type GetOpenOrdersService struct + func (s *GetOpenOrdersService) Do(ctx context.Context, opts ...RequestOption) (res []*NewOpenOrdersResponse, err error) + func (s *GetOpenOrdersService) Symbol(symbol string) *GetOpenOrdersService + type GetOrderResponse struct + ClientOrderId string + CummulativeQuoteQty string + ExecutedQty string + IcebergQty string + IsWorking bool + OrderId int64 + OrderListId int64 + OrigQty string + OrigQuoteOrderQty string + PreventedMatchId int64 + PreventedQuantity string + Price string + SelfTradePreventionMode string + Side string + Status string + StopPrice string + StrategyId int64 + StrategyType int64 + Symbol string + Time uint64 + TimeInForce string + TrailingDelta string + TrailingTime int64 + Type string + UpdateTime uint64 + WorkingTime uint64 + type GetOrderService struct + func (s *GetOrderService) Do(ctx context.Context, opts ...RequestOption) (res *GetOrderResponse, err error) + func (s *GetOrderService) OrderId(orderId int64) *GetOrderService + func (s *GetOrderService) OrigClientOrderId(origClientOrderId string) *GetOrderService + func (s *GetOrderService) Symbol(symbol string) *GetOrderService + type GetQueryCurrentOrderCountUsageService struct + func (s *GetQueryCurrentOrderCountUsageService) Do(ctx context.Context, opts ...RequestOption) (res []*QueryCurrentOrderCountUsageResponse, err error) + type GetQueryPreventedMatchesService struct + func (s *GetQueryPreventedMatchesService) Do(ctx context.Context, opts ...RequestOption) (res *QueryPreventedMatchesResponse, err error) + func (s *GetQueryPreventedMatchesService) FromPreventedMatchId(fromPreventedMatchId int64) *GetQueryPreventedMatchesService + func (s *GetQueryPreventedMatchesService) Limit(limit int) *GetQueryPreventedMatchesService + func (s *GetQueryPreventedMatchesService) OrderId(orderId int64) *GetQueryPreventedMatchesService + func (s *GetQueryPreventedMatchesService) PreventMatchId(preventMatchId int64) *GetQueryPreventedMatchesService + func (s *GetQueryPreventedMatchesService) Symbol(symbol string) *GetQueryPreventedMatchesService + type GetSubAccountDepositAddressResp struct + Address string + Coin string + Tag string + Url string + type GetSubAccountDepositAddressService struct + func (s *GetSubAccountDepositAddressService) Coin(coin string) *GetSubAccountDepositAddressService + func (s *GetSubAccountDepositAddressService) Do(ctx context.Context, opts ...RequestOption) (res *GetSubAccountDepositAddressResp, err error) + func (s *GetSubAccountDepositAddressService) Email(email string) *GetSubAccountDepositAddressService + func (s *GetSubAccountDepositAddressService) Network(network string) *GetSubAccountDepositAddressService + type GetSubAccountDepositHistoryResp struct + DepositList []struct{ ... } + type GetSubAccountDepositHistoryService struct + func (s *GetSubAccountDepositHistoryService) Coin(coin string) *GetSubAccountDepositHistoryService + func (s *GetSubAccountDepositHistoryService) Do(ctx context.Context, opts ...RequestOption) (res *GetSubAccountDepositHistoryResp, err error) + func (s *GetSubAccountDepositHistoryService) Email(email string) *GetSubAccountDepositHistoryService + func (s *GetSubAccountDepositHistoryService) EndTime(endTime uint64) *GetSubAccountDepositHistoryService + func (s *GetSubAccountDepositHistoryService) Limit(limit int) *GetSubAccountDepositHistoryService + func (s *GetSubAccountDepositHistoryService) Offset(offset int64) *GetSubAccountDepositHistoryService + func (s *GetSubAccountDepositHistoryService) StartTime(startTime uint64) *GetSubAccountDepositHistoryService + func (s *GetSubAccountDepositHistoryService) Status(status int64) *GetSubAccountDepositHistoryService + type GetSubAccountStatusResp struct + Email string + InsertTime uint64 + IsFuturesEnabled bool + IsMarginEnabled bool + IsSubUserEnabled bool + IsUserActive bool + Mobile int64 + type GetSubAccountStatusService struct + func (s *GetSubAccountStatusService) Do(ctx context.Context, opts ...RequestOption) (res *GetSubAccountStatusResp, err error) + func (s *GetSubAccountStatusService) Email(email string) *GetSubAccountStatusService + type GetSummaryOfSubAccountFuturesAccountResp struct + Asset string + SubAccountList []struct{ ... } + TotalInitialMargin string + TotalMaintenanceMargin string + TotalMarginBalance string + TotalOpenOrderInitialMargin string + TotalPositionInitialMargin string + TotalUnrealizedProfit string + TotalWalletBalance string + type GetSummaryOfSubAccountFuturesAccountService struct + func (s *GetSummaryOfSubAccountFuturesAccountService) Do(ctx context.Context, opts ...RequestOption) (res *GetSummaryOfSubAccountFuturesAccountResp, err error) + type GetSummaryOfSubAccountFuturesAccountV2COINResp struct + DeliveryAccountSummaryResp struct{ ... } + type GetSummaryOfSubAccountFuturesAccountV2Service struct + func (s *GetSummaryOfSubAccountFuturesAccountV2Service) Do(ctx context.Context, opts ...RequestOption) (res interface{}, err error) + func (s *GetSummaryOfSubAccountFuturesAccountV2Service) FuturesType(futuresType int) *GetSummaryOfSubAccountFuturesAccountV2Service + func (s *GetSummaryOfSubAccountFuturesAccountV2Service) Limit(limit int) *GetSummaryOfSubAccountFuturesAccountV2Service + func (s *GetSummaryOfSubAccountFuturesAccountV2Service) Page(page int) *GetSummaryOfSubAccountFuturesAccountV2Service + type GetSummaryOfSubAccountFuturesAccountV2USDTResp struct + FutureAccountSummaryResp struct{ ... } + type GetSummaryOfSubAccountMarginAccountResp struct + SubAccountList []struct{ ... } + TotalAssetOfBtc string + TotalLiabilityOfBtc string + TotalNetAssetOfBtc string + type GetSummaryOfSubAccountMarginAccountService struct + func (s *GetSummaryOfSubAccountMarginAccountService) Do(ctx context.Context, opts ...RequestOption) (res *GetSummaryOfSubAccountMarginAccountResp, err error) + type GetSymbolsDelistScheduleService struct + func (s *GetSymbolsDelistScheduleService) Do(ctx context.Context) (res []*SymbolsDelistScheduleResponse, err error) + type GetSystemStatusService struct + func (s *GetSystemStatusService) Do(ctx context.Context, opts ...RequestOption) (res *SystemStatusResponse, err error) + type HistoricalTradeData struct + Id int64 + IsBestMatch bool + IsBuyerMaker bool + Price string + Quantity string + QuoteQty string + Time uint64 + type HistoricalTradeLookup struct + func (s *HistoricalTradeLookup) Do(ctx context.Context, opts ...RequestOption) (res []*RecentTradesListResponse, err error) + func (s *HistoricalTradeLookup) FromId(fromId int64) *HistoricalTradeLookup + func (s *HistoricalTradeLookup) Limit(limit uint) *HistoricalTradeLookup + func (s *HistoricalTradeLookup) Symbol(symbol string) *HistoricalTradeLookup + type HistoricalTradesResponse struct + Error *WsAPIErrorResponse + ID string + RateLimits []*WsAPIRateLimit + Result []*HistoricalTradeData + Status int + type HistoricalTradesService struct + func (s *HistoricalTradesService) Do(ctx context.Context) (*HistoricalTradesResponse, error) + func (s *HistoricalTradesService) FromId(fromId int64) *HistoricalTradesService + func (s *HistoricalTradesService) Limit(limit int) *HistoricalTradesService + func (s *HistoricalTradesService) Symbol(symbol string) *HistoricalTradesService + type InterestHistoryResponse struct + Rows []struct{ ... } + Total int + type InterestHistoryService struct + func (s *InterestHistoryService) Archived(archived string) *InterestHistoryService + func (s *InterestHistoryService) Asset(asset string) *InterestHistoryService + func (s *InterestHistoryService) Current(current int) *InterestHistoryService + func (s *InterestHistoryService) Do(ctx context.Context, opts ...RequestOption) (res *InterestHistoryResponse, err error) + func (s *InterestHistoryService) EndTime(endTime uint64) *InterestHistoryService + func (s *InterestHistoryService) IsolatedSymbol(isolatedSymbol string) *InterestHistoryService + func (s *InterestHistoryService) Size(size int) *InterestHistoryService + func (s *InterestHistoryService) StartTime(startTime uint64) *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 Klines struct + func (s *Klines) Do(ctx context.Context, opts ...RequestOption) (res []*KlinesResponse, err error) + func (s *Klines) EndTime(endTime uint64) *Klines + func (s *Klines) Interval(interval string) *Klines + func (s *Klines) Limit(limit int) *Klines + func (s *Klines) StartTime(startTime uint64) *Klines + func (s *Klines) Symbol(symbol string) *Klines + type KlinesResponse struct + Close string + CloseTime uint64 + High string + Low string + NumberOfTrades uint64 + Open string + OpenTime uint64 + QuoteAssetVolume string + TakerBuyBaseAssetVolume string + TakerBuyQuoteAssetVolume string + Volume string + type KlinesResponseArray [][]interface + type KlinesService struct + func (s *KlinesService) Do(ctx context.Context) (*WsAPIKlinesResponse, 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 + type MarginAccountAdjustCrossMaxLeverageResponse struct + Success bool + type MarginAccountAdjustCrossMaxLeverageService struct + func (s *MarginAccountAdjustCrossMaxLeverageService) Do(ctx context.Context, opts ...RequestOption) (res *MarginAccountAdjustCrossMaxLeverageResponse, err error) + func (s *MarginAccountAdjustCrossMaxLeverageService) MaxLeverage(maxLeverage int32) *MarginAccountAdjustCrossMaxLeverageService + type MarginAccountAllOrderResponse struct + ClientOrderId string + CummulativeQuoteQty string + ExecutedQty string + IcebergQty string + IsIsolated bool + IsWorking bool + OrderId int + OrderType string + OrigQty string + Price string + Side string + Status string + StopPrice string + Symbol string + Time uint64 + TimeInForce string + UpdateTime uint64 + type MarginAccountAllOrderService struct + func (s *MarginAccountAllOrderService) Do(ctx context.Context, opts ...RequestOption) (res []*MarginAccountAllOrderResponse, err error) + func (s *MarginAccountAllOrderService) EndTime(endTime uint64) *MarginAccountAllOrderService + func (s *MarginAccountAllOrderService) IsIsolated(isIsolated string) *MarginAccountAllOrderService + func (s *MarginAccountAllOrderService) Limit(limit int) *MarginAccountAllOrderService + func (s *MarginAccountAllOrderService) OrderId(orderId int) *MarginAccountAllOrderService + func (s *MarginAccountAllOrderService) StartTime(startTime uint64) *MarginAccountAllOrderService + func (s *MarginAccountAllOrderService) Symbol(symbol string) *MarginAccountAllOrderService + type MarginAccountCancelAllOrdersResponse struct + ClientOrderId string + CummulativeQuoteQty string + ExecutedQty string + IsIsolated bool + OrderId int + OrderListId int + OrigClientOrderId string + OrigQty string + Price string + Side string + Status string + Symbol string + TimeInForce string + Type string + type MarginAccountCancelAllOrdersService struct + func (s *MarginAccountCancelAllOrdersService) Do(ctx context.Context, opts ...RequestOption) (res *MarginAccountCancelAllOrdersResponse, err error) + func (s *MarginAccountCancelAllOrdersService) IsIsolated(isIsolated string) *MarginAccountCancelAllOrdersService + func (s *MarginAccountCancelAllOrdersService) Symbol(symbol string) *MarginAccountCancelAllOrdersService + type MarginAccountCancelOCOResponse struct + ContingencyType string + IsIsolated bool + ListClientOrderId string + ListOrderStatus string + ListStatusType string + OrderListId int + OrderReports []struct{ ... } + Orders []struct{ ... } + Symbol string + TransactionTime uint64 + type MarginAccountCancelOCOService struct + func (s *MarginAccountCancelOCOService) Do(ctx context.Context, opts ...RequestOption) (res *MarginAccountCancelOCOResponse, err error) + func (s *MarginAccountCancelOCOService) IsIsolated(isIsolated string) *MarginAccountCancelOCOService + func (s *MarginAccountCancelOCOService) ListClientOrderId(listClientOrderId string) *MarginAccountCancelOCOService + func (s *MarginAccountCancelOCOService) NewClientOrderId(newClientOrderId string) *MarginAccountCancelOCOService + func (s *MarginAccountCancelOCOService) OrderListId(orderListId int) *MarginAccountCancelOCOService + func (s *MarginAccountCancelOCOService) Symbol(symbol string) *MarginAccountCancelOCOService + type MarginAccountCancelOrderResponse struct + ClientOrderId string + CummulativeQuoteQty string + ExecutedQty string + IsIsolated bool + OrderId int + OrigClientOrderId string + OrigQty string + Price string + Side string + Status string + Symbol string + TimeInForce string + Type string + type MarginAccountCancelOrderService struct + func (s *MarginAccountCancelOrderService) Do(ctx context.Context, opts ...RequestOption) (res *MarginAccountCancelOrderResponse, err error) + func (s *MarginAccountCancelOrderService) IsIsolated(isIsolated string) *MarginAccountCancelOrderService + func (s *MarginAccountCancelOrderService) NewClientOrderId(newClientOrderId string) *MarginAccountCancelOrderService + func (s *MarginAccountCancelOrderService) OrderId(orderId int) *MarginAccountCancelOrderService + func (s *MarginAccountCancelOrderService) OrigClientOrderId(origClientOrderId string) *MarginAccountCancelOrderService + func (s *MarginAccountCancelOrderService) Symbol(symbol string) *MarginAccountCancelOrderService + type MarginAccountNewOCOResponse struct + ContingencyType string + ListClientOrderId string + ListOrderStatus string + ListStatusType string + MarginBuyBorrowAmount string + MarginBuyBorrowAsset string + OrderListId int + OrderReports []struct{ ... } + Orders []struct{ ... } + Symbol string + TransactionTime uint64 + type MarginAccountNewOCOService struct + func (s *MarginAccountNewOCOService) Do(ctx context.Context, opts ...RequestOption) (res *MarginAccountNewOCOResponse, err error) + func (s *MarginAccountNewOCOService) IsIsolated(isIsolated string) *MarginAccountNewOCOService + func (s *MarginAccountNewOCOService) LimitClientOrderId(limitClientOrderId string) *MarginAccountNewOCOService + func (s *MarginAccountNewOCOService) LimitIcebergQty(limitIcebergQty float64) *MarginAccountNewOCOService + func (s *MarginAccountNewOCOService) ListClientOrderId(listClientOrderId string) *MarginAccountNewOCOService + func (s *MarginAccountNewOCOService) NewOrderRespType(newOrderRespType string) *MarginAccountNewOCOService + func (s *MarginAccountNewOCOService) Price(price float64) *MarginAccountNewOCOService + func (s *MarginAccountNewOCOService) Quantity(quantity float64) *MarginAccountNewOCOService + func (s *MarginAccountNewOCOService) Side(side string) *MarginAccountNewOCOService + func (s *MarginAccountNewOCOService) SideEffectType(sideEffectType string) *MarginAccountNewOCOService + func (s *MarginAccountNewOCOService) StopClientOrderId(stopClientOrderId string) *MarginAccountNewOCOService + func (s *MarginAccountNewOCOService) StopIcebergQty(stopIcebergQty float64) *MarginAccountNewOCOService + func (s *MarginAccountNewOCOService) StopLimitPrice(stopLimitPrice float64) *MarginAccountNewOCOService + func (s *MarginAccountNewOCOService) StopLimitTimeInForce(stopLimitTimeInForce string) *MarginAccountNewOCOService + func (s *MarginAccountNewOCOService) StopPrice(stopPrice float64) *MarginAccountNewOCOService + func (s *MarginAccountNewOCOService) Symbol(symbol string) *MarginAccountNewOCOService + type MarginAccountNewOTOCOResponse struct + ContingencyType string + IsIsolated bool + ListClientOrderId string + ListOrderStatus string + ListStatusType string + OrderListId int64 + OrderReports []struct{ ... } + Orders []struct{ ... } + Symbol string + TransactionTime int64 + type MarginAccountNewOTOCOService struct + func (s *MarginAccountNewOTOCOService) AutoRepayAtCancel(autoRepayAtCancel bool) *MarginAccountNewOTOCOService + func (s *MarginAccountNewOTOCOService) Do(ctx context.Context, opts ...RequestOption) (res *MarginAccountNewOTOCOResponse, err error) + func (s *MarginAccountNewOTOCOService) IsIsolated(isIsolated string) *MarginAccountNewOTOCOService + func (s *MarginAccountNewOTOCOService) ListClientOrderId(listClientOrderId string) *MarginAccountNewOTOCOService + func (s *MarginAccountNewOTOCOService) NewOrderRespType(newOrderRespType string) *MarginAccountNewOTOCOService + func (s *MarginAccountNewOTOCOService) PendingAboveClientOrderId(pendingAboveClientOrderId string) *MarginAccountNewOTOCOService + func (s *MarginAccountNewOTOCOService) PendingAboveIcebergQty(pendingAboveIcebergQty float64) *MarginAccountNewOTOCOService + func (s *MarginAccountNewOTOCOService) PendingAbovePrice(pendingAbovePrice float64) *MarginAccountNewOTOCOService + func (s *MarginAccountNewOTOCOService) PendingAboveStopPrice(pendingAboveStopPrice float64) *MarginAccountNewOTOCOService + func (s *MarginAccountNewOTOCOService) PendingAboveTimeInForce(pendingAboveTimeInForce string) *MarginAccountNewOTOCOService + func (s *MarginAccountNewOTOCOService) PendingAboveTrailingDelta(pendingAboveTrailingDelta float64) *MarginAccountNewOTOCOService + func (s *MarginAccountNewOTOCOService) PendingAboveType(pendingAboveType string) *MarginAccountNewOTOCOService + func (s *MarginAccountNewOTOCOService) PendingBelowClientOrderId(pendingBelowClientOrderId string) *MarginAccountNewOTOCOService + func (s *MarginAccountNewOTOCOService) PendingBelowIcebergQty(pendingBelowIcebergQty float64) *MarginAccountNewOTOCOService + func (s *MarginAccountNewOTOCOService) PendingBelowPrice(pendingBelowPrice float64) *MarginAccountNewOTOCOService + func (s *MarginAccountNewOTOCOService) PendingBelowStopPrice(pendingBelowStopPrice float64) *MarginAccountNewOTOCOService + func (s *MarginAccountNewOTOCOService) PendingBelowTimeInForce(pendingBelowTimeInForce string) *MarginAccountNewOTOCOService + func (s *MarginAccountNewOTOCOService) PendingBelowTrailingDelta(pendingBelowTrailingDelta float64) *MarginAccountNewOTOCOService + func (s *MarginAccountNewOTOCOService) PendingBelowType(pendingBelowType string) *MarginAccountNewOTOCOService + func (s *MarginAccountNewOTOCOService) PendingQuantity(pendingQuantity float64) *MarginAccountNewOTOCOService + func (s *MarginAccountNewOTOCOService) PendingSide(pendingSide string) *MarginAccountNewOTOCOService + func (s *MarginAccountNewOTOCOService) SelfTradePreventionMode(selfTradePreventionMode string) *MarginAccountNewOTOCOService + func (s *MarginAccountNewOTOCOService) SideEffectType(sideEffectType string) *MarginAccountNewOTOCOService + func (s *MarginAccountNewOTOCOService) Symbol(symbol string) *MarginAccountNewOTOCOService + func (s *MarginAccountNewOTOCOService) WorkingClientOrderId(workingClientOrderId string) *MarginAccountNewOTOCOService + func (s *MarginAccountNewOTOCOService) WorkingIcebergQty(workingIcebergQty float64) *MarginAccountNewOTOCOService + func (s *MarginAccountNewOTOCOService) WorkingPrice(workingPrice float64) *MarginAccountNewOTOCOService + func (s *MarginAccountNewOTOCOService) WorkingQuantity(workingQuantity float64) *MarginAccountNewOTOCOService + func (s *MarginAccountNewOTOCOService) WorkingSide(workingSide string) *MarginAccountNewOTOCOService + func (s *MarginAccountNewOTOCOService) WorkingTimeInForce(workingTimeInForce string) *MarginAccountNewOTOCOService + func (s *MarginAccountNewOTOCOService) WorkingType(workingType string) *MarginAccountNewOTOCOService + type MarginAccountNewOTOResponse struct + ContingencyType string + IsIsolated bool + ListClientOrderId string + ListOrderStatus string + ListStatusType string + OrderListId int64 + OrderReports []struct{ ... } + Orders []struct{ ... } + Symbol string + TransactionTime int64 + type MarginAccountNewOTOService struct + func (s *MarginAccountNewOTOService) AutoRepayAtCancel(autoRepayAtCancel bool) *MarginAccountNewOTOService + func (s *MarginAccountNewOTOService) Do(ctx context.Context, opts ...RequestOption) (res *MarginAccountNewOTOResponse, err error) + func (s *MarginAccountNewOTOService) IsIsolated(isIsolated string) *MarginAccountNewOTOService + func (s *MarginAccountNewOTOService) ListClientOrderId(listClientOrderId string) *MarginAccountNewOTOService + func (s *MarginAccountNewOTOService) NewOrderRespType(newOrderRespType string) *MarginAccountNewOTOService + func (s *MarginAccountNewOTOService) PendingClientOrderId(pendingClientOrderId string) *MarginAccountNewOTOService + func (s *MarginAccountNewOTOService) PendingIcebergQty(pendingIcebergQty float64) *MarginAccountNewOTOService + func (s *MarginAccountNewOTOService) PendingPrice(pendingPrice float64) *MarginAccountNewOTOService + func (s *MarginAccountNewOTOService) PendingQuantity(pendingQuantity float64) *MarginAccountNewOTOService + func (s *MarginAccountNewOTOService) PendingSide(pendingSide string) *MarginAccountNewOTOService + func (s *MarginAccountNewOTOService) PendingStopPrice(pendingStopPrice float64) *MarginAccountNewOTOService + func (s *MarginAccountNewOTOService) PendingTimeInForce(pendingTimeInForce string) *MarginAccountNewOTOService + func (s *MarginAccountNewOTOService) PendingTrailingDelta(pendingTrailingDelta float64) *MarginAccountNewOTOService + func (s *MarginAccountNewOTOService) PendingType(pendingType string) *MarginAccountNewOTOService + func (s *MarginAccountNewOTOService) SelfTradePreventionMode(selfTradePreventionMode string) *MarginAccountNewOTOService + func (s *MarginAccountNewOTOService) SideEffectType(sideEffectType string) *MarginAccountNewOTOService + func (s *MarginAccountNewOTOService) Symbol(symbol string) *MarginAccountNewOTOService + func (s *MarginAccountNewOTOService) WorkingClientOrderId(workingClientOrderId string) *MarginAccountNewOTOService + func (s *MarginAccountNewOTOService) WorkingIcebergQty(workingIcebergQty float64) *MarginAccountNewOTOService + func (s *MarginAccountNewOTOService) WorkingPrice(workingPrice float64) *MarginAccountNewOTOService + func (s *MarginAccountNewOTOService) WorkingQuantity(workingQuantity float64) *MarginAccountNewOTOService + func (s *MarginAccountNewOTOService) WorkingSide(workingSide string) *MarginAccountNewOTOService + func (s *MarginAccountNewOTOService) WorkingTimeInForce(workingTimeInForce string) *MarginAccountNewOTOService + func (s *MarginAccountNewOTOService) WorkingType(workingType string) *MarginAccountNewOTOService + type MarginAccountNewOrderResponseACK struct + ClientOrderId int64 + IsIsolated bool + OrderId int64 + Symbol string + TransactTime uint64 + type MarginAccountNewOrderResponseFULL struct + ClientOrderId string + CummulativeQuoteQty string + ExecutedQty string + Fills []struct{ ... } + IsIsolated bool + MarginBuyBorrowAmount float64 + MarginBuyBorrowAsset string + OrderId int64 + OrigQty string + Price string + Side string + Status string + Symbol string + TimeInForce string + TransactTime uint64 + Type string + type MarginAccountNewOrderResponseRESULT struct + ClientOrderId string + CummulativeQuoteQty string + ExecutedQty string + IsIsolated bool + OrderId int64 + OrigQty string + Price string + Side string + Status string + Symbol string + TimeInForce string + TransactTime uint64 + Type string + type MarginAccountNewOrderService struct + func (s *MarginAccountNewOrderService) Do(ctx context.Context, opts ...RequestOption) (res interface{}, err error) + func (s *MarginAccountNewOrderService) IcebergQty(icebergQty float64) *MarginAccountNewOrderService + func (s *MarginAccountNewOrderService) IsIsolated(isIsolated string) *MarginAccountNewOrderService + func (s *MarginAccountNewOrderService) NewClientOrderId(newClientOrderId string) *MarginAccountNewOrderService + func (s *MarginAccountNewOrderService) NewOrderRespType(newOrderRespType string) *MarginAccountNewOrderService + func (s *MarginAccountNewOrderService) OrderType(orderType string) *MarginAccountNewOrderService + func (s *MarginAccountNewOrderService) Price(price float64) *MarginAccountNewOrderService + func (s *MarginAccountNewOrderService) Quantity(quantity float64) *MarginAccountNewOrderService + func (s *MarginAccountNewOrderService) QuoteOrderQty(quoteOrderQty float64) *MarginAccountNewOrderService + func (s *MarginAccountNewOrderService) Side(side string) *MarginAccountNewOrderService + func (s *MarginAccountNewOrderService) SideEffectType(sideEffectType string) *MarginAccountNewOrderService + func (s *MarginAccountNewOrderService) StopPrice(stopPrice float64) *MarginAccountNewOrderService + func (s *MarginAccountNewOrderService) Symbol(symbol string) *MarginAccountNewOrderService + func (s *MarginAccountNewOrderService) TimeInForce(timeInForce string) *MarginAccountNewOrderService + type MarginAccountOpenOrderResponse struct + ClientOrderId string + CummulativeQuoteQty string + ExecutedQty string + IcebergQty string + IsIsolated bool + IsWorking bool + OrderId int + OrderType string + OrigQty string + Price string + Side string + Status string + StopPrice string + Symbol string + Time uint64 + TimeInForce string + UpdateTime uint64 + type MarginAccountOpenOrderService struct + func (s *MarginAccountOpenOrderService) Do(ctx context.Context, opts ...RequestOption) (res []*MarginAccountOpenOrderResponse, err error) + func (s *MarginAccountOpenOrderService) IsIsolated(isIsolated string) *MarginAccountOpenOrderService + func (s *MarginAccountOpenOrderService) Symbol(symbol string) *MarginAccountOpenOrderService + type MarginAccountOrderResponse struct + ClientOrderId string + CummulativeQuoteQty string + ExecutedQty string + IcebergQty string + IsIsolated bool + IsWorking bool + OrderId int + OrderType string + OrigQty string + Price string + Side string + Status string + StopPrice string + Symbol string + Time uint64 + TimeInForce string + UpdateTime uint64 + type MarginAccountOrderService struct + func (s *MarginAccountOrderService) Do(ctx context.Context, opts ...RequestOption) (res *MarginAccountOrderResponse, err error) + func (s *MarginAccountOrderService) IsIsolated(isIsolated string) *MarginAccountOrderService + func (s *MarginAccountOrderService) OrderId(orderId int) *MarginAccountOrderService + func (s *MarginAccountOrderService) OrigClientOrderId(origClientOrderId string) *MarginAccountOrderService + func (s *MarginAccountOrderService) Symbol(symbol string) *MarginAccountOrderService + type MarginAccountQueryAllOCOResponse struct + ContingencyType string + IsIsolated bool + ListClientOrderId string + ListOrderStatus string + ListStatusType string + OrderListId int + Orders []struct{ ... } + Symbol string + TransactionTime uint64 + type MarginAccountQueryAllOCOService struct + func (s *MarginAccountQueryAllOCOService) Do(ctx context.Context, opts ...RequestOption) (res []*MarginAccountQueryAllOCOResponse, err error) + func (s *MarginAccountQueryAllOCOService) EndTime(endTime uint64) *MarginAccountQueryAllOCOService + func (s *MarginAccountQueryAllOCOService) FromId(fromId int) *MarginAccountQueryAllOCOService + func (s *MarginAccountQueryAllOCOService) IsIsolated(isIsolated string) *MarginAccountQueryAllOCOService + func (s *MarginAccountQueryAllOCOService) Limit(limit int) *MarginAccountQueryAllOCOService + func (s *MarginAccountQueryAllOCOService) StartTime(startTime uint64) *MarginAccountQueryAllOCOService + func (s *MarginAccountQueryAllOCOService) Symbol(symbol string) *MarginAccountQueryAllOCOService + type MarginAccountQueryMaxBorrowResponse struct + Amount string + BorrowLimit string + type MarginAccountQueryMaxBorrowService struct + func (s *MarginAccountQueryMaxBorrowService) Asset(asset string) *MarginAccountQueryMaxBorrowService + func (s *MarginAccountQueryMaxBorrowService) Do(ctx context.Context, opts ...RequestOption) (res *MarginAccountQueryMaxBorrowResponse, err error) + func (s *MarginAccountQueryMaxBorrowService) IsolatedSymbol(isolatedSymbol string) *MarginAccountQueryMaxBorrowService + type MarginAccountQueryMaxTransferOutAmountResponse struct + Amount string + type MarginAccountQueryMaxTransferOutAmountService struct + func (s *MarginAccountQueryMaxTransferOutAmountService) Asset(asset string) *MarginAccountQueryMaxTransferOutAmountService + func (s *MarginAccountQueryMaxTransferOutAmountService) Do(ctx context.Context, opts ...RequestOption) (res *MarginAccountQueryMaxTransferOutAmountResponse, err error) + func (s *MarginAccountQueryMaxTransferOutAmountService) IsolatedSymbol(isolatedSymbol string) *MarginAccountQueryMaxTransferOutAmountService + type MarginAccountQueryOCOResponse struct + ContingencyType string + IsIsolated bool + ListClientOrderId string + ListOrderStatus string + ListStatusType string + OrderListId int + Orders []struct{ ... } + Symbol string + TransactionTime uint64 + type MarginAccountQueryOCOService struct + func (s *MarginAccountQueryOCOService) Do(ctx context.Context, opts ...RequestOption) (res *MarginAccountQueryOCOResponse, err error) + func (s *MarginAccountQueryOCOService) IsIsolated(isIsolated string) *MarginAccountQueryOCOService + func (s *MarginAccountQueryOCOService) OrderListId(orderListId int) *MarginAccountQueryOCOService + func (s *MarginAccountQueryOCOService) OrigClientOrderId(origClientOrderId string) *MarginAccountQueryOCOService + func (s *MarginAccountQueryOCOService) Symbol(symbol string) *MarginAccountQueryOCOService + type MarginAccountQueryOpenOCOResponse struct + ContingencyType string + IsIsolated bool + ListClientOrderId string + ListOrderStatus string + ListStatusType string + OrderListId int + Orders []struct{ ... } + Symbol string + TransactionTime uint64 + type MarginAccountQueryOpenOCOService struct + func (s *MarginAccountQueryOpenOCOService) Do(ctx context.Context, opts ...RequestOption) (res []*MarginAccountQueryOpenOCOResponse, err error) + func (s *MarginAccountQueryOpenOCOService) IsIsolated(isIsolated string) *MarginAccountQueryOpenOCOService + func (s *MarginAccountQueryOpenOCOService) Symbol(symbol string) *MarginAccountQueryOpenOCOService + type MarginAccountQueryTradeListResponse struct + Commission string + CommissionAsset string + Id int + IsBestMatch bool + IsBuyer bool + IsIsolated bool + IsMaker bool + OrderId int + Price string + Qty string + Symbol string + Time uint64 + type MarginAccountQueryTradeListService struct + func (s *MarginAccountQueryTradeListService) Do(ctx context.Context, opts ...RequestOption) (res []*MarginAccountQueryTradeListResponse, err error) + func (s *MarginAccountQueryTradeListService) EndTime(endTime uint64) *MarginAccountQueryTradeListService + func (s *MarginAccountQueryTradeListService) FromId(fromId int) *MarginAccountQueryTradeListService + func (s *MarginAccountQueryTradeListService) IsIsolated(isIsolated string) *MarginAccountQueryTradeListService + func (s *MarginAccountQueryTradeListService) Limit(limit int) *MarginAccountQueryTradeListService + func (s *MarginAccountQueryTradeListService) OrderId(orderId int) *MarginAccountQueryTradeListService + func (s *MarginAccountQueryTradeListService) StartTime(startTime uint64) *MarginAccountQueryTradeListService + func (s *MarginAccountQueryTradeListService) Symbol(symbol string) *MarginAccountQueryTradeListService + type MarginAccountSummaryResponse struct + ForceLiquidationBar string + MarginCallBar string + NormalBar string + type MarginAccountSummaryService struct + func (s *MarginAccountSummaryService) Do(ctx context.Context, opts ...RequestOption) (res *MarginAccountSummaryResponse, err error) + type MarginBnbBurnStatusResponse struct + InterestBNBBurn bool + SpotBNBBurn bool + type MarginBnbBurnStatusService struct + func (s *MarginBnbBurnStatusService) Do(ctx context.Context, opts ...RequestOption) (res *MarginBnbBurnStatusResponse, err error) + type MarginCrossCollateralRatioResponse struct + AssetNames []... + Collaterals []... + type MarginCrossCollateralRatioService struct + func (s *MarginCrossCollateralRatioService) Do(ctx context.Context, opts ...RequestOption) (res []*MarginCrossCollateralRatioResponse, err error) + type MarginCrossMarginFeeResponse struct + BorrowLimit string + Borrowable bool + Coin string + DailyInterest string + MarginablePairs struct{ ... } + TransferIn bool + VIPLevel int + YearlyInterest string + type MarginCrossMarginFeeService struct + func (s *MarginCrossMarginFeeService) Coin(coin string) *MarginCrossMarginFeeService + func (s *MarginCrossMarginFeeService) Do(ctx context.Context, opts ...RequestOption) (res []*MarginCrossMarginFeeResponse, err error) + func (s *MarginCrossMarginFeeService) VipLevel(vipLevel int) *MarginCrossMarginFeeService + type MarginCurrentOrderCountResponse struct + Count int + Interval string + IntervalNum int + Limit int + RateLimitType string + type MarginCurrentOrderCountService struct + func (s *MarginCurrentOrderCountService) Do(ctx context.Context, opts ...RequestOption) (res []*MarginCurrentOrderCountResponse, err error) + func (s *MarginCurrentOrderCountService) IsIsolated(isIsolated string) *MarginCurrentOrderCountService + func (s *MarginCurrentOrderCountService) Symbol(symbol string) *MarginCurrentOrderCountService + type MarginInterestRateHistoryResponse struct + Asset string + DailyInterestRate string + Timestamp uint64 + VIPLevel int + type MarginInterestRateHistoryService struct + func (s *MarginInterestRateHistoryService) Asset(asset string) *MarginInterestRateHistoryService + func (s *MarginInterestRateHistoryService) Do(ctx context.Context, opts ...RequestOption) (res []*MarginInterestRateHistoryResponse, err error) + func (s *MarginInterestRateHistoryService) EndTime(endTime uint64) *MarginInterestRateHistoryService + func (s *MarginInterestRateHistoryService) StartTime(startTime uint64) *MarginInterestRateHistoryService + func (s *MarginInterestRateHistoryService) VipLevel(vipLevel int) *MarginInterestRateHistoryService + type MarginIsolatedAccountDisableResponse struct + Success bool + type MarginIsolatedAccountDisableService struct + func (s *MarginIsolatedAccountDisableService) Do(ctx context.Context, opts ...RequestOption) (res *MarginIsolatedAccountDisableResponse, err error) + func (s *MarginIsolatedAccountDisableService) Symbol(symbol string) *MarginIsolatedAccountDisableService + type MarginIsolatedAccountEnableResponse struct + Success bool + type MarginIsolatedAccountEnableService struct + func (s *MarginIsolatedAccountEnableService) Do(ctx context.Context, opts ...RequestOption) (res *MarginIsolatedAccountEnableResponse, err error) + func (s *MarginIsolatedAccountEnableService) Symbol(symbol string) *MarginIsolatedAccountEnableService + type MarginIsolatedAccountInfoAssets struct + BaseAsset struct{ ... } + Enabled bool + IndexPrice string + IsolatedCreated bool + LiquidatePrice string + LiquidateRate string + MarginLevel string + MarginLevelStatus string + MarginRatio string + QuoteAsset struct{ ... } + Symbol string + TradeEnabled bool + type MarginIsolatedAccountInfoResponse struct + Assets []*MarginIsolatedAccountInfoAssets + TotalAssetOfBtc string + TotalLiabilityOfBtc string + TotalNetAssetOfBtc string + type MarginIsolatedAccountInfoResponseSymbols struct + Assets []*MarginIsolatedAccountInfoAssets + type MarginIsolatedAccountInfoService struct + func (s *MarginIsolatedAccountInfoService) Do(ctx context.Context, opts ...RequestOption) (res interface{}, err error) + func (s *MarginIsolatedAccountInfoService) Symbols(symbols string) *MarginIsolatedAccountInfoService + type MarginIsolatedAccountLimitResponse struct + EnabledAccount int + MaxAccount int + type MarginIsolatedAccountLimitService struct + func (s *MarginIsolatedAccountLimitService) Do(ctx context.Context, opts ...RequestOption) (res *MarginIsolatedAccountLimitResponse, err error) + type MarginIsolatedCapitalFlowResponse struct + Amount string + Asset string + Id int + Symbol string + Timestamp uint64 + TranId int + Type string + type MarginIsolatedCapitalFlowService struct + func (s *MarginIsolatedCapitalFlowService) Asset(asset string) *MarginIsolatedCapitalFlowService + func (s *MarginIsolatedCapitalFlowService) Do(ctx context.Context, opts ...RequestOption) (res []*MarginIsolatedCapitalFlowResponse, err error) + func (s *MarginIsolatedCapitalFlowService) EndTime(endTime uint64) *MarginIsolatedCapitalFlowService + func (s *MarginIsolatedCapitalFlowService) FromId(fromId int) *MarginIsolatedCapitalFlowService + func (s *MarginIsolatedCapitalFlowService) IsolatedType(isolatedType string) *MarginIsolatedCapitalFlowService + func (s *MarginIsolatedCapitalFlowService) Limit(limit int) *MarginIsolatedCapitalFlowService + func (s *MarginIsolatedCapitalFlowService) StartTime(startTime uint64) *MarginIsolatedCapitalFlowService + func (s *MarginIsolatedCapitalFlowService) Symbol(symbol string) *MarginIsolatedCapitalFlowService + type MarginIsolatedMarginFeeResponse struct + Data struct{ ... } + Leverage string + Symbol string + VIPLevel int + type MarginIsolatedMarginFeeService struct + func (s *MarginIsolatedMarginFeeService) Do(ctx context.Context, opts ...RequestOption) (res []*MarginIsolatedMarginFeeResponse, err error) + func (s *MarginIsolatedMarginFeeService) Symbol(symbol string) *MarginIsolatedMarginFeeService + func (s *MarginIsolatedMarginFeeService) VipLevel(vipLevel int) *MarginIsolatedMarginFeeService + type MarginIsolatedMarginTierResponse struct + BaseAssetMaxBorrowable string + EffectiveMultiple string + InitialRiskRatio string + LiquidationRiskRatio string + QuoteAssetMaxBorrowable string + Symbol string + Tier int + type MarginIsolatedMarginTierService struct + func (s *MarginIsolatedMarginTierService) Do(ctx context.Context, opts ...RequestOption) (res []*MarginIsolatedMarginTierResponse, err error) + func (s *MarginIsolatedMarginTierService) Symbol(symbol string) *MarginIsolatedMarginTierService + func (s *MarginIsolatedMarginTierService) Tier(tier int) *MarginIsolatedMarginTierService + type MarginIsolatedSymbolResponse struct + Base string + IsBuyAllowed bool + IsMarginTrade bool + IsSellAllowed bool + Quote string + Symbol string + type MarginManualLiquidationResponse struct + Asset string + Interest string + LiabilityAsset string + LiabilityQty float64 + Principal string + type MarginManualLiquidationService struct + func (s *MarginManualLiquidationService) Do(ctx context.Context, opts ...RequestOption) (res []*MarginManualLiquidationResponse, err error) + func (s *MarginManualLiquidationService) MarginType(marginType string) *MarginManualLiquidationService + func (s *MarginManualLiquidationService) Symbol(symbol string) *MarginManualLiquidationService + type MarginSmallLiabilityExchangeCoinListResponse struct + Asset string + Interest string + LiabilityOfBUSD string + Principal string + type MarginSmallLiabilityExchangeCoinListService struct + func (s *MarginSmallLiabilityExchangeCoinListService) Do(ctx context.Context, opts ...RequestOption) (res []*MarginSmallLiabilityExchangeCoinListResponse, err error) + type MarginSmallLiabilityExchangeHistoryResponse struct + Rows []... + Total int + type MarginSmallLiabilityExchangeHistoryService struct + func (s *MarginSmallLiabilityExchangeHistoryService) Current(current int) *MarginSmallLiabilityExchangeHistoryService + func (s *MarginSmallLiabilityExchangeHistoryService) Do(ctx context.Context, opts ...RequestOption) (res []*MarginSmallLiabilityExchangeHistoryResponse, err error) + func (s *MarginSmallLiabilityExchangeHistoryService) EndTime(endTime uint64) *MarginSmallLiabilityExchangeHistoryService + func (s *MarginSmallLiabilityExchangeHistoryService) Size(size int) *MarginSmallLiabilityExchangeHistoryService + func (s *MarginSmallLiabilityExchangeHistoryService) StartTime(startTime uint64) *MarginSmallLiabilityExchangeHistoryService + type MarginSmallLiabilityExchangeResponse struct + type MarginSmallLiabilityExchangeService struct + func (s *MarginSmallLiabilityExchangeService) AssetNames(assetNames string) *MarginSmallLiabilityExchangeService + func (s *MarginSmallLiabilityExchangeService) Do(ctx context.Context, opts ...RequestOption) (res []*MarginSmallLiabilityExchangeResponse, err error) + type MarginToggleBnbBurnResponse struct + InterestBNBBurn bool + SpotBNBBurn bool + type MarginToggleBnbBurnService struct + func (s *MarginToggleBnbBurnService) Do(ctx context.Context, opts ...RequestOption) (res *MarginToggleBnbBurnResponse, err error) + func (s *MarginToggleBnbBurnService) InterestBNBBurn(interestBNBBurn string) *MarginToggleBnbBurnService + func (s *MarginToggleBnbBurnService) SpotBNBBurn(spotBNBBurn string) *MarginToggleBnbBurnService + type MarginTransferForSubAccountResp struct + TxnId int + type MarginTransferForSubAccountService struct + func (s *MarginTransferForSubAccountService) Amount(amount float32) *MarginTransferForSubAccountService + func (s *MarginTransferForSubAccountService) Asset(asset string) *MarginTransferForSubAccountService + func (s *MarginTransferForSubAccountService) Do(ctx context.Context, opts ...RequestOption) (res *MarginTransferForSubAccountResp, err error) + func (s *MarginTransferForSubAccountService) Email(email string) *MarginTransferForSubAccountService + func (s *MarginTransferForSubAccountService) TransferType(transferType int) *MarginTransferForSubAccountService + type NewAllOrdersResponse struct + ClientOrderId string + CummulativeQuoteQty string + ExecutedQty string + IcebergQty string + IsWorking bool + ListClientOrderId string + OrderId int64 + OrderListId int64 + OrigQty string + OrigQuoteOrderQty string + PreventedMatchId int64 + PreventedQuantity string + Price string + SelfTradePreventionMode string + Side string + Status string + StopPrice string + StrategyId int64 + StrategyType int64 + Symbol string + Time uint64 + TimeInForce string + TrailingDelta string + TrailingTime int64 + Type string + UpdateTime uint64 + WorkingTime uint64 + type NewOCOService struct + func (s *NewOCOService) Do(ctx context.Context, opts ...RequestOption) (res *OrderOCOResponse, err error) + func (s *NewOCOService) LimitClientOrderId(limitClientOrderId string) *NewOCOService + func (s *NewOCOService) LimitIcebergQty(limitIcebergQty float64) *NewOCOService + func (s *NewOCOService) LimitStrategyId(limitStrategyId int) *NewOCOService + func (s *NewOCOService) LimitStrategyType(limitStrategyType int) *NewOCOService + func (s *NewOCOService) ListClientOrderId(listClientOrderId string) *NewOCOService + func (s *NewOCOService) NewOrderRespType(newOrderRespType string) *NewOCOService + func (s *NewOCOService) Price(price float64) *NewOCOService + func (s *NewOCOService) Quantity(quantity float64) *NewOCOService + func (s *NewOCOService) SelfTradePreventionMode(selfTradePreventionMode string) *NewOCOService + func (s *NewOCOService) Side(side string) *NewOCOService + func (s *NewOCOService) StopClientOrderId(stopClientOrderId string) *NewOCOService + func (s *NewOCOService) StopIcebergQty(stopIcebergQty float64) *NewOCOService + func (s *NewOCOService) StopLimitPrice(stopLimitPrice float64) *NewOCOService + func (s *NewOCOService) StopLimitTimeInForce(stopLimitTimeInForce string) *NewOCOService + func (s *NewOCOService) StopPrice(stopPrice float64) *NewOCOService + func (s *NewOCOService) StopStrategyId(stopStrategyId int) *NewOCOService + func (s *NewOCOService) StopStrategyType(stopStrategyType int) *NewOCOService + func (s *NewOCOService) Symbol(symbol string) *NewOCOService + func (s *NewOCOService) TrailingDelta(trailingDelta int) *NewOCOService + type NewOpenOrdersResponse struct + ClientOrderId string + CummulativeQuoteQty string + ExecutedQty string + IcebergQty string + IsWorking bool + OrderId int64 + OrderListId int64 + OrigQty string + OrigQuoteOrderQty string + PreventedMatchId int64 + PreventedQuantity string + Price string + SelfTradePreventionMode string + Side string + Status string + StopPrice string + StrategyId int64 + StrategyType int64 + Symbol string + Time uint64 + TimeInForce string + TrailingDelta string + TrailingTime int64 + Type string + UpdateTime uint64 + WorkingTime uint64 + type OCOChild struct + ClientOrderID string + CummulativeQuote string + ExecutedQty string + IcebergQty string + IsWorking bool + OrderID int64 + OrigQty string + Price string + Side string + Status string + StopPrice string + Symbol string + Time int64 + TimeInForce string + Type string + Update int64 + type OCOOrder struct + ContingencyType string + ListOrderStatus string + ListStatusType string + OrderListID int64 + Orders []*OCOChild + Symbol string + TransactionTime int64 + type OCOResponse struct + ContingencyType string + ListClientOrderId string + ListOrderStatus string + ListStatusType string + OrderListId int64 + Orders []struct{ ... } + Symbol string + TransactionTime uint64 + type OpenOrderListItem struct + ClientOrderId string + OrderId int64 + Symbol string + type OpenOrderListsResult struct + ContingencyType string + ListClientOrderId string + ListOrderStatus string + ListStatusType string + OrderListId int + Orders []*OpenOrderListItem + Symbol string + TransactionTime uint64 + type OpenOrderListsStatusResponse struct + Error *WsAPIErrorResponse + ID string + RateLimits []*WsAPIRateLimit + Result []*OpenOrderListsResult + Status int + type OpenOrderListsStatusService struct + func (s *OpenOrderListsStatusService) Do(ctx context.Context) (*OpenOrderListsStatusResponse, error) + type OpenOrdersCancelAllResponse struct + Error *WsAPIErrorResponse + ID string + RateLimits []*WsAPIRateLimit + Result []*OpenOrdersCancelResult + Status int + type OpenOrdersCancelAllService struct + func (s *OpenOrdersCancelAllService) Do(ctx context.Context) (*OpenOrdersCancelAllResponse, error) + func (s *OpenOrdersCancelAllService) RecvWindow(recvWindow int64) *OpenOrdersCancelAllService + func (s *OpenOrdersCancelAllService) Symbol(symbol string) *OpenOrdersCancelAllService + type OpenOrdersCancelResult struct + ClientOrderId string + CummulativeQuoteQty string + ExecutedQty string + IcebergQty string + OrderId int64 + OrderListId int + OrigClientOrderId string + OrigQty string + Price string + SelfTradePreventionMode string + Side string + Status string + StopPrice string + StrategyId int64 + StrategyType int64 + Symbol string + TimeInForce string + Type string + type OpenOrdersResult struct + ClientOrderId string + CummulativeQuoteQty string + ExecutedQty string + IcebergQty string + IsWorking bool + OrderId int64 + OrderListId int + OrigQty string + OrigQuoteOrderQty string + Price string + SelfTradePreventionMode string + Side string + Status string + StopPrice string + Symbol string + Time uint64 + TimeInForce string + Type string + UpdateTime uint64 + WorkingTime uint64 + type OpenOrdersStatusResponse struct + Error *WsAPIErrorResponse + ID string + RateLimits []*WsAPIRateLimit + Result []*OpenOrdersResult + Status int + type OpenOrdersStatusService struct + func (s *OpenOrdersStatusService) Do(ctx context.Context) (*OpenOrdersStatusResponse, error) + func (s *OpenOrdersStatusService) RecvWindow(recvWindow int64) *OpenOrdersStatusService + func (s *OpenOrdersStatusService) Symbol(symbol string) *OpenOrdersStatusService + type OrderBook struct + func (s *OrderBook) Do(ctx context.Context, opts ...RequestOption) (res *OrderBookResponse, err error) + func (s *OrderBook) Limit(limit int) *OrderBook + func (s *OrderBook) Symbol(symbol string) *OrderBook + type OrderBookResponse struct + Asks [][]*big.Float + Bids [][]*big.Float + LastUpdateId uint64 + type OrderCancelReplaceResponse struct + Error *WsAPIErrorResponse + ID string + RateLimits []*WsAPIRateLimit + Result *OrderCancelReplaceResult + Status int + type OrderCancelReplaceResult struct + CancelResponse *OrderCancelledResult + CancelResult string + NewOrderResponse *OrderPlacedResult + NewOrderResult string + type OrderCancelReplaceService struct + func (s *OrderCancelReplaceService) CancelNewClientOrderId(cancelNewClientOrderId string) *OrderCancelReplaceService + func (s *OrderCancelReplaceService) CancelOrderId(cancelOrderId int64) *OrderCancelReplaceService + func (s *OrderCancelReplaceService) CancelOrigClientOrderId(cancelOrigClientOrderId string) *OrderCancelReplaceService + func (s *OrderCancelReplaceService) CancelReplaceMode(cancelReplaceMode string) *OrderCancelReplaceService + func (s *OrderCancelReplaceService) CancelRestrictions(cancelRestrictions string) *OrderCancelReplaceService + func (s *OrderCancelReplaceService) Do(ctx context.Context) (*OrderCancelReplaceResponse, error) + func (s *OrderCancelReplaceService) IcebergQty(icebergQty float64) *OrderCancelReplaceService + func (s *OrderCancelReplaceService) NewClientOrderId(newClientOrderId string) *OrderCancelReplaceService + func (s *OrderCancelReplaceService) NewOrderRespType(newOrderRespType string) *OrderCancelReplaceService + func (s *OrderCancelReplaceService) OrderType(orderType string) *OrderCancelReplaceService + func (s *OrderCancelReplaceService) Price(price float64) *OrderCancelReplaceService + func (s *OrderCancelReplaceService) Quantity(quantity float64) *OrderCancelReplaceService + func (s *OrderCancelReplaceService) QuoteOrderQty(quoteOrderQty float64) *OrderCancelReplaceService + func (s *OrderCancelReplaceService) RecvWindow(recvWindow int64) *OrderCancelReplaceService + func (s *OrderCancelReplaceService) SelfTradePreventionMode(selfTradePreventionMode string) *OrderCancelReplaceService + func (s *OrderCancelReplaceService) Side(side string) *OrderCancelReplaceService + func (s *OrderCancelReplaceService) StopPrice(stopPrice float64) *OrderCancelReplaceService + func (s *OrderCancelReplaceService) StrategyId(strategyId int) *OrderCancelReplaceService + func (s *OrderCancelReplaceService) StrategyType(strategyType int) *OrderCancelReplaceService + func (s *OrderCancelReplaceService) Symbol(symbol string) *OrderCancelReplaceService + func (s *OrderCancelReplaceService) TimeInForce(timeInForce string) *OrderCancelReplaceService + func (s *OrderCancelReplaceService) TrailingDelta(trailingDelta float64) *OrderCancelReplaceService + type OrderCancelResponse struct + Error *WsAPIErrorResponse + ID string + RateLimits []*WsAPIRateLimit + Result *OrderCancelResult + Status int + type OrderCancelResult struct + ClientOrderId string + CummulativeQuoteQty string + ExecutedQty string + IcebergQty string + OrderId int64 + OrderListId int + OrigClientOrderId string + OrigQty string + PreventedMatchId int64 + PreventedQuantity string + Price string + SelfTradePreventionMode string + Side string + Status string + StopPrice string + StrategyId int64 + StrategyType int64 + Symbol string + TimeInForce string + TrailingDelta string + TrailingTime int64 + Type string + type OrderCancelService struct + func (s *OrderCancelService) CancelRestrictions(cancelRestrictions string) *OrderCancelService + func (s *OrderCancelService) Do(ctx context.Context) (*OrderCancelResponse, error) + func (s *OrderCancelService) NewClientOrderId(newClientOrderId string) *OrderCancelService + func (s *OrderCancelService) OrderId(orderId int64) *OrderCancelService + func (s *OrderCancelService) OrigClientOrderId(origClientOrderId string) *OrderCancelService + func (s *OrderCancelService) RecvWindow(recvWindow int64) *OrderCancelService + func (s *OrderCancelService) Symbol(symbol string) *OrderCancelService + type OrderCancelledResult struct + ClientOrderId string + CummulativeQuoteQty string + ExecutedQty string + OrderId int64 + OrderListId int + OrigClientOrderId string + OrigQty string + Price string + SelfTradePreventionMode string + Side string + Status string + Symbol string + TimeInForce string + Type string + type OrderFill struct + Commission string + CommissionAsset string + Price string + Qty string + TradeID int64 + type OrderHistoryItem struct + ClientOrderID string + CummulativeQuoteQty string + ExecutedQty string + IcebergQty string + IsWorking bool + OrderID int64 + OrderListID int64 + OrigQty string + OrigQuoteOrderQty string + PreventedMatchID int64 + PreventedQuantity string + Price string + SelfTradePreventionMode string + Side string + Status string + StopPrice string + Symbol string + Time int64 + TimeInForce string + Type string + UpdateTime int64 + WorkingTime int64 + type OrderInfo struct + ClientOrderId string + OrderId int64 + Symbol string + type OrderListCancelOrder struct + ClientOrderId string + OrderId int64 + Symbol string + type OrderListCancelOrderReport struct + ClientOrderId string + CummulativeQuoteQty string + ExecutedQty string + OrderId int64 + OrderListId int64 + OrigQty string + Price string + SelfTradePreventionMode string + Side string + Status string + Symbol string + TimeInForce string + TransactionTime uint64 + Type string + type OrderListCancelResponse struct + Error *WsAPIErrorResponse + ID string + RateLimits []*WsAPIRateLimit + Result *OrderListCancelResult + Status int + type OrderListCancelResult struct + ContingencyType string + ListClientOrderId string + ListOrderStatus string + ListStatusType string + OrderListId int64 + OrderReports []*OrderListCancelOrderReport + Orders []*OrderListCancelOrder + Symbol string + TransactionTime uint64 + type OrderListCancelService struct + func (s *OrderListCancelService) Do(ctx context.Context) (*OrderListCancelResponse, error) + func (s *OrderListCancelService) ListClientOrderId(listClientOrderId string) *OrderListCancelService + func (s *OrderListCancelService) NewClientOrderId(newClientOrderId string) *OrderListCancelService + func (s *OrderListCancelService) OrderListId(orderListId int) *OrderListCancelService + func (s *OrderListCancelService) RecvWindow(recvWindow int64) *OrderListCancelService + func (s *OrderListCancelService) Symbol(symbol string) *OrderListCancelService + type OrderListPlaceResponse struct + Error *WsAPIErrorResponse + ID string + RateLimits []*WsAPIRateLimit + Result *OrderListPlaceResult + Status int + type OrderListPlaceResult struct + ContingencyType string + ListClientOrderId string + ListOrderStatus string + ListStatusType string + OrderListId int + OrderReports []*OrderReport + Orders []*OrderInfo + Symbol string + TransactionTime int64 + type OrderListPlaceService struct + func (s *OrderListPlaceService) Do(ctx context.Context) (*OrderListPlaceResponse, error) + func (s *OrderListPlaceService) LimitClientOrderId(limitClientOrderId string) *OrderListPlaceService + func (s *OrderListPlaceService) LimitIcebergQty(limitIcebergQty float64) *OrderListPlaceService + func (s *OrderListPlaceService) LimitStrategyId(limitStrategyId int) *OrderListPlaceService + func (s *OrderListPlaceService) LimitStrategyType(limitStrategyType int) *OrderListPlaceService + func (s *OrderListPlaceService) ListClientOrderId(listClientOrderId string) *OrderListPlaceService + func (s *OrderListPlaceService) NewOrderRespType(newOrderRespType string) *OrderListPlaceService + func (s *OrderListPlaceService) Price(price float64) *OrderListPlaceService + func (s *OrderListPlaceService) Quantity(quantity float64) *OrderListPlaceService + func (s *OrderListPlaceService) RecvWindow(recvWindow int64) *OrderListPlaceService + func (s *OrderListPlaceService) SelfTradePreventionMode(selfTradePreventionMode string) *OrderListPlaceService + func (s *OrderListPlaceService) Side(side string) *OrderListPlaceService + func (s *OrderListPlaceService) StopClientOrderId(stopClientOrderId string) *OrderListPlaceService + func (s *OrderListPlaceService) StopIcebergQty(stopIcebergQty float64) *OrderListPlaceService + func (s *OrderListPlaceService) StopLimitPrice(stopLimitPrice float64) *OrderListPlaceService + func (s *OrderListPlaceService) StopLimitTimeInForce(stopLimitTimeInForce string) *OrderListPlaceService + func (s *OrderListPlaceService) StopPrice(stopPrice float64) *OrderListPlaceService + func (s *OrderListPlaceService) StopStrategyId(stopStrategyId int) *OrderListPlaceService + func (s *OrderListPlaceService) StopStrategyType(stopStrategyType int) *OrderListPlaceService + func (s *OrderListPlaceService) Symbol(symbol string) *OrderListPlaceService + type OrderListStatusOrder struct + ClientOrderId string + OrderId int64 + Symbol string + type OrderListStatusResponse struct + Error *WsAPIErrorResponse + ID string + RateLimits []*WsAPIRateLimit + Result *OrderListStatusResult + Status int + type OrderListStatusResult struct + ContingencyType string + ListClientOrderId string + ListOrderStatus string + ListStatusType string + OrderListId int + Orders []*OrderListStatusOrder + Symbol string + TransactionTime uint64 + type OrderListStatusService struct + func (s *OrderListStatusService) Do(ctx context.Context) (*OrderListStatusResponse, error) + func (s *OrderListStatusService) OrderListId(orderListId int) *OrderListStatusService + func (s *OrderListStatusService) OrigClientOrderId(origClientOrderId string) *OrderListStatusService + func (s *OrderListStatusService) RecvWindow(recvWindow int64) *OrderListStatusService + type OrderOCOResponse struct + ContingencyType string + ListClientOrderId string + ListOrderStatus string + ListStatusType string + OrderListId int64 + OrderReports []struct{ ... } + Orders []struct{ ... } + Symbol string + TransactionTime uint64 + type OrderPlacedResult struct + ClientOrderId string + CummulativeQuoteQty string + ExecutedQty string + Fills []*Fill + OrderId int64 + OrderListId int + OrigQty string + Price string + SelfTradePreventionMode string + Side string + Status string + Symbol string + TimeInForce string + TransactTime int64 + Type string + WorkingTime uint64 + type OrderPlacementResponse struct + Error *WsAPIErrorResponse + ID string + RateLimits []*WsAPIRateLimit + Result *OrderPlacementResult + Status int + type OrderPlacementResult struct + ClientOrderID string + CummulativeQuoteQty string + ExecutedQty string + Fills []OrderFill + IcebergQty string + OrderID int64 + OrderListID int64 + OrigQty string + PreventedMatchId int64 + PreventedQuantity string + Price string + SelfTradePrevention string + Side string + Status string + StopPrice string + StrategyId int64 + StrategyType int64 + Symbol string + TimeInForce string + TrailingDelta string + TrailingTime int64 + TransactTime int64 + Type string + WorkingTime int64 + type OrderPlacementService struct + func (s *OrderPlacementService) Do(ctx context.Context) (*OrderPlacementResponse, error) + func (s *OrderPlacementService) IcebergQty(icebergQty float64) *OrderPlacementService + func (s *OrderPlacementService) NewClientOrderId(newClientOrderId string) *OrderPlacementService + func (s *OrderPlacementService) NewOrderRespType(newOrderRespType string) *OrderPlacementService + func (s *OrderPlacementService) OrderType(orderType string) *OrderPlacementService + func (s *OrderPlacementService) Price(price float64) *OrderPlacementService + func (s *OrderPlacementService) Quantity(quantity float64) *OrderPlacementService + func (s *OrderPlacementService) QuoteOrderQty(quoteOrderQty float64) *OrderPlacementService + func (s *OrderPlacementService) RecvWindow(recvWindow int64) *OrderPlacementService + func (s *OrderPlacementService) SelfTradePreventionMode(selfTradePreventionMode string) *OrderPlacementService + func (s *OrderPlacementService) Side(side string) *OrderPlacementService + func (s *OrderPlacementService) StopPrice(stopPrice float64) *OrderPlacementService + func (s *OrderPlacementService) StrategyId(strategyId int) *OrderPlacementService + func (s *OrderPlacementService) StrategyType(strategyType int) *OrderPlacementService + func (s *OrderPlacementService) Symbol(symbol string) *OrderPlacementService + func (s *OrderPlacementService) TimeInForce(timeInForce string) *OrderPlacementService + func (s *OrderPlacementService) TrailingDelta(trailingDelta int64) *OrderPlacementService + type OrderReport struct + ClientOrderId string + CummulativeQuoteQty string + ExecutedQty string + OrderId int64 + OrderListId int + OrigQty string + Price string + SelfTradePreventionMode string + Side string + Status string + Symbol string + TimeInForce string + TransactTime uint64 + Type string + WorkingTime uint64 + type OrderStatusResponse struct + Error *WsAPIErrorResponse + ID string + RateLimits []*WsAPIRateLimit + Result *OrderStatusResult + Status int + type OrderStatusResult struct + ClientOrderID string + CummulativeQuoteQty string + ExecutedQty string + IcebergQty string + IsWorking bool + OrderID int64 + OrderListID int + OrigQty string + OrigQuoteOrderQty string + PreventedMatchId int64 + PreventedQuantity string + Price string + SelfTradePreventionMode string + Side string + Status string + StopPrice string + StrategyId int64 + StrategyType int64 + Symbol string + Time uint64 + TimeInForce string + TrailingDelta string + TrailingTime int64 + Type string + UpdateTime uint64 + WorkingTime uint64 + type OrderStatusService struct + func (s *OrderStatusService) ClientOrderID(origClientOrderId string) *OrderStatusService + func (s *OrderStatusService) Do(ctx context.Context) (*OrderStatusResponse, error) + func (s *OrderStatusService) OrderId(orderId int64) *OrderStatusService + func (s *OrderStatusService) RecvWindow(recvWindow int64) *OrderStatusService + func (s *OrderStatusService) Symbol(symbol string) *OrderStatusService + type Ping struct + func (s *Ping) Do(ctx context.Context, opts ...RequestOption) (err error) + type PingUserDataStreamResponse struct + Error *WsAPIErrorResponse + ID string + RateLimits []*WsAPIRateLimit + Response struct{} + Status int + type PingUserDataStreamService struct + func (s *PingUserDataStreamService) Do(ctx context.Context) (*PingUserDataStreamResponse, error) + func (s *PingUserDataStreamService) ListenKey(listenKey string) *PingUserDataStreamService + type PingUserStream struct + func (s *PingUserStream) Do(ctx context.Context, opts ...RequestOption) (err error) + func (s *PingUserStream) ListenKey(listenKey string) *PingUserStream + type PreventedMatch struct + MakerOrderId int64 + MakerPreventedQuantity string + PreventedMatchId int64 + Price string + SelfTradePreventionMode string + Symbol string + TakerOrderId int64 + TradeGroupId int64 + TransactTime uint64 + type PriceLevel struct + Price string + Quantity string + func (p *PriceLevel) Parse() (float64, float64, error) + type QueryAllOCOService struct + func (s *QueryAllOCOService) Do(ctx context.Context, opts ...RequestOption) (res []*OCOResponse, err error) + func (s *QueryAllOCOService) EndTime(endTime uint64) *QueryAllOCOService + func (s *QueryAllOCOService) FromId(fromId int64) *QueryAllOCOService + func (s *QueryAllOCOService) Limit(limit int) *QueryAllOCOService + func (s *QueryAllOCOService) StartTime(startTime uint64) *QueryAllOCOService + type QueryCurrentOrderCountUsageResponse struct + Count int + Interval string + IntervalNum int + Limit int + RateLimitType string + type QueryLiabilityCoinLeverageBracketResponse struct + AssetNames []string + Brackets []struct{ ... } + Rank int + type QueryLiabilityCoinLeverageBracketService struct + func (s *QueryLiabilityCoinLeverageBracketService) Do(ctx context.Context, opts ...RequestOption) (res []*QueryLiabilityCoinLeverageBracketResponse, err error) + type QueryManagedSubAccountAssetDetailsResp struct + AssetDetail []struct{ ... } + type QueryManagedSubAccountAssetDetailsService struct + func (s *QueryManagedSubAccountAssetDetailsService) Do(ctx context.Context, opts ...RequestOption) (res *QueryManagedSubAccountAssetDetailsResp, err error) + func (s *QueryManagedSubAccountAssetDetailsService) Email(email string) *QueryManagedSubAccountAssetDetailsService + type QueryManagedSubAccountFuturesAssetDetailsResp struct + Code int + Message string + SnapshotVos []struct{ ... } + type QueryManagedSubAccountFuturesAssetDetailsService struct + func (s *QueryManagedSubAccountFuturesAssetDetailsService) Do(ctx context.Context, opts ...RequestOption) (res *QueryManagedSubAccountFuturesAssetDetailsResp, err error) + func (s *QueryManagedSubAccountFuturesAssetDetailsService) Email(email string) *QueryManagedSubAccountFuturesAssetDetailsService + type QueryManagedSubAccountList struct + func (s *QueryManagedSubAccountList) Do(ctx context.Context, opts ...RequestOption) (res *QueryManagedSubAccountListResp, err error) + func (s *QueryManagedSubAccountList) Email(email string) *QueryManagedSubAccountList + func (s *QueryManagedSubAccountList) Limit(limit int) *QueryManagedSubAccountList + func (s *QueryManagedSubAccountList) Page(page int) *QueryManagedSubAccountList + type QueryManagedSubAccountListResp struct + ManagerSubUserInfoVoList []struct{ ... } + Total int + type QueryManagedSubAccountMarginAssetDetailsResp struct + MarginLevel string + TotalAssetOfBtc string + TotalLiabilityOfBtc string + TotalNetAssetOfBtc string + UserAssets []struct{ ... } + type QueryManagedSubAccountMarginAssetDetailsService struct + func (s *QueryManagedSubAccountMarginAssetDetailsService) Do(ctx context.Context, opts ...RequestOption) (res *QueryManagedSubAccountMarginAssetDetailsResp, err error) + func (s *QueryManagedSubAccountMarginAssetDetailsService) Email(email string) *QueryManagedSubAccountMarginAssetDetailsService + type QueryManagedSubAccountSnapshotResp struct + Code int + Msg string + SnapshotVos []struct{ ... } + type QueryManagedSubAccountSnapshotService struct + func (s *QueryManagedSubAccountSnapshotService) Do(ctx context.Context, opts ...RequestOption) (res *QueryManagedSubAccountSnapshotResp, err error) + func (s *QueryManagedSubAccountSnapshotService) Email(email string) *QueryManagedSubAccountSnapshotService + func (s *QueryManagedSubAccountSnapshotService) EndTime(endTime uint64) *QueryManagedSubAccountSnapshotService + func (s *QueryManagedSubAccountSnapshotService) Limit(limit int) *QueryManagedSubAccountSnapshotService + func (s *QueryManagedSubAccountSnapshotService) StartTime(startTime uint64) *QueryManagedSubAccountSnapshotService + func (s *QueryManagedSubAccountSnapshotService) SubType(subType string) *QueryManagedSubAccountSnapshotService + type QueryManagedSubAccountTransferLogForTradingTeamResp struct + Count int + ManagerSubTransferHistoryVos []struct{ ... } + type QueryManagedSubAccountTransferLogForTradingTeamService struct + func (s *QueryManagedSubAccountTransferLogForTradingTeamService) Do(ctx context.Context, opts ...RequestOption) (res *QueryManagedSubAccountTransferLogForTradingTeamResp, err error) + func (s *QueryManagedSubAccountTransferLogForTradingTeamService) Email(email string) *QueryManagedSubAccountTransferLogForTradingTeamService + func (s *QueryManagedSubAccountTransferLogForTradingTeamService) EndTime(endTime uint64) *QueryManagedSubAccountTransferLogForTradingTeamService + func (s *QueryManagedSubAccountTransferLogForTradingTeamService) Limit(limit int) *QueryManagedSubAccountTransferLogForTradingTeamService + func (s *QueryManagedSubAccountTransferLogForTradingTeamService) Page(page int) *QueryManagedSubAccountTransferLogForTradingTeamService + func (s *QueryManagedSubAccountTransferLogForTradingTeamService) StartTime(startTime uint64) *QueryManagedSubAccountTransferLogForTradingTeamService + func (s *QueryManagedSubAccountTransferLogForTradingTeamService) TransferFunctionAccountType(transferFunctionAccountType string) *QueryManagedSubAccountTransferLogForTradingTeamService + func (s *QueryManagedSubAccountTransferLogForTradingTeamService) Transfers(transfers string) *QueryManagedSubAccountTransferLogForTradingTeamService + type QueryManagedSubAccountTransferLogResp struct + Count int + ManagerSubTransferHistoryVos []struct{ ... } + type QueryManagedSubAccountTransferLogService struct + func (s *QueryManagedSubAccountTransferLogService) Do(ctx context.Context, opts ...RequestOption) (res *QueryManagedSubAccountTransferLogResp, err error) + func (s *QueryManagedSubAccountTransferLogService) Email(email string) *QueryManagedSubAccountTransferLogService + func (s *QueryManagedSubAccountTransferLogService) EndTime(endTime uint64) *QueryManagedSubAccountTransferLogService + func (s *QueryManagedSubAccountTransferLogService) Limit(limit int) *QueryManagedSubAccountTransferLogService + func (s *QueryManagedSubAccountTransferLogService) Page(page int) *QueryManagedSubAccountTransferLogService + func (s *QueryManagedSubAccountTransferLogService) StartTime(startTime uint64) *QueryManagedSubAccountTransferLogService + func (s *QueryManagedSubAccountTransferLogService) TransferFunctionAccountType(transferFunctionAccountType string) *QueryManagedSubAccountTransferLogService + func (s *QueryManagedSubAccountTransferLogService) Transfers(transfers string) *QueryManagedSubAccountTransferLogService + type QueryMarginAvailableInventoryResponse struct + Assets map[string]string + UpdateTime int64 + type QueryMarginAvailableInventoryService struct + func (s *QueryMarginAvailableInventoryService) Do(ctx context.Context, opts ...RequestOption) (res *QueryMarginAvailableInventoryResponse, err error) + func (s *QueryMarginAvailableInventoryService) MarginType(marginType string) *QueryMarginAvailableInventoryService + type QueryMarginPriceIndexResponse struct + CalcTime int64 + Price string + Symbol string + type QueryMarginPriceIndexService struct + func (s *QueryMarginPriceIndexService) Do(ctx context.Context, opts ...RequestOption) (res *QueryMarginPriceIndexResponse, err error) + func (s *QueryMarginPriceIndexService) Symbol(symbol string) *QueryMarginPriceIndexService + type QueryOCOService struct + func (s *QueryOCOService) Do(ctx context.Context, opts ...RequestOption) (res *OCOResponse, err error) + func (s *QueryOCOService) OrderListId(orderListId int64) *QueryOCOService + func (s *QueryOCOService) OrigClientOrderId(origClientOrderId string) *QueryOCOService + type QueryOpenOCOService struct + func (s *QueryOpenOCOService) Do(ctx context.Context, opts ...RequestOption) (res *OCOResponse, err error) + type QueryPreventedMatchesResponse struct + PreventedMatches []struct{ ... } + type QuerySubAccountAssetsForMasterAccountResp struct + Balances []struct{ ... } + type QuerySubAccountAssetsForMasterAccountService struct + func (s *QuerySubAccountAssetsForMasterAccountService) Do(ctx context.Context, opts ...RequestOption) (res *QuerySubAccountAssetsForMasterAccountResp, err error) + func (s *QuerySubAccountAssetsForMasterAccountService) Email(email string) *QuerySubAccountAssetsForMasterAccountService + type QuerySubAccountAssetsResp struct + Balances []struct{ ... } + type QuerySubAccountAssetsService struct + func (s *QuerySubAccountAssetsService) Do(ctx context.Context, opts ...RequestOption) (res *QuerySubAccountAssetsResp, err error) + func (s *QuerySubAccountAssetsService) Email(email string) *QuerySubAccountAssetsService + type QuerySubAccountFuturesAssetTransferHistoryResp struct + FuturesType int64 + Success bool + Transfers []struct{ ... } + type QuerySubAccountFuturesAssetTransferHistoryService struct + func (s *QuerySubAccountFuturesAssetTransferHistoryService) Do(ctx context.Context, opts ...RequestOption) (res *QuerySubAccountFuturesAssetTransferHistoryResp, err error) + func (s *QuerySubAccountFuturesAssetTransferHistoryService) Email(email string) *QuerySubAccountFuturesAssetTransferHistoryService + func (s *QuerySubAccountFuturesAssetTransferHistoryService) EndTime(endTime uint64) *QuerySubAccountFuturesAssetTransferHistoryService + func (s *QuerySubAccountFuturesAssetTransferHistoryService) FuturesType(futuresType int) *QuerySubAccountFuturesAssetTransferHistoryService + func (s *QuerySubAccountFuturesAssetTransferHistoryService) Limit(limit int) *QuerySubAccountFuturesAssetTransferHistoryService + func (s *QuerySubAccountFuturesAssetTransferHistoryService) Page(page int) *QuerySubAccountFuturesAssetTransferHistoryService + func (s *QuerySubAccountFuturesAssetTransferHistoryService) StartTime(startTime uint64) *QuerySubAccountFuturesAssetTransferHistoryService + type QuerySubAccountListService struct + func (s *QuerySubAccountListService) Do(ctx context.Context, opts ...RequestOption) (res *SubAccountListResp, err error) + func (s *QuerySubAccountListService) Email(email string) *QuerySubAccountListService + func (s *QuerySubAccountListService) IsFreeze(isFreeze string) *QuerySubAccountListService + func (s *QuerySubAccountListService) Limit(limit int) *QuerySubAccountListService + func (s *QuerySubAccountListService) Page(page int) *QuerySubAccountListService + type QuerySubAccountSpotAssetTransferHistoryResp struct + Rows []struct{ ... } + type QuerySubAccountSpotAssetTransferHistoryService struct + func (s *QuerySubAccountSpotAssetTransferHistoryService) Do(ctx context.Context, opts ...RequestOption) (res *QuerySubAccountSpotAssetTransferHistoryResp, err error) + func (s *QuerySubAccountSpotAssetTransferHistoryService) EndTime(endTime uint64) *QuerySubAccountSpotAssetTransferHistoryService + func (s *QuerySubAccountSpotAssetTransferHistoryService) FromEmail(fromEmail string) *QuerySubAccountSpotAssetTransferHistoryService + func (s *QuerySubAccountSpotAssetTransferHistoryService) Limit(limit int) *QuerySubAccountSpotAssetTransferHistoryService + func (s *QuerySubAccountSpotAssetTransferHistoryService) Page(page int) *QuerySubAccountSpotAssetTransferHistoryService + func (s *QuerySubAccountSpotAssetTransferHistoryService) StartTime(startTime uint64) *QuerySubAccountSpotAssetTransferHistoryService + func (s *QuerySubAccountSpotAssetTransferHistoryService) ToEmail(toEmail string) *QuerySubAccountSpotAssetTransferHistoryService + type QuerySubAccountSpotAssetsSummaryResp struct + MasterAccountTotalAsset string + SpotSubUserAssetBtcVoList []struct{ ... } + TotalCount int64 + type QuerySubAccountSpotAssetsSummaryService struct + func (s *QuerySubAccountSpotAssetsSummaryService) Do(ctx context.Context, opts ...RequestOption) (res *QuerySubAccountSpotAssetsSummaryResp, err error) + func (s *QuerySubAccountSpotAssetsSummaryService) Email(email string) *QuerySubAccountSpotAssetsSummaryService + func (s *QuerySubAccountSpotAssetsSummaryService) Page(page int) *QuerySubAccountSpotAssetsSummaryService + func (s *QuerySubAccountSpotAssetsSummaryService) Size(size int) *QuerySubAccountSpotAssetsSummaryService + type QuerySubAccountTransactionTatistics struct + func (s *QuerySubAccountTransactionTatistics) Do(ctx context.Context, opts ...RequestOption) (res *QuerySubAccountTransactionTatisticsResp, err error) + func (s *QuerySubAccountTransactionTatistics) Email(email string) *QuerySubAccountTransactionTatistics + type QuerySubAccountTransactionTatisticsResp struct + Recent30BtcFuturesTotal string + Recent30BtcMarginTotal string + Recent30BtcTotal string + Recent30BusdFuturesTotal string + Recent30BusdMarginTotal string + Recent30BusdTotal string + TradeInfoVos []struct{ ... } + type QueryUniversalTransferHistoryResp struct + Result []*InternalUniversalTransfer + TotalCount int + type QueryUniversalTransferHistoryService struct + func (s *QueryUniversalTransferHistoryService) ClientTranId(clientTranId string) *QueryUniversalTransferHistoryService + func (s *QueryUniversalTransferHistoryService) Do(ctx context.Context, opts ...RequestOption) (res QueryUniversalTransferHistoryResp, err error) + func (s *QueryUniversalTransferHistoryService) EndTime(endTime uint64) *QueryUniversalTransferHistoryService + func (s *QueryUniversalTransferHistoryService) FromEmail(fromEmail string) *QueryUniversalTransferHistoryService + func (s *QueryUniversalTransferHistoryService) Limit(limit int) *QueryUniversalTransferHistoryService + func (s *QueryUniversalTransferHistoryService) Page(page int) *QueryUniversalTransferHistoryService + func (s *QueryUniversalTransferHistoryService) StartTime(startTime uint64) *QueryUniversalTransferHistoryService + func (s *QueryUniversalTransferHistoryService) ToEmail(toEmail string) *QueryUniversalTransferHistoryService + type RateLimit struct + Interval string + Limit int + RateLimitType string + type RecentTradeResult struct + ID int64 + IsBestMatch bool + IsBuyerMaker bool + Price string + Quantity string + Time int64 + type RecentTradesList struct + func (s *RecentTradesList) Do(ctx context.Context, opts ...RequestOption) (res []*RecentTradesListResponse, err error) + func (s *RecentTradesList) Limit(limit int) *RecentTradesList + func (s *RecentTradesList) Symbol(symbol string) *RecentTradesList + type RecentTradesListResponse struct + Id uint64 + IsBest bool + IsBuyerMaker bool + Price string + Qty string + QuoteQty string + Time uint64 + type RecentTradesResponse struct + Error *WsAPIErrorResponse + ID string + RateLimits []*WsAPIRateLimit + Result []*RecentTradeResult + Status int + type RecentTradesService struct + func (s *RecentTradesService) Do(ctx context.Context) (*RecentTradesResponse, error) + func (s *RecentTradesService) Limit(limit int) *RecentTradesService + func (s *RecentTradesService) Symbol(symbol string) *RecentTradesService + type RequestOption func(*request) + func WithRecvWindow(recvWindow int64) RequestOption + type ServerTime struct + func (s *ServerTime) Do(ctx context.Context, opts ...RequestOption) (res *ServerTimeResponse, err error) + type ServerTimeResponse struct + ServerTime uint64 + type StartUserDataStreamResponse struct + Error *WsAPIErrorResponse + ID string + RateLimits []*WsAPIRateLimit + Result struct{ ... } + Status int + type StartUserDataStreamService struct + func (s *StartUserDataStreamService) Do(ctx context.Context) (*StartUserDataStreamResponse, error) + type StopUserDataStreamResponse struct + Error *WsAPIErrorResponse + ID string + RateLimits []*WsAPIRateLimit + Response struct{} + Status int + type StopUserDataStreamService struct + func (s *StopUserDataStreamService) Do(ctx context.Context) (*StopUserDataStreamResponse, error) + func (s *StopUserDataStreamService) ListenKey(listenKey string) *StopUserDataStreamService + type SubAccount struct + CreateTime uint64 + Email string + IsAssetManagementSubAccount bool + IsFreeze bool + IsManagedSubAccount bool + type SubAccountFuturesAssetTransferResp struct + Success bool + TxnId string + type SubAccountFuturesAssetTransferService struct + func (s *SubAccountFuturesAssetTransferService) Amount(amount float32) *SubAccountFuturesAssetTransferService + func (s *SubAccountFuturesAssetTransferService) Asset(asset string) *SubAccountFuturesAssetTransferService + func (s *SubAccountFuturesAssetTransferService) Do(ctx context.Context, opts ...RequestOption) (res *SubAccountFuturesAssetTransferResp, err error) + func (s *SubAccountFuturesAssetTransferService) FromEmail(fromEmail string) *SubAccountFuturesAssetTransferService + func (s *SubAccountFuturesAssetTransferService) FuturesType(futuresType int64) *SubAccountFuturesAssetTransferService + func (s *SubAccountFuturesAssetTransferService) ToEmail(toEmail string) *SubAccountFuturesAssetTransferService + type SubAccountListResp struct + SubAccounts []SubAccount + type SubAccountTransferHistoryResp struct + Asset string + CounterParty string + Email string + FromAccountType string + Qty string + Status string + Time uint64 + ToAccountType string + TranId int + Type int + type SubAccountTransferHistoryService struct + func (s *SubAccountTransferHistoryService) Asset(asset string) *SubAccountTransferHistoryService + func (s *SubAccountTransferHistoryService) Do(ctx context.Context, opts ...RequestOption) (res []*SubAccountTransferHistoryResp, err error) + func (s *SubAccountTransferHistoryService) EndTime(endTime uint64) *SubAccountTransferHistoryService + func (s *SubAccountTransferHistoryService) Limit(limit int) *SubAccountTransferHistoryService + func (s *SubAccountTransferHistoryService) StartTime(startTime uint64) *SubAccountTransferHistoryService + func (s *SubAccountTransferHistoryService) TransferType(transferType int) *SubAccountTransferHistoryService + type SymbolFilter struct + ApplyMaxToMarket bool + ApplyMinToMarket bool + AskMultiplierDown string + AskMultiplierUp string + AvgPriceMins int64 + BidMultiplierDown string + BidMultiplierUp string + FilterType string + Limit uint + MaxNotional string + MaxNumAlgoOrders int64 + MaxNumOrders int64 + MaxPrice string + MaxQty string + MaxTrailingAboveDelta int64 + MaxTrailingBelowDelta int64 + MinNotional string + MinPrice string + MinQty string + MinTrailingAboveDelta int64 + MinTrailingBelowDelta int64 + StepSize string + TickSize string + type SymbolInfo struct + AllowTrailingStop bool + AllowedSelfTradePreventionModes []string + BaseAsset string + BaseAssetPrecision int64 + BaseCommissionPrecision int64 + CancelReplaceAllowed bool + DefaultSelfTradePreventionMode string + Filters []*SymbolFilter + IcebergAllowed bool + IsMarginTradingAllowed bool + IsSpotTradingAllowed bool + OcoAllowed bool + OrderTypes []string + OtoAllowed bool + PermissionSets [][]string + Permissions []string + QuoteAsset string + QuoteAssetPrecision int64 + QuoteCommissionPrecision int64 + QuoteOrderQtyMarketAllowed bool + QuotePrecision int64 + Status string + Symbol string + type SymbolsDelistScheduleResponse struct + DelistTime uint64 + Symbols []string + type SystemStatusResponse struct + Msg string + Status int + type TestConnectivityResponse struct + Error *WsAPIErrorResponse + ID string + RateLimits []*WsAPIRateLimit + Result struct{} + Status int + type TestConnectivityService struct + func (s *TestConnectivityService) Do(ctx context.Context) (*TestConnectivityResponse, error) + type TestNewOrder struct + func (s *TestNewOrder) Do(ctx context.Context, opts ...RequestOption) (res *AccountOrderBookResponse, err error) + func (s *TestNewOrder) IcebergQty(icebergQty float64) *TestNewOrder + func (s *TestNewOrder) NewClientOrderId(newClientOrderId string) *TestNewOrder + func (s *TestNewOrder) NewOrderRespType(newOrderRespType string) *TestNewOrder + func (s *TestNewOrder) OrderType(orderType string) *TestNewOrder + func (s *TestNewOrder) Price(price float64) *TestNewOrder + func (s *TestNewOrder) Quantity(quantity float64) *TestNewOrder + func (s *TestNewOrder) QuoteOrderQty(quoteOrderQty float64) *TestNewOrder + func (s *TestNewOrder) SelfTradePrevention(selfTradePrevention string) *TestNewOrder + func (s *TestNewOrder) Side(side string) *TestNewOrder + func (s *TestNewOrder) StopPrice(stopPrice float64) *TestNewOrder + func (s *TestNewOrder) StrategyId(strategyId int) *TestNewOrder + func (s *TestNewOrder) StrategyType(strategyType int) *TestNewOrder + func (s *TestNewOrder) Symbol(symbol string) *TestNewOrder + func (s *TestNewOrder) TimeInForce(timeInForce string) *TestNewOrder + func (s *TestNewOrder) TrailingDelta(trailingDelta int) *TestNewOrder + type TestOrderPlacementService struct + func (s *TestOrderPlacementService) Do(ctx context.Context) (*OrderPlacementResponse, error) + func (s *TestOrderPlacementService) IcebergQty(icebergQty float64) *TestOrderPlacementService + func (s *TestOrderPlacementService) NewClientOrderId(newClientOrderId string) *TestOrderPlacementService + func (s *TestOrderPlacementService) NewOrderRespType(newOrderRespType string) *TestOrderPlacementService + func (s *TestOrderPlacementService) OrderType(orderType string) *TestOrderPlacementService + func (s *TestOrderPlacementService) Price(price float64) *TestOrderPlacementService + func (s *TestOrderPlacementService) Quantity(quantity float64) *TestOrderPlacementService + func (s *TestOrderPlacementService) QuoteOrderQty(quoteOrderQty float64) *TestOrderPlacementService + func (s *TestOrderPlacementService) RecvWindow(recvWindow int64) *TestOrderPlacementService + func (s *TestOrderPlacementService) SelfTradePreventionMode(selfTradePreventionMode string) *TestOrderPlacementService + func (s *TestOrderPlacementService) Side(side string) *TestOrderPlacementService + func (s *TestOrderPlacementService) StopPrice(stopPrice float64) *TestOrderPlacementService + func (s *TestOrderPlacementService) StrategyId(strategyId int) *TestOrderPlacementService + func (s *TestOrderPlacementService) StrategyType(strategyType int) *TestOrderPlacementService + func (s *TestOrderPlacementService) Symbol(symbol string) *TestOrderPlacementService + func (s *TestOrderPlacementService) TimeInForce(timeInForce string) *TestOrderPlacementService + func (s *TestOrderPlacementService) TrailingDelta(trailingDelta int64) *TestOrderPlacementService + type Ticker struct + func (s *Ticker) Do(ctx context.Context, opts ...RequestOption) (res *TickerResponse, err error) + func (s *Ticker) Symbol(symbol string) *Ticker + func (s *Ticker) Type(tickerType string) *Ticker + func (s *Ticker) WindowSize(windowSize string) *Ticker + type Ticker24hr struct + func (s *Ticker24hr) Do(ctx context.Context, opts ...RequestOption) (res []*Ticker24hrResponse, err error) + func (s *Ticker24hr) Symbol(symbol string) *Ticker24hr + func (s *Ticker24hr) Symbols(symbols []string) *Ticker24hr + type Ticker24hrData struct + AskPrice string + AskQty string + BidPrice string + BidQty string + CloseQty string + CloseTime int64 + FirstTradeId int64 + HighPrice string + LastPrice string + LastTradeId int64 + LowPrice string + OpenPrice string + OpenTime int64 + PrevClosePrice string + PriceChange string + PriceChangePercent string + QuoteVolume string + Symbol string + TotalTrades int64 + Volume string + WeightedAvgPrice string + type Ticker24hrResponse struct + AskPrice string + BidPrice string + CloseTime uint64 + Count uint64 + FirstId uint64 + HighPrice string + LastId uint64 + LastPrice string + LastQty string + LowPrice string + OpenPrice string + OpenTime uint64 + PrevClosePrice string + PriceChange string + PriceChangePercent string + QuoteVolume string + Symbol string + Volume string + WeightedAvgPrice string + type Ticker24hrService struct + func (s *Ticker24hrService) Do(ctx context.Context) (*WsAPITicker24hrResponse, error) + func (s *Ticker24hrService) Symbol(symbol string) *Ticker24hrService + type TickerBookService struct + func (s *TickerBookService) Do(ctx context.Context) (*WsAPIBookTickerResponse, error) + func (s *TickerBookService) Symbol(symbol string) *TickerBookService + type TickerBookTicker struct + func (s *TickerBookTicker) Do(ctx context.Context, opts ...RequestOption) (res []*TickerBookTickerResponse, err error) + func (s *TickerBookTicker) Symbol(symbol string) *TickerBookTicker + func (s *TickerBookTicker) Symbols(symbols []string) *TickerBookTicker + type TickerBookTickerResponse struct + AskPrice string + AskQty string + BidPrice string + BidQty string + Symbol string + type TickerData struct + CloseTime uint64 + Count int64 + FirstId int64 + HighPrice string + LastId int64 + LastPrice string + LowPrice string + OpenPrice string + OpenTime uint64 + PriceChange string + PriceChangePercent string + QuoteVolume string + Symbol string + Volume string + WeightedAvgPrice string + type TickerPrice struct + func (s *TickerPrice) Do(ctx context.Context, opts ...RequestOption) (res []*TickerPriceResponse, err error) + func (s *TickerPrice) Symbol(symbol string) *TickerPrice + func (s *TickerPrice) Symbols(symbols []string) *TickerPrice + type TickerPriceResponse struct + Price string + Symbol string + type TickerPriceService struct + func (s *TickerPriceService) Do(ctx context.Context) (*WsAPIPriceTickerResponse, error) + func (s *TickerPriceService) Symbol(symbol string) *TickerPriceService + type TickerResponse struct + AskPrice string + BidPrice string + CloseTime uint64 + Count uint64 + FirstId uint64 + HighPrice string + LastId uint64 + LastPrice string + LastQty string + LowPrice string + OpenPrice string + OpenTime uint64 + PrevClosePrice string + PriceChange string + PriceChangePercent string + QuoteVolume string + Symbol string + Volume string + WeightedAvgPrice string + type TickerService struct + func (s *TickerService) Do(ctx context.Context) (*WsAPITickerResponse, error) + func (s *TickerService) Symbol(symbol string) *TickerService + type TimeInForceType string + type TradeFeeResponse struct + MakerCommission string + Symbol string + TakerCommission string + type TradeFeeService struct + func (s *TradeFeeService) Do(ctx context.Context) (res []*TradeFeeResponse, err error) + func (s *TradeFeeService) Symbol(symbol string) *TradeFeeService + type TradeHistoryItem struct + Commission string + CommissionAsset string + ID int64 + IsBestMatch bool + IsBuyer bool + IsMaker bool + OrderID int64 + OrderListID int64 + Price string + Quantity string + QuoteQuantity string + Symbol string + Time int64 + type TransferToMasterResp struct + TxnId int + type TransferToMasterService struct + func (s *TransferToMasterService) Amount(amount float64) *TransferToMasterService + func (s *TransferToMasterService) Asset(asset string) *TransferToMasterService + func (s *TransferToMasterService) Do(ctx context.Context, opts ...RequestOption) (res *TransferToMasterResp, err error) + type TransferToSubAccountOfSameMasterResp struct + TxnId int + type TransferToSubAccountOfSameMasterService struct + func (s *TransferToSubAccountOfSameMasterService) Amount(amount float64) *TransferToSubAccountOfSameMasterService + func (s *TransferToSubAccountOfSameMasterService) Asset(asset string) *TransferToSubAccountOfSameMasterService + func (s *TransferToSubAccountOfSameMasterService) Do(ctx context.Context, opts ...RequestOption) (res *TransferToSubAccountOfSameMasterResp, err error) + func (s *TransferToSubAccountOfSameMasterService) ToEmail(toEmail string) *TransferToSubAccountOfSameMasterService + type UIKlinesResponse struct + Error *WsAPIErrorResponse + ID string + RateLimits []*WsAPIRateLimit + Result [][]interface{} + Status int + type UIKlinesService struct + func (s *UIKlinesService) Do(ctx context.Context) (*UIKlinesResponse, error) + func (s *UIKlinesService) EndTime(endTime int64) *UIKlinesService + func (s *UIKlinesService) Interval(interval string) *UIKlinesService + func (s *UIKlinesService) Limit(limit int) *UIKlinesService + func (s *UIKlinesService) StartTime(startTime int64) *UIKlinesService + func (s *UIKlinesService) Symbol(symbol string) *UIKlinesService + type UiKlines struct + func (s *UiKlines) Do(ctx context.Context, opts ...RequestOption) (res []*UiKlinesResponse, err error) + func (s *UiKlines) EndTime(endTime uint64) *UiKlines + func (s *UiKlines) Interval(interval string) *UiKlines + func (s *UiKlines) Limit(limit int) *UiKlines + func (s *UiKlines) StartTime(startTime uint64) *UiKlines + func (s *UiKlines) Symbol(symbol string) *UiKlines + type UiKlinesResponse struct + Close string + CloseTime uint64 + High string + Low string + NumberOfTrades uint64 + Open string + OpenTime uint64 + QuoteAssetVolume string + TakerBuyBaseAssetVolume string + TakerBuyQuoteAssetVolume string + Volume string + type UiKlinesResponseArray [][]interface + type UniversalTransferResp struct + ClientTranId string + TranId int + type UniversalTransferService struct + func (s *UniversalTransferService) Amount(amount float64) *UniversalTransferService + func (s *UniversalTransferService) Asset(asset string) *UniversalTransferService + func (s *UniversalTransferService) ClientTranId(clientTranId string) *UniversalTransferService + func (s *UniversalTransferService) Do(ctx context.Context, opts ...RequestOption) (res *UniversalTransferResp, err error) + func (s *UniversalTransferService) FromAccountType(fromAccountType string) *UniversalTransferService + func (s *UniversalTransferService) FromEmail(fromEmail string) *UniversalTransferService + func (s *UniversalTransferService) Symbol(symbol string) *UniversalTransferService + func (s *UniversalTransferService) ToAccountType(toAccountType string) *UniversalTransferService + func (s *UniversalTransferService) ToEmail(toEmail string) *UniversalTransferService + type UpdateIPRestrictionForSubAccountAPIKeyResp struct + ApiKey string + IpList []struct{ ... } + Status string + UpdateTime uint64 + type UpdateIPRestrictionForSubAccountAPIKeyService struct + func (s *UpdateIPRestrictionForSubAccountAPIKeyService) Do(ctx context.Context, opts ...RequestOption) (res *UpdateIPRestrictionForSubAccountAPIKeyResp, err error) + func (s *UpdateIPRestrictionForSubAccountAPIKeyService) Email(email string) *UpdateIPRestrictionForSubAccountAPIKeyService + func (s *UpdateIPRestrictionForSubAccountAPIKeyService) IpAddress(ipAddress string) *UpdateIPRestrictionForSubAccountAPIKeyService + func (s *UpdateIPRestrictionForSubAccountAPIKeyService) Status(status string) *UpdateIPRestrictionForSubAccountAPIKeyService + func (s *UpdateIPRestrictionForSubAccountAPIKeyService) SubAccountApiKey(subAccountApiKey string) *UpdateIPRestrictionForSubAccountAPIKeyService + 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 UserAssetResponse struct + Asset string + BtcValuation string + Free string + Freeze string + Ipoable string + Locked string + Withdrawing string + type UserAssetService struct + func (s *UserAssetService) Asset(asset string) *UserAssetService + func (s *UserAssetService) Do(ctx context.Context) (res []*UserAssetResponse, err error) + func (s *UserAssetService) NeedBtcValuation(needBtcValuation bool) *UserAssetService + type UserDataEventType string + const UserDataEventTypeBalanceUpdate + const UserDataEventTypeExecutionReport + const UserDataEventTypeListStatus + const UserDataEventTypeOutboundAccountPosition + type UserDelegationHistoryResponse struct + Rows []struct{ ... } + Total int32 + type UserDelegationHistoryService struct + func (s *UserDelegationHistoryService) Asset(asset string) *UserDelegationHistoryService + func (s *UserDelegationHistoryService) Current(current int) *UserDelegationHistoryService + func (s *UserDelegationHistoryService) DelegationType(delegationType string) *UserDelegationHistoryService + func (s *UserDelegationHistoryService) Do(ctx context.Context) (res *UserDelegationHistoryResponse, err error) + func (s *UserDelegationHistoryService) Email(email string) *UserDelegationHistoryService + func (s *UserDelegationHistoryService) EndTime(endTime uint64) *UserDelegationHistoryService + func (s *UserDelegationHistoryService) Size(size int) *UserDelegationHistoryService + func (s *UserDelegationHistoryService) StartTime(startTime uint64) *UserDelegationHistoryService + type UserUniversalTransferHistoryResponse struct + Rows []struct{ ... } + Total int64 + type UserUniversalTransferHistoryService struct + func (s *UserUniversalTransferHistoryService) Current(current int) *UserUniversalTransferHistoryService + func (s *UserUniversalTransferHistoryService) Do(ctx context.Context) (res *UserUniversalTransferHistoryResponse, err error) + func (s *UserUniversalTransferHistoryService) EndTime(endTime uint64) *UserUniversalTransferHistoryService + func (s *UserUniversalTransferHistoryService) FromSymbol(fromSymbol string) *UserUniversalTransferHistoryService + func (s *UserUniversalTransferHistoryService) Size(size int) *UserUniversalTransferHistoryService + func (s *UserUniversalTransferHistoryService) StartTime(startTime uint64) *UserUniversalTransferHistoryService + func (s *UserUniversalTransferHistoryService) ToSymbol(toSymbol string) *UserUniversalTransferHistoryService + func (s *UserUniversalTransferHistoryService) TransferType(transferType string) *UserUniversalTransferHistoryService + type UserUniversalTransferResponse struct + TranId int64 + type UserUniversalTransferService struct + func (s *UserUniversalTransferService) Amount(amount float64) *UserUniversalTransferService + func (s *UserUniversalTransferService) Asset(asset string) *UserUniversalTransferService + func (s *UserUniversalTransferService) Do(ctx context.Context) (res *UserUniversalTransferResponse, err error) + func (s *UserUniversalTransferService) FromSymbol(fromSymbol string) *UserUniversalTransferService + func (s *UserUniversalTransferService) ToSymbol(toSymbol string) *UserUniversalTransferService + func (s *UserUniversalTransferService) TransferType(transferType string) *UserUniversalTransferService + type WalletBalanceResponse struct + Activate bool + Balance string + WalletName string + type WalletBalanceService struct + func (s *WalletBalanceService) Do(ctx context.Context) (res []*WalletBalanceResponse, err error) + type WebsocketAPIClient struct + APIKey string + APISecret string + Conn *websocket.Conn + Dialer *websocket.Dialer + Endpoint string + ReqResponseMap map[string]chan []byte + func NewWebsocketAPIClient(apiKey string, apiSecret string, baseURL ...string) *WebsocketAPIClient + func (c *WebsocketAPIClient) Close() error + func (c *WebsocketAPIClient) Connect() error + func (c *WebsocketAPIClient) Handler(message []byte) + func (c *WebsocketAPIClient) RequestHandler(req interface{}, handler WsHandler, errHandler ErrHandler) (stopCh chan struct{}, err error) + func (c *WebsocketAPIClient) SendMessage(msg interface{}) error + func (c *WebsocketAPIClient) WaitForCloseSignal() + func (w *WebsocketAPIClient) NewAccountInformationService() *AccountInformationService + func (w *WebsocketAPIClient) NewAccountOCOHistoryService() *AccountOCOHistoryService + func (w *WebsocketAPIClient) NewAccountOrderHistoryService() *AccountOrderHistoryService + func (w *WebsocketAPIClient) NewAccountOrderRateLimitsService() *AccountOrderRateLimitsService + func (w *WebsocketAPIClient) NewAccountPreventedMatchesService() *AccountPreventedMatchesService + func (w *WebsocketAPIClient) NewAccountTradeHistoryService() *AccountTradeHistoryService + func (w *WebsocketAPIClient) NewAggTradesService() *AggregateTradesService + func (w *WebsocketAPIClient) NewAvgPriceService() *AvgPriceService + func (w *WebsocketAPIClient) NewCancelOCOService() *OrderListCancelService + func (w *WebsocketAPIClient) NewCancelOpenOrdersService() *OpenOrdersCancelAllService + func (w *WebsocketAPIClient) NewCancelOrderService() *OrderCancelService + func (w *WebsocketAPIClient) NewCancelReplaceOrderService() *OrderCancelReplaceService + func (w *WebsocketAPIClient) NewCheckServerTimeService() *CheckServerTimeService + func (w *WebsocketAPIClient) NewCurrentOpenOCOService() *OpenOrderListsStatusService + func (w *WebsocketAPIClient) NewCurrentOpenOrdersService() *OpenOrdersStatusService + func (w *WebsocketAPIClient) NewDepthService() *DepthService + func (w *WebsocketAPIClient) NewExchangeInformationService() *ExchangeInformationService + func (w *WebsocketAPIClient) NewHistoricalTradesService() *HistoricalTradesService + func (w *WebsocketAPIClient) NewKlinesService() *KlinesService + func (w *WebsocketAPIClient) NewPingUserDataStreamService() *PingUserDataStreamService + func (w *WebsocketAPIClient) NewPlaceNewOrderService() *OrderPlacementService + func (w *WebsocketAPIClient) NewPlaceOCOService() *OrderListPlaceService + func (w *WebsocketAPIClient) NewQueryOCOService() *OrderListStatusService + func (w *WebsocketAPIClient) NewQueryOrderService() *OrderStatusService + func (w *WebsocketAPIClient) NewRecentTradesService() *RecentTradesService + func (w *WebsocketAPIClient) NewStartUserDataStreamService() *StartUserDataStreamService + func (w *WebsocketAPIClient) NewStopUserDataStreamService() *StopUserDataStreamService + func (w *WebsocketAPIClient) NewTestConnectivityService() *TestConnectivityService + func (w *WebsocketAPIClient) NewTestPlaceOrderService() *TestOrderPlacementService + func (w *WebsocketAPIClient) NewTicker24hrService() *Ticker24hrService + func (w *WebsocketAPIClient) NewTickerBookService() *TickerBookService + func (w *WebsocketAPIClient) NewTickerPriceService() *TickerPriceService + func (w *WebsocketAPIClient) NewTickerService() *TickerService + func (w *WebsocketAPIClient) NewUiKlinesService() *UIKlinesService + type WebsocketClientError struct + Message string + func (e *WebsocketClientError) Error() string + type WebsocketStreamClient struct + Endpoint string + IsCombined bool + func NewWebsocketStreamClient(isCombined bool, baseURL ...string) *WebsocketStreamClient + func (c *WebsocketStreamClient) WsAggTradeServe(symbol string, handler WsAggTradeHandler, errHandler ErrHandler) (doneCh, stopCh chan struct{}, err error) + func (c *WebsocketStreamClient) WsAllMarketMiniTickersStatServe(handler WsAllMarketMiniTickersStatServeHandler, errHandler ErrHandler) (doneCh, stopCh chan struct{}, err error) + func (c *WebsocketStreamClient) WsAllMarketTickersStatServe(handler WsAllMarketTickersStatHandler, errHandler ErrHandler) (doneCh, stopCh chan struct{}, err error) + func (c *WebsocketStreamClient) WsBookTickerServe(symbol string, handler WsBookTickerHandler, errHandler ErrHandler) (doneCh, stopCh chan struct{}, err error) + func (c *WebsocketStreamClient) WsCombinedAggTradeServe(symbols []string, handler WsAggTradeHandler, errHandler ErrHandler) (doneCh, stopCh chan struct{}, err error) + func (c *WebsocketStreamClient) WsCombinedBookTickerServe(symbols []string, handler WsBookTickerHandler, errHandler ErrHandler) (doneCh, stopCh chan struct{}, err error) + func (c *WebsocketStreamClient) WsCombinedDepthServe(symbols []string, handler WsDepthHandler, errHandler ErrHandler) (doneCh, stopCh chan struct{}, err error) + func (c *WebsocketStreamClient) WsCombinedDepthServe100Ms(symbols []string, handler WsDepthHandler, errHandler ErrHandler) (doneCh, stopCh chan struct{}, err error) + func (c *WebsocketStreamClient) WsCombinedKlineServe(symbolIntervalPair map[string]string, handler WsKlineHandler, ...) (doneCh, stopCh chan struct{}, err error) + func (c *WebsocketStreamClient) WsCombinedMarketTickersStatServe(symbols []string, handler WsMarketTickersStatHandler, errHandler ErrHandler) (doneCh, stopCh chan struct{}, err error) + func (c *WebsocketStreamClient) WsCombinedPartialDepthServe(symbolLevels map[string]string, handler WsPartialDepthHandler, ...) (doneCh, stopCh chan struct{}, err error) + func (c *WebsocketStreamClient) WsCombinedTradeServe(symbols []string, handler WsCombinedTradeHandler, errHandler ErrHandler) (doneCh, stopCh chan struct{}, err error) + func (c *WebsocketStreamClient) WsDepthServe(symbol string, handler WsDepthHandler, errHandler ErrHandler) (doneCh, stopCh chan struct{}, err error) + func (c *WebsocketStreamClient) WsDepthServe100Ms(symbol string, handler WsDepthHandler, errHandler ErrHandler) (doneCh, stopCh chan struct{}, err error) + func (c *WebsocketStreamClient) WsKlineServe(symbol string, interval string, handler WsKlineHandler, errHandler ErrHandler) (doneCh, stopCh chan struct{}, err error) + func (c *WebsocketStreamClient) WsMarketMiniTickersStatServe(symbol string, handler WsMarketMiniTickersStatHandler, errHandler ErrHandler) (doneCh, stopCh chan struct{}, err error) + func (c *WebsocketStreamClient) WsMarketTickersStatServe(symbol string, handler WsMarketTickersStatHandler, errHandler ErrHandler) (doneCh, stopCh chan struct{}, err error) + func (c *WebsocketStreamClient) WsPartialDepthServe(symbol string, levels string, handler WsPartialDepthHandler, ...) (doneCh, stopCh chan struct{}, err error) + func (c *WebsocketStreamClient) WsPartialDepthServe100Ms(symbol string, levels string, handler WsPartialDepthHandler, ...) (doneCh, stopCh chan struct{}, err error) + func (c *WebsocketStreamClient) WsTradeServe(symbol string, handler WsTradeHandler, errHandler ErrHandler) (doneCh, stopCh chan struct{}, err error) + func (c *WebsocketStreamClient) WsUserDataServe(listenKey string, handler WsUserDataHandler, errHandler ErrHandler) (doneCh, stopCh chan struct{}, err error) + type WithdrawAssetsFromTheManagedSubAccountResp struct + TranId int64 + type WithdrawAssetsFromTheManagedSubAccountService struct + func (s *WithdrawAssetsFromTheManagedSubAccountService) Amount(amount float32) *WithdrawAssetsFromTheManagedSubAccountService + func (s *WithdrawAssetsFromTheManagedSubAccountService) Asset(asset string) *WithdrawAssetsFromTheManagedSubAccountService + func (s *WithdrawAssetsFromTheManagedSubAccountService) Do(ctx context.Context, opts ...RequestOption) (res *WithdrawAssetsFromTheManagedSubAccountResp, err error) + func (s *WithdrawAssetsFromTheManagedSubAccountService) FromEmail(fromEmail string) *WithdrawAssetsFromTheManagedSubAccountService + func (s *WithdrawAssetsFromTheManagedSubAccountService) TransferDate(transferDate int64) *WithdrawAssetsFromTheManagedSubAccountService + type WithdrawHistoryResponse struct + Address string + Amount string + ApplyTime string + Coin string + ConfirmNo int + Id string + Info string + Network string + Status int + TransactionFee string + TransferType int + TxId string + TxKey string + WalletType int + WithdrawOrderId string + type WithdrawHistoryService struct + func (s *WithdrawHistoryService) Coin(coin string) *WithdrawHistoryService + func (s *WithdrawHistoryService) Do(ctx context.Context) (res []*WithdrawHistoryResponse, err error) + func (s *WithdrawHistoryService) EndTime(endTime uint64) *WithdrawHistoryService + func (s *WithdrawHistoryService) Limit(limit int) *WithdrawHistoryService + func (s *WithdrawHistoryService) Offset(offset int) *WithdrawHistoryService + func (s *WithdrawHistoryService) StartTime(startTime uint64) *WithdrawHistoryService + func (s *WithdrawHistoryService) Status(status int) *WithdrawHistoryService + func (s *WithdrawHistoryService) WithdrawOrderId(withdrawOrderId string) *WithdrawHistoryService + type WithdrawResponse struct + Id string + type WithdrawService struct + func (s *WithdrawService) Address(address string) *WithdrawService + func (s *WithdrawService) AddressTag(addressTag string) *WithdrawService + func (s *WithdrawService) Amount(amount float64) *WithdrawService + func (s *WithdrawService) Coin(coin string) *WithdrawService + func (s *WithdrawService) Do(ctx context.Context) (res *WithdrawResponse, err error) + func (s *WithdrawService) Name(name string) *WithdrawService + func (s *WithdrawService) Network(network string) *WithdrawService + func (s *WithdrawService) TransactionFeeFlag(transactionFeeFlag bool) *WithdrawService + func (s *WithdrawService) WalletType(walletType int) *WithdrawService + func (s *WithdrawService) WithdrawOrderId(withdrawOrderId string) *WithdrawService + type WsAPIAvgPriceResponse struct + Error *WsAPIErrorResponse + Id string + RateLimits []*WsAPIRateLimit + Result *AvgPriceResult + Status int + type WsAPIBookTickerResponse struct + Error *WsAPIErrorResponse + Id string + RateLimits []*WsAPIRateLimit + Result *BookTickerData + Status int + type WsAPIErrorResponse struct + Code int + ID string + Message string + type WsAPIKlinesResponse struct + Error *WsAPIErrorResponse + ID string + RateLimits []*WsAPIRateLimit + Result [][]interface{} + Status int + type WsAPIPriceTickerResponse struct + Error *WsAPIErrorResponse + Id string + RateLimits []*WsAPIRateLimit + Result *tickerPriceData + Status int + type WsAPIRateLimit struct + Count int + Interval string + IntervalNum int + Limit int + RateLimitType string + type WsAPITicker24hrResponse struct + Error *WsAPIErrorResponse + Id string + RateLimits []*WsAPIRateLimit + Result *Ticker24hrData + Status int + type WsAPITickerResponse struct + Error *WsAPIErrorResponse + Id string + RateLimits []*WsAPIRateLimit + Result *TickerData + Status int + type WsAccountUpdate struct + Asset string + Free string + Locked string + type WsAccountUpdateList struct + 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 WsAllMarketMiniTickersStatEvent []*WsMarketMiniStatEvent + type WsAllMarketMiniTickersStatServeHandler func(event WsAllMarketMiniTickersStatEvent) + type WsAllMarketTickersStatEvent []*WsMarketTickerStatEvent + type WsAllMarketTickersStatHandler func(event WsAllMarketTickersStatEvent) + type WsBalance struct + Asset string + Free string + Locked string + type WsBalanceUpdate struct + Asset string + Change string + 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 WsCommissionRates struct + Buyer string + Maker string + Seller string + Taker string + type WsConfig struct + Endpoint 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 WsMarketMiniStatEvent struct + BaseVolume string + Event string + HighPrice string + LastPrice string + LowPrice string + OpenPrice string + QuoteVolume string + Symbol string + Time int64 + type WsMarketMiniTickerStatEvent *WsMarketMiniStatEvent + type WsMarketMiniTickersStatHandler func(event WsMarketMiniTickerStatEvent) + type WsMarketTickerStatEvent 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 WsMarketTickersStatHandler func(event *WsMarketTickerStatEvent) + 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 + type WsOrderUpdate struct + ClientOrderId string + CreateTime int64 + ExecutionType string + FeeAsset string + FeeCost string + FilledQuoteVolume string + FilledVolume string + IceBergVolume string + Id int64 + IsInOrderBook bool + IsMaker bool + LatestPrice string + LatestQuoteVolume string + LatestVolume string + OrderListId int64 + OrigCustomOrderId string + Price string + QuoteVolume string + RejectReason string + SelfTradePreventionMode string + Side string + Status string + StopPrice string + StrategyId int64 + StrategyType int64 + Symbol string + TimeInForce TimeInForceType + TradeId int64 + TrailingDelta int64 + TrailingTime int64 + TransactionTime int64 + Type string + Volume 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 + AccountUpdateTime int64 + BalanceUpdate WsBalanceUpdate + Event UserDataEventType + OCOUpdate WsOCOUpdate + OrderUpdate WsOrderUpdate + Time int64 + TransactionTime int64 + type WsUserDataHandler func(event *WsUserDataEvent)