-
Notifications
You must be signed in to change notification settings - Fork 49
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
Missing Price Band attribute #5
Comments
The PriceBand error still exists for a variety of stocks. I tried pinging the website every 1 minute, but after 4-6 iterations, PriceBand error shows up. Please advise @sdabhi23 |
@shikharparikh I am still looking for the root cause. Currently, I have implemented a temporary workaround which will prevent the code from throwing an error. Can you please elaborate on the kind of behaviour you are expecting? |
So basically, I am using the getQuote function every minute to get the currentValue, pChange and Change for a list of 18 stocks in my portfolio. I have managed to concurrently grab the above mentioned parameters for these 18 stocks. However, somewhere between the 4th and 6th iteration, the PriceBand error is thrown. I am using bsedata for a reporting application and to have a "Live minute by minute" generation of P&L for my portfolio. |
Can you please share the version of bsedata that you are using? I have already done the try/catch implementation as a temporary fix |
I am currently on 0.3.1 |
Can you please share the stack trace of the error? |
|
@shikharparikh seems like BSE has made some changes to the site. This error is caused due to another missing attribute and completely unrelated to this bug. I'll look into this and release a new version at the earliest. Until then can you try using try and except blocks in your driver code as a work around? |
I have observed a very weird behavior in few responses where the price band attribute is not found on the page.
Reproduced randomly and accidentally in browser as well (on https://m.bseindia.com)
Cause: Unknown
Work around: Opened a stock page from https://bseinda.com which was also missing Price Band and force refresh it (shortcut key for Firefox: Ctrl + F5, for Chrome: Shift + F5).
The text was updated successfully, but these errors were encountered: