westonplatter / fast_arrow

(no longer maintained) A simple yet robust (stock+options) API client for Robinhood
MIT License
127 stars 37 forks source link

OptionOrder.get() Not Working? #108

Open jmmadsen opened 4 years ago

jmmadsen commented 4 years ago

Opening an issue per your request. I was attempting to use OptionOrder.get() function pretty much exactly as you used in in your example (https://github.com/westonplatter/fast_arrow/blob/master/examples/option_order_get.py). I used OptionPosition.all() to get data on my current open option, then attempted to put the chain_id into OptionOrder.get(), but received a 404 error in return.

Maybe I am not using the right parameter? I also tried to id in the url key, but that did not appear to work either.

jmmadsen commented 4 years ago

Additionally, is there any advantage to using OptionOrder.get() vs. OptionPosition.all()? I am attempting to refresh the price of an open option every 5 seconds or so in a buy/sell algorithm.