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

Example

final IEXTradingClient iexTradingClient = IEXTradingClient.create();
final List<News> newsList = iexTradingClient.executeRequest(new NewsRequestBuilder()
		.withWorldNews()
		.build());
System.out.println(newsList);

Response

[News {
		datetime = 2017 - 11 - 25T16: 58: 16Z,
		headline = Dollar Drops In Thanksgiving Week With U.S.Taxes In Spotlight,
		source = SeekingAlpha,
		url = https://api.iextrading.com/1.0/stock/market/article/4838900260609911, 
		summary = December Fed rate hike priced in but fundamentals favour EUR    The US dollar depreciated on Friday, touching a five-week low against major currencies. The US Thanksgiving holiday truncated the week with European economic data outperforming US indicators. The US closed the week with disappoin…, related=DRR,ERO,EUFX,EUO,Europe,FXC,FXE,National News,UDN,ULE,URR,USDU,UUP}
]
Clone this wiki locally