admin

Connect Trading Account with IG

How it work


This article goes through the steps to connect ALGOGENE with your IG trading account (either demo account or real trading account). The overall workflow is summarized in this diagram.

[Remark: for demo account, you will need to open a live account first, then in the live account to create demo account and retrieve the demo setting API Key]

workflow

Who is IG?

IG Group, a UK-based company and regulated by the FCA, is one of the largest retail brokers in the world, providing stockbroking, contracts for difference and financial spread betting. It is listed on the London Stock Exchange (LON: IGG) and a constituent of the FTSE 250 Index.


Open Account from IG

  • Register a live trading account from IG. You may be redirected to another site for your residence country.

    eg. Singapore residents should register at https://www.ig.com/sg/

    ig_signup_page

  • In case of real trading, you also need to register the funding method and make deposit to your trading account


Create and Activate Trading Account from IG

  • Login IG portal, click 'Add an account'

    portal

  • There are 2 types of trading accounts, namely CFD and MT4. The difference depends on the execution platform, trading volume and asset class you going to trade.

    • MT4: mainly for FX and Commodity trading, with smaller "minimum lot size" requirment
    • CFD: cover all IG instruments such as FX, commodities, crypto, stocks, futures, options. Besides, it usually requires a higher minimum lot size compared to MT4.

  • Record down the account number

    ig_account_number

  • For demo account, you should get the account number from "Demo accounts", and apply configuration accordingly (eg. add virtual fund)

    portal
  • For demo account, you can also reset virtual fund in [Open Platform] > [Manage funds]

    virtual_fund

Generate API Key from IG

  • Login IG portal, go to [Settings] > [API keys]

    ig_api_key
  • Click “Generate new key”, then record down the followings:

    • API key
    • Web API login user name
    • Web API login password

Config on ALGOGENE

  • Login ALGOGENE portal
  • Go to 'Settings' page
  • Select an ALGOGENE live-test or real-trade account depending on your case
  • algogene_config

  • Update the connection settings accordingly
  • algogene_setting

Deploy Algo

After successful connection from above, you are now ready to deploy and trade your Algo with IG.

  • Under ALGOGENE 'settings', choose your IG linked account
  • algogene_deploy

  • deploy any one of your backtested script
  • algogene_deploy2


Happy Trading! :)