btcde.py
def executeTrade(self, trading_pair, order_id, order_type, amount):
        """Buy/Sell on a specific Order."""
        uri = f'{self.apibase}{trading_pair}/trades/{order_id}'
        params = { 'type': order_type,
                   'amount_currency_to_trade': amount}
        avail_params = ['type', 'amount_currency_to_trade']
        p = ParameterBuilder(avail_params, params, uri)
        return self.APIConnect('POST', p)
Buy/Sell on a specific Order.
Buy/Sell on a specific Order.
Buy / Sell on a specific Order .
def executeTrade(self, trading_pair, order_id, order_type, amount):
        uri = f'{self.apibase}{trading_pair}/trades/{order_id}'
        params = { 'type': order_type,
                   'amount_currency_to_trade': amount}
        avail_params = ['type', 'amount_currency_to_trade']
        p = ParameterBuilder(avail_params, params, uri)
        return self.APIConnect('POST', p)
def executeTrade ( self , trading_pair , order_id , order_type , amount ) : uri = f'{self.apibase}{trading_pair}/trades/{order_id}' params = { 'type' : order_type , 'amount_currency_to_trade' : amount } avail_params = [ 'type' , 'amount_currency_to_trade' ] p = ParameterBuilder ( avail_params , params , uri ) return self . APIConnect ( 'POST' , p )
Buy/Sell on a specific Order.
Buy / Sell on a specific Order .
"""Buy/Sell on a specific Order."""
self
trading_pair
order_id
order_type
amount