xferdie commited on
Commit
e1f6083
·
verified ·
1 Parent(s): bd9526f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,7 +18,7 @@ def create_dataset(dataset,time_step=15):
18
  return np.array(x_ind),np.array(y_dep)
19
 
20
  def stockprice(stockname,number_of_samples):
21
- df_yahoo = yf.download(stockname,start='2020-09-15',end=date.today(),interval = "1h",progress=False,auto_adjust=True)
22
  df=df_yahoo
23
  df.index.rename('Date', inplace=True)
24
  df=df.sort_values(by=['Date'],ignore_index=True)
 
18
  return np.array(x_ind),np.array(y_dep)
19
 
20
  def stockprice(stockname,number_of_samples):
21
+ df_yahoo = yf.download(stockname,start='2023-01-01',end=date.today(),interval = "1h",progress=False,auto_adjust=True)
22
  df=df_yahoo
23
  df.index.rename('Date', inplace=True)
24
  df=df.sort_values(by=['Date'],ignore_index=True)