Documentation ¶
Index ¶
- type AccountBalance
- type AccountHistory
- type AccountInfo
- type AggregateBalance
- type CurrencyBalance
- type FeeSwitchRequest
- type FeeSwitchResponse
- type FuturesTransferRequest
- type FuturesTransferResponse
- type GetAccountAssetValuationResponse
- type GetAccountBalanceResponse
- type GetAccountHistoryOptionalRequest
- type GetAccountHistoryResponse
- type GetAccountInfoResponse
- type GetAccountLedgerOptionalRequest
- type GetAccountLedgerResponse
- type GetOverviewInfoResponse
- type GetPointBalanceResponse
- type GetSubUserAccountResponse
- type GetSubUserAggregateBalanceResponse
- type GetUidResponse
- type GetUserInfoResponse
- type GetValuation
- type GetValuationResponse
- type Ledger
- type ProfitAccountBalance
- type SubUserAccount
- type SubscribeAccountV2Response
- type TransferAccountData
- type TransferAccountRequest
- type TransferAccountResponse
- type TransferPointRequest
- type TransferPointResponse
- type TransferRequest
- type TransferResponse
- type Updated
- type Valuation
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 AggregateBalance ¶
type CurrencyBalance ¶
type FeeSwitchRequest ¶
type FeeSwitchResponse ¶
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 GetOverviewInfoResponse ¶
type GetPointBalanceResponse ¶
type GetPointBalanceResponse struct { Code int `json:"code"` Message string `json:"message"` Success string `json:"success"` 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:"remainAmt"` } } `json:"data"` }
type GetSubUserAccountResponse ¶
type GetSubUserAccountResponse struct { Status string `json:"status"` Data []SubUserAccount `json:"data"` }
type GetSubUserAggregateBalanceResponse ¶
type GetSubUserAggregateBalanceResponse struct { Status string `json:"status"` Data []AggregateBalance `json:"data"` }
type GetUidResponse ¶
type GetUserInfoResponse ¶
type GetValuation ¶
type GetValuation struct {
ValuationCurrency string `json:"valuationCurrency"`
}
type GetValuationResponse ¶
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 ProfitAccountBalance ¶
type SubUserAccount ¶
type SubUserAccount struct { Id int `json:"id"` Type string `json:"type"` State string `json:"state"` List []CurrencyBalance `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"` } `json:"data"` }
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 ¶
type TransferPointResponse ¶
type TransferRequest ¶
type TransferResponse ¶
type Valuation ¶
type Valuation struct { TotalBalance string `json:"totalBalance"` TodayProfit string `json:"todayProfit"` TodayProfitRate string `json:"todayProfitRate"` ProfitAccountBalanceList []ProfitAccountBalance `json:"profitAccountBalanceList"` Updated Updated `json:"updated"` Success bool `json:"success"` }
Source Files ¶
- feeswitchrequest.go
- feeswitchresponse.go
- futurestransferrequest.go
- futurestransferresponse.go
- getaccountassetvaluationresponse.go
- getaccountbalanceresponse.go
- getaccounthistoryoptionalrequest.go
- getaccounthistoryresponse.go
- getaccountinforesponse.go
- getaccountledgeroptionalrequest.go
- getaccountledgerresponse.go
- getoverviewinforesponse.go
- getpointbalanceresponse.go
- getsubuseraccountresponse.go
- getsubuseraggregatebalanceresponse.go
- getuidresponse.go
- getuserinforesponse.go
- getvaluation.go
- getvaluationresponse.go
- subscribeaccountv2response.go
- transferaccountrequest.go
- transferaccountresponse.go
- transferpointrequest.go
- transferpointresponse.go
- transferrequest.go
- transferresponse.go
Click to show internal directories.
Click to hide internal directories.