> ## 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 Position Held

> Get held position for a specific connector/trading pair.

Returns the aggregated position from executors stopped with keep_position=True,
including breakeven prices, matched/unmatched volume, realized PnL, and unrealized PnL.



## OpenAPI

````yaml /api-reference/openapi.json get /executors/positions/{connector_name}/{trading_pair}
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/{connector_name}/{trading_pair}:
    get:
      tags:
        - Executors
      summary: Get Position Held
      description: >-
        Get held position for a specific connector/trading pair.


        Returns the aggregated position from executors stopped with
        keep_position=True,

        including breakeven prices, matched/unmatched volume, realized PnL, and
        unrealized PnL.
      operationId: >-
        get_position_held_executors_positions__connector_name___trading_pair__get
      parameters:
        - name: connector_name
          in: path
          required: true
          schema:
            type: string
            title: Connector Name
        - name: trading_pair
          in: path
          required: true
          schema:
            type: string
            title: Trading Pair
        - name: account_name
          in: query
          required: false
          schema:
            type: string
            default: master_account
            title: Account Name
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PositionHoldResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBasic: []
components:
  schemas:
    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.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBasic:
      type: http
      scheme: basic

````