chemouda commited on
Commit
6f1adf4
·
verified ·
1 Parent(s): 3fb03e8

Update asset_analysis.py

Browse files
Files changed (1) hide show
  1. asset_analysis.py +1 -1
asset_analysis.py CHANGED
@@ -30,7 +30,7 @@ def get_start_date(interval):
30
  else:
31
  years_ago = 2
32
  days_ago = 365*years_ago
33
- start_date = today - timedelta(days=365 * days_ago)
34
  return start_date.strftime("%Y-%m-%d")
35
 
36
  def fetch_asset_data(symbol, start_date, end_date, interval='1d', asset_type='stock'):
 
30
  else:
31
  years_ago = 2
32
  days_ago = 365*years_ago
33
+ start_date = today - timedelta(days=days_ago)
34
  return start_date.strftime("%Y-%m-%d")
35
 
36
  def fetch_asset_data(symbol, start_date, end_date, interval='1d', asset_type='stock'):