This is how a trading bot works automatically