Skip to main content
OKEx-LogoOKEx-Logo

Connecting OKEx to Tealstreet

Account Mode

Before you can trade futures / derivatives on OKEx, users must change their Account Mode.

note

Users cannot trade futures / derivatives if their OKEx account is in ‘Simple Mode.’

You can follow along in the video or the steps below:

Binance-Connect

Watch the video Tutorial on YouTube. Click Here.

  1. Log into your OKEx account.

  2. Navigate from Trade to Margin Trading

MarginTrading

  1. Click the Gear icon on the upper right of the screen

MarginTrading-Settings

  1. Next, click the option titled ‘Account Mode.’

MarginTrading-Accountmode

  1. Then, select and activate ‘Single-currency margin.’

MarginTrading-Activate

  1. Once activated, you will have successfully enabled futures trading and will be able to trade with the Tealstreet terminal.
info

Continue reading to learn how to create and connect an OKEx API to the Tealstreet trading Terminal

Connecting API

Follow the steps below:

  1. First, make sure you are logged into your OKEx account.

  2. Second, log into your Tealstreet account.

tip

Its a good idea to keep both Tealstreet and OKEx tabs open.

  1. Once you have successfully logged into Tealstreet, navigate to the header titled ‘API Keys’

  2. Click the blue button titled ‘New API Key’

addingapi

  1. Choose OKEx from the dropdown menu.

dropdown

note

Do not choose the OKEx testnet unless you are certain it's what you need.

  1. Now you are ready to generate the API Keys within your OKEx Account. Head on over to the OKEx tab and:
  • Click on the User Icon.
  • Select API from the dropdown menu.

API-Dropdown

tip

You can get to this page directly by navigating to this link

  1. On the API Key page click on the Create V5 API Key Button to start the key creation process.

API-Create

  1. Now you are ready to create the API key for Tealstreet.

API-Detailed

  • Choose ‘Connect to Third-Party Applications.’

  • Select 'Tealstreet' From the drop down menu.

  1. Now you are ready to set the settings of your OKEx API Key pair.

API-Detailed

1. Ensure "Binding third-party apps is selected.

2. Ensure the App name says Tealstreet.

3. ‘API Name’ You can choose any name you like for this section. It can be helpful to use a name related to Tealstreet in case you have many API keys for different services.

4. ‘Passphrase’ OKEx requires users to choose a password for each API key.

5. Ensure "Trade" is ticked. This will ensure you can trade on Tealstreet.

6. Double check all the selections are correct and then click 'Confirm'.

a. A popup will appear next and prompt you to submit the email code and the 2FA from your Authentication App.

Auth

note

Using a phone number for 2-factor authentication (2FA) is not recommended. Consider keeping a paper copy of your 2FA backup codes in case you ever lose access to your 2FA device.

  b. Once you submit the 2FA code, you will see a new popup from OKEx with your API Key details. You need to paste those details into the API Key page of Tealstreet.
tip

You will need to input this on the Tealstreet terminal website so it is a good idea to keep and/or save this passphrase.

caution

Never share your API Keys with anyone.

  1. Once you have created the API Key on OKEx’s website, you are ready to fill out the information on Tealstreet’s API KEYS page.

API-Tealstreet

Double check ‘OKEx’ shows on the ‘Exchange’ Dropdown section.  

1. ‘Name’ - Here you can choose a name for your API Key. This is helpful for traders who utilize multiple exchanges and/or sub accounts and want to distinguish between them.

2. Choose your Encryption Password. Remember to save this somewhere! You will need to input this password when you navigate back to the trade page of the trading terminal.

3. ‘API Password’ - This field coincides with ‘Passphrase’ you chose on the OKEx Create API key page.

4. ‘Key’ - Paste the API Key provided by OKEx here.

5. ‘Secret’ - Paste the API Secret provided by OKEx here.

6. Click ‘Create.’
tip

If you ever forget your API Key Passphrase you can always create another API Key on the OKEx website.

note

Be sure to double check you do not confuse API Key and API Secret. Connecting your OKEx exchange account to Tealstreet will not work if these fields are not inputted correctly.

  1. If all the details are correct, you will have successfully linked your OKEx account to Tealstreet. Navigate to the ‘Trade’ page of Tealstreet and select the OKExre account from the dropdown menu. If properly linked, you will see your balance/collateral appear in the Margin window of Tealstreet.