reqManagedAccts: Managed Accounts

View source: R/reqManagedAccts.R

reqManagedAcctsR Documentation

Managed Accounts

Description

A single username can handle more than one account. As mentioned in the Connectivity section, the TWS will automatically send a list of managed accounts once the connection is established. The list can also be fetched via the IBApi.EClient.reqManagedAccts method. For an individual account, this call works as well and returns a single account.

Usage

reqManagedAccts(twsconn)

Arguments

twsconn

a valid tws connection object

Value

Individual account: a string containing a single account number. For a FamilyAccount it returns a string with a ',' separated list of available accounts.

Author(s)

J.W. de Roode

References

Interactive Brokers https://www.interactivebrokers.com

Examples

## Not run: 
tws <- twsConnect()
reqManagedAccts(tws)

## End(Not run)

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