jmfernandes / robin_stocks

This is a library to use with Robinhood Financial App. It currently supports trading crypto-currencies, options, and stocks. In addition, it can be used to get real time ticker information, assess the performance of your portfolio, and can also get tax documents, total dividends paid, and more. More info at
http://www.robin-stocks.com
MIT License
1.69k stars 458 forks source link

Stop and Market orders for options. #103

Open ggiv opened 4 years ago

ggiv commented 4 years ago

Is it possible to create Stop and/or Market orders for options? I can only see the robin_stocks.orders.order_buy_option_limit and robin_stocks.orders.order_sell_option_limit methods available so I was wondering if there is some way to create stop orders? Thank you!

bspallholtz commented 4 years ago

I have not had success buying a stock and setting a market stop price or looping through my holdings and trying to set a trailing StopPrice

I've tried the functions - robin_stocks.orders.order , robin_stocks.orders.order_buy_stop_loss, and robin_stocks.orders.order_sell_stop_limit