public

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 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 okx.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 okx.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 okx.InstrumentType `json:"instType"`
	MgnMode  okx.MarginMode     `json:"mgnMode,omitempty"`
	Alias    okx.AliasType      `json:"alias,omitempty"`
	State    okx.OrderState     `json:"state,omitempty"`
}

type GetMarkPrice

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

type GetOpenInterest

type GetOpenInterest struct {
	Uly      string             `json:"uly,omitempty"`
	InstID   string             `json:"instId,omitempty"`
	InstType okx.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 okx.InstrumentType `json:"instType"`
	TdMode   okx.TradeMode      `json:"tdMode"`
	Tier     okx.JSONInt64      `json:"tier,omitempty"`
}

type GetUnderlying

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

type Status

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

type UnitConvert

type UnitConvert struct {
	Type   okx.ConvertType `json:"type,string,omitempty"`
	InstID string          `json:"instId"`
	Sz     float64         `json:"sz,omitempty,string"`
	Px     float64         `json:"px,omitempty,string"`
	Unit   string          `json:"unit,omitempty"`
}

Jump to

Keyboard shortcuts

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