Skip to content

Commit

Permalink
style: format codebase
Browse files Browse the repository at this point in the history
  • Loading branch information
guptarohit committed Feb 19, 2022
1 parent 728ca32 commit f86d536
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cryptocmd/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit f86d536

Please sign in to comment.