How to Set Up OKX Account Mode and Connect API to Tealstreet

Β·

Setting up your OKX account for advanced trading features like futures and derivatives requires a few essential steps. Whether you're integrating with third-party trading platforms such as Tealstreet or preparing for leveraged trading, understanding how to configure your account mode, generate an API key, and securely connect it is crucial. This guide walks you through each phase with clear instructions, best practices, and tips to ensure a seamless setup.


Understanding OKX Account Modes

Before engaging in futures or derivatives trading on OKX, users must adjust their account mode. By default, new accounts may be set to "Simple Mode," which limits access to advanced trading tools.

πŸ‘‰ Learn how to unlock advanced trading features in seconds.

Why Change Your Account Mode?

Steps to Change Your Account Mode

  1. Log in to your OKX account.
  2. Navigate to the Trading Page and select Margin Trading.
  3. Click the gear icon in the top-right corner.
  4. Choose Account Mode from the settings menu.
  5. Select and activate:

    • Single-currency margin
    • (Optional) Multi-currency margin, depending on your needs

Once activated, your account will support derivatives trading and be ready for API-based integrations.

πŸ” Tip: Ensure all settings are saved before proceeding. A successful change will reflect immediately in your trading interface.

Creating an API Key on OKX

An API (Application Programming Interface) key allows secure communication between your OKX account and third-party platforms like Tealstreet. It grants controlled access without sharing your login credentials.

Prerequisites

Step-by-Step: Generate Your OKX API Key

  1. Open a new browser tab and log in to your OKX account.
  2. Click your user profile icon in the top-right corner.
  3. From the dropdown, select API Management.

    πŸ‘‰ Generate your secure API key now – only takes 60 seconds.

  4. On the API page, click Create V5 API Key.
  5. Select Connect to Third-party Application.
  6. Choose Tealstreet from the application list.

Configure API Permissions

When setting up the API key, pay close attention to the following fields:

  1. Review all settings carefully, then click Confirm.
⚠️ Security Note: Never share your API secret or passphrase. Store them in a secure password manager.

After confirmation, OKX will prompt you to enter:

Upon successful verification, a pop-up will display your:

πŸ“Œ Copy and save these details securely β€” they will not be shown again.


Connecting OKX API to Tealstreet

With your API keys generated, it’s time to link them to the Tealstreet trading terminal.

Step-by-Step Integration

  1. Open your Tealstreet dashboard in another tab.
  2. Log in using your credentials.
  3. Navigate to the API Keys section.
  4. Click the blue button labeled New API Key.
  5. From the exchange dropdown, select OKX.

Now fill in the required fields:

  1. Name: Give your connection a label (e.g., β€œOKX Futures”)
  2. Encryption Password: Create a strong password to protect this key within Tealstreet
  3. API Passphrase: Paste the passphrase you created earlier on OKX
  4. Key: Paste your OKX-provided API Key
  5. Secret: Paste your OKX-provided API Secret
  6. Click Create
βœ… Success Indicator: If all details are correct, your OKX balance should appear in the margin panel under the Trading page in Tealstreet.

Best Practices for Security and Performance

Integrating exchange APIs enhances trading efficiency but also introduces potential risks if misconfigured.

Security Recommendations

Troubleshooting Tips


Frequently Asked Questions (FAQ)

Q: Can I use the same API key for multiple platforms?

No. For security reasons, always create a separate API key for each platform (e.g., one for Tealstreet, another for a bot). This minimizes risk if one service is compromised.

Q: What happens if I lose my API passphrase?

You cannot recover a lost passphrase. However, you can generate a new API key on OKX with a new passphrase. Make sure to update it in Tealstreet afterward.

Q: Is it safe to connect my OKX account to Tealstreet?

Yes β€” as long as you follow security best practices:

Tealstreet does not store sensitive data long-term, but user responsibility remains key.

Q: Why can't I see my balance after connecting?

This usually indicates incorrect API input or insufficient permissions. Verify:

Q: Does OKX charge extra fees for API trading?

No. OKX does not impose additional fees for using APIs. Trading costs remain consistent with standard fee structures based on your VIP level.

Q: Can I trade futures through Tealstreet after setup?

Yes! Once connected and confirmed, you can execute spot, margin, and futures trades directly via the Tealstreet terminal using your OKX account balance.


Final Thoughts

Configuring your OKX account for advanced trading isn’t complicated β€” but precision matters. From switching account modes to generating secure API keys and linking them to powerful tools like Tealstreet, every step builds toward a more dynamic and efficient trading experience.

πŸ‘‰ Start connecting your exchange securely today and take control of your strategy.

By following this guide, you’ve laid the foundation for automated trading, real-time data analysis, and cross-platform portfolio management β€” all while maintaining control and security over your digital assets.

Remember: Always prioritize security, verify inputs, and keep backups handy. With the right setup, your trading journey just got smarter.