This is a simple example application that demonstrates how to connect to FTX using the FIX API and Philadelphia, an open source FIX engine for the JVM.
Building and running this application requires Java Development Kit (JDK) 11 or newer and Maven.
To build and run the application, follow these steps:
-
Build the application:
mvn package
-
Create a configuration file,
etc/example.conf
:cp etc/example.conf.template etc/example.conf
-
Fill in the API key and API secret in the configuration file,
etc/example.conf
. -
Run the application:
java -jar ftx-fix-example.jar etc/example.conf
The application logs onto FTX and immediately logs out.
Copyright 2022 Jussi Virtanen.
Released under the Apache License, Version 2.0. See LICENSE.txt
for details.