Delta Exchange MCP
Tool Reference

Account

Account tools for positions, balances, fills, orders, exports, and profile. A Read Data API key is required.

All tools on this page need a Read Data API key (see Authentication). They are read-only; none can place, modify, or cancel orders or move funds. Fills/orders/wallet timestamps are microseconds (*_us); paginated tools return a meta.after cursor.

get_positions

Open position(s), lightweight. Returns entry_price and size only.

Auth: Read Data key

ParamTypeRequiredNotes
product_idintnosingle product id
underlying_asset_symbolstringnoe.g. BTC; returns all positions under it

Pass exactly one of the two. For unrealized_pnl, margin, mark_price, liquidation_price and other analytics, use get_margined_positions.

Do I have an open BTC position? Show entry price and size.

get_margined_positions

All open margined positions with analytics. The tool to use for risk and P&L.

Auth: Read Data key

ParamTypeRequiredNotes
contract_typesstring[]nosubset of perpetual_futures, call_options, put_options
product_idsint[]nomax 10 product ids

size is signed (positive = long, negative = short). For notional exposure use abs(size) * contract_value * index_price. Use index_price, not mark_price (an option's mark is its premium). The tool also patches unrealized_pnl for short options client-side, since the upstream API returns the unsigned premium value.

Across all my open positions, show unrealised PnL, margin used, and approximate
distance to liquidation. Rank by risk.

get_product_leverage

The order leverage configured for a product on your account.

Auth: Read Data key

ParamTypeRequiredNotes
product_idintyesproduct id to fetch leverage for
What leverage am I set to on BTCUSD?

get_wallet_balances

Balances across all assets.

Auth: Read Data key

No parameters.

Fields: asset_symbol, balance, available_balance, position_margin, strategy_blocked_amount. strategy_blocked_amount is collateral reserved by an active Algo Marketplace strategy; normal, not an anomaly.

Show my wallet balances and how much is available vs locked in margin.

get_wallet_transactions

Wallet transaction history. Paginated. Timestamps are microseconds. Without start_time_us, only the last ~90 days are returned (the response carries a notice field); pass it to reach older history.

Auth: Read Data key

ParamTypeRequiredNotes
transaction_typesstring[]noe.g. deposit, withdrawal, funding, settlement, commission
asset_idsint[]nofilter by asset
start_time_usintnomicroseconds epoch
end_time_usintnomicroseconds epoch
page_sizeintnodefault 50, max 200
after / beforestringnopagination cursors
Group my wallet transactions for the last 30 days by type and show net change
per asset.

get_fills

Your executed trades (fills). Paginated. Timestamps are microseconds. Without start_time_us, only the last ~90 days are returned; pass it to reach older fills.

Auth: Read Data key

ParamTypeRequiredNotes
product_idsint[]nofilter by product
contract_typesstring[]nofilter by contract type
start_time_usintnomicroseconds epoch
end_time_usintnomicroseconds epoch
page_sizeintnodefault 50, max 200
afterstringnopagination cursor
List my fills for the last 7 days grouped by symbol with realised PnL.

bulk_fills_export

Bulk-export your full fills history to a CSV file on disk: for tax, accounting, or backtesting without dozens of paginated calls.

Auth: Read Data key

ParamTypeRequiredNotes
output_pathstringyesmust be inside the current working directory or your home directory; ~ expands
product_idsint[]nofilter by product
contract_typesstring[]nofilter by contract type
start_time_usintnomicroseconds epoch
end_time_usintnomicroseconds epoch

Returns {path, row_count, size_bytes}. Without start_time_us, the export covers only the last ~90 days; for a full tax-year export, pass an explicit start (and usually end) time.

Export all my fills from 1 Jan 2026 to today to ~/delta-fills-2026.csv.

get_order_history

Closed / cancelled orders, filterable and paginated. Timestamps are microseconds.

Auth: Read Data key

ParamTypeRequiredNotes
product_idsint[]nofilter by product
contract_typesstring[]nofilter by contract type
order_typesstring[]nomarket, limit, stop_market, stop_limit, all_stop
start_time_usintnomicroseconds epoch
end_time_usintnomicroseconds epoch
page_sizeintnodefault 50, max 200
afterstringnopagination cursor
Show my cancelled and filled orders on ETHUSD over the last week.

get_open_orders

Current open / pending orders. Paginated.

Auth: Read Data key

ParamTypeRequiredNotes
statesstring[]nosubset of open, pending
product_idsint[]nomax 10 product ids
contract_typesstring[]nofilter by contract type
page_sizeintnodefault 50, max 200
afterstringnopagination cursor
What open orders do I have right now, and at what prices?

get_order_by_id

Fetch a single order by id or client order id.

Auth: Read Data key

ParamTypeRequiredNotes
order_idintnoDelta-assigned order id
client_order_idstringnoyour client order id, if set

Provide exactly one.

Look up order 123456789 and show its status and fills.

get_profile

Your account profile.

Auth: Read Data key

No parameters.

Show my Delta account profile.

get_trading_preferences

Your trading preferences: margin mode, notifications, and similar settings.

Auth: Read Data key

No parameters.

What's my current margin mode and trading preferences?

get_trading_stats

Account-level trading volume and statistics.

Auth: Read Data key

No parameters.

Show my trading volume and stats for this account.

On this page