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

# ERX 갭

<ResponseExample>
  ```json Response (200 OK) theme={null}
  {}
  ```

  ```json Response (401 Unauthorized) theme={null}
  {
    "ok": false,
    "errors": [
      {
        "code": "auth_failed",
        "id": "unauthorized",
        "value": "유효하지 않거나 누락된 인증 토큰입니다"
      }
    ]
  }
  ```

  ```json Response (404 Not Found) theme={null}
  {
    "ok": false,
    "errors": [
      {
        "code": "no_data_found",
        "id": "not_found",
        "value": "지정된 파라미터에 대한 데이터를 찾을 수 없습니다"
      }
    ]
  }
  ```

  ```json Response (500 Internal Server Error) theme={null}
  {
    "ok": false,
    "errors": [
      {
        "code": "internal_server_error",
        "id": "server_error",
        "value": "요청을 처리하던 중 예기치 않은 오류가 발생했습니다"
      }
    ]
  }
  ```
</ResponseExample>


## OpenAPI

````yaml ko/openapi/calendar-api.spec.yml GET /api/v1/erx-gaps
openapi: 3.0.0
info:
  contact: {}
  description: >-
    تُعيد واجهة برمجة تطبيقات REST هذه بيانات مُنظَّمة لمكالمات المؤتمرات
    الهاتفية (conference calls)، وتوزيعات الأرباح (dividends)، والأرباح (بما في
    ذلك تواريخ الأرباح المستقبلية)، والبيانات الاقتصادية، وإعلانات شركات
    الأدوية، والتوجيّهات المستقبلية للشركات (guidance)، والاكتتابات العامة
    الأولية (IPOs)، والعروض الثانوية، والتقييمات (ratings)، وأنشطة الاندماجات
    والاستحواذات (M&A)، وتجزيئة الأسهم (splits).
  termsOfService: http://swagger.io/terms/
  title: Calendar API
  version: 2.1.0
servers:
  - url: https://api.benzinga.com
    description: PROD
security: []
paths:
  /api/v1/erx-gaps:
    get:
      tags:
        - ERx Gaps
      summary: فجوات ERx
      description: >-
        يُرجِع بيانات فجوات تفاعل السعر مع الأرباح، والتي ترصد فجوات الأسعار
        الكبيرة التي تلي إعلانات الأرباح
      operationId: get-erx-gaps
      parameters:
        - description: >-
            إزاحة الصفحة. لأسباب تتعلق بالتحسين والأداء والجوانب التقنية، يتم
            تقييد إزاحات الصفحات بين 0 و100000. قيِّد نتائج الاستعلام باستخدام
            معاملات أخرى مثل التاريخ. القيمة الافتراضية هي 0
          in: query
          name: page
          schema:
            type: integer
            default: 0
        - description: عدد النتائج المُعادة. الحد الأقصى 1000
          in: query
          name: pageSize
          schema:
            type: integer
            default: 100
        - description: >-
            تاريخ الاستعلام عن بيانات calendar. يُستخدم كاختصار لـ date_from و
            date_to إذا كانتا متطابقتين. الإعداد الافتراضي هو آخر تاريخ متاح
          in: query
          name: parameters[date]
          schema:
            type: string
            format: date
        - description: تاريخ البدء بتنسيق YYYY-MM-DD
          in: query
          name: parameters[date_from]
          schema:
            type: string
            format: date
        - description: تاريخ الانتهاء بالتنسيق YYYY-MM-DD
          in: query
          name: parameters[date_to]
          schema:
            type: string
            format: date
        - description: >-
            الطابع الزمني (Unix) لآخر مرة كانت السجلات محدَّثة فيها (بتوقيت
            UTC). سيؤدي ذلك إلى فرض ترتيب فرز تكون فيه القيم أكبر من أو تساوي
            الطابع الزمني المُشار إليه
          in: query
          name: updated
          schema:
            type: integer
      responses:
        '200':
          description: فجوات ERx
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/calendarapi.ErxGaps'
            text/xml:
              schema:
                $ref: '#/components/schemas/calendarapi.ErxGaps'
        '400':
          description: طلب غير صحيح
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/api.ErrorResponse'
            text/xml:
              schema:
                $ref: '#/components/schemas/api.ErrorResponse'
        '500':
          description: خطأ داخلي في الخادم
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/api.ErrorResponse'
            text/xml:
              schema:
                $ref: '#/components/schemas/api.ErrorResponse'
      security:
        - ApiKeyAuth: []
