Hacker News new | ask | show | jobs
by stockstream 3263 days ago
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.

1 comments

>publish-subscribe module

What part of application is that for ?

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)