Skip to content
Wojciech Zankowski edited this page Nov 25, 2017 · 1 revision

Example

final IEXTradingClient iexTradingClient = IEXTradingClient.create();
final List<Quote> quoteList = iexTradingClient.executeRequest(new ListRequestBuilder()
		.withListType(ListType.IEXVOLUME)
		.build());
System.out.println(quoteList);

Response

[Quote {
		symbol = CMCSA,
		companyName = Comcast Corporation Class A Common Stock,
		primaryExchange = Nasdaq Global Select,
		sector = Consumer Cyclical,
		calculationPrice = close,
		open = 36.29,
		openTime = 1511533800316,
		close = 35.87,
		closeTime = 1511546400372,
		latestPrice = 35.87,
		latestSource = Close,
		latestTime = November 24,
		2017,
		latestUpdate = 1511546400372,
		latestVolume = 11195260,
		iexRealtimePrice = null,
		iexRealtimeSize = null,
		iexLastUpdated = null,
		delayedPrice = 35.87,
		delayedPriceTime = 1511549667423,
		previousClose = 36.41,
		change = -0.54,
		changePercent = -0.01483,
		iexMarketPercent = null,
		iexVolume = null,
		avgTotalVolume = 27349234,
		iexBidPrice = null,
		iexBidSize = null,
		iexAskPrice = null,
		iexAskSize = null,
		marketCap = 167648195542,
		peRatio = 17.85,
		week52High = 42.18,
		week52Low = 34.01,
		ytdChange = 0.03895727733526427
	}
]
Clone this wiki locally