A toy implementation of a trading engine in Rust.
- The core stores everything in memory
- The state can be recovered by replaying inbox events
- Event sourcing
- RabbitMQ for message transport
Now you can:
- Place exchange orders and they can fill with each other
- Cancel orders
How to run:
rabbitmq-server
And then:
cargo run
Then you can you REST API (at this stage better take a look at its structure in the code :)