You guys asked for it so here it is: I built a bot that buys Bitcoin when Elon Musk Tweets about it and open sourced it

Cryptocurrency News and Public Mining Pools

You guys asked for it so here it is: I built a bot that buys Bitcoin when Elon Musk Tweets about it and open sourced it

In my last post, you guys were interested in my bot project that buys Bitcoin when Elon tweets about it so here it is!

The bot was initially designed to buy Bitcoin when Elon Musk tweets about, regardless of the sentiment of the tweet. I have shared it with some smaller communities, and there was some great feedback on it regarding the main concern – what if Elon tweets: "Bitcoin is too high imo" and the bot buys at the wrong time.

So I found an API that would help me analyse the tweet sentiment, and integrated this into the code. The bot will now only buy Bitcoin when Elon Tweets, if the sentiment of his tweet is positive.

I have tested the functionality and the bot is quite stable, but I haven't tested how profitable (if at all) it would actually be, so if you're interested in testing it, please share the results with us! 🙂

The bot was built mostly for fun, and I wouldn't encourage you to trade with it on a live account! But if you want to have some fun with it and try it out on a demo account, here you go:

Article and guide: https://www.cryptomaton.org/2021/03/21/program-a-trading-bot-to-buy-bitcoin-when-musk-tweets-about-it/

GitHub Repo: https://github.com/CyberPunkMetalHead/bitcoin-bot-buy-if-elon-tweets/blob/main/buy-crypto-if-elon-mentions-crypto.py

submitted by /u/CyberPunkMetalHead
[link] [comments]