eshan6704 commited on
Commit
cc31187
·
verified ·
1 Parent(s): eb10597

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -5,6 +5,7 @@ from index_live_html import *
5
  from preopen_html import *
6
  from eq_html import *
7
  import pandas as pd
 
8
 
9
  # ======================================================
10
  # Scrollable HTML wrapper
@@ -74,7 +75,7 @@ def fetch_data(mode, req_type, name, date_str):
74
  elif req_type == "nse_future":
75
  return wrap(nse_future(name))
76
  elif req_type == "nse_bhav":
77
- return wrap(nse_bhavcopy(date_str)) # no default
78
  elif req_type == "nse_highlow":
79
  return wrap(nse_highlow())
80
  else:
 
5
  from preopen_html import *
6
  from eq_html import *
7
  import pandas as pd
8
+ from bhavcopy_html import *
9
 
10
  # ======================================================
11
  # Scrollable HTML wrapper
 
75
  elif req_type == "nse_future":
76
  return wrap(nse_future(name))
77
  elif req_type == "nse_bhav":
78
+ return bhavcopy_html(date_str) # no default
79
  elif req_type == "nse_highlow":
80
  return wrap(nse_highlow())
81
  else: