You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
ValueError: Retry again in a minute.
To Reproduce
Steps to reproduce the behavior:
from nsedt import equity as eq
from datetime import date
import pandas as pd
from datetime import datetime,timedelta
start_date= datetime.today() - timedelta(365)
end_date= datetime.today()
print(start_date.date())
print(end_date.date())
finalDF=pd.DataFrame()
for i,sym in enumerate(eq.get_symbols_list()):
try:
tempDF=eq.get_price(start_date, end_date, symbol=sym)[['Date','Close Price']]
if finalDF.shape[0]==0:
finalDF=pd.concat([finalDF,tempDF],axis=0)
else:
finalDF=pd.merge(finalDF,tempDF,how='left',on='Date')
except Exception as e:
print(f'ERROR for {i,sym}: ',e)
Expected behavior
I was fetching one year data for all sym by for loop in a dataframe
Screen Short .
Desktop (please complete the following information):
OS: Ubuntu
Browser : Firefox
Version : 22
Additional Information
NSE got my ip making too many request so I think they blocked my ip address
is there any way to fake Ip address also?
The text was updated successfully, but these errors were encountered:
Describe the bug
ValueError: Retry again in a minute.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I was fetching one year data for all sym by for loop in a dataframe
Screen Short
.
Desktop (please complete the following information):
Additional Information
NSE got my ip making too many request so I think they blocked my ip address
is there any way to fake Ip address also?
The text was updated successfully, but these errors were encountered: