btcde.py
def showPublicTradeHistory(self, trading_pair, **args):
        """All successful trades of the last 24 hours."""
        params = { 'trading_pair': trading_pair }
        params.update(args)
        avail_params = ['trading_pair', 'since_tid']
        uri = f'{self.apibase}{trading_pair}/trades/history'
        if params.get('since_tid'):
            del params["trading_pair"]
            p = ParameterBuilder(avail_params, params, uri)
        else:
            p = ParameterBuilder({}, {}, uri)
        p.verify_keys_and_values(avail_params, params)
        return self.APIConnect('GET', p)
All successful trades of the last 24 hours.
All successful trades of the last 24 hours.
All successful trades of the last 24 hours .
def showPublicTradeHistory(self, trading_pair, **args):
        params = { 'trading_pair': trading_pair }
        params.update(args)
        avail_params = ['trading_pair', 'since_tid']
        uri = f'{self.apibase}{trading_pair}/trades/history'
        if params.get('since_tid'):
            del params["trading_pair"]
            p = ParameterBuilder(avail_params, params, uri)
        else:
            p = ParameterBuilder({}, {}, uri)
        p.verify_keys_and_values(avail_params, params)
        return self.APIConnect('GET', p)
def showPublicTradeHistory ( self , trading_pair , ** args ) : params = { 'trading_pair' : trading_pair } params . update ( args ) avail_params = [ 'trading_pair' , 'since_tid' ] uri = f'{self.apibase}{trading_pair}/trades/history' if params . get ( 'since_tid' ) : del params [ "trading_pair" ] p = ParameterBuilder ( avail_params , params , uri ) else : p = ParameterBuilder ( { } , { } , uri ) p . verify_keys_and_values ( avail_params , params ) return self . APIConnect ( 'GET' , p )
All successful trades of the last 24 hours.
All successful trades of the last 24 hours .
"""All successful trades of the last 24 hours."""
self
trading_pair