Simple FIX Executor (simplefixexecutor.jar) is a Spring Boot Java application that can be used to receive and acknowledge FIX messages from any FIX client.
Simple FIX Executor is a simple wrapper around quickfixj-examples-executor application that is distributed as a part of QuickFIX/J distribution package.
FIX protocol functionality is based on QuickFIX/J open source library.
Simple FIX Executor requires Java 11 LTS or latest Java 14.
It is a Maven project (see pom.xml, file Apache Maven 3.6.3 is recommended) and depends on:
- Spring 5.3.25.RELEASE https://spring.io/projects/spring-framework
- Spring Boot 2.7.9.RELEASE https://spring.io/projects/spring-boot
- QuickFIX/J 2.3.1 https://github.com/quickfix-j/quickfixj
All dependencies are downloaded from Internet when you run mvn clean install
.
Since project is a Spring Boot project, Spring Boot Maven build plugin is used to build the artifact.
To build Simple FIX Client run mvn clean install
or mvn package
or use package.bat
in the project folder.
Resulting simplefixexecutor-<version>.jar JAR file will be created in target
sub-folder.
This JAR file is a Spring Boot jumbo-JAR that contains all dependencies required to run the application.
Start the application using:
jar -jar target/simplefixexecutor-<version>.jar
or use mvn spring-boot:run
command
or use startServer.bat
or startServer.sh
script.
Simple FIX Executor opens six connections by default:
- port 9876 for [FIX.4.0:EXEC->BANZAI]
- port 9877 for [FIX.4.1:EXEC->BANZAI]
- port 9878 for [FIX.4.2:EXEC->BANZAI]
- port 9879 for [FIX.4.3:EXEC->BANZAI]
- port 9880 for [FIX.4.4:EXEC->BANZAI]
- port 9881 for [FIXT.1.1:EXEC->BANZAI]
All clients logon with senderid = BANZAI and targetid=EXEC, Simple FIX Executor responds with senderid=EXEC and targetid=BANZAI.
You can use Simple FIX Client to run with Simple FIX Executor.
Before opening project in Eclipse, run mvn eclipse:eclipse
task in the project's folder. Maven will create Eclipse specific project files. Then import the project into your workspace as a Maven project.
To run project in Eclipse, use Maven task spring-boot:run
.