Articles on: Exchanges

How to Connect Your OKX Exchange Account with Altrady

Step-1:

Enter OKX URL in your browser and log in to your account.



Step-2:

Click on the "APIs" button
Click on "Create APIs".

Step-3

Assign a name to the API key.
Select the account to create an API key for. If you're creating an API key for a subaccount, select your subaccount here.
Set the purpose to "API Trading".

Step-4:

- In a different tab/window, go to Altrady and follow the steps below:

Click on "Settings".
Click on "Exchange Account API Keys".
Click on "+Connect Account".


Click on "OKX".


Add an Account Label for the Trading Account in Altrady.
OPTIONAL: If you want to add an IP whitelist to your API key on the exchange, click the copy button, next to the IP whitelist.



Step-6:

Go back to OKX exchange.
OPTIONAL: paste the copied IP whitelist to the IP address field. All 20 of Altrady's IP addresses must be copied.
Set Read and Trade permissions.
Create and enter a passphrase. Make sure to record the passphrase somewhere safe, as you will need it later.
Click "Submit All".



Step-7:

A "2-factor authentication" window will pop up. Press "Send code" on both fields.
You will receive a email and a SMS code.
Enter them in the appropriate fields and hit "Confirm".

4. A window will pop up with your newly created key, saying "1 API created successfully".

Click on "Show Info".



Step-8:

Copy the API key and Secret separately, using the copy button next to each one.



Go back to Altrady and paste the API and Secret into their respective fields.
Enter your passphrase into the respective field as well.


Go back to OKX exchange and click "Complete".



You should see your API key successfully created, in the API list in OKX.


Finally, go back to Altrady, then click "Save" at the bottom of the window.


Step-9:

You should see a new Trading Account in Altrady under "Exchange Account API Keys", for the API key you just connected.


Edit the details anytime by selecting the edit icon. If you need to replace your OKX API key, it should be done by editing the existing Trading Account not by connecting it as a new Trading Account.


If your balances haven't yet updated from the exchange, find out how to easily update them:




If you have questions, please feel free to chat with our customer support service linked at the bottom of this page.

Updated on: 17/12/2024

Was this article helpful?

Share your feedback

Cancel

Thank you!