-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathquote.go
22 lines (20 loc) · 947 Bytes
/
quote.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package robinhood
import (
"time"
)
type Quote struct {
AskPrice string `json:"ask_price"`
AskSize int `json:"ask_size"`
BidPrice string `json:"bid_price"`
BidSize int `json:"bid_size"`
LastTradePrice string `json:"last_trade_price"`
LastExtendedHoursTradePrice string `json:"last_extended_hours_trade_price"`
PreviousClose string `json:"previous_close"`
AdjustedPreviousClose string `json:"adjusted_previous_close"`
PreviousCloseDate string `json:"previous_close_date"`
Symbol string `json:"symbol"`
TradingHalted bool `json:"trading_halted"`
LastTradePriceSource string `json:"last_trade_price_source"`
UpdatedAt time.Time `json:"updated_at"`
Instrument string `json:"instrument"`
}