Skip to content

fero46/order_book

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Java Matching Engine Demo

This is a simple demo for a matching engine written in Java. The matching engine simulates the matching of buy and sell orders based on limit and market orders.

Overview

The matching engine is a core component of financial exchanges, responsible for pairing buy and sell orders to facilitate trading. This Java demo provides a basic implementation of a matching engine that handles two types of orders: limit orders and market orders.

  • Limit Order: A limit order specifies the maximum (for a buy order) or minimum (for a sell order) price at which the order can be executed.

  • Market Order: A market order is an order to buy or sell a security immediately at the current market price.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

  • This demo is for educational purposes and is not intended for use in real trading environments.

Feel free to explore and extend this demo for more advanced features or integrate it into your own projects. If you have any questions or feedback, please create an issue in the repository. Happy coding!

About

OrderBook Prototype written in Java

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published