rp_get_greeks | R Documentation |
Get Option Greeks
rp_get_greeks(accountId, osiOptionSymbol)
accountId |
= Public Brokerage Account Number |
osiOptionSymbol |
= option symbol |
Request order cancellation & return as a data.frame
.
## Not run:
# get account number
my_acc <- rp_getAccts()
# build option symbol
this_op = .rp_make_opt_symbol(under_sym = "SPY", exp = "2025-08-22",
type = "P", strike = 600)
# get greeks
rp_get_greeks(accountId = my_acc$accountId, osiOptionSymbol = this_op)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.