Order book simulation
Submission presents a set of classes that can be used to simulate operation of an exchange order book allowing market and limit orders. My focus has been on overall design - as adapted to Matlab - and a few implementation details have been skipped; notably, limit orders are not crossed with one another.
Please see the included PDF and run OrderBookDemo.m to test the code. A ‘live’ price-volume chart will appear and run for one minute; once the simulation concludes, you can inspect order and trade histories by examining active objects. You will need to re-start Matlab to re-run the simulation.
Cita come
Dimitri Shvorob (2026). Order book simulation (https://it.mathworks.com/matlabcentral/fileexchange/23514-order-book-simulation), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Compatibilità della piattaforma
Windows macOS LinuxCategorie
Tag
Riconoscimenti
Ispirato da: Scrolling display, The Object of My Callback
Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
Order Book/
| Versione | Pubblicato | Note della release | |
|---|---|---|---|
| 1.0.0.0 | BSD |
