in

I coded a script to help me understand the daily news sentiment for Bitcoin in order to help me forecast potential pumps or dumps and open sourced it

The script searches the web for cryptocurrency news, taking keywords as input and then passes those to a text sentiment API, analysing how many of the headlines are positive, neutral or negative.

The idea is that the script will check multiple sources and then calculate a % for each of the 3 sentiment categories. That way I’ll be able to detect how the media is portraying Bitcoin, or any other crypto that day.

I’m planning to integrate the output of this script into a crypto trading bot in order automatically buy or sell a coin the news are overwhelmingly positive or negative.

Just like with the Elon Musk bot that I shared a while ago, my thinking is that catching a wave before it breaks, you can ride it for a while.

The only limitation as it stands right now is that you can only sent 100 requests/day through the websearch API, so I might end up replacing it with a different solution.

Would you use this script’s signals in your investments? Why/Why not?

Resources available below if you’re interested:

GitHub Repo: [https://github.com/CyberPunkMetalHead/cryptocurrency-news-analysis](https://github.com/CyberPunkMetalHead/cryptocurrency-news-analysis)

Article and Guide: [https://www.cryptomaton.org/2021/04/05/how-to-analyse-daily-news-sentiment-for-cryptocurrency-with-python/](https://www.cryptomaton.org/2021/04/05/how-to-analyse-daily-news-sentiment-for-cryptocurrency-with-python/)



View Reddit by CyberPunkMetalHeadView Source

Comments

Leave a Reply

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

GIPHY App Key not set. Please check settings

12 Comments

  1. I might use it. Have you back tested it? Does it show predictive qualities? How often is it correct/how often is a price result not what it predicts it would be?

  2. You could get around the API request limit by scraping with BeautifulSoup, although you would need to pick the news outlets yourself which could lead to some bias in sentiment.

  3. Great, thanks! I wonder if your results will be in line with the Bitcoin Fear & Greed index.

    I will definitely try to use it as a signal to trigger a bot!

    Edit: I will first send an email to myself after each script run 🙂

  4. Just out of curiosity, are you planning to buy or sell on positive news? I’m thinking sell on positive, buy on negative as contrarian approaches tend to do better, but this needs to be tested. Good thing you have over a decade of free data to work with!

  5. This is a good idea, I would be sceptical until you had the accuracy results. My initial thoughts are that if your smart enough to code all that accurately then your smart enough to steal all my crypto though 😉 . How many cryptos is it covering?

Loading…

0

What do you think?

Cryptopolitan

Tether plans to extend USDT to Kusama and Polkadot

InsideBitcoins.com

Bitcoin Maintains $1-Trillion Market For Ten Whole Days