تعرض الآن: أنواع الأحداث وشروطها

التنبيهات وWebhooks - أنواع الأحداث وشروطها

أنواع الأحداث المدعومة ومحددات الشروط الأساسية لضبط القواعد.

التوفر

الأنواع المتاحة عموماً هي price_alert, large_move, abnormal_volume, and unusual_value_traded. الأنواع الإضافية في الجدول أدناه متاحة فقط للحسابات المشمولة في الإطلاق المحدود.

نوع الحدثالشروط
price_alertprice_above, price_below, pct_change
large_movepct_change_abs_gte
abnormal_volumeratio_gte
unusual_value_tradedratio_gte
large_executed_traderatio_gte
trade_burstratio_gte
traded_value_surgeratio_gte
top5_depth_imbalanceratio_gte
spread_wideningratio_gte
top5_liquidity_withdrawalratio_gte

عقود conditions_matched

يُعبّر عن اختلافات بنية كل حدث أساساً في conditions_matched.

json
{
  "price_alert": {
    "operator": ">",
    "observed": 26.1,
    "threshold": 26.0
  },
  "large_move": {
    "window": "15m",
    "operator": "abs>=",
    "observed_pct_change": 3.4,
    "threshold_pct": 3.0,
    "baseline_price": 25.01,
    "current_price": 25.86
  },
  "abnormal_volume": {
    "event_type": "abnormal_volume",
    "operator": ">=",
    "metric": "volume_ratio",
    "current_value": 9803705,
    "baseline_value": 4100000,
    "ratio": 2.39,
    "threshold": 2.0
  },
  "unusual_value_traded": {
    "event_type": "unusual_value_traded",
    "operator": ">=",
    "metric": "value_ratio",
    "current_value": 252308343.0,
    "baseline_value": 120000000.0,
    "ratio": 2.1,
    "threshold": 2.0
  }
}

ترميز الأرقام هو JSON number وليس string. ratio and observed_pct_change تُقربان إلى 4 منازل عشرية.

آخر تحديث في