Skip to content

Previous

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

Example

final IEXTradingClient iexTradingClient = IEXTradingClient.create();
final BarData bar = iexTradingClient.executeRequest(new PreviousRequestBuilder()
		.withSymbol("AAPL")
		.build());
System.out.println(bar);

Response

BarData {
	symbol = AAPL,
	date = 2017 - 11 - 24,
	open = 175.1,
	high = 175.5,
	low = 174.6459,
	close = 174.97,
	volume = 14026673,
	unadjustedVolume = 14026673,
	change = 0.01,
	changePercent = 0.006,
	vwap = 175.0931
}
Clone this wiki locally