get_positions
Retrieve an authenticated user's Polymarket portfolio positions, including share size, average entry price, and P&L, with filters for market, event, and position size.
Instructions
Retrieve current portfolio positions and quantitative holdings for the authenticated user.
Provides detailed position data including share size, average entry price, and calculated P&L for each held outcome token.
Automatically utilizes the wallet address defined in the POLYMARKET_WALLET_ADDRESS environment variable.
Args: market (Optional[str]): Filter results by a specific market condition ID. event_id (Optional[str]): Filter results by a specific overarching event ID. size_threshold (Optional[float]): The minimum numerical position size required for inclusion in the results. limit (Optional[int]): The maximum number of paginated results to return. offset (Optional[int]): The pagination offset.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| market | No | ||
| offset | No | ||
| event_id | No | ||
| size_threshold | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |