Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -12,6 +12,7 @@ import bhavcopy_html
|
|
| 12 |
import nsepython
|
| 13 |
import yahooinfo
|
| 14 |
import build_nse_fno
|
|
|
|
| 15 |
|
| 16 |
|
| 17 |
# ======================================================
|
|
@@ -79,7 +80,7 @@ def fetch_data(mode, req_type, name, date_str):
|
|
| 79 |
elif req_type == "nse_future":
|
| 80 |
return common.wrap(nsepython.nse_future(name))
|
| 81 |
elif req_type == "nse_highlow":
|
| 82 |
-
return
|
| 83 |
elif req_type == "nse_bhav":
|
| 84 |
return bhavcopy_html.build_bhavcopy_html(to_date)
|
| 85 |
elif req_type == "nse_largedeals":
|
|
|
|
| 12 |
import nsepython
|
| 13 |
import yahooinfo
|
| 14 |
import build_nse_fno
|
| 15 |
+
import csvloader
|
| 16 |
|
| 17 |
|
| 18 |
# ======================================================
|
|
|
|
| 80 |
elif req_type == "nse_future":
|
| 81 |
return common.wrap(nsepython.nse_future(name))
|
| 82 |
elif req_type == "nse_highlow":
|
| 83 |
+
return csvloader.nse_highlow(to_date).to_html()
|
| 84 |
elif req_type == "nse_bhav":
|
| 85 |
return bhavcopy_html.build_bhavcopy_html(to_date)
|
| 86 |
elif req_type == "nse_largedeals":
|