Description Usage Arguments Value Examples
Request contract details
1 | req_contract_details(contract, reqId = 1L, tws_con)
|
contract |
a valid contract. |
reqId |
the request's unique identifier. Should be a scalar integer. |
tws_con |
a valid tws connection. |
a list of details for the specified contract.
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.