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