Update daily.py
Browse files
daily.py
CHANGED
|
@@ -11,7 +11,7 @@ def fetch_daily(symbol, max_rows=200):
|
|
| 11 |
"""
|
| 12 |
try:
|
| 13 |
# --- Fetch historical data ---
|
| 14 |
-
df = yf.download(symbol + ".NS", period="
|
| 15 |
|
| 16 |
if isinstance(combined_df.columns, pd.MultiIndex):
|
| 17 |
combined_df.columns = combined_df.columns.get_level_values(0)
|
|
|
|
| 11 |
"""
|
| 12 |
try:
|
| 13 |
# --- Fetch historical data ---
|
| 14 |
+
df = yf.download(symbol + ".NS", period="1y", interval="1d").round(2)
|
| 15 |
|
| 16 |
if isinstance(combined_df.columns, pd.MultiIndex):
|
| 17 |
combined_df.columns = combined_df.columns.get_level_values(0)
|