Algorithmic trading core library for Java
There are a number of provider implementations and services built on this library. There are also a number of projects containing PCF data for use with backtesting.
Sub Project | Description | Type |
---|---|---|
robindrew-trading-igindex | IG Index | Provider |
robindrew-trading-igindex-feed | IG Index Feed | Service |
robindrew-trading-igindex-trader | IG Index Trader | Service |
robindrew-trading-fxcm | FXCM | Provider |
robindrew-trading-fxcm-trader | FXCM Trader | Service |
robindrew-trading-fxcm-data | FXCM | PCF Data |
robindrew-trading-backtest | Backtest | Provider |
robindrew-trading-backtest-executor | Backtest Executor | Service |
robindrew-trading-histdata | HistData | Provider |
robindrew-trading-histdata-data | HistData | PCF Data |
robindrew-trading-oanda | OANDA | Provider |
robindrew-trading-oanda-trader | OANDA | Service |
robindrew-trading-cityindex | City Index | Provider |
Note: I no longer actively maintain the ActiveTick projects, if someone else is interested in accessing them, please contact me directly.
Before you dive in to the API itself, please take a quick look at the following articles:
Please read the Wiki to get started writing code. There is also Javadoc available for all my projects.
This library requires the robindrew-common project.
PCF formatted data for the major FX pairs is available:
Note: IG Index does not provide access to any useful quantity of historic price data. Strict limits exist on the amount of historic price data that can be queried via the REST API each month.
Note: The ActiveTick PCF files have been archived and should not be used. It is in the old format and as I have cancelled access to ActiveTick I do not have the ability to update them.
A provider is an implementation of the trading platform along with supporting classes to simplify access to existing broker APIs. The following providers are available, including a provider specifically for backtesting against historic data:
A service is a stand-alone web application providing a front end to various trading functionality.
The following project provides access to the live data feed for all available providers. Each includes asynchronous file output, writing the individual price ticks in a text format. In addition the feeds provide a web interface to view and manage the price feeds.
The following projects provide trading access for the given provider, including position management, history and execution:
The following project provides a web interface to the backtesting provider, along with visualisation for historic prices in PCF format: