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

# Release Daily Loss Halt

> Operator-only same-day release of a user's daily-loss latch (§4.3 / §9).

Clears today's active daily_loss_halt row so the user can trade again this
session. Both order paths gate on the DB latch row (Go via IsDailyLossLatched,
Python via is_daily_loss_latched), so clearing the row IS the unblock — no Go
in-mem halt is involved (the daily-loss feature never sets SetUserHalted, so we
must NOT DELETE it here and risk lifting an unrelated manual halt). Auto
next-session release is free (a new session_date has no row). A user cannot
self-release their own daily-loss circuit breaker; this is an operator action
only (the admin router requires the admin_panel entitlement). If the user
breaches again this session the monitor re-arms the latch + re-flattens.



## OpenAPI

````yaml /api/openapi.json post /api/graph/v1/admin/daily-loss-halt/{user_id}/release
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/admin/daily-loss-halt/{user_id}/release:
    post:
      tags:
        - Admin
      summary: Release Daily Loss Halt
      description: >-
        Operator-only same-day release of a user's daily-loss latch (§4.3 / §9).


        Clears today's active daily_loss_halt row so the user can trade again
        this

        session. Both order paths gate on the DB latch row (Go via
        IsDailyLossLatched,

        Python via is_daily_loss_latched), so clearing the row IS the unblock —
        no Go

        in-mem halt is involved (the daily-loss feature never sets
        SetUserHalted, so we

        must NOT DELETE it here and risk lifting an unrelated manual halt). Auto

        next-session release is free (a new session_date has no row). A user
        cannot

        self-release their own daily-loss circuit breaker; this is an operator
        action

        only (the admin router requires the admin_panel entitlement). If the
        user

        breaches again this session the monitor re-arms the latch + re-flattens.
      operationId: >-
        release_daily_loss_halt_api_graph_v1_admin_daily_loss_halt__user_id__release_post
      parameters:
        - name: user_id
          in: path
          required: true
          schema:
            type: string
            title: User Id
      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

````