eshan6704 commited on
Commit
73b65e7
·
verified ·
1 Parent(s): b772d87

Update daily.py

Browse files
Files changed (1) hide show
  1. daily.py +2 -2
daily.py CHANGED
@@ -101,10 +101,10 @@ def daily(symbol,source="yfinace"):
101
  # --- Standardize columns ---
102
  df.columns = ["Close", "High", "Low", "Open", "Volume"]
103
  df.reset_index(inplace=True) # make Date a column
104
- return df
105
  if source=="NSE":
106
  df=nse_del(symbol)
107
-
108
  def fetch_daily(symbol, source,max_rows=200):
109
  """
110
  Fetch daily OHLCV data, calculate TA-Lib indicators + patterns,
 
101
  # --- Standardize columns ---
102
  df.columns = ["Close", "High", "Low", "Open", "Volume"]
103
  df.reset_index(inplace=True) # make Date a column
104
+
105
  if source=="NSE":
106
  df=nse_del(symbol)
107
+ return df
108
  def fetch_daily(symbol, source,max_rows=200):
109
  """
110
  Fetch daily OHLCV data, calculate TA-Lib indicators + patterns,