Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Response ¶
type Response struct { QuoteResponse struct { Quotes []ResponseQuote `json:"result"` Error interface{} `json:"error"` } `json:"quoteResponse"` }
type ResponseQuote ¶
type ResponseQuote struct { ShortName string `json:"shortName"` Symbol string `json:"symbol"` MarketState string `json:"marketState"` Currency string `json:"currency"` ExchangeName string `json:"fullExchangeName"` ExchangeDelay float64 `json:"exchangeDataDelayedBy"` RegularMarketChange float64 `json:"regularMarketChange"` RegularMarketChangePercent float64 `json:"regularMarketChangePercent"` RegularMarketPrice float64 `json:"regularMarketPrice"` RegularMarketPreviousClose float64 `json:"regularMarketPreviousClose"` RegularMarketOpen float64 `json:"regularMarketOpen"` RegularMarketDayRange string `json:"regularMarketDayRange"` PostMarketChange float64 `json:"postMarketChange"` PostMarketChangePercent float64 `json:"postMarketChangePercent"` PostMarketPrice float64 `json:"postMarketPrice"` PreMarketChange float64 `json:"preMarketChange"` PreMarketChangePercent float64 `json:"preMarketChangePercent"` PreMarketPrice float64 `json:"preMarketPrice"` }
Click to show internal directories.
Click to hide internal directories.