code: def history(self, currency, since=0, until=9999999999, limit=500, wallet='exchange'):
          
          payload = {
              "request": "/v1/history",
              "nonce": self._nonce,
              "currency": currency,
              "since": since,
              "until": until,
              "limit": limit,
              "wallet": wallet
          }
          signed_payload = self._sign_payload(payload)
          r = requests.post(self.URL + "/history", headers=signed_payload, verify=True)
          json_resp = r.json()
  
          return json_resp
docs: View you balance ledger entries
          :param currency: currency to look for
          :param since: Optional. Return only the history after this timestamp.
          :param until: Optional. Return only the history before this timestamp.
          :param limit: Optional. Limit the number of entries to return. Default is 500.
          :param wallet: Optional. Return only entries that took place in this wallet. Accepted inputs are: “trading”,
          “exchange”, “deposit”.