Today's financial markets generate a volume of data barely dreamed about in the early days of electronic trading. Every year, exchanges create a record-breaking amount of transactions, and we know that somewhere within all of that data there lies a digital treasure chest. Finding a way to analyze and deliver this valuable data is a multi-headed problem, roughly broken down between charting, historical trade display and research scenarios.
In my role as an engineering manager at TT, I’m part of a team that’s been working to solve this problem in the new TT platform. We think we’ve found the answer by leveraging cutting-edge technologies, Node.js and Amazon Web Services (AWS). I’m excited about our solution, which is now automatically available to all TT platform users. Read on to learn more about our approach and how it can help you overcome the multi-faceted big-data challenges we all encounter today.
One of the new technologies that makes the TT platform possible is WebSockets, which we use to deliver real-time data to both our mobile and desktop users around the world. Writing a WebSocket server with Node.js is as simple as writing just a few lines of code. Check out this example from the popular Node.js "ws" package. This is literally all you need to run a WebSocket server in Node.js: