Learn R Programming

IBrokers (version 0.10-2)

reqNewsBulletins: Subscribe or Unsubscribe To News Bulletins

Description

Subscription start and end methods for the API.

Usage

reqNewsBulletins(twsconn, allMsgs=TRUE)

cancelNewsBulletins(twsconn)

Value

Called for its side-effects.

Arguments

twsconn

A twsConnection object

allMsgs

Should all existing bulletins be returned (TRUE), or just new ones?

Author

Jeffrey A. Ryan

Details

Calling reqNewsBulletins will start a subscription via the API. This will continue and incoming messages will be handled by eWrapper ‘updateNewBulletin’ method. Bulletins are cancelled by calling the cancel version.

References

https://interactivebrokers.github.io/tws-api/classIBApi_1_1EClient.html#a286458a8be7d3b37f0d94fe61bf717fa