components:
  schemas:
    calendarapi.ErxGaps:
      properties:
        closing_range_alerts:
          items:
            $ref: '#/components/schemas/calendarapi.ClosingRangeAlert'
          type: array
        day:
          example: 5
          type: integer
        day_alerts:
          items:
            $ref: '#/components/schemas/calendarapi.DayAlert'
          type: array
        day1_valid:
          example: true
          type: boolean
        earnings_surprise:
          example: 0.15
          type: number
        ema_crossovers:
          items:
            $ref: '#/components/schemas/calendarapi.EmaCrossover'
          type: array
        ema_status:
          example: Above EMA21
          type: string
        ema_status_updated:
          example: '2024-01-09T10:30:00.000Z'
          type: string
        fibonacci_alerts:
          items:
            $ref: '#/components/schemas/calendarapi.FibonacciAlert'
          type: array
        fibonacci_status:
          example: Above 50%
          type: string
        fibonacci_status_updated:
          example: '2024-01-09T10:30:00.000Z'
          type: string
        first_13min_close:
          example: 155.75
          type: number
        gap_date:
          example: '2024-01-09T00:00:00.000Z'
          type: string
        gap_day_high:
          example: 157.5
          type: number
        gap_day_low:
          example: 153.25
          type: number
        gap_percentage:
          example: 3.75
          type: number
        hvc_price:
          example: 156
          type: number
        hvc_undercut:
          example: 155.5
          type: number
        id:
          example: 64a1b2c3d4e5f6789012345
          type: string
        market_session_alerts:
          items:
            $ref: '#/components/schemas/calendarapi.MarketSessionAlert'
          type: array
        milestone_measurements:
          items:
            $ref: '#/components/schemas/calendarapi.MilestoneMeasurement'
          type: array
        monster_gap:
          example: true
          type: boolean
        monster_power_earning_gap:
          example: false
          type: boolean
        next_ms_date:
          example: '2024-01-19T00:00:00.000Z'
          type: string
        next_ms_day:
          example: 10
          type: integer
        oel_gap:
          example: true
          type: boolean
        open:
          example: 154.5
          type: number
        power_earning_gap:
          example: true
          type: boolean
        previous_close:
          example: 150.25
          type: number
        price:
          example: 156.25
          type: number
        price_alerts:
          items:
            $ref: '#/components/schemas/calendarapi.PriceAlert'
          type: array
        status:
          example: true
          type: boolean
        symbol:
          example: AAPL
          type: string
        triggered_date:
          example: '2024-01-09T00:00:00.000Z'
          type: string
        updated:
          example: 1704758400
          type: integer
        volume:
          example: 12500000
          type: integer
        volume_50d:
          example: 8500000
          type: integer
        volume_alerts:
          items:
            $ref: '#/components/schemas/calendarapi.VolumeAlert'
          type: array
      type: object
    api.ErrorResponse:
      properties:
        text:
          type: string
      type: object
    calendarapi.ClosingRangeAlert:
      properties:
        alert_date:
          example: '2024-01-09T00:00:00.000Z'
          type: string
        alert_type:
          example: Upper Third Close
          type: string
        closing_id:
          example: 4001
          type: integer
        closing_range_percentage:
          example: 85.5
          type: number
        day_high:
          example: 157.5
          type: number
        day_low:
          example: 153.25
          type: number
        description:
          example: Stock closed in the upper third of the day's range
          type: string
        gap_id:
          example: 500
          type: integer
        symbol:
          example: AAPL
          type: string
        title:
          example: Upper Third Close
          type: string
      type: object
    calendarapi.DayAlert:
      properties:
        alert_date:
          type: string
        alert_type:
          type: string
        day:
          type: integer
        day_alert_id:
          type: integer
        description:
          type: string
        gap_id:
          type: integer
        price:
          type: number
        price_type:
          type: string
        title:
          type: string
      type: object
    calendarapi.EmaCrossover:
      properties:
        crossover_date:
          example: '2024-01-12T00:00:00.000Z'
          type: string
        crossover_id:
          example: 6001
          type: integer
        crossover_price:
          example: 154.75
          type: number
        crossover_type:
          example: EMA21
          type: string
        days_from_gap:
          example: '3'
          type: string
        description:
          example: Price crossed above EMA21
          type: string
        gap_id:
          example: 500
          type: integer
        title:
          example: EMA21 Crossover
          type: string
      type: object
    calendarapi.FibonacciAlert:
      properties:
        alert_date:
          example: '2024-01-09T00:00:00.000Z'
          type: string
        alert_type:
          example: Fibonacci Retracement
          type: string
        description:
          example: Price reached 50% Fibonacci retracement level
          type: string
        fib_id:
          example: 2001
          type: integer
        fibonacci_level:
          example: 50%
          type: string
        gap_id:
          example: 500
          type: integer
        level_price:
          example: 153.5
          type: number
        open:
          example: 154.5
          type: number
        prev_close:
          example: 150.25
          type: number
        symbol:
          example: AAPL
          type: string
        title:
          example: 50% Fibonacci Retracement
          type: string
      type: object
    calendarapi.MarketSessionAlert:
      properties:
        description:
          example: Price broke above first 15-minute high
          type: string
        first_5min_close:
          example: 155.25
          type: number
        first_5min_high:
          example: 155.5
          type: number
        first_15min_close:
          example: 155.75
          type: number
        first_15min_high:
          example: 156
          type: number
        gap_id:
          example: 500
          type: integer
        session_date:
          example: '2024-01-09T00:00:00.000Z'
          type: string
        session_high:
          example: 157.5
          type: number
        session_id:
          example: 5001
          type: integer
        session_type:
          example: Regular
          type: string
        session_volume:
          example: 12500000
          type: integer
        symbol:
          example: AAPL
          type: string
        title:
          example: First 15 Min Breakout
          type: string
      type: object
    calendarapi.MilestoneMeasurement:
      properties:
        above_hvc_pct:
          example: 1.6
          type: number
        above_milestone_avg_pct:
          example: 0.79
          type: number
        alert_type:
          example: Milestone Day 10
          type: string
        close_price:
          example: 158.5
          type: number
        description:
          example: Stock held above HVC on Day 10
          type: string
        gap_id:
          example: 500
          type: integer
        milestone_avg:
          example: 157.25
          type: number
        milestone_date:
          example: '2024-01-19T00:00:00.000Z'
          type: string
        milestone_day:
          example: 10
          type: integer
        milestone_id:
          example: 7001
          type: integer
        price_type:
          example: Close
          type: string
        title:
          example: Day 10 Milestone
          type: string
      type: object
    calendarapi.PriceAlert:
      properties:
        description:
          example: Price moved above High Volume Close level
          type: string
        direction:
          example: Above
          type: string
        gap_id:
          example: 500
          type: integer
        level_name:
          example: HVC
          type: string
        level_price:
          example: 156
          type: number
        price:
          example: 156.25
          type: number
        price_alert_id:
          example: 3001
          type: integer
        title:
          example: Price Above HVC
          type: string
      type: object
    calendarapi.VolumeAlert:
      properties:
        alert_date:
          example: '2024-01-09T00:00:00.000Z'
          type: string
        alert_id:
          example: 1001
          type: integer
        alert_type:
          example: High Volume
          type: string
        average_volume_50d:
          example: 8500000
          type: integer
        description:
          example: Volume exceeded 1.5x the 50-day average
          type: string
        gap_id:
          example: 500
          type: integer
        symbol:
          example: AAPL
          type: string
        title:
          example: Volume Spike Alert
          type: string
        volume:
          example: 15000000
          type: integer
        volume_ratio:
          example: 1.76
          type: number
      type: object
  securitySchemes:
    ApiKeyAuth:
      in: query
      name: token
      type: apiKey

````