Documentation ¶
Index ¶
- type AccountBalance
- type AccountHistory
- type AccountInfo
- type CurrencyBalance
- type FuturesTransferRequest
- type FuturesTransferResponse
- type GetAccountAssetValuationResponse
- type GetAccountBalanceResponse
- type GetAccountHistoryOptionalRequest
- type GetAccountHistoryResponse
- type GetAccountInfoResponse
- type GetAccountLedgerOptionalRequest
- type GetAccountLedgerResponse
- type GetPointBalanceResponse
- type GetSubUserAccountResponse
- type GetSubUserAggregateBalanceResponse
- type GetUidResponse
- type Ledger
- type SubUserAccount
- type SubscribeAccountV2Response
- type TransferAccountData
- type TransferAccountRequest
- type TransferAccountResponse
- type TransferPointRequest
- type TransferPointResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountBalance ¶
type AccountBalance struct { Id int `json:"id"` Type string `json:"type"` State string `json:"state"` List []CurrencyBalance `json:"list"` }
type AccountHistory ¶
type AccountHistory struct { AccountId int64 `json:"account-id"` Currency string `json:"currency"` TransactAmt string `json:"transact-amt"` TransactType string `json:"transact-type"` RecordId int64 `json:"record-id"` AvailBalance string `json:"avail-balance"` AcctBalance string `json:"acct-balance"` TransactTime int64 `json:"transact-time"` }
type AccountInfo ¶
type CurrencyBalance ¶
type FuturesTransferRequest ¶
type FuturesTransferResponse ¶
type GetAccountBalanceResponse ¶
type GetAccountBalanceResponse struct { Status string `json:"status"` Data *AccountBalance `json:"data"` }
type GetAccountHistoryResponse ¶
type GetAccountHistoryResponse struct { Status string `json:"status"` Data []AccountHistory `json:"data"` NextId int64 `json:"next-id"` }
type GetAccountInfoResponse ¶
type GetAccountInfoResponse struct { Status string `json:"status"` Data []AccountInfo `json:"data"` }
type GetPointBalanceResponse ¶
type GetPointBalanceResponse struct { Code int `json:"code"` Message string `json:"message"` Data *struct { AccountId string `json:"accountId"` AccountStatus string `json:"accountStatus"` AccountBalance string `json:"acctBalance"` GroupIds []struct { GroupId int64 `json:"groupId"` ExpiryDate int64 `json:"expiryDate"` RemainAmount string `json:"remainAmount"` } } }
type GetSubUserAccountResponse ¶
type GetSubUserAccountResponse struct { Status string `json:"status"` Data []SubUserAccount `json:"data"` }
type GetSubUserAggregateBalanceResponse ¶
type GetSubUserAggregateBalanceResponse struct { Status string `json:"status"` Data []AccountBalance `json:"data"` }
type GetUidResponse ¶
type Ledger ¶
type Ledger struct { AccountId int64 `json:"accountId"` Currency string `json:"currency"` TransactAmt decimal.Decimal `json:"transactAmt"` TransactType string `json:"transactType"` TransferType string `json:"transferType"` TransactId int64 `json:"transactId"` TransactTime int64 `json:"transactTime"` Transferer int64 `json:"transferer"` Transferee int64 `json:"transferee"` }
type SubUserAccount ¶
type SubUserAccount struct { Id int `json:"id"` Type string `json:"type"` List []*AccountBalance `json:"list"` }
type SubscribeAccountV2Response ¶
type SubscribeAccountV2Response struct { base.WebSocketV2ResponseBase Data *struct { Currency string `json:"currency"` AccountId int `json:"accountId"` Balance string `json:"balance"` Available string `json:"available"` ChangeType string `json:"changeType"` AccountType string `json:"accountType"` ChangeTime int64 `json:"changeTime"` } }
type TransferAccountData ¶
type TransferAccountRequest ¶
type TransferAccountRequest struct { FromUser int64 `json:"from-user"` FromAccountType string `json:"from-account-type"` FromAccount int64 `json:"from-account"` ToUser int64 `json:"to-user"` ToAccountType string `json:"to-account-type"` ToAccount int64 `json:"to-account"` Currency string `json:"currency"` Amount string `json:"amount"` }
type TransferAccountResponse ¶
type TransferAccountResponse struct { Status string `json:"status"` Data TransferAccountData `json:"data"` }
type TransferPointRequest ¶
Source Files ¶
- futurestransferrequest.go
- futurestransferresponse.go
- getaccountassetvaluationresponse.go
- getaccountbalanceresponse.go
- getaccounthistoryoptionalrequest.go
- getaccounthistoryresponse.go
- getaccountinforesponse.go
- getaccountledgeroptionalrequest.go
- getaccountledgerresponse.go
- getpointbalanceresponse.go
- getsubuseraccountresponse.go
- getsubuseraggregatebalanceresponse.go
- getuidresponse.go
- subscribeaccountv2response.go
- transferaccountrequest.go
- transferaccountresponse.go
- transferpointrequest.go
- transferpointresponse.go
Click to show internal directories.
Click to hide internal directories.