-
Notifications
You must be signed in to change notification settings - Fork 117
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
Unable to fetch derivative quotes for M&M #9
Comments
I think this is because we are doing fnolist check on purified symbol. The option chain scrapper works fine. |
issue happens with L&TFIN too. The trading symbol which has & in it has this problem |
still facing this issue!!! was this resolved or fixed in any version? |
Will fix it this weekend. |
Have made an edit @aeron7 please check and commit. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In [33]: nsepython.nse_quote_ltp('M&M', 'latest', 'Fut')
KeyError Traceback (most recent call last)
in
----> 1 nsepython.nse_quote_ltp('M&M', 'latest', 'Fut')
c:\users<>\appdata\local\programs\python\python38\lib\site-packages\nsepython\rahu.py in nse_quote_ltp(symbol, expiryDate, optionType, strikePrice)
192
193 if(expiryDate=="latest") or (expiryDate=="next"):
--> 194 dates=list(set((payload["expiryDates"])))
195 dates.sort(key = lambda date: datetime.datetime.strptime(date, '%d-%b-%Y'))
196 if(expiryDate=="latest"): expiryDate=dates[0]
KeyError: 'expiryDates'
The text was updated successfully, but these errors were encountered: