• Breaking News

    Saturday, July 3, 2021

    I configured a crypto trading bot to buy crypto based on Reddit post sentiment from relevant subreddits, it's running right now and just bought me Bitcoin. The code is open-sourced. Bitcoin Markets

    I configured a crypto trading bot to buy crypto based on Reddit post sentiment from relevant subreddits, it's running right now and just bought me Bitcoin. The code is open-sourced. Bitcoin Markets


    I configured a crypto trading bot to buy crypto based on Reddit post sentiment from relevant subreddits, it's running right now and just bought me Bitcoin. The code is open-sourced.

    Posted: 03 Jul 2021 10:54 AM PDT

    I mainly built this for fun, and as a coding challenge, as I'm not sure how viable it would be to base my investing decisions based on the Reddit hive-mind. But having said that, I will test the tool out and see what it can do - who knows, maybe among all the shills and moon-farmers is where insight truly lives.

    Here's a little bit about how it works:

    It's a trading bot that analyses reddit post sentiment and automatically buys the coins mentioned in the post. So it checks if the post title and body talk positively about x coin, and if that's the case it goes ham on that coin.

    But it only does this for coins I tell it to look out for: by default it will only check BTC and ETH but you can add any number of keywords. This is built in to discourage shill exploits.

    It also comes with several customisation options so you can choose how you want to use this:

    1. Which subreddits it should look for
    2. How to sort posts (hot by default)
    3. How many posts from each sub will be analysed (by default 10)
    4. What keywords it should be looking out for (default: Bitcoin and Ethereum)

    You can also specify how often to check for posts, as well as the size of each trade placed.

    I added a test mode so it can just simulate trades, so you can see how it would work in a live market, but without using real funds.

    Looks like it bought BTC :)

    The bot will also stop from buying or analysing posts while the same posts are in top/hot, to avoid re-buying on the same signal.

    Here's the GitHub repo for the project:

    https://github.com/CyberPunkMetalHead/reddit-cryptocurrency-trading

    And I also made a guide on how to set this up and get it running if you need more info:

    https://www.cryptomaton.org/2021/06/27/cryptocurrency-binance-trading-bot-that-analyses-reddit-sentiment/

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

    No comments:

    Post a Comment