question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Options Chain command (options_chain) errors out while retrieving information

See original GitHub issue

while using the options.chain command in jupyter notebook, the code block displayed at the end of this issue errors out. In the error description, I can read the following

FinnhubRequestException: FinnhubRequestException: Invalid Response:

followed by the actual information I was requesting which is too lengthy to show here. The code producing this error is this:

import finnhub
import os
finnhub_client = finnhub.Client(api_key=os.environ['FINNHUB_KEY'])

test = finnhub_client.option_chain(symbol='TSLA')

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6

github_iconTop GitHub Comments

2reactions
nongdenchetcommented, Sep 19, 2020

I have tested and confirmed that the issue is fixed for me. Thank you @KurtPrice

0reactions
nongdenchetcommented, Sep 19, 2020

Please upgrade your library to 2.2.1 to get the fix

Read more comments on GitHub >

github_iconTop Results From Across the Web

limited options chains information python - Stack Overflow
I'm trying to retrive some option chains information (first expiry date of the option chain) for more than 800 tickers (e.g. AAPL, IBM,...
Read more >
A Newbie's Guide to Reading an Options Chain - Investopedia
An option chain has two sections: calls and puts. A call option gives the right to buy a stock while a put gives...
Read more >
How to pull option chain data of multiple scrips from nse ...
When you run it for the first time, the option chain data of Nifty will be written to Excel. To test if it...
Read more >
How to read an option chain - YouTube
The option chain can provide a wealth of information for traders that know how to make sense of it. In this lesson, we'll...
Read more >
Understanding Option Chains / How to Read an ... - YouTube
In this video we learn how to read and understand an options chain in the ThinkorSwim trading platform. We discuss what each column...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found