> ## Documentation Index
> Fetch the complete documentation index at: https://docs.0xmonaco.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List a lead trader's closed trades

> List a lead trader's closed trades.

 The leader's reducing executions (partial and full closes, liquidations
 and auto-deleveraging), newest first.



## OpenAPI

````yaml /proto-openapi/api/openapi.yaml get /api/v1/copy-trading/leaders/{leader}/closed-trades
openapi: 3.0.3
info:
  title: Monaco Protocol API
  description: REST API for the Monaco Protocol hybrid CLOB exchange.
  version: 1.0.0
servers:
  - url: https://staging.apimonaco.xyz
    description: Staging server (Testnet)
security: []
tags:
  - name: AccountsService
  - name: ApplicationsService
  - name: AuthService
  - name: BuildercodeRewardsService
  - name: CopyTradingService
  - name: DelegatedAgentsService
  - name: FaucetService
  - name: FeesService
  - name: HealthService
  - name: ManagedMarketsService
    description: |-
      Wallet-authenticated maker assignments. The signed session must match both
       configured maker user and application. Owner IDs are process fences, never auth.
       Only wallet sessions are supported; delegated-agent sessions receive 403.
  - name: MarginAccountsService
    description: |-
      Current public isolated-margin semantics:
       - a user has one parent margin account per application scope
       - opening orders create or reuse isolated position buckets under that parent
       - parent account creation is handled internally by margin workflows
  - name: MarketService
  - name: OrderbookService
  - name: OrdersService
  - name: PositionsService
    description: |-
      Current public isolated-margin semantics:
       - positions link to a parent margin account and, when applicable, a bucket id
       - opening orders create or reuse isolated position buckets under the parent
       - users can open another isolated position by reusing the parent account with a different market bucket
  - name: PulseService
  - name: SweeperService
  - name: TraderCodeService
  - name: TradesService
  - name: WhitelistService
  - name: WithdrawalsService
paths:
  /api/v1/copy-trading/leaders/{leader}/closed-trades:
    get:
      tags:
        - CopyTradingService
        - Copy Trading
      summary: List a lead trader's closed trades
      description: |-
        List a lead trader's closed trades.

         The leader's reducing executions (partial and full closes, liquidations
         and auto-deleveraging), newest first.
      operationId: list_lead_trader_closed_trades
      parameters:
        - name: leader
          in: path
          required: true
          schema:
            type: string
        - name: pageSize
          in: query
          schema:
            type: integer
            format: uint32
            minimum: 1
            maximum: 100
            default: 20
          description: Items per page (max 100)
        - name: pageToken
          in: query
          description: >-
            Opaque cursor from a previous response's `nextPageToken`; omit for
            the
             first page.
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListLeadTraderClosedTradesResponse'
        '400':
          description: Invalid query parameters or page token
        '404':
          description: Lead trader not found
        '500':
          description: Internal server error
components:
  schemas:
    ListLeadTraderClosedTradesResponse:
      type: object
      properties:
        closedTrades:
          type: array
          items:
            $ref: '#/components/schemas/ClosedTrade'
          nullable: true
        nextPageToken:
          type: string
          description: Cursor for the next page; empty when there are no more.
          nullable: true
    ClosedTrade:
      type: object
      properties:
        tradingPairId:
          type: string
          description: Trading pair UUID
          format: uuid
          nullable: true
        positionSide:
          type: string
          description: LONG or SHORT; empty on legacy rows
          nullable: true
        action:
          example: CLOSE
          type: string
          description: DECREASE, CLOSE, LIQUIDATE or ADL
          nullable: true
        size:
          type: string
          description: Closed size in base units
          nullable: true
        exitPrice:
          type: string
          description: Execution price
          nullable: true
        entryPrice:
          type: string
          description: Average entry price of the position at the close
          nullable: true
        realizedPnl:
          type: string
          description: Gross realized PnL of the execution, in quote units
          nullable: true
        netRealizedPnl:
          type: string
          description: Realized PnL net of the execution's fees and funding, in quote units
          nullable: true
        realizedRoe:
          type: string
          description: >-
            Net realized PnL as a percentage of the initial margin released by
            the execution
          nullable: true
        closedAt:
          type: string
          description: Execution time (RFC 3339)
          nullable: true

````