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

# Create Strategy



## OpenAPI

````yaml post /v1/paper/strategies
openapi: 3.1.0
info:
  title: PolyQuantLab API
  version: 0.1.0
  description: >-
    Sub-second Polymarket orderbook data, walk-the-book backtests, paper
    trading, and the live arb audit. Same endpoints the PolyQuantLab dashboard
    uses internally — Bearer-token auth, JSON-over-HTTPS, predictable
    pagination.
  contact:
    email: contact@polyquantlab.com
    url: https://polyquantlab.com/contact
  license:
    name: Proprietary
servers:
  - url: https://api.polyquantlab.com
    description: Production
security:
  - ApiKeyAuth: []
paths:
  /v1/paper/strategies:
    post:
      tags:
        - paper
      summary: Create Strategy
      operationId: create_strategy_v1_paper_strategies_post
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreatePaperStrategyRequest'
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/CreateStrategyVPaperStrategiesPostResponse
              example:
                paper_strategy_id: ps_4821a0e0
                active: true
                created_at: '2026-06-06T03:54:11+00:00'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    CreatePaperStrategyRequest:
      properties:
        name:
          anyOf:
            - type: string
              maxLength: 128
            - type: 'null'
          title: Name
        strategy_spec:
          additionalProperties: true
          type: object
          title: Strategy Spec
        ticker:
          anyOf:
            - type: string
            - type: 'null'
          title: Ticker
          examples:
            - BTC
            - ETH
            - SOL
        event_type:
          anyOf:
            - type: string
            - type: 'null'
          title: Event Type
          examples:
            - 5m
            - 15m
            - 1h
            - 4h
            - daily_up_down
        size_usd:
          type: number
          maximum: 10000
          minimum: 1
          title: Size Usd
          default: 10
        baseline_backtest_id:
          anyOf:
            - type: string
              maxLength: 64
            - type: 'null'
          title: Baseline Backtest Id
      type: object
      required:
        - strategy_spec
      title: CreatePaperStrategyRequest
    CreateStrategyVPaperStrategiesPostResponse:
      type: object
      properties:
        paper_strategy_id:
          type: string
        active:
          type: boolean
        created_at:
          type: string
          format: date-time
      required:
        - paper_strategy_id
        - active
        - created_at
    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
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key

````