Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'index_option_chain' function returns empty data set #23

Closed
ronaldpaul opened this issue Nov 15, 2021 · 2 comments
Closed

'index_option_chain' function returns empty data set #23

ronaldpaul opened this issue Nov 15, 2021 · 2 comments

Comments

@ronaldpaul
Copy link

NSELive().index_option_chain("NIFTY") returns empty result set {}. Suddenly it stopped working and returns empty result set and doesn't return expiry date.

@sevakram
Copy link
Contributor

Hi @ronaldpaul ,

Can you please share the sample code and more observation. I suspect two reasons-

  1. NSE giving blank response
  2. Caching mechanism not working properly

Your code block will help me eliminate reasons.

@ronaldpaul
Copy link
Author

Hi @sevakram , It looks like NSE India website API issue. It returns empty resultset in the URL in which you are hitting. In the past few weeks, it has been a big issue. Could you fetch the expiry dates from any other reliance source API please?

Thanks

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

No branches or pull requests

2 participants