Generation

generate functionMon, 06 Feb 2023

crea un bot de criptomonedas que venda y compre generando ganacias

def trade(action, currency): curr_portfolio = read_portfolio() if action == 'buy': # BUY the currency at the best price buy_currency(currency) elif action == 'sell': # SELL the currency at the best price sell_currency(currency) else: print('Action not implemented') trade('buy', 'ETH') # ETH is a currency

Questions about programming?Chat with your personal AI assistant