Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Execute ¶
func Execute(symbol string, intervalRanges []IntervalRange)
Types ¶
type IntervalRange ¶
type IntervalRange int
const ( OneDay IntervalRange = iota FiveDay OneMonth ThreeMonth SixMonth OneYear TwoYear FiveYear TenYear YearToDate )
func (IntervalRange) String ¶
func (d IntervalRange) String() string
type YahooFinanceResponse ¶
type YahooFinanceResponse struct { Chart struct { Result []struct { Meta struct { RegularMarketPrice float64 `json:"regularMarketPrice"` } `json:"meta"` Timestamp []int64 `json:"timestamp"` Indicators struct { Quote []struct { Close []float64 `json:"close"` } `json:"quote"` } `json:"indicators"` } `json:"result"` } `json:"chart"` }
Click to show internal directories.
Click to hide internal directories.