Documentation
¶
Index ¶
Constants ¶
View Source
const APIEndpoint = "https://brapi.dev"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HistoricalDataPrice ¶
type Result ¶
type Result struct { Currency string `json:"currency"` ShortName string `json:"shortName"` LongName string `json:"longName"` RegularMarketChange float64 `json:"regularMarketChange"` RegularMarketChangePercent float64 `json:"regularMarketChangePercent"` RegularMarketTime time.Time `json:"regularMarketTime"` RegularMarketPrice float64 `json:"regularMarketPrice"` RegularMarketDayHigh float64 `json:"regularMarketDayHigh"` RegularMarketDayRange string `json:"regularMarketDayRange"` RegularMarketDayLow float64 `json:"regularMarketDayLow"` RegularMarketVolume int64 `json:"regularMarketVolume"` RegularMarketPreviousClose float64 `json:"regularMarketPreviousClose"` RegularMarketOpen float64 `json:"regularMarketOpen"` FiftyTwoWeekRange string `json:"fiftyTwoWeekRange"` FiftyTwoWeekLow float64 `json:"fiftyTwoWeekLow"` FiftyTwoWeekHigh float64 `json:"fiftyTwoWeekHigh"` Symbol string `json:"symbol"` UsedInterval string `json:"usedInterval"` UsedRange string `json:"usedRange"` HistoricalDataPrices []HistoricalDataPrice `json:"historicalDataPrice"` ValidRanges []string `json:"validRanges"` ValidIntervals []string `json:"validIntervals"` PriceEarnings *float64 `json:"priceEarnings"` LogoURL string `json:"logourl"` }
Click to show internal directories.
Click to hide internal directories.