Documentation ¶
Index ¶
- type CreatAPIKeySubAccount
- type CreateAPIKey
- type CreateDepositAddress
- type CreateSubAccount
- type DeleteAPIKey
- type DeleteAPIKeySubAccount
- type DeleteSubAccount
- type GetBalance
- type GetBalancesFunding
- type GetDepositAddress
- type GetDepositHistory
- type GetFeeRatesSubAccount
- type GetWithdrawHistory
- type HistoryTransfer
- type ListSubAccount
- type ManageTransfers
- type QueryAPIKey
- type SetFeeRateSubAccount
- type SetLevelSubAccount
- type UpdateAPIKEySubAccount
- type UpdateDepositAddress
- type ViewList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreatAPIKeySubAccount ¶ added in v1.3.4
type CreateAPIKey ¶
type CreateDepositAddress ¶ added in v1.3.4
type CreateDepositAddress struct { SubAcct string `json:"subAcct"` Ccy string `json:"ccy"` Chain string `json:"chain,omitempty"` AddrType string `json:"addrType,omitempty"` // 1: Regular address, 2:SegWit address (Only applicable to BTC/LTC), Default is 1 TO okex.AccountType `json:"to,string"` // 6:Funding, 18:Trading account, Default is 6 }
type CreateSubAccount ¶ added in v1.3.4
type DeleteAPIKey ¶
type DeleteAPIKeySubAccount ¶ added in v1.3.4
type DeleteSubAccount ¶ added in v1.3.4
type DeleteSubAccount struct {
SubAcct string `json:"subAcct"`
}
type GetBalance ¶
type GetBalance struct {
SubAcct string `json:"subAcct"`
}
type GetBalancesFunding ¶ added in v1.4.12
type GetDepositAddress ¶ added in v1.3.4
type GetDepositHistory ¶ added in v1.4.1
type GetFeeRatesSubAccount ¶ added in v1.3.5
type GetFeeRatesSubAccount struct { InstType string `json:"instType"` // SPOT MARGIN SWAP FUTURES OPTION InstID string `json:"instId,omitempty"` // Instrument ID, e.g. BTC-USDT Applicable to SPOT/MARGIN Uly string `json:"uly,omitempty"` // Underlying, e.g. BTC-USD Applicable to FUTURES/SWAP/OPTION InstFamily string `json:"instFamily,omitempty"` // Instrument family, e.g. BTC-USDApplicable to FUTURES/SWAP/OPTION }
type GetWithdrawHistory ¶ added in v1.4.15
type GetWithdrawHistory struct { SubAcct string `json:"subAcct"` Ccy string `json:"ccy"` WdID string `json:"wdId"` ClientId string `json:"clientId"` TxID string `json:"txId"` Type string `json:"type"` State string `json:"state"` After string `json:"after"` Before string `json:"before"` Limit string `json:"limit"` }
type HistoryTransfer ¶
type ListSubAccount ¶ added in v1.4.11
type ManageTransfers ¶
type ManageTransfers struct { Ccy string `json:"ccy"` Amt float64 `json:"amt,string"` From okex.AccountType `json:"from,string"` To okex.AccountType `json:"to,string"` FromSubAccount string `json:"fromSubAccount"` ToSubAccount string `json:"tiSubAccount"` LoanTrans bool `json:"loanTrans"` OmitPosRisk string `json:"omitPosRisk"` }
type QueryAPIKey ¶
type SetFeeRateSubAccount ¶ added in v1.3.4
type SetFeeRateSubAccount struct { SubAcct string `json:"subAcct,omitempty"` InstType string `json:"instType,omitempty"` MgnType string `json:"mgnType,omitempty"` ChgType string `json:"chgType"` ChgTaker string `json:"chgTaker"` ChgMaker string `json:"chgMaker"` EffDate string `json:"effDate,omitempty"` }
type SetLevelSubAccount ¶ added in v1.3.4
type UpdateAPIKEySubAccount ¶ added in v1.3.4
type UpdateDepositAddress ¶ added in v1.3.4
type UpdateDepositAddress struct { SubAcct string `json:"subAcct"` Ccy string `json:"ccy"` Chain string `json:"chain,omitempty"` AddrType string `json:"addrType"` // 1: Regular address, 2:SegWit address (Only applicable to BTC/LTC), Default is 1 TO string `json:"to"` // 6:Funding, 18:Trading account, Default is 6 }
Click to show internal directories.
Click to hide internal directories.