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

# Validate entry conditions

> Validate entry conditions for a potential trade.

## Validation Checks

1. **Timing window**: Is current time within acceptable entry windows?
2. **Day type compatibility**: Does trigger type align with day classification?
3. **Entry rules**: Are all pre-entry systematic checks satisfied?

## Response

- **is_valid**: Whether entry is recommended
- **timing_modifier**: Position size modifier (0.0-1.0)
- **day_type_compatible**: Whether trigger aligns with day type
- **validation_messages**: Specific warnings or blockers

## Performance Target

<100ms response time.



## OpenAPI

````yaml /api/openapi.json get /api/graph/v1/entry/validate
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/entry/validate:
    get:
      tags:
        - Entry Signals
      summary: Validate entry conditions
      description: >-
        Validate entry conditions for a potential trade.


        ## Validation Checks


        1. **Timing window**: Is current time within acceptable entry windows?

        2. **Day type compatibility**: Does trigger type align with day
        classification?

        3. **Entry rules**: Are all pre-entry systematic checks satisfied?


        ## Response


        - **is_valid**: Whether entry is recommended

        - **timing_modifier**: Position size modifier (0.0-1.0)

        - **day_type_compatible**: Whether trigger aligns with day type

        - **validation_messages**: Specific warnings or blockers


        ## Performance Target


        <100ms response time.
      operationId: validate_entry_conditions_api_graph_v1_entry_validate_get
      parameters:
        - name: symbol
          in: query
          required: true
          schema:
            type: string
            description: Stock symbol (e.g., 'AAPL')
            title: Symbol
          description: Stock symbol (e.g., 'AAPL')
        - name: trigger_type
          in: query
          required: true
          schema:
            type: string
            description: >-
              Entry trigger type (e.g., 'breakout_confirmation',
              'pullback_to_level')
            title: Trigger Type
          description: >-
            Entry trigger type (e.g., 'breakout_confirmation',
            'pullback_to_level')
        - name: day_type
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Day type override (e.g., 'trending', 'rotational')
            title: Day Type
          description: Day type override (e.g., 'trending', 'rotational')
      responses:
        '200':
          description: Validation result
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EntryValidationResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    EntryValidationResponse:
      properties:
        symbol:
          type: string
          title: Symbol
        trigger_type:
          type: string
          title: Trigger Type
        is_valid:
          type: boolean
          title: Is Valid
        timing_modifier:
          type: number
          title: Timing Modifier
        day_type_compatible:
          type: boolean
          title: Day Type Compatible
        validation_messages:
          items:
            type: string
          type: array
          title: Validation Messages
      type: object
      required:
        - symbol
        - trigger_type
        - is_valid
        - timing_modifier
        - day_type_compatible
      title: EntryValidationResponse
      description: Response from entry validation.
    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

````