reqIBFundamentalData: A Wrapper for IB Fundamental Data

Description Usage Arguments Examples

View source: R/IBrokersInstrument.R

Description

Makes a request to the Interactive Brokers Trader Workstation (TWS), and returns the fundamental data.

Usage

1
reqIBFundamentalData(twsconn, reqId, contract, reportType)

Arguments

twsconn

connection to current TWS account, if NULL, a new connection will be created within the function

reqId

tws request ID

contract

a twsContract

reportType

can be: ReportsFinSummary, ReportsOwnership, ReportSnapshot, ReportsFinStatements, RESC (Analyst Estimates), CalendarReport

Examples

1
2
3
library(IBrokers)
tws <- twsConnect(port = 7497)
reqIBFundamentalData(tws, "1", twsSTK('AAPL'), 'ReportsFinSummary')

ivanliu1989/RQuantAPI documentation built on Sept. 13, 2019, 11:54 a.m.