sarim commited on
Commit
ab944de
·
1 Parent(s): 9233a46

increase time

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -453,11 +453,8 @@ def get_gold_historial_price():
453
 
454
  # Last 730 days (2 years)
455
  end = int(datetime.utcnow().timestamp())
456
- start = int((datetime.utcnow() - timedelta(days=30)).timestamp())
457
 
458
  data = metals_api.get_price_history("XAU", start, end)
459
 
460
- if data:
461
- print("Price History:")
462
- print(data)
463
  return data
 
453
 
454
  # Last 730 days (2 years)
455
  end = int(datetime.utcnow().timestamp())
456
+ start = int((datetime.utcnow() - timedelta(days=730)).timestamp())
457
 
458
  data = metals_api.get_price_history("XAU", start, end)
459
 
 
 
 
460
  return data