IRAnalytics

Sửa quy tắc cảnh báo

Changed on
put/ir/{symbol}/alert-rules/{ruleId}

Request

Path parameters

symbolstring required
ruleIdinteger required

Request body

namestring required

Tên quy tắc

metricstring required

Chỉ số theo dõi

condition1 | 2 | 3 | 4

Điều kiện kích hoạt (1 = SpikeSigma, 2 = Above, 3 = Below, 4 = PercentChange)

thresholdnumber double

Ngưỡng (bắt buộc trừ khi dùng phát hiện đột biến)

windowHoursinteger

Cửa sổ quan sát (giờ)

channelsstring

Kênh gửi: push, email, lark

recipientsstring

Người nhận

cooldownMinutesinteger

Thời gian nghỉ giữa hai lần cảnh báo (phút)

isActiveboolean

Đang bật

Response

OK

ruleIdinteger

ID quy tắc

companyIdinteger

ID công ty

namestring

Tên quy tắc

metricstring

Chỉ số theo dõi: mentions, negative_ratio, severity_high, watchlist_net, sentiment_score, oa_followers

condition1 | 2 | 3 | 4

Điều kiện kích hoạt (1 = SpikeSigma, 2 = Above, 3 = Below, 4 = PercentChange)

thresholdnumber double

Ngưỡng

windowHoursinteger

Cửa sổ quan sát (giờ)

channelsstring

Kênh gửi: push, email, lark

recipientsstring

Người nhận (danh sách tên đăng nhập, phân tách bằng dấu phẩy)

cooldownMinutesinteger

Thời gian nghỉ giữa hai lần cảnh báo (phút)

isActiveboolean

Đang bật

lastTriggeredDatestring date-time

Lần kích hoạt gần nhất

createdBystring

Người tạo

createdDatestring date-time

Ngày tạo

Changes