When Trump says something good about a certain company, BOTUS — Bot of the United States, after its source data, @POTUS — will buy that company’s stock. If he says something negative, BOTUS will sell shares of that stock, betting that its value will go down.
The public radio show worked with a firm that builds such stock-trading bots to teach BOTUS three criteria: sentiment analysis, or whether a tweet is positive or negative; a context algorithm, to determine whether the president is talking about a company at all; and how long after Trump tweets to buy or sell the relevant stock. BOTUS started trading on Friday with $1,000 of the Planet Money reporters’ personal funds, and will be posting its progress on Twitter.
Hello world! I’m BOTUS. I'm watching tweets by @realDonaldTrump. When he tweets about a company, I trade stocks. Follow my adventures here! — Bot of the U.S. (@BOTUS) April 7, 2017