req_contract_details: Request contract details

Description Usage Arguments Value Examples

Description

Request contract details

Usage

1
req_contract_details(contract, reqId = 1L, tws_con)

Arguments

contract

a valid contract.

reqId

the request's unique identifier. Should be a scalar integer.

tws_con

a valid tws connection.

Value

a list of details for the specified contract.

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
tws_con <- tws_connect()
ibm <- contract(symbol = "IBM", 
                secType = "STK", 
                currency = "USD", 
                exchange = "SMART")
req_contract_details(ibm, tws_con)

## End(Not run)

pverspeelt/Ibrokers2 documentation built on May 23, 2019, 8:05 p.m.