Skip to content

Commit

Permalink
add PE and EPS to ticker price
Browse files Browse the repository at this point in the history
Signed-off-by: Marek Cermak <[email protected]>
  • Loading branch information
CermakM committed Dec 7, 2024
1 parent 30ab2fc commit 7aeb9ef
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions model/quote.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,12 @@ type TickerPrice struct {
YearHigh decimal.Decimal `json:"yearHigh"`
PriceAvg50 decimal.Decimal `json:"priceAvg50"`
PriceAvg200 decimal.Decimal `json:"priceAvg200"`
Volume decimal.Decimal `json:"volume"`
AvgVolume decimal.Decimal `json:"avgVolume"`
MarketCap decimal.Decimal `json:"marketCap"`
PE decimal.Decimal `json:"pe"`
EPS decimal.Decimal `json:"eps"`
Exchange string `json:"exchange"`
Volume decimal.Decimal `json:"volume"`
AvgVolume decimal.Decimal `json:"avgVolume"`
Timestamp int64 `json:"timestamp"`
}

Expand Down

0 comments on commit 7aeb9ef

Please sign in to comment.