Order book simulation

(a naive artificial stock market)
3,5K téléchargements
Mise à jour 4 avr. 2016

Afficher la licence

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.

Citation pour cette source

Dimitri Shvorob (2024). Order book simulation (https://www.mathworks.com/matlabcentral/fileexchange/23514-order-book-simulation), MATLAB Central File Exchange. Récupéré le .

Compatibilité avec les versions de MATLAB
Créé avec R2008b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur Transaction Cost Analysis dans Help Center et MATLAB Answers
Remerciements

Inspiré par : Scrolling display, The Object of My Callback

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Publié le Notes de version
1.0.0.0

BSD