def sell(amount): trading_client = client() trading_client.sell_market_order(amount)
def buy(amount): trading_client = client() trading_client.buy_market_order(amount)
def sell(amount): # Função comprar bitcoin 'purchase' = 'comprar' trading_client = client() trading_client.sell_market_order(amount)
def buy(amount): # Função vender bitcoin 'sell' = 'vender' trading_client = client() trading_client.buy_market_order(amount)
def sell_order(quantidade): trading_client = client() trading_client.sell_market_order(amount=quantidade)
def buy_order(quantidade): trading_client = client() trading_client.buy_market_order(amount=quantidade)