rp_get_greeks: Get Option Greeks

View source: R/rPublic.R

rp_get_greeksR Documentation

Get Option Greeks

Description

Get Option Greeks

Usage

rp_get_greeks(accountId, osiOptionSymbol)

Arguments

accountId

= Public Brokerage Account Number

osiOptionSymbol

= option symbol

Value

Request order cancellation & return as a data.frame.

Examples

## 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)

rPublic documentation built on Aug. 23, 2025, 1:12 a.m.