> ## Documentation Index
> Fetch the complete documentation index at: https://condor.hummingbot.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Positions Summary

> Get summary of all held positions from executors stopped with keep_position=True.

Returns aggregate information including:
- Total number of active position holds
- Total realized PnL across all positions
- Total unrealized PnL (when market rates are available)
- List of all positions with breakeven prices and PnL



## OpenAPI

````yaml /api-reference/openapi.json get /executors/positions/summary
openapi: 3.1.0
info:
  title: Hummingbot API
  description: API for managing Hummingbot trading instances
  version: 1.0.1
servers:
  - url: http://localhost:8000
    description: Local development server
security: []
paths:
  /executors/positions/summary:
    get:
      tags:
        - Executors
      summary: Get Positions Summary
      description: >-
        Get summary of all held positions from executors stopped with
        keep_position=True.


        Returns aggregate information including:

        - Total number of active position holds

        - Total realized PnL across all positions

        - Total unrealized PnL (when market rates are available)

        - List of all positions with breakeven prices and PnL
      operationId: get_positions_summary_executors_positions_summary_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PositionsSummaryResponse'
      security:
        - HTTPBasic: []
components:
  schemas:
    PositionsSummaryResponse:
      properties:
        total_positions:
          type: integer
          title: Total Positions
          description: Number of active position holds
        total_realized_pnl:
          type: number
          title: Total Realized Pnl
          description: Total realized PnL across all positions
        total_unrealized_pnl:
          anyOf:
            - type: number
            - type: 'null'
          title: Total Unrealized Pnl
          description: Total unrealized PnL (None if no rates available)
        positions:
          items:
            $ref: '#/components/schemas/PositionHoldResponse'
          type: array
          title: Positions
          description: List of position holds
      type: object
      required:
        - total_positions
        - total_realized_pnl
        - positions
      title: PositionsSummaryResponse
      description: Summary of all held positions.
    PositionHoldResponse:
      properties:
        trading_pair:
          type: string
          title: Trading Pair
        connector_name:
          type: string
          title: Connector Name
        account_name:
          type: string
          title: Account Name
        buy_amount_base:
          type: number
          title: Buy Amount Base
        buy_amount_quote:
          type: number
          title: Buy Amount Quote
        sell_amount_base:
          type: number
          title: Sell Amount Base
        sell_amount_quote:
          type: number
          title: Sell Amount Quote
        net_amount_base:
          type: number
          title: Net Amount Base
        buy_breakeven_price:
          anyOf:
            - type: number
            - type: 'null'
          title: Buy Breakeven Price
        sell_breakeven_price:
          anyOf:
            - type: number
            - type: 'null'
          title: Sell Breakeven Price
        matched_amount_base:
          type: number
          title: Matched Amount Base
        unmatched_amount_base:
          type: number
          title: Unmatched Amount Base
        position_side:
          anyOf:
            - type: string
            - type: 'null'
          title: Position Side
        realized_pnl_quote:
          type: number
          title: Realized Pnl Quote
        unrealized_pnl_quote:
          anyOf:
            - type: number
            - type: 'null'
          title: Unrealized Pnl Quote
        executor_count:
          type: integer
          title: Executor Count
        executor_ids:
          items:
            type: string
          type: array
          title: Executor Ids
        last_updated:
          anyOf:
            - type: string
            - type: 'null'
          title: Last Updated
      type: object
      required:
        - trading_pair
        - connector_name
        - account_name
        - buy_amount_base
        - buy_amount_quote
        - sell_amount_base
        - sell_amount_quote
        - net_amount_base
        - buy_breakeven_price
        - sell_breakeven_price
        - matched_amount_base
        - unmatched_amount_base
        - position_side
        - realized_pnl_quote
        - executor_count
        - executor_ids
        - last_updated
      title: PositionHoldResponse
      description: API response model for PositionHold.
  securitySchemes:
    HTTPBasic:
      type: http
      scheme: basic

````