Coder Social home page Coder Social logo

albanywang2016 / restapi Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 224.0 5 KB

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.

restapi's Introduction

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

restapi's People

Contributors

fxcmapi avatar

Watchers

 avatar  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.