Documentation
¶
Overview ¶
Package finance provides interfaces and types for financial data services.
Consumers use financial data sources to continually retrieve stock quotes for a given subset of stock symbols.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultSymbols = []string{"fb", "amzn", "aapl", "nflx", "goog"}
Functions ¶
This section is empty.
Types ¶
type Quote ¶
type Quote struct { Price float64 `json:"price"` Symbol string `json:"symbol"` Time time.Time `json:"time"` }
Quote represents the snapshot of a stock's price.
type QuoteBatch ¶
Click to show internal directories.
Click to hide internal directories.