Documentation ¶
Index ¶
- type Event
- type Kline
- func (k *Kline) GetClosePrice() decimal.Decimal
- func (k *Kline) GetHighPrice() decimal.Decimal
- func (k *Kline) GetLowPrice() decimal.Decimal
- func (k *Kline) GetOpenPrice() decimal.Decimal
- func (k *Kline) GetUnderlyingPair() currency.Pair
- func (k *Kline) GetVolume() decimal.Decimal
- func (k *Kline) IsKline() bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Kline ¶
type Kline struct { *event.Base Open decimal.Decimal Close decimal.Decimal Low decimal.Decimal High decimal.Decimal Volume decimal.Decimal ValidationIssues string }
Kline holds kline data and an event to be processed as a common.Event type
func (*Kline) GetClosePrice ¶
GetClosePrice returns the closing price of a kline
func (*Kline) GetHighPrice ¶
GetHighPrice returns the high price of a kline
func (*Kline) GetLowPrice ¶
GetLowPrice returns the low price of a kline
func (*Kline) GetOpenPrice ¶
GetOpenPrice returns the open price of a kline
func (*Kline) GetUnderlyingPair ¶
GetUnderlyingPair returns the open price of a kline
Click to show internal directories.
Click to hide internal directories.