No No, I meant NSE blocks scrapping to their server sometimes. (Happens randomly; I am not talking about IP Block which they do if you fetch within 3 minutes multiple time..)
I tried to tweak with the headers value in the request module. But all in…
On BeautifulSoup, It is a very messy process time enhancer. I literally skip it at every possible way possible. Most work anyways get done because Pandas have table selector frame and String Strips.
Here is what I use on that -
See I already wrote
I used to scarp this link twice a month https://www.nseindia.com/content/fo/fo_underlyinglist.htm but NSE has made some changes
The problem is
I have solved it using -
Read all open orders.
Cancel all of them. (Target the BO,CO,OCO exceptions here).
Read all the current open positions.
Shoot reverse positions.
I call it powerkill lol. Its apt as I mostly use in BankNIFTY.