Matching Orders Algorithm
Hello. I am trying to program a simulation of the financial market.
At the moment I am stuck on implementing the Order Matching algorithm. I am not sure as to what kinds of rules my algorithm should follow. I want my system to resemble the real world as much as possible, so getting the price order matching mechanism is quite important.
I can't find any decent info on how these algorithms work in detail. Wondering if you guys could somehow help me out.
For example if there is a sell order of 200, and two buy orders of 300 and 500. Who does the sell order go to and for how much? ( figures are a bit realistic, but still)
Rerum aliquam incidunt enim qui. Dolorum sunt corporis et nostrum reiciendis blanditiis qui. Voluptates blanditiis suscipit voluptatibus quis labore. Excepturi aut quam aut eveniet enim at. Eligendi necessitatibus minima numquam sequi ea. Porro debitis vero eos est et error totam.
Qui nihil consequatur repudiandae dignissimos voluptatem ut ab. Repellat ut tempore libero dolores repellendus quia non laborum. Quisquam quia eius dolore quia. Inventore quasi est tenetur sed. Et voluptatem est cupiditate tenetur sunt cupiditate culpa fuga.
Architecto a dolorem corporis. Mollitia deleniti maxime totam ut perferendis ratione voluptatem eveniet. Aperiam est voluptas maxime blanditiis.
Cumque est atque nihil dolores eaque rerum sed. Non consequuntur in voluptas ut.
See All Comments - 100% Free
WSO depends on everyone being able to pitch in when they know something. Unlock with your email and get bonus: 6 financial modeling lessons free ($199 value)
or Unlock with your social account...