User guide 04

Trade-only API keys

A trade-only key can place and cancel orders. It cannot move funds off the exchange.

Video walkthrough: connecting a trade-only API key, on a simulated demo account.

Download the PDF guide

A key for Tradeture should have Read and Trade on, and Withdrawal and Transfer off. That is a trade-only key: it can see the account and place or cancel orders, and it cannot move funds off the exchange or between wallets.

This walkthrough is explained from the screens. No key is added, and the credentials fields stay empty. The demo account runs in SIMULATE mode, with no exchange connected. Simulated trades do not reach an exchange. You can follow every step without pasting a secret.

The Bitunix setup guide is the example. The same rule applies on OKX, Bitget, Bybit, and MEXC: withdrawals stay off. The exchange walkthroughs are at tradeture.com/okx_ins, /mexc_ins, /bitget_ins, /bitunix_ins, and /bybit_ins.

Educational only, not financial advice. Past performance does not predict future results. Leveraged futures carry a high risk of loss. Nothing in this guide is an offer to trade, a signal, or a promise of profit. A careful key does not change the market.

In this guide

Step 01 of 09

Why a trade-only key

The Academy article on API key safety puts the rule in one line: a futures API key is useful only when it cannot move funds. Enable Read and Trade so the key can see the account and place or cancel perpetual orders. Leave withdrawal and transfer off, bind the key to the server IP when the exchange offers that field, and delete the key on the exchange if you stop.

An API key is not your login password. It is a credential the exchange issues so software can act only within the permissions you tick. The table below is the Academy permission set, rebuilt here in full.

Permission What it allows This key
Read View balances, positions, and open orders. On
Trade Place, change, and cancel orders. On
Withdraw Move funds off the exchange to an address the key chooses. Off. Never.
Transfer Move funds between wallets or accounts on the exchange. Off

Exchange screens use their own labels for the same ideas. Bitunix is trade permission only. OKX is read and trade, plus a passphrase. Bitget is futures orders and holdings, plus a passphrase. Bybit is Unified Trading. MEXC is futures account and trade. On every one, withdrawals stay off.

Academy article titled API key safety for a crypto futures bot, with the rule that a key is useful only when it cannot move funds, and withdrawal and transfer left off.
Figure 1. The Academy article "API key safety for a crypto futures bot." The lead line is that a futures API key is useful only when it cannot move funds. Read and Trade stay on. Withdrawal and transfer stay off.

Step 02 of 09

Leave withdrawals and transfer off

The Academy answers "Should I enable withdrawals?" in two words: No. Never. Withdrawal permission is how a key moves funds off the exchange to an address the key chooses. Transfer is the same idea inside the exchange: moving funds from one wallet or sub-account to another. Leave it off. Read and Trade are enough to run the orders you already defined.

If a setup screen, a chat, or an email asks you to enable withdrawals so a key can "work" or "settle," that is a request to refuse. Billing, when you pay for software, is a payment you make yourself. It is not a pull from the trading account through this key.

IP whitelisting is an exchange setting that accepts the key only from the IP addresses you list. A request from any other address is rejected, even if the key and secret are correct. For a key used with Tradeture, the published server address is 72.61.112.102. Allow only that address when the field is available. A key bound to that IP does not work from a laptop or from another server. That is the point of the list. The whitelist does not replace your own login security or two-factor authentication. If the exchange has no IP field, the permission limits are still the control you have: Read and Trade on, withdrawal and transfer off.

Academy sections Should I enable withdrawals, answered No Never, and What is IP whitelisting, naming the Tradeture server IP 72.61.112.102.
Figure 2. Withdrawals stay off, always. Transfer stays off. When the exchange offers an IP whitelist, allow only the Tradeture server address, 72.61.112.102.

Step 03 of 09

Open API Settings

Open API Settings from the profile avatar menu. The page is titled API Control Center. In this walkthrough the demo account is in SIMULATE mode, the Exchange field is empty, and the credentials fields are empty. No exchange is connected, and no key is added.

