Versions in this module Expand all Collapse all v0 v0.2.2 Aug 30, 2020 Changes in this version type Quote + Price52WHigh float64 + Price52WLow float64 v0.2.1 Aug 29, 2020 v0.2.0 Aug 29, 2020 v0.1.0 Aug 29, 2020 Changes in this version + type Dividend struct + AnnounceDate time.Time + Event string + ExDate time.Time + Particular string + PayableDate time.Time + Type string + YearEnded time.Time + type HistoricalPrice struct + Close float64 + High float64 + Low float64 + Open float64 + Time time.Time + type Option func(q *Quote) + func WithClient(client *http.Client) Option + type PriceFrequency int + const Daily + const Hourly + const Monthly + const Weekly + type PriceResult struct + Price float64 + Symbol string + Time time.Time + type Quote struct + Eps float64 + Lots int + Name string + PbRatio float64 + PeRatio float64 + Price float64 + Symbol string + UpdateTime time.Time + Yield float64 + func Get(symbol string, opts ...Option) (*Quote, error) + func (q *Quote) Dividends() ([]Dividend, error) + func (q *Quote) HistoricalPrices(frequency PriceFrequency) ([]HistoricalPrice, error) + func (q *Quote) Refresh() error + func (q *Quote) ServePrices(ctx context.Context, delay time.Duration) (<-chan PriceResult, <-chan error)