在看股票自動交易 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.
Leave a Reply