{"id":18068889,"url":"https://github.com/stephancill/mcafee2cash","last_synced_at":"2025-10-06T20:05:30.311Z","repository":{"id":47228187,"uuid":"115261326","full_name":"stephancill/mcafee2cash","owner":"stephancill","description":"A crypto trading bot powered by McAfee tweets","archived":false,"fork":false,"pushed_at":"2022-12-07T23:47:43.000Z","size":85,"stargazers_count":40,"open_issues_count":6,"forks_count":18,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-03-25T19:40:50.479Z","etag":null,"topics":["bittrex-api","cryptocurrencies","mcafee","telegam-bot","trading","trading-bot","twitter-api"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stephancill.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-12-24T12:25:45.000Z","updated_at":"2024-08-15T19:33:14.000Z","dependencies_parsed_at":"2022-08-31T21:03:33.268Z","dependency_job_id":null,"html_url":"https://github.com/stephancill/mcafee2cash","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephancill%2Fmcafee2cash","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephancill%2Fmcafee2cash/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephancill%2Fmcafee2cash/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephancill%2Fmcafee2cash/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stephancill","download_url":"https://codeload.github.com/stephancill/mcafee2cash/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248497903,"owners_count":21113982,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bittrex-api","cryptocurrencies","mcafee","telegam-bot","trading","trading-bot","twitter-api"],"created_at":"2024-10-31T08:08:04.312Z","updated_at":"2025-10-06T20:05:25.270Z","avatar_url":"https://github.com/stephancill.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mcafee2cash\n* Listen for tweets from @officialmcafee\n* Check if tweet contains a symbol listed on Bittrex\n* Analyze sentiment\n* Suggest to user via Telegram bot if good\n* Allow user to make buy order and set selling target once buy order fills\n\nAPIs used:\n* Twitter (tweepy)\n* Telegram (telepot)\n* Bittrex (python-bittrex)\n\nIf you get stuck, don't hesitate to open an issue or message me on Twitter [@stephancill](https://twitter.com/stephancill)\n\nDisclaimer: I do not endorse the influence McAfee’s tweets have on the crypto market. I think it’s very dangerous for one person to have the power to manipulate markets the way he does.\n## TODO\n* [x] OCR for tweets with pictures\n* [ ] Set default amount to buy in config\n* [ ] Timed orders (e.g. sell after 30 min)\n* [ ] General order management (/neworder)\n\n## How it works\nA stream is configured to listen to new tweets by user IDs specified in `config.json`. When it receives a tweet, it checks if any coins that trade on Bittrex are mentioned, analyzes the overall sentiment and determines which coins you should buy. The Telegram bot then sends you a message with those buying options and allows you to inspect a market summary of all the buying options. Along with the market summary, it provides you with a button that you can press to buy the coin on Bittrex and asks you to specify how much (in BTC) you would like to spend and places a buy order at the asking price.\n\n### Why not just automatically buy?\nMcAfee doesn't only tweet the coin of the day. A Telegram bot is merely a conservative approach to prevent the bot from making stupid trades. E.g.\n\n![McAfee's hacked twitter account](https://i.imgur.com/wpUc08R.png)\n\n## Requirements\n* Python 3.6\n* [pipenv](https://github.com/pypa/pipenv)\n\n## Setup\n1. `git clone https://github.com/stephancill/mcafee2cash.git`\n2. `cd mcafee2cash`\n3. `pipenv install` (if this fails, delete `Pipfile.lock` and try again)\n4. `pipenv run \"python -m textblob.download_corpora\"` to download sentiment analysis dependencies\n5. Populate `secrets.json`\n6. Modify `config.json` (optional)\n\n### `secrets.json` info\n* Bittrex - Create a [Bittrex](https://bittrex.com/Manage#sectionApi) API key with `READ INFO,\tTRADE LIMIT,\tTRADE MARKET` permissions\n* Telegram - Create a bot by talking to [@BotFather](http://t.me/botfather)\n* Twitter - Create a new Twitter app at https://apps.twitter.com/app/new\n\n### Telegram bot commands\nCommand shortcuts to register with BotFather\n```\norderstatus - Usage: /orderstatus ORDER_UUID (Get status of limit order)\ncancelorder - Usage: /cancelorder ORDER_UUID (Cancel order)\ngetopenorders - Usage: /getopenorders (List open orders)\nhelp - Get help with order management\n```\n\n## Usage\n1. Start the service using `pipenv run python main.py`\n2. Send your bot token to the bot to authenticate your chat\n3. Wait for McAfee to pump a coin\n\n## Contributing\nContributions welcome. Open a pull request!\n\n## License\nMIT License\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstephancill%2Fmcafee2cash","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstephancill%2Fmcafee2cash","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstephancill%2Fmcafee2cash/lists"}