Strategy Development with Python and REST API


In this live workshop, our in-house programmer walked through the process of developing a trading strategy in Python and connecting to FXCM’s REST API to stream live data into your strategy. You can watch this recording on demand to take a pre-built strategy template and create your own trading algorithm in under an hour.  You will learn how to stream live price data and connect to your trading account on a Python IDE via FXCM’s REST API.

Don’t forget that you have free access to the our easy-to-use Python strategy template to quickly create your own custom strategies. You can use the template found on our github page to follow along and create your own strategy. You can insert your own trading logic into the strategy to customize it.

If you need clarification on a particular function or line of code, you can ask the community. Be sure to check out this link and create a new topic with your coding questions in the “Coding Help” section:


Get your free API token and start algo trading today! To generate your token:

  1. Register for a free practice account here.
  2. Once the platform has loaded,  click on the account ID in the upper right corner.
  3. Click token management and generate your token.

Risk Warning: The FXCM Group does not guarantee accuracy and will not accept liability for any loss or damage which arise directly or indirectly from use of or reliance on information contained within the webinars. The FXCM Group may provide general commentary which is not intended as investment advice and must not be construed as such. FX/CFD trading carries a risk of losses in excess of your deposited funds and may not be suitable for all investors. Please ensure that you fully understand the risks involved.