tradedata

package
v1.4.22 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2023 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InterestAndVolumeExpiry

type InterestAndVolumeExpiry struct {
	CallOI  float64
	PutOI   float64
	CallVol float64
	PutVol  float64
	ExpTime okex.JSONTime
	TS      okex.JSONTime
}

func (*InterestAndVolumeExpiry) UnmarshalJSON

func (c *InterestAndVolumeExpiry) UnmarshalJSON(buf []byte) error

type InterestAndVolumeRatio

type InterestAndVolumeRatio struct {
	Oi  float64
	Vol float64
	TS  okex.JSONTime
}

func (*InterestAndVolumeRatio) UnmarshalJSON

func (c *InterestAndVolumeRatio) UnmarshalJSON(buf []byte) error

type InterestAndVolumeStrike

type InterestAndVolumeStrike struct {
	Strike  float64
	CallOI  float64
	PutOI   float64
	CallVol float64
	PutVol  float64
	TS      okex.JSONTime
}

func (*InterestAndVolumeStrike) UnmarshalJSON

func (c *InterestAndVolumeStrike) UnmarshalJSON(buf []byte) error

type PutCallRatio

type PutCallRatio struct {
	OiRatio  float64
	VolRatio float64
	TS       okex.JSONTime
}

func (*PutCallRatio) UnmarshalJSON

func (c *PutCallRatio) UnmarshalJSON(buf []byte) error

type Ratio

type Ratio struct {
	Ratio float64
	TS    okex.JSONTime
}

func (*Ratio) UnmarshalJSON

func (c *Ratio) UnmarshalJSON(buf []byte) error

type SupportCoin

type SupportCoin struct {
	Contract []string `json:"contract"`
	Option   []string `json:"option"`
	Spot     []string `json:"spot"`
}

type TakerFlow

type TakerFlow struct {
	CallBuyVol   float64
	CallSellVol  float64
	PutBuyVol    float64
	PutSellVol   float64
	CallBlockVol float64
	PutBlockVol  float64
	TS           okex.JSONTime
}

func (*TakerFlow) UnmarshalJSON

func (c *TakerFlow) UnmarshalJSON(buf []byte) error

type TakerVolume

type TakerVolume struct {
	SellVol float64
	BuyVol  float64
	TS      okex.JSONTime
}

func (*TakerVolume) UnmarshalJSON

func (c *TakerVolume) UnmarshalJSON(buf []byte) error

Jump to

Keyboard shortcuts

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