admin

Connect Trading Account with OKX

How it work


ALGOGENE now supports users to trade with OKX accounts using ALGOGENE dedicated trading gateway!

collaborate


Open OKX trading accounts through our partnership link, you will enjoy:

  • OKX's Mystery Boxes worth up to $10,000
  • Lifetime 10% commission rebate for every trade on OKX
  • HK$300 free credits on ALGOGENE


This article goes through the steps to connect ALGOGENE with your OKX trading account. The overall workflow is summarized in this diagram.

workflow

Who is OKX?

OKX (https://www.okx.com//), formerly called OKEx, is a crypto exchange initially headquartered in China and now based in Seychelles. As of the time of writing, OKX ranks to be the top #8 cryptocurrency exchange by trading volume. It offers crypto trading for spot and derivatives including margin, futures, perpetual swaps and options. Other products include: trading bots, block trading, crypto loans, and OKX Earn (savings, stablecoins, DeFi, staking, etc).


Client Onboarding on OKX

  • Sign up on OKX

  • From top right dropdown, click "Verification" and follow the instructions to complete the KYC process
  • onboard

Trading Account Configuration

ALGOGENE supports 2 methods to connect with your OKX accounts.

  1. API Key
  2. OAuth

1. For API Key method,

  • For connecting real trading accounts, please refer to this section.
  • For connecting demo trading accounts, please refer to this section.

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

    • Choose "OKX" in broker dropdown
    • Update the connection settings as follows:
      • "API Key" -> Your OKX's API Key
      • "Password" -> Your OKX's API Secret
      • "Passphase" -> Your OKX's API Passphase

      algogene_config

2. For OAuth method,

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

  • Choose "OKX (OAuth)" in broker dropdown
  • oauth4

  • You will be redirected to OKX official website
  • oauth1

  • Login with your OKX sub-account or main account, then approve binding with ALGOGENE
  • oauth2

  • After successful authorization on OKX, you will get back to ALGOGENE and the connection is done!


Deploy Algo

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

1. Deploy from a DIY script

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

  • deploy any one of your backtested script
  • algogene_deploy2

2. Deploy from algo marketplace subscription

  • Explore available trading bots from ALGOGENE Marketplace
  • Choose a desired trading bot, click "SUBSCRIBE"
  • Select your desired "Run Mode" and "Account", then click "SUBMIT"
  • subcribe


Demo Video



Happy Trading! :)


 
admin

This section is about Real Trading Account setup!



Create Real-Trading Sub-account

It is advised to create multiple sub-accounts on OKX to manage different trading strategies.

  • From top right dropdown, click "Sub-account"
  • subaccount

  • Click "Create Sub-account"
  • step2

  • Set "Login ID", "Password"
  • "Account Type" chooses "Standard sub-account"
  • step3

Create API Key for Real-Trading Sub-account

  • From top right dropdown, click "Sub-account"
  • subaccount

  • Click "Action", then "Manage API"
  • step4

  • Click "Create API Key"
  • step5

  • Click "Binding third-party apps", and choose "Algogene" in App name dropdown
  • Set "API Name", "Passphase", enable "Trade" permission, then click "Confirm"
  • step6

  • Get your "API Key" and "API Secret"
  • step7

Create API Key for main account (Optional)

Alternatively, if you want the trade happens in your master account, you can create the main account API as follows:

  • From top right dropdown, click "API"

  • click "Create API Key"

  • Follow similar procedures for sub-account API above
 
admin

This section is about Demo Trading Account setup!



Create Demo-Trading Sub-account

  • In top navigation bar, click "Trade" > "Demo Trading"

  • In top right corner, click "Sub-account"

  • Click "+Create Sub-account"

  • Set "Login ID", "Password"
  • "Account Type" chooses "Standard sub-account"

Create API Key for Paper-Trading Sub-account

  • In top navigation bar, click "Trade" > "Demo Trading"

  • Click "+Create Sub-account"

  • Under an sub-account, click "Action" > "Manage API"

  • Click "Create API Key for demo-trading"

  • Click "Binding third-party apps", and choose "Algogene" in App name dropdown
  • Set "API Name", "Passphase", enable "Trade" permission, then click "Confirm"
  • step16

  • Get your "API Key" and "API Secret"
  • step7
 
user
hello to you, well I have always been interested in the different advantages that are presented to us for the creation of the account with the partnership link. Can you please tell me when does a client receive the bonuses mentioned above in this post by creating a trading account through this partnership link. Is this after making a deposit in this created account or after having deployed a trading strategy for this account or just after the creation of the trading account by your partnership link.
 
admin
Original Posted by - b'user':
hello to you, well I have always been interested in the different advantages that are presented to us for the creation of the account with the partnership link. Can you please tell me when does a client receive the bonuses mentioned above in this post by creating a trading account through this partnership link. Is this after making a deposit in this created account or after having deployed a trading strategy for this account or just after the creation of the trading account by your partnership link.
As mentioned in the beginning of the articles, there will be 3 bonuses when opening OKX account using our partnership link:
  1. OKX's Mystery Boxes worth up to $10,000
  2. Lifetime 10% commission rebate for every trade on OKX
  3. HK$300 free credits on ALGOGENE

The bonuses will be distributed in the following way:
  1. For OKX Mystery Boxes, after deposit on your OKX account, you will automatically get it. 
  2. For the 10% rebate, the commission of each transaction will be automatically adjusted when you start trading on OKX. 
  3. For ALGOGENE free credits, our system will credit to applicable users by a monthly batch. If you opened OKX account using our link within the month, the HK$300 will be credit to your ALGOGENE wallet by the month end date. 
 
user
Original Posted by - b'admin': As mentioned in the beginning of the articles, there will be 3 bonuses when opening OKX account using our partnership link:
  1. OKX's Mystery Boxes worth up to $10,000
  2. Lifetime 10% commission rebate for every trade on OKX
  3. HK$300 free credits on ALGOGENE

The bonuses will be distributed in the following way:
  1. For OKX Mystery Boxes, after deposit on your OKX account, you will automatically get it. 
  2. For the 10% rebate, the commission of each transaction will be automatically adjusted when you start trading on OKX. 
  3. For ALGOGENE free credits, our system will credit to applicable users by a monthly batch. If you opened OKX account using our link within the month, the HK$300 will be credit to your ALGOGENE wallet by the month end date. 
Merci !