3 ms·
I think you have this backwards. If Trump tweets a negative sentiment, the bot buys from the company. If everyone did that, the price would go up - just the opp
by rhaps0dy 10y ago
I think you have this backwards. If Trump tweets a negative sentiment, the bot buys from the company. If everyone did that, the price would go up - just the opposite of the current effect!
- etatoby 10y agoI know very little of the stock market, but shouldn't the bot buy shares when he tweets positive comments? Because that's when the stock is expected to rise and you can sell it later for a profit.
- duozerk 10y agoIndeed, but the comment you're responding to was tongue-in-cheek, specifically suggesting that Trump being positive of a stock is a negative indicator for it.
- slig 10y agoYou seem to have got it backwards: from https://github.com/maxbbraun/trump2cash/blob/02e66eddc4ea0666e4be1abec302cad7c48f2053/trading.py#L153-L161 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