eshan6704 commited on
Commit
3e6331d
·
verified ·
1 Parent(s): bfbc38e

Update stock.py

Browse files
Files changed (1) hide show
  1. stock.py +1 -1
stock.py CHANGED
@@ -146,7 +146,7 @@ def fetch_intraday(symbol, indicators=None):
146
 
147
  def fetch_daily(symbol, source="yfinance", max_rows=200):
148
  try:
149
- df = nse_daily(symbol, source) if source == "nse" else daily(symbol)
150
  df_disp = df.head(max_rows)
151
 
152
  combined_df = talib_df(df_disp)
 
146
 
147
  def fetch_daily(symbol, source="yfinance", max_rows=200):
148
  try:
149
+ df = daily(symbol)
150
  df_disp = df.head(max_rows)
151
 
152
  combined_df = talib_df(df_disp)