GETTING STARTED states the rule: create a new API key on your exchange with Read and Trade permissions only, and never enable withdrawals. Then paste the key on this page to link the account. The gold buttons open the walkthroughs for OKX, MEXC, Bitget, Bitunix, and Bybit.

Trading Mode has three choices: LIVE, DEMO, and SIMULATE. The helper on this screen says simulated trades behave live but never reach your exchange, and that you pick LIVE or DEMO to connect a real account. Start in Demo or Simulate. The gold notice says your keys stay private, API secrets and passphrases are stored encrypted, withdrawal access is never required, and you should bind the Tradeture server IP 72.61.112.102. Changes take effect in less than a minute and can be updated anytime. Save & Activate is how you apply a key once you have one. We do not save a key in this walkthrough.

API Control Center with Getting Started guide buttons, Exchange and Mode set to SIMULATE, empty API Key, Secret, Passphrase, and UID fields, and the notice that keys stay private and withdrawal access is never required.
Figure 3. API Control Center, reached from the profile menu. SIMULATE is selected, the Exchange field is empty, and no credentials are entered. Getting Started names the five exchange guides. The notice repeats trade-only permissions, encrypted storage, and the server IP 72.61.112.102.

Step 04 of 09

Pick an exchange guide

The supported exchanges on this walkthrough are Bitunix (recommended), OKX, Bitget, Bybit, and MEXC. Each card on the Exchanges page links to that exchange's setup guide. The same guides are also behind the Getting Started buttons on API Settings, at tradeture.com/okx_ins, /mexc_ins, /bitget_ins, /bitunix_ins, and /bybit_ins.

The How to connect steps on the Exchanges page are: sign up on a supported exchange, Bitunix recommended and listed first; create an API key with withdrawals DISABLED, and allow read and trade only; then connect that key in Tradeture on the API Settings page.

Supported exchanges: Bitunix recommended, OKX, Bitget, Bybit, and MEXC, with How to connect: create an API key with withdrawals disabled and allow read and trade only.
Figure 4. Supported exchanges, with Bitunix marked recommended. How to connect says to create an API key with withdrawals DISABLED, allow read and trade only, and connect that key on the API Settings page.

Step 05 of 09

Create the key with Trade only

Open the exchange guide and create the key on the exchange, while you are logged in there. Do not start from a link in a message. This example is the Bitunix guide.

Set Permission to Trade. The guide asks you to select Trade Permission Only, and it says DO NOT enable withdrawal permissions. The security tip on the same screen is that withdrawal permissions should never be granted to a trading API key, and that Tradeture only needs trading access to function. On other exchanges the label may differ, as in Step 1, but the result is the same: Read and Trade on, withdrawals off.

Bitunix guide with Permission set to Trade, Trade Permission Only selected, and DO NOT enable withdrawal permissions.
Figure 5. The Bitunix guide, Permission set to Trade. Trade Permission Only is selected. The guide says do not enable withdrawal permissions. Tradeture only needs trading access to function.

Step 06 of 09

Bind the Tradeture server IP

When the exchange shows an IP whitelist field, bind the new key to the Tradeture server address only: 72.61.112.102. The Bitunix guide shows this as TRADETURE SERVER IP, with a Copy IP button. A key bound to that address works only when the request comes from Tradeture's server, not from a laptop or from another host.

Securing the exchange account, including the login and two-factor authentication, remains yours. Do not share your exchange username or password. After the key is created, copy the API key and the API secret (and a passphrase, if that exchange uses one). The exchange shows the secret once. The fields in this walkthrough stay empty. No key is pasted here.

Bitunix guide showing TRADETURE SERVER IP 72.61.112.102 with a Copy IP button, and empty API Key and Secret Key fields.
Figure 6. The Bitunix guide shows TRADETURE SERVER IP 72.61.112.102 and a Copy IP button. Bind the key to that address only. The API Key and Secret Key fields on this screen are empty in this walkthrough.

Step 07 of 09

