Update app.py
Browse files11 unmodified lines1213141516171811 unmodified lines# Fetch historical data for BTC-USDdef predict_and_save_close_price():text_input = 'BTC-USD' # Replace with your desired cryptocurrency symboldata = yf.download(text_input, period='1d')# Select Open and Close pricedata = data[['Open', 'Close']]11 unmodified lines1213141516171811 unmodified lines# Fetch historical data for BTC-USDdef predict_and_save_close_price():text_input = 'BTC-USD' # Replace with your desired cryptocurrency symboldata = yf.download(text_input, period='max')# Select Open and Close pricedata = data[['Open', 'Close']]
app.py+1-1