# edgeX trading bot setup: API keys, testnet and fees

> How to run a trading bot on edgeX: what its API keys can do, testnet, fees, rate limits and who&#x27;s restricted. Sourced from edgeX&#x27;s own docs.

Canonical: https://tradingagentstack.com/edgex-trading-bot/

1. [Home](https://tradingagentstack.com/)

2. [Perp DEXs for bots](https://tradingagentstack.com/best-perp-dex-for-trading-bots/)

3. edgeX

# edgeX trading bot setup (2026): keys, testnet, fees and limits

Order-book perps on its own rollup built on Arbitrum's stack, settling to Ethereum. Here's how to run a trading bot or AI agent on it without handing it more power than it needs. Every fact links edgeX's own docs, checked Oct 30, 2026.

**Watch out:** The docs leave out fees, rate-limit numbers and a testnet, so it needs the most checking before a bot goes live.

| Safety score | [Safety 29% (partial)](https://tradingagentstack.com/tool/edgex/) |
| --- | --- |
| Bot key | Separate signing key; transfer rules unclear [source](https://edgex-1.gitbook.io/edgeX-documentation/api-v2/authentication) |
| Testnet | Not documented [source](https://edgex-1.gitbook.io/edgeX-documentation/api-v2) |
| Base fees (maker / taker) | Not in the docs [source](https://edgex-1.gitbook.io/edgeX-documentation/trading/trading-fees) |
| Rate limits | Depend on the key's tier; no numbers published. [source](https://edgex-1.gitbook.io/edgeX-documentation/api-v2) |
| Anyone can check an account's results | No [source](https://edgex-1.gitbook.io/edgeX-documentation/api-v2/private-api/account-api) |
| Restricted | US, Canada and more [source](https://edgex-1.gitbook.io/edgeX-documentation/about/terms-of-use) |
| Builder codes | No builder program documented. [source](https://edgex-1.gitbook.io/edgeX-documentation) |
| Referrals | 5% to 30% of referees' fees once you have active referrals and volume (from Oct 9, 2026). [source](https://pro.edgex.exchange/en-US/news/article/edgex-referral-commission-upgrade-earn-up-to-30-on-friends-trading-fees) |

## Set up a bot on edgeX, step by step

1. **Make sure you're on the real site.** Fake trading sites and bots copy every big exchange. Before you connect a wallet, use the official app at [pro.edgex.exchange](https://pro.edgex.exchange).

2. **Give the bot its own account.** Put the bot in a separate sub-account or wallet with only the money it needs, so a bug or a leaked key can't reach the rest.

3. **Create the bot's key.** The docs leave key permissions unclear, so assume the key can move money. Orders are signed with a trading key kept apart from the wallet key that withdrawals need; the docs disagree on which key signs transfers. [docs](https://edgex-1.gitbook.io/edgeX-documentation/api-v2/authentication)

4. **Run it on testnet first.** No public testnet in the docs. [docs](https://edgex-1.gitbook.io/edgeX-documentation/api-v2)

5. **Stay inside the rate limits.** Depend on the key's tier; no numbers published. [docs](https://edgex-1.gitbook.io/edgeX-documentation/api-v2)

6. **Count the fees.** Tiered by 30-day volume; the docs give no rates and point to the VIP page. [docs](https://edgex-1.gitbook.io/edgeX-documentation/trading/trading-fees)

7. **Put limits outside the bot.** A bot can't be trusted to police itself. [TAS Guard](https://tradingagentstack.com/guard/) adds order caps, phone approval and a kill switch in front of an AI agent, including Hyperliquid and EVM wallets.

## AI agent tools

No official MCP server or agent kit. [source](https://edgex-1.gitbook.io/edgeX-documentation/edgex-v2)

## Code and audits

Audits listed are undated or cover the older StarkEx engine; V2 contract source not found. [source](https://edgex-1.gitbook.io/edgeX-documentation/audits)

## Incidents, last 12 months

- Jun 2, 2026: A sharp EDGE token sell-off spread to edgeX perps and liquidated longs; edgeX called it outside manipulation and offered goodwill payments. [news report](https://crypto.news/edgex-offers-usdc-payments-after-edge-liquidations-spark-scrutiny/)

## FAQ

### Can I run a trading bot on edgeX?

Yes. edgeX has an API for automated trading. Orders are signed with a trading key kept apart from the wallet key that withdrawals need; the docs disagree on which key signs transfers.

### Does edgeX have a testnet?

No public testnet in the docs.

### Can a edgeX API key withdraw my funds?

Orders are signed with a trading key kept apart from the wallet key that withdrawals need; the docs disagree on which key signs transfers.

### Can US residents use edgeX?

No. edgeX's terms restrict: US and Canada plus sanctioned places.

### What are edgeX's trading fees for bots?

Tiered by 30-day volume; the docs give no rates and point to the VIP page.

## Compare

- [All 9 perp DEXs compared for bots](https://tradingagentstack.com/best-perp-dex-for-trading-bots/)

- [edgeX Safety score and tool page](https://tradingagentstack.com/tool/edgex/)

Other exchanges: [Hyperliquid](https://tradingagentstack.com/hyperliquid-trading-bot/) · [Lighter](https://tradingagentstack.com/lighter-trading-bot/) · [Aster](https://tradingagentstack.com/aster-trading-bot/) · [dYdX](https://tradingagentstack.com/dydx-trading-bot/) · [GMX](https://tradingagentstack.com/gmx-trading-bot/) · [Paradex](https://tradingagentstack.com/paradex-trading-bot/) · [Extended](https://tradingagentstack.com/extended-trading-bot/) · [Pacifica](https://tradingagentstack.com/pacifica-trading-bot/)

Facts from edgeX's docs, terms and GitHub, read Oct 30, 2026; news reports are marked. Fees and limits change: confirm on edgeX's site. No referral links. Not financial advice.

## For agents

- [When to use this site, and the page index](https://tradingagentstack.com/llms.txt)
- [Sitemap](https://tradingagentstack.com/sitemap.xml)
- [Contact](https://tradingagentstack.com/contact/)
- [MCP server](https://tradingagentstack.com/mcp/)
- [MCP discovery](https://tradingagentstack.com/.well-known/mcp)
