Finishing quote struct with info I care about.
This commit is contained in:
parent
6b4b0e6de8
commit
0860e76440
14
types.go
14
types.go
@ -177,4 +177,18 @@ type Quote struct {
|
||||
ChangeSign string `xml:"chg_sign"`
|
||||
ChangeText string `xml:"chg_t"`
|
||||
Close float64 `xml:"cl"`
|
||||
Cusip float64 `xml:"cusip"`
|
||||
Date string `xml:"date"`
|
||||
Datetime string `xml:"datetime"`
|
||||
Dividend float64 `xml:"div"`
|
||||
DividendFrequency string `xml:"divfreq"`
|
||||
DollarValue float64 `xml:"dollar_value"`
|
||||
EarningsPerShare float64 `xml:"eps"`
|
||||
CompanyName string `xml:"name"`
|
||||
PercentChangeSinceClose float64 `xml:"pchg"`
|
||||
PriorDayClose float64 `xml:"pcls"`
|
||||
PriceEarningRatio float64 `xml:"pe"`
|
||||
PriorDayHigh float64 `xml:"phi"`
|
||||
PriorDayLow float64 `xml:"plo"`
|
||||
PriorDayOpen float64 `xml:"popn"`
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user