Documentation
¶
Index ¶
- type Chart
- func (c *Chart) Currency() string
- func (c *Chart) Delta() float64
- func (c *Chart) DeltaPerc() float64
- func (c *Chart) Exchange(symbol bool) string
- func (c *Chart) FirstTrade() time.Time
- func (c *Chart) InstrumentType() string
- func (c *Chart) MarketTime() time.Time
- func (c *Chart) PrevClosePrice() float64
- func (c *Chart) Price() float64
- func (c *Chart) Symbol() string
- type Client
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Chart ¶
type Chart struct { TickerData struct { Results []struct { Meta struct { Currency string `json:"currency"` Symbol string `json:"symbol"` Exchange string `json:"exchangeName"` Instrument string `json:"instrumentType"` FirstTrade int64 `json:"firstTradeDate"` MarketTime int64 `json:"regularMarketTime"` GMTOffset int `json:"gmtoffset"` TimeZone string `json:"timezone"` TimeZoneName string `json:"exchangeTimezoneName"` MarketPrice float64 `json:"regularMarketPrice"` PrevClosePrice float64 `json:"previousClose"` } `json:"meta"` } `json:"result"` } `json:"chart"` }
func (*Chart) FirstTrade ¶
func (*Chart) InstrumentType ¶
func (*Chart) MarketTime ¶
func (*Chart) PrevClosePrice ¶
Click to show internal directories.
Click to hide internal directories.