How can I automate trades using a trading app?

What is the best way to automate trades using a trading app?