eshan6704 commited on
Commit
e11cd25
·
verified ·
1 Parent(s): 3a83327

Update index.py

Browse files
Files changed (1) hide show
  1. index.py +9 -0
index.py CHANGED
@@ -6,7 +6,16 @@ from datetime import datetime, timedelta
6
 
7
  from common import html_card, wrap_html
8
  from ta_indi_pat import talib_df
 
9
 
 
 
 
 
 
 
 
 
10
 
11
  def fetch_index(max_rows=200):
12
  """
 
6
 
7
  from common import html_card, wrap_html
8
  from ta_indi_pat import talib_df
9
+ import datetime
10
 
11
+ date = datetime.date(2025, 11, 27) # Trying a past date where data is likely available
12
+
13
+ df = nse_preopen_df("NIFTY")
14
+ df_bhav, act_date = fetch_bhavcopy_df(date)
15
+ df_ce, df_pe = fetch_option_chain_df("NIFTY")
16
+ df_m, df_a, df_meta, df_data = nse_index_df("NIFTY 50")
17
+
18
+ fno = nse_fno_df("RELIANCE")
19
 
20
  def fetch_index(max_rows=200):
21
  """