ZuluTrading Forex API/Rates Stream Java Tutorial

Back to the ZuluTrading Forex API Reference

1. Introduction

2. Prerequisites

To run the example application in Windows you need:

3. How to run

  • Start eclipse
  • Create a new workspace (File->Switch workspace->other->) named "zulutradeWorkspace" under C:\
  • Unzip "zulutrade-sample-trading-api-feeds-client.rar" into C:\zulutradeWorkspace
  • File->Import...->"Existing Maven Projects" and click "next"
  • Click on browse in the "Import Maven projects" window
  • Navigate to "C:\zulutradeWorkspace", select "zulutrade-sample-trading-api-feeds-client.rar" and press "OK"
  • In the next window tick "/pom.xml" if not already ticked and click "Finish"
  • The project is imported, you should be able to see it on the Project explorer
  • Navigate in project and open ZuluFeedsSampleApp.java, the source will open in editor file
  • In editor fill in your zulu account credentials and save "ZuluFeedsSampleApp.java" (Ctrl+s)
  • Go to ZuluFeedsSampleApp, right click, Run as-> Java application
  • If everything went ok, the following output will be shown in console