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

# Dealer GEX positioning with trend

> Returns the latest GEX positioning snapshot for the given symbol (default SPY).

Includes:
- Current GEX regime, gamma flip strike, proximity, vanna/charm
- Extracted curve levels (call wall, put wall, support) from gex_curve JSON
- 3-session trend analysis with regime stability indicator



## OpenAPI

````yaml /api/openapi.json get /api/graph/v1/market/positioning
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/market/positioning:
    get:
      tags:
        - Market Live
      summary: Dealer GEX positioning with trend
      description: >-
        Returns the latest GEX positioning snapshot for the given symbol
        (default SPY).


        Includes:

        - Current GEX regime, gamma flip strike, proximity, vanna/charm

        - Extracted curve levels (call wall, put wall, support) from gex_curve
        JSON

        - 3-session trend analysis with regime stability indicator
      operationId: get_positioning_api_graph_v1_market_positioning_get
      parameters:
        - name: symbol
          in: query
          required: false
          schema:
            type: string
            description: Symbol to query
            default: SPY
            title: Symbol
          description: Symbol to query
      responses:
        '200':
          description: GEX positioning data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PositioningResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
        '504':
          description: ClickHouse query timeout
components:
  schemas:
    PositioningResponse:
      properties:
        symbol:
          type: string
          title: Symbol
        time:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Time
        gex_regime:
          anyOf:
            - type: string
            - type: 'null'
          title: Gex Regime
        gamma_flip_strike:
          anyOf:
            - type: number
            - type: 'null'
          title: Gamma Flip Strike
        gex_proximity:
          anyOf:
            - type: number
            - type: 'null'
          title: Gex Proximity
        total_gex:
          anyOf:
            - type: number
            - type: 'null'
          title: Total Gex
        max_pos_gamma_strike:
          anyOf:
            - type: number
            - type: 'null'
          title: Max Pos Gamma Strike
        net_vanna:
          anyOf:
            - type: number
            - type: 'null'
          title: Net Vanna
        net_charm:
          anyOf:
            - type: number
            - type: 'null'
          title: Net Charm
        vanna_flip_strike:
          anyOf:
            - type: number
            - type: 'null'
          title: Vanna Flip Strike
        spot_price:
          anyOf:
            - type: number
            - type: 'null'
          title: Spot Price
        daily_exp_move:
          anyOf:
            - type: number
            - type: 'null'
          title: Daily Exp Move
        total_gex_0dte:
          anyOf:
            - type: number
            - type: 'null'
          title: Total Gex 0Dte
        total_gex_monthly:
          anyOf:
            - type: number
            - type: 'null'
          title: Total Gex Monthly
        gex_regime_0dte:
          anyOf:
            - type: string
            - type: 'null'
          title: Gex Regime 0Dte
        gex_regime_monthly:
          anyOf:
            - type: string
            - type: 'null'
          title: Gex Regime Monthly
        curve_levels:
          items:
            $ref: '#/components/schemas/GEXCurveLevel'
          type: array
          title: Curve Levels
          default: []
        gex_curve_points:
          items:
            $ref: '#/components/schemas/GEXCurvePoint'
          type: array
          title: Gex Curve Points
          default: []
        trend:
          items:
            $ref: '#/components/schemas/GEXSessionSnapshot'
          type: array
          title: Trend
          default: []
        regime_stable:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Regime Stable
        historical_context:
          items:
            $ref: '#/components/schemas/HistoricalContext'
          type: array
          title: Historical Context
          default: []
      type: object
      required:
        - symbol
      title: PositioningResponse
      description: Dealer GEX positioning summary with trend.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    GEXCurveLevel:
      properties:
        strike:
          type: number
          title: Strike
        type:
          type: string
          title: Type
      type: object
      required:
        - strike
        - type
      title: GEXCurveLevel
      description: Extracted level from the GEX curve.
    GEXCurvePoint:
      properties:
        strike:
          type: number
          title: Strike
        net_gex:
          type: number
          title: Net Gex
      type: object
      required:
        - strike
        - net_gex
      title: GEXCurvePoint
      description: Single point on the GEX curve for sparkline rendering.
    GEXSessionSnapshot:
      properties:
        date:
          type: string
          title: Date
        gex_regime:
          type: string
          title: Gex Regime
        total_gex:
          type: number
          title: Total Gex
      type: object
      required:
        - date
        - gex_regime
        - total_gex
      title: GEXSessionSnapshot
      description: Single session's GEX regime for trend analysis.
    HistoricalContext:
      properties:
        condition_key:
          type: string
          title: Condition Key
        display_text:
          type: string
          title: Display Text
        sample_size:
          type: integer
          title: Sample Size
        hit_rate:
          type: number
          title: Hit Rate
        avg_return:
          type: number
          title: Avg Return
        confidence_tier:
          type: string
          title: Confidence Tier
        horizon:
          type: string
          title: Horizon
      type: object
      required:
        - condition_key
        - display_text
        - sample_size
        - hit_rate
        - avg_return
        - confidence_tier
        - horizon
      title: HistoricalContext
      description: Pre-computed conditional stat for a dashboard signal.
    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

````