https://github.com/technickai/twitter_crypto_buy
See tweet, buy crypto
https://github.com/technickai/twitter_crypto_buy
Last synced: 3 months ago
JSON representation
See tweet, buy crypto
- Host: GitHub
- URL: https://github.com/technickai/twitter_crypto_buy
- Owner: TechNickAI
- Created: 2017-12-24T02:08:45.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-07T23:43:02.000Z (over 2 years ago)
- Last Synced: 2025-01-29T05:43:57.728Z (5 months ago)
- Language: Python
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Twitter Crypto Buy
Listen to a twitter account for a mention of a crypto currency and buy it.
Originally built for the @officialmcaffee account after watching that whatever crypto he mentioned for his "Coin of the day" rose signifigantly.
## Requirements
* A suitable environment to run the bot. [screen](https://www.gnu.org/software/screen/) on *nix should do.
* Knowledge of Python
* A [Bittrex](https://bittrex.com/) account with BTC available, and an [API key](https://support.bitfinex.com/hc/en-us/articles/115002349625-API-Key-Setup-Login) with trade access.
* Tolerance for risk (**this might fail miserably and lose money)
* Twitter streaming API access. This is the hardest part, it's a PITA to set up.## Setup
1. Clone the repo
2. Create a virtualenv with python3
3. Install the requirements (`pip install -r requirements.txt`)## Running
1. Run `python bot.py` with the appropriate environment variables set
2. Profit (or loss)## TODO
[ ] Sentiment analysis on the tweet to make sure that it is a positive mention
[ ] Sanity checks to make sure we don't do stupid stuff like buy more than once