HNHacker News
TopNewBestAskShowJobs

stockstream

177 karma · joined May 28, 2017

Mike Roberts - Creator of stockstream.live
submissionscomments
stockstream··on Gaming Robinhood’s Free Stock Promotion – Or, How to Blow $350
I'm quite certain its ok to share referral codes in that way- I've referred probably thousands of people though my project.

Shameless plug: https://stockstream.live/

stockstream··on Amazon engineer will let strangers manage his $50,000 stock portfolio 'forever'
There are no protections against trolls. At this point a dedicated group of less than a hundred could probably take over the vote.

I'd actually love to see more dedicated troll attacks. So far the main attack seems to buy $SEB since it's so expensive, but sometimes it later gets sold at a profit.

Personally, I've mentally written off the $50k so, I'll just be enjoying the show.

stockstream··on Amazon engineer will let strangers manage his $50,000 stock portfolio 'forever'
Actaully the pubsub part is pretty core to system overall. Basically I have a set of 'operations' modules each operating independently (gathering news, tweets, votes, stock quotes, etc). They publish that data over the pubsub system, so that all the subscribers (mostly in-memory caches) read and update accordingly.

Game events also get published through it (round end, trade placed, new round, etc)

stockstream··on Amazon engineer will let strangers manage his $50,000 stock portfolio 'forever'
Thought a lot about this during the development period, but nothing materialized. I might do it someday but would probably need to ramp up the scoring algorithm first.
stockstream··on Amazon engineer will let strangers manage his $50,000 stock portfolio 'forever'
One of the reasons I decided to do this project in the first place is because nobody has ever done this before (at least based on my research), and I wanted to be the first. There are plenty of stock simulators out there, so fake money didn't sound appealing to me.
stockstream··on Amazon engineer will let strangers manage his $50,000 stock portfolio 'forever'
Actually, those two bits are pretty small. Theres a ton of code all over github for interacting with Robinhood. The twitch chat API is really just IRC. Glueing those together was the easy part.

The more interesting and complicated components are the UI and the scheduling and a publish-subscribe module that I created, tho no plans to open source it anytime soon.

stockstream··on Amazon engineer will let strangers manage his $50,000 stock portfolio 'forever'
Thanks! Seems word spread through the extended family pretty quickly.

We should stay in touch though, add me on LinkedIn if you use it:

https://www.linkedin.com/in/Mike--Roberts/

stockstream··on Amazon engineer will let strangers manage his $50,000 stock portfolio 'forever'
If you'd really like to, just scrape the twitch chat yourself, count the votes and invest accordingly!
stockstream··on Amazon engineer will let strangers manage his $50,000 stock portfolio 'forever'
Yeah did some initial research, but didn't find a good platform with an API and no fees.
stockstream··on Amazon engineer will let strangers manage his $50,000 stock portfolio 'forever'
No idea. Was bearish at first, but lately a lot more bullish. Only time will tell.
stockstream··on Amazon engineer will let strangers manage his $50,000 stock portfolio 'forever'
Just gonna hire someone to do it for me.
stockstream··on Amazon engineer will let strangers manage his $50,000 stock portfolio 'forever'
Yep, I use OBS. Its awesome, thanks for all your hard work on it!
stockstream··on Amazon engineer will let strangers manage his $50,000 stock portfolio 'forever'
The $50k is all mine. I was not given anything from Robinhood except for approximately $500 worth of free shares for referrals.

You can learn more of the $25k rule here: https://support.robinhood.com/hc/en-us/articles/217072366-Pa...

stockstream··on Amazon engineer will let strangers manage his $50,000 stock portfolio 'forever'
Actually, there kind of is. It will stop you from placing trades if you daytrade with less than that. Your account will be suspended.

https://support.robinhood.com/hc/en-us/articles/217072366-Pa...

stockstream··on Amazon engineer will let strangers manage his $50,000 stock portfolio 'forever'
I found a bit of code on github to access the robinhood api. That bit was actually not too difficult to implement.

The regulation bit not special, just a restriction on what trades are allowed.

stockstream··on Amazon engineer will let strangers manage his $50,000 stock portfolio 'forever'
Yes
stockstream··on Amazon engineer will let strangers manage his $50,000 stock portfolio 'forever'
Ah yeah, hey, how's it going? I remember you from the YYZ office.
stockstream··on Amazon engineer will let strangers manage his $50,000 stock portfolio 'forever'
Heh, well I definitely don't consider myself to be super wealthy. $50k is not a small amount for me, but not the end of the world if I lose half.
stockstream··on Amazon engineer will let strangers manage his $50,000 stock portfolio 'forever'
Some shares were gifted for free by Robinhood for referrals.
stockstream··on Amazon engineer will let strangers manage his $50,000 stock portfolio 'forever'
Nope. It actually is my real name.
stockstream··on Amazon engineer will let strangers manage his $50,000 stock portfolio 'forever'
>And home much can you trade at once?

As of current rules, you can only make one trade of one share every five minutes.

I will likely change and tweak these rules over time.

stockstream··on Amazon engineer will let strangers manage his $50,000 stock portfolio 'forever'
StockStream was launched independent of Robinhood. I really like their platform, so am glad to include links to their site.
stockstream··on Amazon engineer will let strangers manage his $50,000 stock portfolio 'forever'
Hey everyone! Glad to see you're all enjoying the project. I'd be glad to answer any questions you have. Let me know!
stockstream··on Show HN: Twitch Invests in the Stock Market
Unsure, though would guess probably not. They apparently have a nontraditional method of executing orders, see https://archive.fo/hf0rt
stockstream··on Show HN: Twitch Invests in the Stock Market
Using the Robinhood App allows trading with zero fees. Additionally, Robinhood has a feature called RobinhoodInstant where trades are settled immediately so funds don't get stuck in pending settlement.
stockstream··on Show HN: Twitch Invests in the Stock Market
Only 1 share can be bought or sold every 5 minutes. In some fairly naive simulations this system was ran against, it would take weeks and months to fall below the 25k mark.

Voting weights can be introduced to mitigate spamming and round lengths can be adjusted to mitigate other issues.

It could turn out a complete disaster, but it will be a disaster in slow-motion.

stockstream··on Show HN: Twitch Invests in the Stock Market
Effectively allowing anonymous strangers on the internet to control my brokerage account containing $50,000.
stockstream··on Show HN: Twitch Invests in the Stock Market
OP here. I re-registered to reflect new branding.

The backend is actually not too complex. Commands are processed from Twitch using PircBotX. Then, that and other data is vended through simple APIs created using SparkJava (http://sparkjava.com/).

It's effectively an API + Web server connected to by OBS Studio Browser instances.