Open Nllii opened 3 years ago
coingecko api issued solved. Try this instead:
while True:
try:
prices = client.get_coin_market_chart_by_id(crypto_id, vs_currency="USD", days=30)
except requests.exceptions.RequestException as e:
print(e, "errors")
time.sleep(15)
else:
break
[x] Bot
algorithms
Just incase someone tries to use this, the algorithm each day will have a leverage ETF added for edging.
#
APIS know issues:
1. coingecko api needs to be replaced or add a try and continue in task script.(fixed -09-11-2021)https://github.com/guanquann/Stocksera/blob/32a9371324fb1268ca8018b3539581774a57a22d/fast_yahoo.py#L96C1-L97C1