Documentation ¶
Overview ¶
Package stock fetches stock quote data
Index ¶
Constants ¶
View Source
const NASDAQ exchange = "NASDAQ"
NASDAQ is the NASDAQ Stock Exchange
View Source
const NYSE exchange = "NYSE"
NYSE is the New York Stock Exchange
Variables ¶
View Source
var ErrInvalidTicker = fmt.Errorf("invalid ticker")
ErrInvalidTicker indicates the ticker was invalid
View Source
var IEXProvider provider = "IEX"
IEXProvider is a stock quote provider
Functions ¶
This section is empty.
Types ¶
type EOD ¶
type EOD struct { Date time.Time `json:"date"` Open float64 `json:"open"` Close float64 `json:"close"` High float64 `json:"high"` Low float64 `json:"low"` Volume int `json:"volume"` }
EOD is an end of day stock quote
Click to show internal directories.
Click to hide internal directories.