> ## 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.

# Get Factor Health

> One factor's IC/RankIC health over a window (spec §5).

Per-session IC and RankIC against the pinned ``LabelDefinitionV1`` label —
next exchange session open→close, benchmark-excess vs SPY — each carrying its
breadth ``n_t``, plus rolling and full-window aggregates. Undefined sessions
(breadth < 2, constant factor, constant label) report ``null`` with a reason,
never 0.0. Every response carries its ``evidence_tier``.

There is deliberately **no** ``membership_mode`` parameter: see
:func:`_factor_health_membership_mode`.



## OpenAPI

````yaml /api/openapi.json get /api/graph/v1/discovery/factor-health/{factor_name}
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/discovery/factor-health/{factor_name}:
    get:
      tags:
        - discovery
      summary: Get Factor Health
      description: >-
        One factor's IC/RankIC health over a window (spec §5).


        Per-session IC and RankIC against the pinned ``LabelDefinitionV1`` label
        —

        next exchange session open→close, benchmark-excess vs SPY — each
        carrying its

        breadth ``n_t``, plus rolling and full-window aggregates. Undefined
        sessions

        (breadth < 2, constant factor, constant label) report ``null`` with a
        reason,

        never 0.0. Every response carries its ``evidence_tier``.


        There is deliberately **no** ``membership_mode`` parameter: see

        :func:`_factor_health_membership_mode`.
      operationId: get_factor_health_api_graph_v1_discovery_factor_health__factor_name__get
      parameters:
        - name: factor_name
          in: path
          required: true
          schema:
            type: string
            title: Factor Name
        - name: symbols
          in: query
          required: true
          schema:
            type: string
            title: Symbols
        - name: date_from
          in: query
          required: true
          schema:
            type: string
            format: date
            title: Date From
        - name: date_to
          in: query
          required: true
          schema:
            type: string
            format: date
            title: Date To
        - name: rolling_window
          in: query
          required: false
          schema:
            type: integer
            default: 60
            title: Rolling Window
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '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

````