Spaces:
Running
Running
Update app/index_live_html.py
Browse files- app/index_live_html.py +2 -2
app/index_live_html.py
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
from . import nsepythonmodified
|
| 2 |
import pandas as pd
|
| 3 |
from datetime import datetime as dt
|
| 4 |
|
|
@@ -24,7 +24,7 @@ def build_index_live_html():
|
|
| 24 |
|
| 25 |
# ================= LIVE FETCH =================
|
| 26 |
index_name = "NIFTY 50"
|
| 27 |
-
p = nse_index_live(index_name)
|
| 28 |
|
| 29 |
full_df = p.get("data", pd.DataFrame())
|
| 30 |
rem_df = p.get("rem", pd.DataFrame())
|
|
|
|
| 1 |
+
from . import nsepythonmodified as ns
|
| 2 |
import pandas as pd
|
| 3 |
from datetime import datetime as dt
|
| 4 |
|
|
|
|
| 24 |
|
| 25 |
# ================= LIVE FETCH =================
|
| 26 |
index_name = "NIFTY 50"
|
| 27 |
+
p = ns.nse_index_live(index_name)
|
| 28 |
|
| 29 |
full_df = p.get("data", pd.DataFrame())
|
| 30 |
rem_df = p.get("rem", pd.DataFrame())
|