A template for strategy bots written in flask