market

package
v1.4.43 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2023 License: Apache-2.0 Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Candlesticks added in v1.4.34

type Candlesticks struct {
	InstID string       `json:"instId"`
	Bar    okex.BarSize `json:"bar,omitempty"`
	After  int64        `json:"after,omitempty,string"`
	Before int64        `json:"before,omitempty,string"`
	Limit  int64        `json:"limit,omitempty,string"`
}

type GetCandlesticks

type GetCandlesticks struct {
	InstID string       `json:"instId"`
	Bar    okex.BarSize `json:"bar,omitempty"`
	After  int64        `json:"after,omitempty,string"`
	Before int64        `json:"before,omitempty,string"`
	Limit  int64        `json:"limit,omitempty,string"`
}

type GetIndexComponents

type GetIndexComponents struct {
	Index string `json:"index"`
}

type GetIndexTickers

type GetIndexTickers struct {
	InstID   string `json:"instId,omitempty"`
	QuoteCcy string `json:"quoteCcy,omitempty"`
}

type GetOrderBook

type GetOrderBook struct {
	InstID string `json:"instId"`
	Sz     int    `json:"sz,omitempty,string"`
}

type GetTicker added in v1.3.6

type GetTicker struct {
	InstId string `json:"instId"`
}

type GetTickers

type GetTickers struct {
	Uly      string              `json:"uly,omitempty"`
	InstType okex.InstrumentType `json:"instType"`
}

type GetTrades

type GetTrades struct {
	InstID string `json:"instId"`
	Limit  int64  `json:"limit,omitempty,string"`
}

Jump to

Keyboard shortcuts

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