# maxbbraun/trump2cash

A stock trading bot powered by Trump tweets

Repository: https://github.com/maxbbraun/trump2cash
Canonical: https://ross.abutalabs.com/products/trump2cash
Homepage: https://trump2cash.biz
Language: Python
License: MIT
License Family: permissive
Topics: trading, bot, trump, twitter
Archived: true
Last push: 2023-05-23T00:51:23+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3510, "days_push": 1199, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 6534, forks 858 (observed 2026-08-28T04:09:45.013989+00:00)

## What it is
A Python stock trading bot that watches Donald Trump's tweets, detects mentions of publicly traded companies, and uses sentiment analysis to automatically execute trades based on the expected market reaction. It runs on Google Compute Engine using the Twitter Streaming API, Google Cloud Natural Language API, Wikidata, and the TradeKing trading API.

## Use cases
- trade stocks automatically based on Trump tweets
- sentiment-driven automated trading bot
- monitor Twitter for company mentions and trade on sentiment
- event-driven stock trading from social media
- build a Twitter streaming bot with sentiment analysis

## When to choose
- you want a reference implementation of tweet-driven sentiment trading
- you need an example integrating Twitter streaming, NLP entity detection, and a brokerage API
- you're studying event-driven trading strategies

## When to avoid
- you need production trading software - the TradeKing API is defunct and the bot depends on deprecated Twitter streaming access
- you want a maintained, actively supported trading system
- you need guaranteed profitability or risk management features

## Facets
- artifact type: application
- maturity: maintenance
- function: nlp, machine-learning, trading, streaming, web-scraping
- domain: fintech, social-media
- platform: python, cloud
- tags: twitter-bot, sentiment-analysis, stock-trading, event-driven-trading, twitter-api, trading, natural-language-processing, automation, linux, docker

## Member repositories
- maxbbraun/trump2cash (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:45.013989+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:44:08.091643+00:00, confidence not recorded.
  - readme: https://github.com/maxbbraun/trump2cash (fetched 2026-08-28T04:09:45.013989+00:00, sha c9aca4998d3c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
