Spaces:
Sleeping
Sleeping
Update app.py
Browse files23 unmodified lines242526272728293031 unmodified lines626364656566676823 unmodified linesoutput_dim = 1num_epochs = 1700
def get_crypto_ohlcv(crypto_name="BTC", tsym="USD", timeframe="1d", limit=100, api_key=None):def get_crypto_ohlcv(crypto_name="BTC", tsym="USD", timeframe="1d", limit=100, api_key="a2b2efc08d5160dc1bc03be8e03280dcb51daab10832c6ee698c95d065359589"): """ Fetches OHLCV data from CryptoCompare with support for various timeframes.
31 unmodified lines "limit": limit, "aggregate": agg }
if api_key: params["api_key"] = api_key
app.py+2-2