Skip to content
This repository has been archived by the owner on Apr 16, 2021. It is now read-only.

OptionOrder.get() Not Working? #108

Open
jmmadsen opened this issue Nov 16, 2019 · 1 comment
Open

OptionOrder.get() Not Working? #108

jmmadsen opened this issue Nov 16, 2019 · 1 comment

Comments

@jmmadsen
Copy link

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
Copy link
Author

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant