This exercise project is a simple trading system, this repository does not contain the specification (confidential).
- Java 1.7
- Maven
- Eclipse with Maven
mvn test
or import project into Eclipse, and run JUnit tests.
The ApplicationTest starts a Trading Simulator in separate thread, which records random trades in every 10 milliseconds. After one second the Main process calculates and displays stocks values (while simulator is still running). After it displays a calculation of the GBCE All Share Index. At the end test process terminates the simulator.
It tests stock value calculations in several steps.
It tests exchange index calculation.