Skip to main content
Ember provides comprehensive support for perpetual futures trading through GMX, enabling users to take leveraged positions on various cryptocurrency assets without expiration dates. Perpetual contracts are derivative instruments that track the price of underlying assets while allowing traders to use leverage to amplify their exposure. Key capabilities include:
  • Open long positions to profit from price increases
  • Create short positions to benefit from price declines
  • Access leveraged trading across multiple perpetual markets
  • Monitor and manage existing positions with real-time PnL tracking
  • Cancel pending orders and close positions as needed
  • Discover available perpetual markets and trading opportunities

MCP Tools

You can use Ember’s MCP Explorer to interact with the available Perpetulas Trading tools.

getPerpetualsMarkets:

Discover available perpetual futures markets across multiple protocols and chains with trading details, liquidity, and leverage options.

possiblePerpetualLongPositions:

Discover available leveraged long position opportunities based on user wallet balances and supported perpetual markets. Shows available trading pairs, collateral options, and market conditions across DeFi protocols.

createPerpetualLongPosition:

Open a leveraged long position in perpetual futures markets. Bet on price increases with customizable leverage, limit orders, and collateral management across major DeFi protocols like GMX.

possiblePerpetualShortPositions:

Discover available leveraged short position opportunities based on user wallet balances and supported perpetual markets. Shows available shorting pairs, collateral requirements, and borrowing costs across DeFi protocols.

createPerpetualShortPosition:

Open a leveraged short position in perpetual futures markets. Profit from price declines with customizable leverage, stop-loss orders, and collateral management across major DeFi protocols like GMX.

possibleClosePerpetualsOrders:

Discover existing perpetual positions and pending orders that can be closed or cancelled. Shows current positions with unrealized P&L, pending orders with prices, and available exit strategies across DeFi protocols.

createClosePerpetualsOrders:

Close existing perpetual futures positions and cancel pending orders. Manage risk by exiting positions at market prices or using limit orders with customizable slippage protection and partial position sizing.

getPerpetualsPositions:

Get a comprehensive overview of the wallet’s active perpetual futures positions, including size, PnL, leverage, and liquidation prices across all protocols.

getPerpetualsOrders:

Get a detailed overview of the wallet’s pending perpetual futures orders, including limit orders, stop losses, and take profits across all protocols.
I