eshan6704 commited on
Commit
4fad99f
·
verified ·
1 Parent(s): 989249d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -34,7 +34,7 @@ STOCK_REQ = [
34
  ]
35
 
36
  INDEX_REQ = [
37
- "indices", "nse_open", "nse_preopen", "nse_fno",
38
  "nse_future", "nse_bhav", "nse_highlow"
39
  ]
40
 
@@ -61,6 +61,8 @@ def fetch_data(mode, req_type, name, date_str):
61
  if mode == "index":
62
  if req_type == "indices":
63
  return build_indices_html()
 
 
64
  elif req_type == "nse_open":
65
  return wrap(nse_open(name))
66
  elif req_type == "nse_preopen":
 
34
  ]
35
 
36
  INDEX_REQ = [
37
+ "indices","nse_eq", "nse_open", "nse_preopen", "nse_fno",
38
  "nse_future", "nse_bhav", "nse_highlow"
39
  ]
40
 
 
61
  if mode == "index":
62
  if req_type == "indices":
63
  return build_indices_html()
64
+ elif req_type == "nse_eq":
65
+ return build_eq_html()
66
  elif req_type == "nse_open":
67
  return wrap(nse_open(name))
68
  elif req_type == "nse_preopen":