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

# Performance summary with daily P&L and breakdowns

> Returns aggregate performance metrics for closed trades.

Includes:
- Period metrics (win rate, profit factor, Sharpe, max drawdown, streaks)
- Daily P&L array (for calendar heatmap and equity curve)
- Breakdowns by signal type, symbol, and hour-of-day (ET)



## OpenAPI

````yaml /api/openapi.json get /api/graph/v1/performance/summary
openapi: 3.1.0
info:
  title: Sequency Graph API
  description: >

    # Sequency Graph-Native Trading API


    Graph-native API for trading intelligence, built on FalkorDB.


    ## Features


    - **Screener**: Filter stocks using graph-native queries with relationship
    expansion

    - **Stock Detail**: Complete stock context with all relationships

    - **Confluence Scoring**: Setup quality assessment with weighted components

    - **Strategy Matching**: Find matching options strategies via graph
    traversal

    - **Market Context**: Current market-wide context for trading decisions


    ## Data Sources


    All data is sourced from the FalkorDB knowledge graph, populated by:

    - Pattern detector (Go) - Technical indicators, patterns

    - Graph sync service - Levels, volume profiles, news, day classification
  version: 1.0.0
servers: []
security: []
paths:
  /api/graph/v1/performance/summary:
    get:
      tags:
        - Performance
      summary: Performance summary with daily P&L and breakdowns
      description: >-
        Returns aggregate performance metrics for closed trades.


        Includes:

        - Period metrics (win rate, profit factor, Sharpe, max drawdown,
        streaks)

        - Daily P&L array (for calendar heatmap and equity curve)

        - Breakdowns by signal type, symbol, and hour-of-day (ET)
      operationId: get_performance_summary_api_graph_v1_performance_summary_get
      parameters:
        - name: mode
          in: query
          required: false
          schema:
            type: string
            pattern: ^(all|paper|live)$
            description: Filter by trading mode
            default: all
            title: Mode
          description: Filter by trading mode
        - name: start_date
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Start date (ISO format, e.g. 2026-01-01)
            title: Start Date
          description: Start date (ISO format, e.g. 2026-01-01)
        - name: end_date
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: End date (ISO format, e.g. 2026-12-31)
            title: End Date
          description: End date (ISO format, e.g. 2026-12-31)
      responses:
        '200':
          description: Performance summary returned
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: >-
                  Response Get Performance Summary Api Graph V1 Performance
                  Summary Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    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

````