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

print(nse_quote_ltp("RELIANCE","next","Fut")) doesn't work #6

Closed
rajartp opened this issue Jun 2, 2021 · 1 comment
Closed

print(nse_quote_ltp("RELIANCE","next","Fut")) doesn't work #6

rajartp opened this issue Jun 2, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@rajartp
Copy link

rajartp commented Jun 2, 2021

DEBUG:urllib3.connectionpool:https://www.nseindia.com:443 "GET /api/quote-derivative?symbol=NIFTY HTTP/1.1" 200 None
Traceback (most recent call last):
File "", line 1, in
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/nsepython/rahu.py", line 279, in nse_quote_meta
return metadata
UnboundLocalError: local variable 'metadata' referenced before assignment

@aeron7 aeron7 added the bug Something isn't working label Jun 3, 2021
@aeron7
Copy link
Owner

aeron7 commented Jun 6, 2021

https://forum.unofficed.com/t/nsepython-documentation/376/87?u=dexter

The way you used was not supposed to work but Your idea was nice. I added that function. Check the link.

@aeron7 aeron7 closed this as completed Jun 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants