Spaces:
Sleeping
Sleeping
Update app/router.py
Browse files- app/router.py +2 -2
app/router.py
CHANGED
|
@@ -16,7 +16,7 @@ from . import build_nse_fno as fno
|
|
| 16 |
from . import nsepythonmodified as ns
|
| 17 |
from . import yahooinfo
|
| 18 |
from . import screener # executor only
|
| 19 |
-
|
| 20 |
# -------------------------------------------------------
|
| 21 |
# Router
|
| 22 |
# -------------------------------------------------------
|
|
@@ -89,7 +89,7 @@ def handle_stock(req: FetchRequest):
|
|
| 89 |
if t == "intraday":
|
| 90 |
return stock.fetch_intraday(req.name)
|
| 91 |
if t == "daily":
|
| 92 |
-
return
|
| 93 |
if t == "nse_eq":
|
| 94 |
return eq.build_eq_html(req.name)
|
| 95 |
if t == "qresult":
|
|
|
|
| 16 |
from . import nsepythonmodified as ns
|
| 17 |
from . import yahooinfo
|
| 18 |
from . import screener # executor only
|
| 19 |
+
from . import daily
|
| 20 |
# -------------------------------------------------------
|
| 21 |
# Router
|
| 22 |
# -------------------------------------------------------
|
|
|
|
| 89 |
if t == "intraday":
|
| 90 |
return stock.fetch_intraday(req.name)
|
| 91 |
if t == "daily":
|
| 92 |
+
return daily.fetch_daily(req.name, req.date_end,req.date_start)
|
| 93 |
if t == "nse_eq":
|
| 94 |
return eq.build_eq_html(req.name)
|
| 95 |
if t == "qresult":
|