From f86d53612b17c03244dbd0d13692b3cb22498c3b Mon Sep 17 00:00:00 2001 From: Rohit Gupta Date: Sun, 20 Feb 2022 03:12:41 +0530 Subject: [PATCH] style: format codebase --- cryptocmd/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cryptocmd/utils.py b/cryptocmd/utils.py index 568b021..e24af0c 100644 --- a/cryptocmd/utils.py +++ b/cryptocmd/utils.py @@ -57,7 +57,7 @@ def get_coin_id(coin_code): print("Error message:", e) -def download_coin_data(coin_code, start_date, end_date,fiat): +def download_coin_data(coin_code, start_date, end_date, fiat): """ Download HTML price history for the specified cryptocurrency and time range from CoinMarketCap. @@ -95,7 +95,7 @@ def download_coin_data(coin_code, start_date, end_date,fiat): ) api_url = "https://web-api.coinmarketcap.com/v1/cryptocurrency/ohlcv/historical?convert={}&slug={}&time_end={}&time_start={}".format( - fiat,coin_id, end_date_timestamp, start_date_timestamp + fiat, coin_id, end_date_timestamp, start_date_timestamp ) try: