Fix-me is a stock exchange simulation that implements networking, sockets and the FIX (Financial Information Exchange) trading algorithm.
The aim of this project, the last Java project from the 42 / WeThinkCode_ curriculum, is to develop multi-threaded network applications with asynchronous sockets and the java executor framework.
- Installing with Homebrew
In the terminal run the following:
$ brew update
$ brew cask install java
$ brew install maven- Installing with Chocolatey
In a Powershell run the following:
$ choco install jdk8
$ choco install mavenClone this repo to your local machine using:
$ git clone https://github.com/Mahloko/fix-me.git
- You will need three separate terminals
First Terminal : Router
$ sh runRouterSecond Terminal : Broker
$ sh runBrokerSecond Terminal : Market
$ sh runMarket- You will need three separate shells
First Shell : Router
$ mvn clean package
$ java -jar router/target/router.jarSecond Shell : Broker
$ java -jar broker/target/broker.jarSecond Shell : Market
$ java -jar market/target/market.jar firstMarketStock