Skip to content

REST API is a web-based API using a Websocket connection. Developers and investors can create custom trading applications, integrate into our platform, back test strategies and build robot trading.

albanywang2016/RestAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

RestAPI

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 word documents at here
  4. Documents 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

Real Case Study:

  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

About

REST API is a web-based API using a Websocket connection. Developers and investors can create custom trading applications, integrate into our platform, back test strategies and build robot trading.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published