Live data from Hacker News

Trump2cash – A stock trading bot powered by Trump tweets

github.com

31–40 of 163 posts

Re: Trump2cash – A stock trading bot powered by Trump tweets

#32

This could make quite a fun experiment to see if it works. Crowdsource an investment of something like $10,000 and let it run for a year. At the end, donate all proceeds to charity.

Good idea! Where to begin?

Shall we go for refugee charity?

Re: Trump2cash – A stock trading bot powered by Trump tweets

#33
post #24

I think Nordstrom stock went up after a negative tweet because it was seen as good publicity for the company. Trump didn't actually "threaten" to retaliate or anything, whereas for companies like Ford or GM he actually said he would impose a heavy "border tax" if they opened factories elsewhere.

perhaps further sentiment analysis could be used to determine whether the tweet implies the company can expect government action for/against them.

Re: Trump2cash – A stock trading bot powered by Trump tweets

#35
post #8

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?

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!

I 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.

Re: Trump2cash – A stock trading bot powered by Trump tweets

#36
post #23

Novel project, but not useful. Trump tweeted thanks to Intel on Feb 8th which was a super positive tweet. Since then $INTC is down about 2.6%.

He tweeted negatively about Nordstrom, stock went up. We might be onto something here...

One can easily place bets on the volatility of a stock. If you expect it to move, but you don't know which direction, that is tradeable knowledge.

Re: Trump2cash – A stock trading bot powered by Trump tweets

#38
post #8

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?

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!

You seem to have got it backwards:

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 

Re: Trump2cash – A stock trading bot powered by Trump tweets

#39
post #14

Brilliant. I've been thinking about something like this for a while. Why don't you take it to the next level? Provoke Trump on Twitter, associating yourself with a company. Then short that company's stock and wait until he lashes out against them. Profit!

It's weird because he probably doesn't read his mentions... except sometimes he RT's someone in his mentions? Is he looking?

Every time he Tweets something, he gets tens of thousands of responses in a matter of minutes, and when he's not tweeting anything, people are still tweeting at him constantly.

There's no way he even reads 1% of it.

Re: Trump2cash – A stock trading bot powered by Trump tweets

#40

Novel project, but not useful. Trump tweeted thanks to Intel on Feb 8th which was a super positive tweet. Since then $INTC is down about 2.6%.

I have a hunch that both positive and negative mentions means a negative indicator for the stock.
Post reply on HN