View source: R/reqContractDetails.R
reqContractDetails | R Documentation |
Request contract details
reqContractDetails(contract, reqId = 1L, ib_con)
contract |
A valid contract. You can create a valid contract with the
|
reqId |
The request's unique identifier. Should be a scalar integer. |
ib_con |
A valid ib connection. |
A list of details for the specified contract. Updates nextValidId in the ib connection.
## Not run: ib_con <- ib_connect() ibm <- Contract(symbol = "IBM", secType = "STK", currency = "USD", exchange = "SMART") ibm_details <- reqContractDetails(ibm, reqId = 1L, ib_con = ib_con) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.