Added more trade logic to the bot.