View source: R/get_contracts.R
get_contracts | R Documentation |
Get a option contracts from RobinHood
get_contracts(RH, chain_symbol, type, detail = FALSE)
RH |
object class RobinHood |
chain_symbol |
(string) a single ticket symbol |
type |
(string) one of call or put |
detail |
(logical) if TRUE (default) return additional info on greeks, prevous day, high/low fill rate prices |
## Not run: # Login in to your RobinHood account RH <- RobinHood("username", "password") get_contracts(RH, "IR") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.