監控川普推特轉錢的 trump2cash

在看股票自動交易 bot 的時候發現這個:trump2cash

顧名思義,其演算法核心就是盯著川普的推特言論,用 google cloud NL API 來分析公司,再透過 tradeking API 下單。太狂啦。

The code is written in Python and is meant to run on a Google Compute Engine instance. It uses the Twitter Streaming APIs to get notified whenever Trump tweets. The entity detection and sentiment analysis is done using Google’s Cloud Natural Language API and the Wikidata Query Service provides the company data. The TradeKing API does the stock trading.

 




如果你覺得這篇文章不錯,歡迎打賞 IOTA:RFHEIVXVIZWJFXTZORZZRCMHZF9PSGFUFWAAKXTFNZE9JQUY9HFQREJYYSPSXDRLECKXCAQQDOMSMYJYDKPCKWXBKD

或是點選下方圖片贊助我一杯咖啡:

Leave a reply:

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.