api-keysexchange-securitytrading-botswithdrawal-permissionhow-toevergreen

Can a crypto trading bot work without withdrawal permission?

November 20, 2026·7 min read

Published: 2026-11-20 | Updated: 2026-11-20

Yes. A bot placing orders within a connected exchange account needs access to read balances and trade, without withdrawal permission; permission names and groupings vary by exchange. Anny Trade supports 15 exchanges, including portfolio-only connections, and rejects Binance API keys that have withdrawals enabled.

The catch: a key without withdrawal permission can still place losing trades. It limits what can be withdrawn through that key, not what can be lost through trading inside the account.

Which permissions does a trading bot actually need?

Portfolio visibility needs read access. A bot that places orders within the connected exchange account also needs trading access. Neither task requires withdrawal permission.

PermissionWhat it lets a bot doNeeded?
Read (view, query funds)See balances, positions, orders and trade historyYes, for portfolio tracking and for bots
Trade (spot, and futures where you use them)Place, modify and cancel ordersOnly if you use bots that place orders
Withdraw / transfer outMove funds off the exchangeNever for the Anny connections described here

Exchanges name and group these permissions differently. Generic examples include “Query Funds”, “Create & Modify Orders” and “Withdraw Funds”. Follow the labels on your exchange’s API page: enable the read and trading permissions needed for the connection, and leave every withdrawal or transfer-out permission off.

Our OKX connection guide states the distinction directly:

“For portfolio visibility, use Read. Add Trade only when you intend to use bots that place orders. Never enable Withdrawal for this connection.”

How does each exchange connect to Anny, and what should you tick?

Anny supports 15 exchanges: 13 with trading support and 2 for portfolio visibility only. Mercado Bitcoin and Ripio are portfolio-only in Anny, so their connections need read access only.

ExchangeHow it connects to AnnyWhat to enableWithdrawal
BinanceOAuth, or API keyRead + spot/margin tradingAnny rejects API keys with withdrawals enabled
Binance USAPI keyRead + tradeLeave off (Anny's form says never tick Withdraw)
BybitOAuthApprove on Bybit's pageNot requested by Anny
OKXOAuth, or API keyRead; add Trade only for bots"Never enable Withdrawal" (Anny's OKX guide)
CoinbaseAPI keyRead + tradeLeave off
KrakenAPI keyQuery + tradeLeave off
KuCoinAPI key + passphraseRead + tradeLeave off
Gate.ioAPI keyTrade (+ fund password if your account uses one)Leave off
BitgetAPI key + passphraseTradeLeave off
MEXCAPI keySpot read + tradeLeave off
Crypto.comAPI key (Exchange web portal, not the App)Read + tradeLeave off
BitstampAPI key (activate via Bitstamp's email link)Read + tradeLeave off
HyperliquidAgent (API) wallet + main wallet addressCreate an agent under More → APIHyperliquid API wallets have no withdrawal permission
Mercado BitcoinAPI keyRead only (portfolio-only in Anny)Leave off
RipioAPI keyRead only (portfolio-only in Anny)Leave off

Connection methods and permission steps from Anny's exchange setup guides and connect form, checked 19 November 2026. Exchanges rename permissions; follow the labels on your exchange's API page.

For Hyperliquid, enter your main wallet address and the agent’s private key. Never paste your main wallet’s private key or seed phrase into a bot.

Does Anny check that withdrawal is turned off?

For Binance API keys, yes. Anny reads the key’s permissions when you connect. It refuses the connection if withdrawals are enabled or spot/margin trading is disabled.

This is a specific check on the Binance API-key connection. It should not be read as a description of every exchange connection in the table.

For other API-key exchanges, Anny’s connect form provides guidance: tick “Read” and “Trade” and never “Withdraw”. Check it on the exchange before pasting the key into Anny, and use read only for the portfolio-only connections listed above.

With OAuth on Binance, Bybit and OKX, you approve access on the exchange’s own page. That approval flow is separate from the Binance API-key permission check described here.

Is a key without withdrawal permission safe?

A key without withdrawal permission can still lose money through trades. Removing withdrawal access prevents withdrawals through that key, but it does not prevent loss-making orders.

Review the amount of money the trading connection can reach, as well as the permissions you grant it.

Our practical guidance is:

  • Limit the funds held in the account the trading connection can reach. A key with Trade permission can still place loss-making orders.
  • Bind the key to the service’s IP addresses where the exchange supports it. Use this alongside the permission settings.
  • Revoke a key you no longer use. On Hyperliquid, revoke the agent.
  • Never paste a seed phrase or a Hyperliquid main-wallet private key into any bot.

What if I already enabled withdrawal on a key?

Replace it with a key configured for the connection you actually need:

  1. Delete that key on the exchange.
  2. Create a new key with read and trade only, and IP binding if available.
  3. Reconnect it in Anny.
  4. For Mercado Bitcoin and Ripio, use read only because those connections are portfolio-only in Anny. For OKX portfolio visibility, follow the guide’s instruction to use Read and add Trade only when you intend to use bots that place orders.

    Check the replacement key on the exchange before reconnecting. Withdrawal should remain disabled. If the replacement key can trade, remember that it can still place losing orders.

    FAQ

    Can a trading bot work without withdrawal permission?

    Yes. For bots placing orders within a connected exchange account, read access lets the connection see balances and trading access lets it place and cancel orders. Permission names and groupings vary by exchange. The Anny connections described here do not need withdrawal access. Portfolio-only connections need read access rather than trading access.

    Does Anny need withdrawal access?

    No. Anny’s connect form tells you to tick Read and Trade and never Withdraw. For Binance API keys, Anny reads the permissions and refuses keys with withdrawals enabled. For other API-key exchanges, that instruction is guidance you must follow when configuring the key on the exchange.

    Is a trade-only API key completely safe?

    No. A key without withdrawal permission cannot withdraw funds through that key, but it can still lose money through bad or unintended orders if it can trade. Bind it to the service’s IP addresses where supported, limit the funds the account holds, and revoke keys you no longer use.

    How does Hyperliquid connect using an agent wallet?

    You create an agent (API) wallet under More → API and give Anny the agent’s private key plus your main wallet address. Hyperliquid says API wallets can act on an account without withdrawal permissions. Never share the main wallet’s private key or seed phrase. Revoke the agent when you no longer use it.

    What should I do if my key has withdrawal enabled?

    Delete it on the exchange, create a new key with read and trade only, and reconnect it in Anny. Add IP binding where available. For a portfolio-only connection, use read only. Check the new key’s permissions on the exchange before you paste it into the connection form.

    Follow our OKX connection guide.

    See also


    This article is educational only — not financial advice. Past performance does not indicate future results. Crypto assets are volatile and you can lose your entire investment. Anny Trade is an analytics platform, not a registered investment adviser.