3 ms·
I guess it's more of a "data structure" than an algorithm. Anyway, you need more than a heap, because price, time, size all matter. That's pretty close, though.
by joshu 18y ago
I guess it's more of a "data structure" than an algorithm. Anyway, you need more than a heap, because price, time, size all matter. That's pretty close, though.
Many exchanges are well documented, from internal workings to protocols. Check out XETRA, LSE, etc. NASDAQ too, but it's more complicated.
The problem here is going to be achieving regulatory compliance and then liquidity. Both of these are harder.