by djb_hackernews · 9y ago · 0 comments
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.
I've seen this working and working very well (day job), although not specifically with Trump tweets.
http://www.investopedia.com/articles/active-trading/040515/h...
I guess you could weigh it against his favorability polling, but you're right, this is all just guesswork masquerading as science.
Now your holding lots of Nordstrom and NYT, and riding the wave up. Congrats, your going to be a millionaire!