News Articles
Introduction
After requesting news headlines using one of the above functions, the body of a news article can be requested with the article ID returned by invoking the function EClient.reqNewsArticle. The body of the news article is returned to the function EWrapper.newsArticle.
Request News Articles
EClient.reqNewsArticle(requestId, providerCode, articleId, newsArticleOptions)
Requests news article body given articleId.
Id of the request.
Short code indicating news provider, e.g. FLY.
Id of the specific article.
Reserved for internal use. Should be defined as null.
Python
Java
C++
C#
VB.NET
Receive News Articles
EWrapper.newsArticle(requestId, articleType, articleText)
Called when receiving a News Article in response to reqNewsArticle().
Request identifier used to track data.
The type of news article (0 – plain text or html, 1 – binary data / pdf).
The body of article (if articleType == 1, the binary data is encoded using the Base64 scheme).

