09 February 2017 12:56:21 IST

Google guy builds bot that earns money from Trump tweets

And he gives it to charity

When US President Donald Trump isn't signing executive orders to ban Muslims and Mexicans he can probably be found on Twitter, hitting back at publicly traded companies and anyone who stands against him. This has an adverse effect on the stock markets around the world. Most recently, he sent the stocks of Lockheed Martin plummeting.

On noticing this trend, a Google employee decided to build a fully automated bot that analyses Trump's tweets and buys or shorts a company stock depending on his comments. And he donates the money he earns from it to charity. Check out this article in Mashable to learn more about how the bot works.