code: def get_user_trades(self, limit=0, offset=0, sort='desc'):
          self._log('get user trades')
          res = self._rest_client.post(
              endpoint='/user_transactions',
              payload={
                  'book': self.name,
                  'limit': limit,
                  'offset': offset,
                  'sort': sort
              }
          )
          return res[:limit] if len(res) > limit > 0 else res