code: def get_previous_price_list(self, currency, start_date, end_date):
          
          start = start_date.strftime('%Y-%m-%d')
          end = end_date.strftime('%Y-%m-%d')
          url = (
              'https://api.coindesk.com/v1/bpi/historical/close.json'
              '?start={}&end={}&currency={}'.format(
                     start, end, currency
                 )
          )
          response = requests.get(url)
          if response.status_code == 200:
              data = self._decode_rates(response)
              price_dict = data.get('bpi', {})
              return price_dict
          return {}
docs: Get List of prices between two dates