All Projects → jaimindp → Twitter_Activated_Crypto_Trading_Bot

jaimindp / Twitter_Activated_Crypto_Trading_Bot

Licence: other
Buys crypto through keyword detection in new tweets. Executes buy in 1 second and holds for a given time (e.g. Elon tweets 'doge', buys Dogecoin and sells after 5 minutes). Tested on Kraken and Binance exchanges

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Twitter Activated Crypto Trading Bot

tradoge
DOGE trading bot for instantly buying and selling DOGE cryptocurrency on Binance when Elon Musk tweets about it.
Stars: ✭ 122 (+32.61%)
Mutual labels:  twitter-bot, tweets, trading-bot, doge, dogecoin, binance, elonmusk
Crypto Signal
Github.com/CryptoSignal - #1 Quant Trading & Technical Analysis Bot - 3,100+ stars, 900+ forks
Stars: ✭ 3,690 (+3910.87%)
Mutual labels:  trading, trading-bot, trading-strategies, binance, binance-api
LickHunterPRO
Cryptocurrency Trading Bot that looks for large pools of liquidity getting liquidated on margin trading, when it finds these it counter trades them!
Stars: ✭ 114 (+23.91%)
Mutual labels:  trading, trading-bot, trading-strategies, binance, crypto-bot
Krypto Trading Bot
Self-hosted crypto trading bot (automated high frequency market making) written in C++
Stars: ✭ 2,589 (+2714.13%)
Mutual labels:  trading, trading-bot, trading-strategies, kraken, binance
multi pairs martingle bot
A muti pairs martingle trading bot for Binance exchange.
Stars: ✭ 55 (-40.22%)
Mutual labels:  trading, trading-bot, binance, binance-api
ninjabot
A fast trading bot platform for cryptocurrency in Go (Binance)
Stars: ✭ 1,021 (+1009.78%)
Mutual labels:  trading, trading-bot, trading-strategies, binance
binance-downloader
Python tool to download Binance Candlestick (k-line) data from REST API
Stars: ✭ 44 (-52.17%)
Mutual labels:  trading, trading-bot, binance, binance-api
Metatrader
Expert advisors, scripts, indicators and code libraries for Metatrader.
Stars: ✭ 99 (+7.61%)
Mutual labels:  trading, trading-bot, trading-strategies, automated-trading
moon-doge
Buy DogeCoin automatically when Elon Musk tweet about it, and sell after profit
Stars: ✭ 20 (-78.26%)
Mutual labels:  trading, trading-bot, dogecoin, binance
tradingview-alert-binance-trader
This trading bot listens to the TradingView alert emails on your inbox and executes trades on Binance based on the parameters set on the TD alerts.
Stars: ✭ 153 (+66.3%)
Mutual labels:  trading, trading-bot, trading-strategies, binance
Tradingview Alert Binance Trader
This trading bot listens to the TradingView alert emails on your inbox and executes trades on Binance based on the parameters set on the TD alerts.
Stars: ✭ 100 (+8.7%)
Mutual labels:  trading, trading-bot, trading-strategies, binance
Bybit-Auto-Trading-Bot-Ordes-placed-via-TradingView-Webhook
Python based Trading Bot that uses TradingView.com webhook JSON alerts to place orders(buy/sell/close/manage positions/TP/SL/TS etc.) on Bybit.com. Hire me directly here https://www.freelancer.com/u/Beannsofts for any assistance
Stars: ✭ 235 (+155.43%)
Mutual labels:  trading, trading-bot, binance, binance-api
TradeBot
Crypto trading bot using Binance API (Java)
Stars: ✭ 292 (+217.39%)
Mutual labels:  trading, trading-bot, trading-strategies, binance-api
Crypto Trading Bot
Cryptocurrency trading bot in javascript for Bitfinex, Bitmex, Binance, FTX, Bybit ... (public edition)
Stars: ✭ 1,089 (+1083.7%)
Mutual labels:  trading, trading-bot, trading-strategies, binance
Cassandre Trading Bot
Cassandre makes it easy to create your Java crypto trading bot. Our Spring boot starter takes care of exchange connections, accounts, orders, trades, and positions.
Stars: ✭ 120 (+30.43%)
Mutual labels:  trading, trading-bot, trading-strategies, binance
Siis
Trading bot including terminal, for crypto and traditionals markets. Assisted or fully automated strategy.
Stars: ✭ 45 (-51.09%)
Mutual labels:  trading, trading-bot, kraken, binance
twitter-crypto-bot
This is a Twitter bot that tweets about cryptocurrencies prices every certain amount of minutes
Stars: ✭ 21 (-77.17%)
Mutual labels:  twitter-bot, trading, binance, binance-api
Blankly
🚀 💸 Easily build, backtest and deploy your algo in just a few lines of code. Trade stocks, cryptos, and forex across exchanges w/ one package.
Stars: ✭ 1,456 (+1482.61%)
Mutual labels:  trading, trading-bot, trading-strategies, binance
Socktrader
🚀 Websocket based trading bot for 💰cryptocurrencies 📈
Stars: ✭ 152 (+65.22%)
Mutual labels:  trading, trading-bot, trading-strategies
Roq Api
API for algorithmic and high-frequency trading
Stars: ✭ 132 (+43.48%)
Mutual labels:  trading, trading-bot, trading-strategies

