Skip to main content
Glama

get_positions

Retrieve all open trading positions for a specified subaccount, including PnL, mark prices, leverage, and liquidation data. Filter by currency or instrument type as needed.

Instructions

Get all open positions for a subaccount including unrealized PnL, mark price, leverage, and liquidation price. Requires authentication.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
subaccount_idYesSubaccount ID to query positions for
currencyNoFilter by currency (optional)
instrument_typeNoFilter by instrument type

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/solenyaresearch0000/derive-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server