I give you the inverse r/cc trading bot. An open source trading bot I made based on the inverse sentiment of this subreddit, so you know it literally cannot fail.

I give you the inverse r/cc trading bot. An open source trading bot I made based on the inverse sentiment of this subreddit, so you know it literally cannot fail.

This bot takes r/cc‘s knack for making consistently bad calls on coins and pulls off a uno reverse card on it. There is great power to be harnessed here, and this bot does just that. Let me explain the science behind my madness.

The bot uses a sentiment analyzer (NLTK’s Vader Lexicon) to determine whether today’s posts have a positive or negative sentiment – it then detects what coin is likely to be discussed and adds that sentiment score to the coin.

The score can be anywhere between -1 and 1. Where -1 is very negative and 1 is very positive. Of course, there will probably be multiple posts for each coin, so what we’re really interested in is the average sentiment for a coin, across all posts that mention it.

Say there are 50 posts about Solana, the bot would calculate an average score for all the posts. Rinse and repeat for every coin it detects.

Each day, our goal is to buy the coins that have the most negative sentiment score on here.

For instance, here are some of today’s scores, according to the bot.

https://preview.redd.it/9ii789cyow6d1.png?width=2245&format=png&auto=webp&s=2d0ce6789e736631ae5e1278a2a6a0f4e1f8079c

If the sentiment is lower than -0.2(can be adjusted), we’ll want to buy that coin. Rinse and repeat every day. Today, the bot bought me BTC (needs some tweaking), ALGO, MATIC and SNT. I shall report back with updates from a tropical island.

Now the burning question you may have is – Can I use this tool? Absolutely! I wrote it so that it can run on pretty much any machine, all you need is Docker.

It also comes with a test mode, so you can place paper order before going live on the market with it. Of course, if the entire subreddit starts using it and suddenly everyone makes good decisions we might have a bit of a problem, but we’ll cross that bridge when we get there.

You can download the bot / inspect the code on GitHub. For a technical breakdown of how it works, the various services and stack, you can find our more on this article.

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

Comments

No comments yet. Why don’t you start the discussion?

Leave a Reply

Your email address will not be published. Required fields are marked *