market

package
v1.0.26 Latest Latest
Warning

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

Go to latest
Published: May 7, 2024 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 Candlesticks

type Candlesticks struct {
	InstID string      `json:"instId"`
	Bar    okx.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    okx.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

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

type GetTickers

type GetTickers struct {
	Uly      string             `json:"uly,omitempty"`
	InstType okx.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