Skip to content

Commit

Permalink
Update Universal Snapshot 'session' model (#460)
Browse files Browse the repository at this point in the history
  • Loading branch information
HunterL authored Oct 22, 2024
1 parent 4518350 commit f956f4a
Showing 1 changed file with 15 additions and 13 deletions.
28 changes: 15 additions & 13 deletions rest/models/summaries.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,19 +32,21 @@ type SummaryResult struct {
}

type Session struct {
Change float64 `json:"change,omitempty"`
ChangePercent float64 `json:"change_percent,omitempty"`
EarlyTradingChange float64 `json:"early_trading_change,omitempty"`
EarlyTradingChangePercent float64 `json:"early_trading_change_percent,omitempty"`
LateTradingChange float64 `json:"late_trading_change,omitempty"`
LateTradingChangePercent float64 `json:"late_trading_change_percent,omitempty"`
Close float64 `json:"close,omitempty"`
High float64 `json:"high,omitempty"`
Low float64 `json:"low,omitempty"`
Open float64 `json:"open,omitempty"`
PreviousClose float64 `json:"previous_close,omitempty"`
Volume float64 `json:"volume,omitempty"`
Price float64 `json:"price,omitempty"`
Change float64 `json:"change,omitempty"`
ChangePercent float64 `json:"change_percent,omitempty"`
EarlyTradingChange float64 `json:"early_trading_change,omitempty"`
EarlyTradingChangePercent float64 `json:"early_trading_change_percent,omitempty"`
RegularTradingChange float64 `json:"regular_trading_change,omitempty"`
RegularTradingChangePercent float64 `json:"regular_trading_change_percent,omitempty"`
LateTradingChange float64 `json:"late_trading_change,omitempty"`
LateTradingChangePercent float64 `json:"late_trading_change_percent,omitempty"`
Close float64 `json:"close,omitempty"`
High float64 `json:"high,omitempty"`
Low float64 `json:"low,omitempty"`
Open float64 `json:"open,omitempty"`
PreviousClose float64 `json:"previous_close,omitempty"`
Volume float64 `json:"volume,omitempty"`
Price float64 `json:"price,omitempty"`
}

//easyjson:json
Expand Down

0 comments on commit f956f4a

Please sign in to comment.