If many people use this bot, it will make Trump's comments actually effective, which is a pretty bad idea imho.
What about a bot which would do just the opposite?
What about a bot which would do just the opposite?
from https://github.com/maxbbraun/trump2cash/blob/02e66eddc4ea066...
# Determine bull or bear based on sentiment direction.
if sentiment > 0:
strategy["action"] = "bull"
strategy["reason"] = "positive sentiment"
return strategy
else: # sentiment < 0
strategy["action"] = "bear"
strategy["reason"] = "negative sentiment"
return strategy