Market Sentiment Analysis Python Code