# Trading With GMX V2

## Trading Infrastructure & GMX V2

Cod3x executes all perpetual trades **directly on GMX V2**.\
Every long or short your agent opens, every limit order, every liquidation—\
all of it ultimately settles on GMX V2 smart contracts.

> **Why it matters**\
> Understanding GMX’s mechanics helps you anticipate funding fees, slippage, and pool dynamics. The Cod3x terminal simplifies execution, but the underlying rules remain GMX’s.

***

<figure><img src="https://2516265397-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJHPweZaUGqPeoTwjADbq%2Fuploads%2F3HyeXidMxrXuXkcpvbUi%2Fgmaxasf.png?alt=media&#x26;token=ec927c30-fd97-40ae-9fa2-b86c88db5981" alt=""><figcaption></figcaption></figure>

Make sure to select GMX as your preferred exchange in the tools section in order to trade on GMX.

***

### What You Should Know

Even though Cod3x abstracts away on-chain complexity, your trades inherit GMX V2’s:

* **Funding & Borrow Fees** – The cost of holding leveraged positions.
* **Liquidity Pool Mechanics** – Orders fill against GMX pool liquidity, not an order book.
* **Price Impact & Slippage** – Pool depth and market volatility affect final fills.
* **Liquidation Rules** – Positions can be liquidated if collateral ratios drop below GMX thresholds.
* **Execution Timing** – Transactions are confirmed on-chain; network congestion can affect speed.

***

### Learn the GMX V2 Details

For a deep dive into fee schedules, pool-based perpetuals,\
and all other protocol mechanics, start here:

👉 [GMX V2 Documentation](https://docs.gmx.io/docs/trading/v2)

This is the authoritative reference on:

* Fee structure and funding rates
* Market creation and price feeds
* Slippage, oracles, and risk parameters
* Position management and liquidations

***

**Bottom line**\
Cod3x gives you a streamlined AI trading experience,\
but **your trades still follow GMX V2 rules**.\
Reading the GMX V2 docs ensures you know exactly how costs, risks, and execution work behind the scenes.
