Reads client.txt and orders.txt from resources. Produces result.txt with final account states.
sbt run
- Self-orders prevention (covered by unit-test also).
- Only full match (price and quantity) is allowed for simplicity.
- FIFO guarantees for the same price and quantity.
- Negative stock accounts are prevented (covered by unit-test also).
- Implemented in Akka Actors to make parallelization of operations possible.
- Features
become
andstash
patterns from Akka Actors. - Debug level is on by default, to play with market evolution.