Tweet Activated Crypto Trader

This project is now www.lazytrade.io. Execute crypto trades with one touch on Telegram!

For the fully automated trading version of this app see below!

March 23rd 2021 - Stopped updating repo, building functionality privately. Message for info.

twitter_exchanges.py works with querying. Issue with streaming fixed too. (Mar 23rd)

New thread created for trade so multiple trades can occur concurrently under streaming. Ctrl-c will allow the trades to close out in the given time and the program to exit automatically. (March 17th)

Fixed issue with querying. New coin listings from coinbase, coinbasepro and binance successfully traded +25%. Works when BNB is in binance account to take fees. (March 15th)

Buy amount now requested in $ and dynamically adjusted to valid crypto amount based on latest exchange rate. (Mar 9th)

Set up for futures trading up to 100x leverage (not on github), successfully returned 100%+ from Elon's doge tweets

Overview

The idea is to buy crypto using a Twitter trigger and sell after a user specified time / price / % gain e.g. when Elon musk tweets about Dogecoin or when a new coin is listed on an exchange

Markets, particularly small market cap altcoins are heavily influenced by individuals with large following 'hyping' up a cryptocurrency AKA crypto pumps. We can capitalise on this opportunity by being one of the first to exectue trades when a tweet is posted

As soon as Tweet is posted, ~5s with streaming/~1s querying, the program checks for substring matches with keywords for a particular cryptocurrency. These keywords and coins can be user specified from the keywords json files to implement any trade strategies

Threading for streaming tweets so trade executions run in a separate thread allowing multiple trades to occur at once. When ctrl-c is hit, it waits for the trades to sell automatically according to the specification then closes the program

The buy amount is input in $ and based on the latest prices from the exchange, the program will calculate valid buy and (multiple) sell amounts as close to the specified $ amount as the market will allow (Binance). BNB coin required in account to take fees. With Kraken, the buy amount has to be a valid tradeable amount in crypto and when divided by the number of selling trades, also has to leave valid tradeable amounts

To configure on local system:
pip install -r requirements.txt

To run with Binance (monitors a single ticker):
python twitter_binance.py

To run with Kraken (monitors a single ticker):
python twitter_kraken.py

API keys are kept in a json, one directory up from repo ../keys.json

{
    "twitter_keys":{
        "consumer_key":"XXXXXXXXXXXXXXXXXXXX",
        "consumer_secret":"XXXXXXXXXXXXXXXXXXXX",
        "access_token_key":"XXXXXXXXXXXXXXXXXXXX",
        "access_token_secret":"XXXXXXXXXXXXXXXXXXXX"
    },
    "binance_keys":{
        "api_key":"XXXXXXXXXXXXXXXXXXXX",
        "secret_key":"XXXXXXXXXXXXXXXXXXXX"
    },
    "kraken_keys":{
    	"api_key":"XXXXXXXXXXXXXXXXXXXX",
        "secret_key":"XXXXXXXXXXXXXXXXXXXX"
    }
}

Notes

  • Requires a Twitter Developer API detecting tweets through Tweepy
  • Requires a crypto exchange (Kraken/Binance) API which is used through ccxt (cryptocurrency exchange trading library)
    • ccxt allows universal function calls to be used on multiple exchanges (adding a new exchange should not be difficult as long as ccxt has the same functions implemented)
  • If anything is not working correctly, let me know!
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].