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

# Start Forward Test

> Start a paper trading session for forward-testing a strategy.

Creates a session record, validates the strategy and credentials,
optionally evaluates promotion gates (informational only), and
launches the live signal-loop.



## OpenAPI

````yaml /api/openapi.json post /api/graph/v1/backtest/v2/forward-test
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/backtest/v2/forward-test:
    post:
      tags:
        - backtest-v2
      summary: Start Forward Test
      description: |-
        Start a paper trading session for forward-testing a strategy.

        Creates a session record, validates the strategy and credentials,
        optionally evaluates promotion gates (informational only), and
        launches the live signal-loop.
      operationId: start_forward_test_api_graph_v1_backtest_v2_forward_test_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ForwardTestRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ForwardTestRequest:
      properties:
        strategy_id:
          type: string
          title: Strategy Id
        symbols:
          items:
            type: string
          type: array
          maxItems: 50
          minItems: 1
          title: Symbols
        backtest_run_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Backtest Run Id
        stop_atr:
          type: number
          title: Stop Atr
          default: 1.5
        target_atr:
          type: number
          title: Target Atr
          default: 2.5
        time_stop:
          type: string
          title: Time Stop
          default: '15:45'
        initial_capital:
          type: number
          title: Initial Capital
          default: 100000
        max_positions:
          type: integer
          title: Max Positions
          default: 5
      type: object
      required:
        - strategy_id
        - symbols
      title: ForwardTestRequest
    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

````