RobinHood API: Option Orders
api_orders_options(
RH,
action,
status_url = NULL,
cancel_url = NULL,
quantity = NULL,
direction = NULL,
stop_price = NULL,
type = NULL,
time_in_force = NULL,
side = NULL,
option_id = NULL
)
object of class RobinHood
(string) one of "order", "status", "cancel", "history"
(string) if action = "status", status_url is required (output from place_order_options())
(string) if action = "cancel", cancel_url is required (output from place_order_options())
(int) number of contracts you want to buy
(string) one of "debit" or "credit"
(numeric) stop price on a limit order
(string) one of "limit" or "market"
(string) Good Till Canceled ("gtc"), Immediate or Cancel ("ioc"), or Opening ("opg")
(string) one of "buy" or "sell"
(string) id column returned by get_contracts()