Posts

Showing posts from April, 2025

Quickfixj Hello World (WebSocket Initiator-Acceptor Trader/OMS.Broker is initiator & Exchange is acceptor)

Image
Quickfixj provides a engine which is using fix protocol. I will create a simple application using quickfixj. Even if we create a small application, it is good to give overall design picture. Please see the below. We will have 2 clients. They will communicate via fix protocol using quickfixj engine. I will follow the steps below: * Creating java application * Add quickfixj dependency to application * Implement quickfixj.Application * Design fix messages (which fix message will be used and which fields will be included) * We will have 2 different quickfix engine running (Client1 and Client2) Creating Java Project I will create the following project structure: → quickfixj-helloworld — →common — →client1 — →client2 In order to make a parent java project, use the following command. $ mvn archetype:generate -DgroupId=com.onrkrdmn -DartifactId=quickfixj-helloworld This will generate a module. But we want to make this parent project. Therefore, we need to update packaging strategy in pom.xml a...