-
Notifications
You must be signed in to change notification settings - Fork 156
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
Historical, Live Data related API's not working #84
Comments
I am also facing the same issue. |
Seems like data is coming encoded format from api's from live.py resulting in error. Encoded Api response: Code
Output:
Normal Request using Code
Output:
|
Just try replacing the header dictionary in jugaad_data/nse/history.py with the header you have mentioned. It works for me. |
Earlier till Yesterday, with existing headers, data was coming in original format for all cloud providers wherever the api is running. Now data is coming in encoded format for original header , due to which api's are failing. Existing Header:
Below Header: Only working in Local Machine:The issue with this header: |
Facing the same issue, please guide in resolving the same |
How to solve this. Please guide |
Hi All, I hope this helps temporarily until fix is released. |
Hi amritjain123, Great!!! Thanks for temp solution. To all, Do we need to limit API access per second to avoid getting blocked? |
Thanks for the workaround @amritjain123! |
Thanks @amritjain123 , the fix works!! |
The fix works for local machine. Somebody Pls update the library. |
The fix doesn't work well with batch commands. JSON Decode Error popping up if trying to iterate historical data retrieval for over 15 tickers. |
Seems like this repository is not being actively managed anymore. Any contributors subscribed to this thread? What does it take for someone to push this change and to get it approved? |
PR#88 should help. brotli python module is required to handle encoded responses (check requests to also handle it)
if this does not work, then move to use nsepython |
Issue description
The Historical, Live Stock and F&O Api's not working post 11 AM Yesterday.
Response is coming empty.
Stock Quote
Error
Live Data, market Quote
Error:
Code
ERROR:
The text was updated successfully, but these errors were encountered: