Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAssetQuotes ¶
func GetAssetQuotes(client resty.Client, symbols []string) []c.AssetQuote
GetAssetQuotes issues a HTTP request to retrieve quotes from the API and process the response
Types ¶
type Quote ¶
type Quote struct { ShortName string `json:"name"` Symbol string `json:"symbol"` RegularMarketChangePercent string `json:"changePercent24Hr"` RegularMarketPrice string `json:"priceUsd"` RegularMarketVolume string `json:"volumeUsd24Hr"` MarketCap string `json:"marketCapUsd"` }
Quote represents a quote of a single security from the API response
Click to show internal directories.
Click to hide internal directories.