Update nsepython.py
Browse files- nsepython.py +3 -5
nsepython.py
CHANGED
|
@@ -152,11 +152,9 @@ def nse_circular(mode="latest"):
|
|
| 152 |
return nsefetch('https://www.nseindia.com/api/latest-circular' if mode=="latest" else 'https://www.nseindia.com/api/circulars')
|
| 153 |
|
| 154 |
def nse_fiidii(mode="pandas"):
|
| 155 |
-
|
| 156 |
-
|
| 157 |
-
|
| 158 |
-
except:
|
| 159 |
-
return nsefetch('https://www.nseindia.com/api/fiidiiTradeReact')
|
| 160 |
|
| 161 |
def nsetools_get_quote(symbol):
|
| 162 |
p=nsefetch('https://www.nseindia.com/api/equity-stockIndices?index=SECURITIES%20IN%20F%26O')
|
|
|
|
| 152 |
return nsefetch('https://www.nseindia.com/api/latest-circular' if mode=="latest" else 'https://www.nseindia.com/api/circulars')
|
| 153 |
|
| 154 |
def nse_fiidii(mode="pandas"):
|
| 155 |
+
|
| 156 |
+
p=nsefetch('https://www.nseindia.com/api/fiidiiTradeReact')
|
| 157 |
+
return pd.DataFrame(p)
|
|
|
|
|
|
|
| 158 |
|
| 159 |
def nsetools_get_quote(symbol):
|
| 160 |
p=nsefetch('https://www.nseindia.com/api/equity-stockIndices?index=SECURITIES%20IN%20F%26O')
|