subaccount

package
v1.0.51 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateAPIKey

type CreateAPIKey struct {
	Pwd        string            `json:"pwd"`
	SubAcct    string            `json:"subAcct"`
	Label      string            `json:"label"`
	Passphrase string            `json:"Passphrase"`
	IP         []string          `json:"ip,omitempty"`
	Perm       okex.APIKeyAccess `json:"perm,omitempty"`
}

type DeleteAPIKey

type DeleteAPIKey struct {
	Pwd     string `json:"pwd"`
	APIKey  string `json:"apiKey"`
	SubAcct string `json:"subAcct"`
}

type GetBalance

type GetBalance struct {
	SubAcct string `json:"subAcct"`
}

type HistoryTransfer

type HistoryTransfer struct {
	Ccy     string            `json:"ccy,omitempty"`
	SubAcct string            `json:"subAcct,omitempty"`
	After   int64             `json:"after,omitempty,string"`
	Before  int64             `json:"before,omitempty,string"`
	Limit   int64             `json:"limit,omitempty,string"`
	Type    okex.TransferType `json:"type,omitempty,string"`
}

type ManageTransfers

type ManageTransfers struct {
	Ccy            string           `json:"ccy"`
	FromSubAccount string           `json:"fromSubAccount"`
	ToSubAccount   string           `json:"tiSubAccount"`
	Amt            float64          `json:"amt,string"`
	From           okex.AccountType `json:"from,string"`
	To             okex.AccountType `json:"to,string"`
}

type QueryAPIKey

type QueryAPIKey struct {
	APIKey  string `json:"apiKey"`
	SubAcct string `json:"subAcct"`
}

type ViewList

type ViewList struct {
	SubAcct string `json:"subAcct,omitempty"`
	Enable  bool   `json:"enable,omitempty"`
	After   int64  `json:"after,omitempty,string"`
	Before  int64  `json:"before,omitempty,string"`
	Limit   int64  `json:"limit,omitempty,string"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL