Forums  > Software  > Data Structures for Order Book  
     
Page 1 of 1
Display using:  

Jurassic


Total Posts: 404
Joined: Mar 2018
 
Posted: 2021-04-01 16:59
I want to write a simple order book (in Java) for a toy project. I am trying to think through what is the best way to represent this object in the computer.

I read this https://web.archive.org/web/20110219163448/http://howtohft.wordpress.com/2011/02/15/how-to-build-a-fast-limit-order-book/ but I dont see why you would use a binary tree?

It seems to be like the best data structure is an array of pointers to heap (ordered by time of order)

Is this correct thinking?
Previous Thread :: Next Thread 
Page 1 of 1