robin_stocks icon indicating copy to clipboard operation
robin_stocks copied to clipboard

Options data pull not working - robin.options.find_options_by_expiration()

Open hvanmeer opened this issue 1 year ago • 3 comments

robin.options.find_options_by_expiration( tickerList, expirationDate = expiration_date, optionType = "put", info = None )

The "find_options_by_expiration" used to work just fine up to May 26.

Is this method outdated? I noticed the documentation is being updated, but incomplete?

Anyone knows what is going on?

hvanmeer avatar May 30 '23 17:05 hvanmeer

The request_get() function is returning None. Although if I put the URL in a browser, the JSON comes back okay.

ChrisKarle avatar May 30 '23 18:05 ChrisKarle

It is intermittent. Out of every 5-10 requests, one may actually work. It's definitely something on the server side. My code has been working ok for months. It started today...

hvanmeer avatar May 30 '23 18:05 hvanmeer

Maybe they're throttling? Dunno.

ChrisKarle avatar May 30 '23 18:05 ChrisKarle