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

# Dealer heatmap full-matrix live frame (Pro+, ETag)



## OpenAPI

````yaml https://api.yehangshe.com/v1/openapi.json get /v1/derived/heatmap/{ticker}/live
openapi: 3.1.0
info:
  title: GEX Heatmap Data API
  version: 0.4.0-operation-ids
  description: >-
    Dealer MVP scope. 数据集端点 paths 由 dataset registry 派生；Dealer GEX / Heatmap
    数据集随 P2 注册后自动出现。
servers:
  - url: https://api.yehangshe.com
    description: production
security: []
paths:
  /v1/derived/heatmap/{ticker}/live:
    get:
      summary: Dealer heatmap full-matrix live frame (Pro+, ETag)
      operationId: derived.dealer_heatmap_live
      parameters:
        - name: ticker
          in: path
          required: true
          schema:
            type: string
            pattern: ^[A-Z]{1,5}$
        - name: metric
          in: query
          required: false
          schema:
            type: string
            enum:
              - gex
              - vex
        - name: If-None-Match
          in: header
          required: false
          schema:
            type: string
      responses:
        '200':
          description: object payload
          content:
            application/json:
              schema:
                type: object
                additionalProperties: false
                required:
                  - data
                  - _meta
                properties:
                  data:
                    type: object
                    additionalProperties: false
                    required:
                      - ticker
                      - metric
                      - session_date_et
                      - spot_usd
                      - expirations
                      - strikes_usd
                      - net_usd
                      - generated_at
                      - source_at
                    properties:
                      ticker:
                        type: string
                      metric:
                        type: string
                        enum:
                          - gex
                          - vex
                      session_date_et:
                        type: string
                        format: date
                      spot_usd:
                        type:
                          - number
                          - 'null'
                      expirations:
                        type: array
                        items:
                          type: string
                          format: date
                      strikes_usd:
                        type: array
                        description: >-
                          strikes_usd[i] is the ascending strike list of
                          expirations[i] (ragged; only strikes with a value).
                        items:
                          type: array
                          items:
                            type: number
                      net_usd:
                        type: array
                        description: >-
                          net_usd[i][j] is the value at expirations[i] x
                          strikes_usd[i][j]; cells without a value are omitted.
                        items:
                          type: array
                          items:
                            type: number
                      generated_at:
                        type: string
                        format: date-time
                      source_at:
                        type:
                          - string
                          - 'null'
                        format: date-time
                  _meta:
                    $ref: '#/components/schemas/ResponseMeta'
        '304':
          description: >-
            If-None-Match matched the current representation; no body, consumes
            no quota
          headers:
            ETag:
              schema:
                type: string
        '400':
          $ref: '#/components/responses/ValidationError'
        '401':
          $ref: '#/components/responses/AuthenticationError'
        '402':
          $ref: '#/components/responses/SubscriptionPaused'
        '403':
          $ref: '#/components/responses/ScopeInsufficient'
        '429':
          $ref: '#/components/responses/RateLimited'
      security:
        - bearerAuth: []
components:
  schemas:
    ResponseMeta:
      type: object
      additionalProperties: false
      required:
        - request_id
        - cache_hit
        - data_freshness_seconds
        - truncated
      properties:
        request_id:
          type:
            - string
            - 'null'
        cache_hit:
          type: boolean
        data_freshness_seconds:
          type:
            - integer
            - 'null'
          minimum: 0
        truncated:
          const: false
        notice:
          type: string
        rate_limit_remaining:
          type: integer
          minimum: 0
        quota_remaining_pct:
          type: number
          minimum: 0
          maximum: 100
        data_source:
          type: string
          enum:
            - internal
    ErrorEnvelope:
      type: object
      additionalProperties: false
      required:
        - error
      properties:
        error:
          type: object
          required:
            - code
            - tags
            - message
            - docs_url
            - request_id
          properties:
            code:
              type: string
            tags:
              type: array
              items:
                type: string
            message:
              type: string
            docs_url:
              type: string
              format: uri
            request_id:
              type:
                - string
                - 'null'
            hint:
              type: string
  responses:
    ValidationError:
      description: validation error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
    AuthenticationError:
      description: authentication error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
    SubscriptionPaused:
      description: subscription paused
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
    ScopeInsufficient:
      description: scope insufficient, dataset access not enabled, or plan tier required
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
    RateLimited:
      description: rate limited or quota exhausted
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API key

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.