public

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 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 GetDeliveryExerciseHistory

type GetDeliveryExerciseHistory struct {
	Uly      string              `json:"uly"`
	After    int64               `json:"after,omitempty,string"`
	Before   int64               `json:"before,omitempty,string"`
	Limit    int64               `json:"limit,omitempty,string"`
	InstType okex.InstrumentType `json:"instType"`
}

type GetDiscountRateAndInterestFreeQuota

type GetDiscountRateAndInterestFreeQuota struct {
	Uly        string  `json:"uly"`
	Ccy        string  `json:"ccy,omitempty"`
	DiscountLv float64 `json:"discountLv,string"`
}

type GetEstimatedDeliveryExercisePrice

type GetEstimatedDeliveryExercisePrice struct {
	Uly     string `json:"uly"`
	ExpTime string `json:"expTime,omitempty"`
}

type GetFundingRate

type GetFundingRate struct {
	InstID string `json:"instId"`
}

type GetInstruments

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

type GetLimitPrice

type GetLimitPrice struct {
	InstID string `json:"instId"`
}

type GetLiquidationOrders

type GetLiquidationOrders struct {
	InstID   string              `json:"instId,omitempty"`
	Ccy      string              `json:"ccy,omitempty"`
	Uly      string              `json:"uly,omitempty"`
	After    int64               `json:"after,omitempty,string"`
	Before   int64               `json:"before,omitempty,string"`
	Limit    int64               `json:"limit,omitempty,string"`
	InstType okex.InstrumentType `json:"instType"`
	MgnMode  okex.MarginMode     `json:"mgnMode,omitempty"`
	Alias    okex.AliasType      `json:"alias,omitempty"`
	State    okex.OrderState     `json:"state,omitempty"`
}

type GetMarkPrice

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

type GetOpenInterest

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

type GetOptionMarketData

type GetOptionMarketData struct {
	Uly     string `json:"uly"`
	ExpTime string `json:"expTime,omitempty"`
}

type GetPositionTiers

type GetPositionTiers struct {
	InstID   string              `json:"instId,omitempty"`
	Uly      string              `json:"uly,omitempty"`
	InstType okex.InstrumentType `json:"instType"`
	TdMode   okex.TradeMode      `json:"tdMode"`
	Tier     okex.JSONInt64      `json:"tier,omitempty"`
}

type GetUnderlying

type GetUnderlying struct {
	InstType okex.InstrumentType `json:"instType"`
}

type Status

type Status struct {
	State string `json:"state,omitempty"`
}

Jump to

Keyboard shortcuts

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