Skip to content

Open Close

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

Example

final IEXTradingClient iexTradingClient = IEXTradingClient.create();
final OpenClose openClose = iexTradingClient.executeRequest(new OpenCloseRequestBuilder()
		.withSymbol("AAPL")
		.build());
System.out.println(openClose);

Response

OpenClose {
	open = Point {
		price = 175.04,
		time = 1511533800652
	},
	close = Point {
		price = 174.97,
		time = 1511546400298
	}
}
Clone this wiki locally