Ok, simple enough, go on.
> When he does, it uses sentiment analysis to determine whether his opinions are positive or negative toward those companies.
Eh, sentiment analysis isn't perfect but it has come a long way, plus Trump does typically say what he means in simplistic language.
> The bot then automatically executes trades on the relevant stocks according to the expected market reaction.
Ah market psychology. Stop. Do not pass Go. Do not collect $200. This is the tricky bit that a toy project will never get right and turns your slick algorithmic trading project into a monkey and a dart board.
Though this is a sweet example of an API mashup.