def fetch_my_trades(self, symbol=None, since=None, limit=25, params={}):
    self.load_markets()
    market = self.market(symbol)
    markerInParams = ('marker' in params)
    if ((since is not None) and (not markerInParams)):
        raise ExchangeError((self.id + ' fetchMyTrades does not support fetching trades starting from a timestamp with the `since` argument, use the `marker` extra param to filter starting from an integer trade id'))
    if markerInParams:
        params = self.extend(params, {'marker': int(params['marker'])})
    request = {'book': market['id'], 'limit': limit}
    response = self.privateGetUserTrades(self.extend(request, params))
    return self.parse_trades(response['payload'], market, since, limit)
def fetch_my_trades(self, symbol=None, since=None, limit=25, params={}):
    self.load_markets()
    market = self.market(symbol)
    markerInParams = ('marker' in params)
    if ((since is not None) and (not markerInParams)):
        raise ExchangeError((self.id + ' fetchMyTrades does not support fetching trades starting from a timestamp with the `since` argument, use the `marker` extra param to filter starting from an integer trade id'))
    if markerInParams:
        params = self.extend(params, {'marker': int(params['marker'])})
    request = {'book': market['id'], 'limit': limit}
    response = self.privateGetUserTrades(self.extend(request, params))
    return self.parse_trades(response['payload'], market, since, limit)