View source: R/contracts_by_secType.R
Option | R Documentation |
Create an option contract
Option(symbol, lastTradeDateOrContractMonth = "", strike = 0, right = "", multiplier = "100", exchange = "SMART", primaryExchange = "", currency = "USD")
symbol |
The contract (or its underlying) symbol. |
lastTradeDateOrContractMonth |
The contract's last trading day or contract month. |
strike |
The option's strike price. |
right |
Put or Call. Valid values are 'P', 'PUT', 'C', 'CALL' |
multiplier |
The instrument's multiplier. Default value is: 100 |
exchange |
The destination exchange. |
primaryExchange |
The contract's primary exchange. |
currency |
The underlying's currency. |
returns an object of class "Contract"
Other Contracts: Stock
Example to follow
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.