diff --git a/CHANGELOG.md b/CHANGELOG.md index 3a68b80..7425550 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,12 @@ All notable changes to this project will be documented in this file. +## [0.6.4] - 2023-10-14 + +### Added + +- In addition to Date, Open, High, Low, Close, Volume, Market Cap, the following time columns are returned: Time Open, Time High, Time Low, Time Close. + ## [0.6.3] - 2023-07-22 ### Added diff --git a/README.rst b/README.rst index 0aaae7c..34ed9b3 100644 --- a/README.rst +++ b/README.rst @@ -118,7 +118,7 @@ To get data of a cryptocurrency for some days Following are the columns of the data """"""""""""""""""""""""""""""""""""" -``Date, Open, High, Low, Close, Volume, Market Cap`` +``Date, Open, High, Low, Close, Volume, Market Cap, Time Open, Time High, Time Low, Time Close`` Acknowledgements diff --git a/cryptocmd/core.py b/cryptocmd/core.py index fb0b3a3..45bbcc0 100644 --- a/cryptocmd/core.py +++ b/cryptocmd/core.py @@ -54,7 +54,7 @@ def __init__( self.order_ascending = order_ascending self.fiat = fiat self.coin_name = coin_name - self.headers = ["Date", "Open", "High", "Low", "Close", "Volume", "Market Cap"] + self.headers = ["Date", "Open", "High", "Low", "Close", "Volume", "Market Cap", "Time Open", "Time High", "Time Low", "Time Close"] self.rows = [] self.id_number = id_number @@ -108,6 +108,10 @@ def _download_data(self, **kwargs): _row_quote["close"], _row_quote["volume"], _row_quote["market_cap"], + _row["time_open"], + _row["time_high"], + _row["time_low"], + _row["time_close"], ] self.rows.insert(0, row)