Paste the credentials and choose a mode

The last step of the Bitunix guide is Add API Key to Tradeture. It tells you to log in, go to API Settings, and paste your API key and secret to establish the connection. A Go to API Settings button is on the page.

Back on API Control Center, choose the exchange, pick a trading mode, and paste the API key, the API secret, and a passphrase where the exchange requires one. The UID field is there if that exchange uses it. Start in Demo or Simulate. This demo walkthrough stays in SIMULATE, with no exchange connected and no key entered. When you do connect a real key, use Save & Activate. Changes take effect in less than a minute.

The same guide notes that if you need to cut the connection, you can delete the API key on your exchange. That stops the key, including from Tradeture's server.

Bitunix guide step 6, Add API Key to Tradeture, with a Go to API Settings button, and a note to delete the API key on the exchange if you need to cut the connection.
Figure 7. Step 6 of the Bitunix guide: go to API Settings and paste the API key and secret. If you need to cut the connection, delete the API key on your exchange.

Step 08 of 09

Revoke or rotate the key

Revoke means delete or disable the key on the exchange, while you are logged in there. Do not do this from a link in an email or a chat. The next request signed with that secret fails, and the connection stops. You can do this at any time.

To rotate, create a new key first: Read and Trade on, withdrawal and transfer off, and the server IP 72.61.112.102 if the field exists. Paste the new key, secret, and passphrase (where the exchange requires one) into Tradeture API Settings. Confirm the account responds. Then delete the old key.

Do this if you stop using the connection, if the secret was shown on a screen you do not control, or if you pasted it anywhere other than the exchange and your Tradeture API Settings. The exchange shows the secret once, at creation. Store it then. A request to read the secret back to someone is a red flag, not a recovery step.

Academy section How do I revoke or rotate an API key, with steps to delete the key on the exchange and to create a new trade-only key before removing the old one.
Figure 8. Revoke means delete or disable the key on the exchange, while you are logged in there. To rotate, create the new trade-only key first, paste it into API Settings, confirm it, then delete the old key.

Step 09 of 09

Watch for red flags

The Academy lists plain checks, not slogans. Refuse a request to enable withdrawals or transfer, including "just for billing" or "just once." Tradeture does not need your exchange login password. The credentials are the key, the secret, and a passphrase where the exchange uses one.

Do not paste the secret into email, chat, or any form that is not the exchange or your Tradeture API Settings. Treat a promise of profit, a guaranteed return, or a claim that a setup cannot lose, as a warning. Leveraged futures carry a high risk of loss. If the exchange offers an IP field, do not leave it empty on a key that a server will use. If you already gave a key to a tool you no longer use, delete it. Do not share one secret across tools you do not still trust.

Academy section What red flags should I watch for, including requests to enable withdrawals, requests for the exchange login password, and requests to paste the secret into email or chat.
Figure 9. Red flags from the Academy article: a request to enable withdrawals or transfer, a request for the exchange login password, a request to paste the secret into email or chat, and an IP field left empty when the exchange offers one.

Tips

Check these points before you save a key.

  1. Create the key on the exchange while you are logged in. Not from a link in a message.
  2. Read on. Trade on.
  3. Withdrawal off. Transfer off.
  4. If the exchange has an IP whitelist, allow only the Tradeture server address, 72.61.112.102.
  5. Copy the secret once, into Tradeture API Settings. The exchange will not show it again.
  6. Know which exchange page you will open to delete the key.
  7. Start in Demo or Simulate. This walkthrough stays in SIMULATE, with no exchange connected and no key added.
  8. Your keys stay private. API secrets and passphrases are stored encrypted. Changes take effect in less than a minute and can be updated anytime.

Educational only, not financial advice. This walkthrough used SIMULATE mode with no exchange connected and no key added. Leveraged futures carry a high risk of loss. Past performance does not predict future results. The screens here are for learning how to set a trade-only API key, not for connecting a live account.

Related: crypto futures demo trading with a bot

Last reviewed by Ric Mescallado