supriyom083

Results 1 comments of supriyom083

replace index_history function with below function body in rahu.py def index_history(symbol,start_date,end_date): data = {"name": symbol, "startDate": start_date, "endDate": end_date, } data={"cinfo":json.dumps(data)} payload = requests.post('https://www.niftyindices.com/Backpage.aspx/getHistoricaldatatabletoString', timeout=300, headers=niftyindices_headers, json=data,).json() payload = json.loads(payload["d"])...