-
Notifications
You must be signed in to change notification settings - Fork 46
Quote
Wojciech Zankowski edited this page Nov 25, 2017
·
3 revisions
final IEXTradingClient iexTradingClient = IEXTradingClient.create();
final Quote quote = iexTradingClient.executeRequest(new QuoteRequestBuilder()
.withSymbol("AAPL")
.build());
System.out.println(quote);
Quote {
symbol = AAPL,
companyName = Apple Inc.,
primaryExchange = Nasdaq Global Select,
sector = Technology,
calculationPrice = close,
open = 175.04,
openTime = 1511533800652,
close = 174.97,
closeTime = 1511546400298,
latestPrice = 174.97,
latestSource = Close,
latestTime = November 24,
2017,
latestUpdate = 1511546400298,
latestVolume = 14282957,
iexRealtimePrice = null,
iexRealtimeSize = null,
iexLastUpdated = null,
delayedPrice = 174.88,
delayedPriceTime = 1511549997359,
previousClose = 174.96,
change = 0.01,
changePercent = 0.006,
iexMarketPercent = null,
iexVolume = null,
avgTotalVolume = 27257397,
iexBidPrice = null,
iexBidSize = null,
iexAskPrice = null,
iexAskSize = null,
marketCap = 898350570640,
peRatio = 19.88,
week52High = 176.24,
week52Low = 108.25,
ytdChange = 50.64141196728368
}