Giter VIP home page Giter VIP logo

fxcm-api-offerings's Introduction

Rest API (still on testing)

Our REST API is a web-based API using a Websocket connection and was developed with algorithmic trading in mind.

Developers and investors can create custom trading applications, integrate into our platform, back test strategies and build robot trading. Calls can be made in any language that supports a standard HTTP.

We utilize the new OAuth 2.0 specification for authentication via token. This allows for a more secure authorization to access your application and can easily be integrated with web applications, mobile devices, and desktop platforms

With the use of the socket.io library, the API has streaming capability and will push data notifications in a JSON format. Your application will have access to our real-time streaming market data, subscribe in real time access to trading tables and place live trades.

To begin using our API, you will need the following:

  1. A FXCM account. You can apply for a demo account here
  2. A persistent access token. You can generate one from the Trading Station web. Click on User Account > Token Management on the upper right hand of the website.
  3. Download Rest API documentation at here
  4. Documentation in Swagger format at here
  5. Start coding. You will need to reference the socket.io library in your code. a. Using Javascript, click here b. Using Python, click here
  6. Sample code for Python at here
  7. Sample code for Java Script at here

Other Trading APIs

Except RestAPI, FXCM offers 3 other trading APIs for free: Java API, FIX API and ForexConnect with each of them connecting directly to FXCM’s trading server.

FIX API is FIX Protocol standard designed for real-time, custom institutional interface which push up to 250 price update per second (not available on other APIs). It is our fastest and most popular option. You will get full range of trading order types available at FXCM. An FXCM TSII account with a $5,000 minimum balance is required.

Java API, a wrapper SDK of FIX API, provides clients with a fully functioning programmable API into the FXCM trading platform, including streaming live price, get historical price and live trades. It is a scalable, light and robust which compatible on any Java-compliant operating system.

The ForexConnect API offers all the same functionality of the powerful FXCM Trading Station. This includes all of the available order types, streaming live price, managing your positions, downloading historical instrument rates, getting account reports, and more. ForexConnect supports C++, C#, Java, VB, VBA, compatible with .Net, Linux, iOS and Android, and it is FREE.

API Name Price Feed Frequency Supporting Languages Cost Historical Price Support CFD Support MT4
Rest API Vary* Any Free** Yes Yes Limited Yes
FIX Up to 300 per second* Any Free*** No Yes No
ForexConnect API 2-3 per second C++, C#, Java, VB, VBA Free** Yes Yes Limited Yes
Java Trading API 2-3 per second Java Free** Yes Yes Limited Yes

*Market dependent. If the market is volatile you may receive more prices per second.

**Requires a Standard account.

***An FXCM account with a $5,000 minimum balance required.

FIX API: detail at here

Java API: detail at here

ForexConnect API: detail at here

Real Case Study:

Rest API:

  1. Learn how to run BT backtest on FXCM historical data via RestAPI at here. What is bt?
  2. Learn how to run QSTrader on FXCM data via RestAPI at here. what is QSTrader?
  3. Lean how to build/back test 3 strategies "MovingAverageCrossStrategy","BollingerBandStrategy","DonchianChannelStrategy" via FXCM Rest API at here.
  4. Two more strategies "RangeStrategy", "BreakOutStrategy" at here.
  5. Building/back testing RSI strategy via RestAPI at here.
  6. One video demonstrate how to backtest strategies in Visual Studio via FXCM data On QuantConnect LEAN platform at here

Java API:

  1. How to build Rsi signal and back testing using FXCM Java API. click here
  2. Learn how to build and backtest CCI Oscillator strategy using Java API at here.
  3. Lean how to build and back test Breakout strategy using Java API at here.
  4. Lean how to build and back test Range Stochastic Strategy using Java API at here.
  5. Lean how to build and back test Mean Reversion Strategy using Java API at here.

ForexConnect API:

  1. Learn how to build and backtest Rsi signals using ForexConnect API at here.
  2. Learn how to build and backtest CCI Oscillator strategy using ForexConnect API at here.
  3. Learn how to build and backtest Breakout strategy using ForexConnect API at here.
  4. Learn how to build and backtest Range Stochastic Strategy using ForexConnect API at here.
  5. Learn how to build and backtest Mean Reversion Strategy using ForexConnect API at here.

fxcm-api-offerings's People

Contributors

fxcmapi avatar jlanawalt avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.