Skip to content

The aim of this project is to develop multi-threaded network applications with asynchronous sockets and the java executor framework.

Notifications You must be signed in to change notification settings

mphomahloko/fix-me

Repository files navigation

Fix-Me

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.

Installation

Prerequisites

  • Java (Core Programming Language - JDK 8 >)

  • Maven (Dependency Management)

macOS

In the terminal run the following:

$ brew update
$ brew cask install java
$ brew install maven

Windows

In a Powershell run the following:

$ choco install jdk8
$ choco install maven

Clone

Clone this repo to your local machine using:

$ git clone https://github.com/Mahloko/fix-me.git

Setup

macOS

  • You will need three separate terminals

First Terminal : Router

$ sh runRouter

Second Terminal : Broker

$ sh runBroker

Second Terminal : Market

$ sh runMarket

Windows

  • You will need three separate shells

First Shell : Router

$ mvn clean package
$ java -jar router/target/router.jar

Second Shell : Broker

$ java -jar broker/target/broker.jar

Second Shell : Market

$ java -jar market/target/market.jar firstMarketStock

Sample

Screenshot

Authors


About

The aim of this project is to develop multi-threaded network applications with asynchronous sockets and the java executor framework.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages