News for hackers. Stuff that matters.
Re:Show HN: Twitch Invests in the Stock Market by twitchinvests on Friday May 26, 2017 @12:03PM (#14424981)
Hi HN Community! Looking forward to hearing your feedback, criticisms and questions about this project. The project was inspired Twitch Plays Pokemon and Twitch Installs Archlinux.

I wanted to take the "Twitch Plays" concept and take it to the next level- something that has a connection to the real world.

The backend is written in Java, and the UI in JS/HTML/CSS, and hosted locally. The website is rather simple, just a static S3 website.

I'd be glad to answer any of your questions, apologies in advance if I get too flooded and missed some though. I promise to eventually read them all!

Re:Show HN: Twitch Invests in the Stock Market by borplk on Sunday May 28, 2017 @05:57AM (#14433736)
Just curious what you are using for the backend with Java?
Re:Show HN: Twitch Invests in the Stock Market by stockstream on Sunday May 28, 2017 @07:53PM (#14436621)
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.

Re:Show HN: Twitch Invests in the Stock Market by bbcbasic on Saturday May 27, 2017 @11:37PM (#14432986)
What's it all about. Assume I know nothing about what twitch is...
Re:Show HN: Twitch Invests in the Stock Market by stockstream on Sunday May 28, 2017 @07:54PM (#14436629)
Effectively allowing anonymous strangers on the internet to control my brokerage account containing $50,000.
Re:Show HN: Twitch Invests in the Stock Market by ruleabidinguser on Sunday May 28, 2017 @08:16PM (#14436708)
what are you going to do when you're broke at 9:10?
Re:Show HN: Twitch Invests in the Stock Market by stockstream on Sunday May 28, 2017 @09:04PM (#14436845)
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.

Re:Show HN: Twitch Invests in the Stock Market by bbcbasic on Sunday May 28, 2017 @09:45PM (#14436956)
The transaction fees will kill you, rather than the spamming of penny stocks.
Re:Show HN: Twitch Invests in the Stock Market by stockstream on Sunday May 28, 2017 @09:57PM (#14436989)
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.
Re:Show HN: Twitch Invests in the Stock Market by bbcbasic on Sunday May 28, 2017 @10:28PM (#14437063)
Nice. Zero spread too?
Re:Show HN: Twitch Invests in the Stock Market by stockstream on Sunday May 28, 2017 @10:55PM (#14437138)
Unsure, though would guess probably not. They apparently have a nontraditional method of executing orders, see https://archive.fo/hf0rt
Re:Show HN: Twitch Invests in the Stock Market by Jemaclus on Friday May 26, 2017 @12:13PM (#14425068)
Oh, this is going to end well.