reqNewsBulletins: Subscribe or Unsubscribe To News Bulletins

View source: R/reqNewsBulletins.R

reqNewsBulletinsR Documentation

Subscribe or Unsubscribe To News Bulletins

Description

Subscription start and end methods for the API.

Usage

reqNewsBulletins(twsconn, allMsgs=TRUE)

cancelNewsBulletins(twsconn)

Arguments

twsconn

A twsConnection object

allMsgs

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

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.

Value

Called for its side-effects.

Note

This is not “news” per se, it is a subscription to the API bulletins.

Author(s)

Jeffrey A. Ryan

References

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


IBrokers documentation built on Nov. 16, 2022, 5:05 p.m.