Spaces:
Running
Running
Update nsepython.py
Browse files- nsepython.py +1 -1
nsepython.py
CHANGED
|
@@ -286,7 +286,7 @@ def nse_blockdeals():
|
|
| 286 |
def nse_stock_hist(f,t,symbol,series="ALL"):
|
| 287 |
url=f"https://www.nseindia.com/api/historical/securityArchives?from={f}&to={t}&symbol={symbol.upper()}&dataType=priceVolumeDeliverable&series={series}"
|
| 288 |
payload=nsefetch(url)
|
| 289 |
-
print(
|
| 290 |
df=pd.DataFrame(payload["data"])
|
| 291 |
return df
|
| 292 |
|
|
|
|
| 286 |
def nse_stock_hist(f,t,symbol,series="ALL"):
|
| 287 |
url=f"https://www.nseindia.com/api/historical/securityArchives?from={f}&to={t}&symbol={symbol.upper()}&dataType=priceVolumeDeliverable&series={series}"
|
| 288 |
payload=nsefetch(url)
|
| 289 |
+
print(payload)
|
| 290 |
df=pd.DataFrame(payload["data"])
|
| 291 |
return df
|
| 292 |
|