types

package
v0.0.0-...-3bddcd1 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Book

type Book struct {
	Price float64
	Size  float64
}

type Books

type Books struct {
	Books []Book
}

func (*Books) UnmarshalJSON

func (p *Books) UnmarshalJSON(b []byte) error

type OHLCV

type OHLCV struct {
	Open     float64
	High     float64
	Low      float64
	Close    float64
	Size     float64
	Timespan time.Time
}

type OHLCVs

type OHLCVs struct {
	OHLCVs []OHLCV
}

func (*OHLCVs) UnmarshalJSON

func (p *OHLCVs) UnmarshalJSON(b []byte) error

type Time

type Time struct {
	Time time.Time
}

func (*Time) UnmarshalJSON

func (p *Time) UnmarshalJSON(b []byte) error

Jump to

Keyboard shortcuts

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