The script searches the net for cryptocurrency information, taking key phrases as enter after which passes these to a textual content sentiment API, analysing how most of the headlines are optimistic, impartial or damaging.
The thought is that the script will test a number of sources after which calculate a % for every of the three sentiment classes. That method I am going to be capable to detect how the media is portraying Bitcoin, or another crypto that day.
I am planning to combine the output of this script right into a crypto buying and selling bot so as routinely purchase or promote a coin the information are overwhelmingly optimistic or damaging.
Identical to with the Elon Musk bot that I shared some time in the past, my pondering is that catching a wave earlier than it breaks, you may journey it for some time.
The one limitation because it stands proper now could be you could solely despatched 100 requests/day by the websearch API, so I’d find yourself changing it with a distinct resolution.
Would you employ this script’s alerts in your investments? Why/Why not?
Assets obtainable under in case you’re :
GitHub Repo: https://github.com/CyberPunkMetalHead/cryptocurrency-news-analysis
Article and Information: https://www.cryptomaton.org/2021/04/05/how-to-analyse-daily-news-sentiment-for-cryptocurrency-with-python/