Little python script i would like to share to the TV community i made it works out twitter sentiment for most things, crypto currency's or forex. ie: Today GBPUSD = Negative, and we can see the charts agree.
# Shows forex currency + how many times its been mentioned on twitter within 24hrs + trade symbol + # percentage of change in mentions + sentiment from twitter by breaking each sentence the symbol has been # mentioned in into individual words then rating the words using a lexicon of words and feelings a score # has been assigned from -1 to 1, then based on the score a rating of POSITIVE or NEGATIVE is given # using a threshold. Results are saved in a txt file and printed to terminal
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.