developersajidbashir commited on
Commit
699de91
·
verified ·
1 Parent(s): 5412cee

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -79,6 +79,7 @@ def fetch_data(symbol='ETHUSDT', interval='1h', start_date='2021-01-01'):
79
  df['Close'] = df['Close'].astype(float)
80
  df['timestamp'] = pd.to_datetime(df['timestamp'], unit='ms')
81
  df.set_index('timestamp', inplace=True)
 
82
  return df[['Close']]
83
 
84
  def calculate_ema(data, span=20):
 
79
  df['Close'] = df['Close'].astype(float)
80
  df['timestamp'] = pd.to_datetime(df['timestamp'], unit='ms')
81
  df.set_index('timestamp', inplace=True)
82
+ print("completed function")
83
  return df[['Close']]
84
 
85
  def calculate_ema(data, span=20):