Remote MCP for Arbitron multi-chart crypto terminal: desks, spreads, orderbooks, alerts & widgets.
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Bearer token from https://arbitron.dev (Agent tab) or @arbdevbot. Pass as 'Bearer <ARBITRON_TOKEN>'.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
Атомарно применить пакет операций к области (add_widget, set_code, edit_code, set_params, set_bind, set_title, remove_widget, rename, set_layout; подробности в arbitron_docs). Сначала используйте 10 нативных окон (chart, spread, tape, watchlist, prediction, news, explorer, scanner, agent, orderbook) + linkGroup / bind ($ctx) вместо переписывания их в sandbox; в sandbox-виджетах используйте примитивы SDK (arbitron.ui.instrumentPicker, arbitron.ui.logo, arbitron.openInstrument, arbitron.copy, arbitron.openLink, arbitron.format.price). Передайте ifMatch для оптимистичной блокировки по revision.
Массив операций для применения к области
Идентификатор области
Ожидаемая ревизия области для заголовка If-Match
This tool isn't marked read-only, so it may change something on the server or in an account you connected.
Pick your client. Values in capitals, like YOUR_TOKEN, are yours to fill in.
Run in a terminal
claude mcp add --transport http mcp https://arbitron.dev/mcp \ --header 'Authorization: Bearer YOUR_TOKEN'
Headers
Authorization (required): Bearer token from https://arbitron.dev (Agent tab) or @arbdevbot. Pass as 'Bearer <ARBITRON_TOKEN>'.Атомарно применить пакет операций к области (add_widget, set_code, edit_code, set_params, set_bind, set_title, remove_widget, rename, set_layout; подробности в arbitron_docs). Сначала используйте 10 нативных окон (chart, spread, tape, watchlist, prediction, news, explorer, scanner, agent, orderbook) + linkGroup / bind ($ctx) вместо переписывания их в sandbox; в sandbox-виджетах используйте примитивы SDK (arbitron.ui.instrumentPicker, arbitron.ui.logo, arbitron.openInstrument, arbitron.copy, arbitron.openLink, arbitron.format.price). Передайте ifMatch для оптимистичной блокировки по revision.
| Argument | Type | Description |
|---|---|---|
| ops* | array | Массив операций для применения к области |
| areaId* | string | Идентификатор области |
| ifMatch | integer | Ожидаемая ревизия области для заголовка If-Match |
{
"type": "object",
"required": [
"areaId",
"ops"
],
"properties": {
"ops": {
"type": "array",
"items": {
"type": "object",
"required": [
"op"
],
"properties": {
"id": {
"type": "string",
"description": "ID нового виджета (для add_widget; /^[a-z0-9][a-z0-9-]{0,31}$/)"
},
"op": {
"enum": [
"add_widget",
"set_code",
"edit_code",
"set_params",
"set_bind",
"set_title",
"remove_widget",
"rename",
"set_layout"
],
"type": "string",
"description": "Тип операции над областью"
},
"new": {
"type": "string",
"description": "Алиас replace (для edit_code)"
},
"old": {
"type": "string",
"description": "Алиас find (для edit_code)"
},
"bind": {
"oneOf": [
{
"type": "object",
"additionalProperties": {
"type": "string"
}
},
{
"type": "null"
}
],
"description": "Реактивные $ctx-привязки параметров виджета (например { symbol: '$ctx.a', legB: '$ctx.b' }; для add_widget / set_params / set_bind; null очищает bind)"
},
"code": {
"type": "string",
"description": "Исходный JS/ESM код sandbox-виджета (для add_widget / set_code)"
},
"find": {
"type": "string",
"description": "Искомый фрагмент исходного кода (для edit_code; должен встречаться ровно 1 раз)"
},
"kind": {
"enum": [
"sandbox",
"chart",
"spread",
"tape",
"watchlist",
"prediction",
"news",
"explorer",
"scanner",
"agent",
"orderbook"
],
"type": "string",
"description": "Тип виджета для add_widget (по умолчанию sandbox)"
},
"name": {
"type": "string",
"description": "Алиас title (для rename)"
},
"near": {
"type": "string",
"description": "ID соседнего виджета для размещения рядом (для add_widget)"
},
"side": {
"enum": [
"left",
"right",
"top",
"bottom"
],
"type": "string",
"description": "Сторона размещения относительно near (для add_widget)"
},
"ratio": {
"type": "number",
"description": "Доля разбиения 0..1 при размещении виджета (для add_widget)",
"exclusiveMaximum": 1,
"exclusiveMinimum": 0
},
"title": {
"oneOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Заголовок виджета или области (null очищает заголовок в set_title)"
},
"layout": {
"oneOf": [
{
"type": "object"
},
{
"type": "null"
}
],
"description": "Бинарное дерево раскладки { widget } | { axis, ratio, a, b } (для set_layout)"
},
"params": {
"type": "object",
"description": "JSON-параметры виджета до 8 KiB (для add_widget / set_params)"
},
"widget": {
"type": "string",
"description": "ID существующего виджета (для set_code, edit_code, set_params, set_title, remove_widget)"
},
"replace": {
"type": "string",
"description": "Заменяющий текст (для edit_code)"
},
"codeHash": {
"type": "string",
"description": "64-символьный SHA-256 хэш модуля из arbitron_save_module (альтернатива code)"
}
}
},
"maxItems": 50,
"minItems": 1,
"description": "Массив операций для применения к области"
},
"areaId": {
"type": "string",
"description": "Идентификатор области"
},
"ifMatch": {
"type": "integer",
"minimum": 0,
"description": "Ожидаемая ревизия области для заголовка If-Match"
}
},
"additionalProperties": false
}Выполнить любой публичный REST/explorer маршрут из Data Catalog по его routeId (из arbitron_catalog_search) с параметрами и защитой размера ответа.
| Argument | Type | Description |
|---|---|---|
| body | any | Опциональное JSON-тело для POST маршрутов |
| params | object | Path/query параметры маршрута |
| routeId* | string | Идентификатор маршрута из arbitron_catalog_search (например 'aster:GET:/fapi/v1/premiumIndex' или 'hyperliquid:POST:/info/allMids') |
| maxChars | integer | Ограничение размера ответа в символах (2000..120000, по умолчанию 24000) |
{
"type": "object",
"required": [
"routeId"
],
"properties": {
"body": {
"description": "Опциональное JSON-тело для POST маршрутов"
},
"params": {
"type": "object",
"description": "Path/query параметры маршрута",
"additionalProperties": true
},
"routeId": {
"type": "string",
"description": "Идентификатор маршрута из arbitron_catalog_search (например 'aster:GET:/fapi/v1/premiumIndex' или 'hyperliquid:POST:/info/allMids')"
},
"maxChars": {
"type": "integer",
"description": "Ограничение размера ответа в символах (2000..120000, по умолчанию 24000)"
}
},
"additionalProperties": false
}Поиск по единому Data Catalog поверх api-hub (все подключённые провайдеры и маршруты: hyperliquid, aster, lighter, dydx, deribit, coinglass, polymarket, kalshi и др.).
| Argument | Type | Description |
|---|---|---|
| q | string | Поисковый запрос (например 'funding', 'orderbook', 'hyperliquid') |
| tag | string | Фильтр по тегу маршрута |
| limit | integer | Максимум результатов (1..100, по умолчанию 25) |
| plane | string | Плоскость ('rest', 'ws', 'sse', 'explorer', 'rpc') |
| category | string | Категория ('perp_dex', 'derivatives', 'prediction', 'dex', 'market', 'explorer') |
| provider | string | Фильтр по провайдеру (например 'hyperliquid', 'coinglass', 'aster') |
{
"type": "object",
"required": [],
"properties": {
"q": {
"type": "string",
"description": "Поисковый запрос (например 'funding', 'orderbook', 'hyperliquid')"
},
"tag": {
"type": "string",
"description": "Фильтр по тегу маршрута"
},
"limit": {
"type": "integer",
"description": "Максимум результатов (1..100, по умолчанию 25)"
},
"plane": {
"type": "string",
"description": "Плоскость ('rest', 'ws', 'sse', 'explorer', 'rpc')"
},
"category": {
"type": "string",
"description": "Категория ('perp_dex', 'derivatives', 'prediction', 'dex', 'market', 'explorer')"
},
"provider": {
"type": "string",
"description": "Фильтр по провайдеру (например 'hyperliquid', 'coinglass', 'aster')"
}
},
"additionalProperties": false
}Создать серверное правило алерта: встроенные типы (spread_pct, funding_apr, price_above, price_below, oi_spike, prediction_fork, wall_detected) или программируемый DSL kind='expr' (например `absSpread('SOL') > 0.5 && fundingApr('SOL') > 30` + опциональные catalog dataSources). Поддерживает web, webhook (json/discord/slack + headers), Telegram и Pushover, а также messageTemplate.
| Argument | Type | Description |
|---|---|---|
| expr | string | Выражение безопасного DSL для kind='expr' (например "absSpread('SOL') > 0.5 && price('BTC') > 80000") |
| kind* | string | Тип условия алерта (включая программируемый DSL 'expr') |
| title | string | Опциональное название правила |
| venue | string | Опциональный фильтр площадки (например 'HYPERLIQUID') |
| symbol | string | Тикер / монета / инструмент (для встроенных типов; опционально для kind='expr', по умолчанию '*') |
| symbolB | string | Опциональная вторая нога для spread_pct |
| channels | object | Полная конфигурация каналов доставки { web?, webhookUrl?, webhookFormat?, webhookHeaders?, telegramChatId?, telegramBotToken?, pushoverUserKey?, pushoverAppToken? } |
| threshold | number |
Создать новую пустую рабочую область. Если область с таким areaId уже существует, возвращает 409 AREA_EXISTS.
| Argument | Type | Description |
|---|---|---|
| name | string | Отображаемое название области (по умолчанию равно areaId) |
| areaId* | string | Идентификатор области (строчные латинские буквы, цифры, дефис) |
{
"type": "object",
"required": [
"areaId"
],
"properties": {
"name": {
"type": "string",
"description": "Отображаемое название области (по умолчанию равно areaId)"
},
"areaId": {
"type": "string",
"description": "Идентификатор области (строчные латинские буквы, цифры, дефис)"
}
},
"additionalProperties": false
}Удалить рабочую область и сохранённые состояния её виджетов по areaId.
| Argument | Type | Description |
|---|---|---|
| areaId* | string | Идентификатор удаляемой области |
| ifMatch | integer | Ожидаемая ревизия области (опционально) |
{
"type": "object",
"required": [
"areaId"
],
"properties": {
"areaId": {
"type": "string",
"description": "Идентификатор удаляемой области"
},
"ifMatch": {
"type": "integer",
"minimum": 0,
"description": "Ожидаемая ревизия области (опционально)"
}
},
"additionalProperties": false
}Опубликовать иммутабельный content-addressed снимок Desk (/d/<shortHash>) для шаринга, версионирования и форка. Можно передать либо объект desk (DeskDoc v1), либо areaId существующей области.
| Argument | Type | Description |
|---|---|---|
| desk | object | Полный объект DeskDoc v1 ({ version: 1, title, defaultView, views, agents?, style?, code? }) |
| title | string | Опциональное переопределение заголовка при публикации из areaId |
| areaId | string | Опционально: опубликовать существующую область аккаунта как 1-view Desk (требует Bearer-токен) |
{
"type": "object",
"required": [],
"properties": {
"desk": {
"type": "object",
"description": "Полный объект DeskDoc v1 ({ version: 1, title, defaultView, views, agents?, style?, code? })",
"additionalProperties": true
},
"title": {
"type": "string",
"description": "Опциональное переопределение заголовка при публикации из areaId"
},
"areaId": {
"type": "string",
"description": "Опционально: опубликовать существующую область аккаунта как 1-view Desk (требует Bearer-токен)"
}
},
"additionalProperties": false
}Документация Arbitron: формат областей, операций, SDK виджетов, правила CSP, песочница, состояние и рыночные данные. Вызовите первым.
| Argument | Type | Description |
|---|---|---|
| format | string | Формат документации (по умолчанию md) |
{
"type": "object",
"required": [],
"properties": {
"format": {
"enum": [
"md",
"json"
],
"type": "string",
"description": "Формат документации (по умолчанию md)"
}
},
"additionalProperties": false
}Форкнуть опубликованный Desk (/d/<hash>) или встроенный пресет (presetId) в редактируемую ветку аккаунта.
| Argument | Type | Description |
|---|---|---|
| id | string | Опциональный ID создаваемого деска в аккаунте |
| hash | string | 12..64 hex хэш опубликованного Desk (либо укажите presetId) |
| title | string | Опциональный заголовок форка |
| presetId | string | ID встроенного пресета Desk (например 'perp-dex-arb', 'funding-farm', 'dex-token-dossier', 'prediction-forks', 'scalp-microstructure') |
{
"type": "object",
"required": [],
"properties": {
"id": {
"type": "string",
"description": "Опциональный ID создаваемого деска в аккаунте"
},
"hash": {
"type": "string",
"description": "12..64 hex хэш опубликованного Desk (либо укажите presetId)"
},
"title": {
"type": "string",
"description": "Опциональный заголовок форка"
},
"presetId": {
"type": "string",
"description": "ID встроенного пресета Desk (например 'perp-dex-arb', 'funding-farm', 'dex-token-dossier', 'prediction-forks', 'scalp-microstructure')"
}
},
"additionalProperties": false
}Получить область по ID: раскладку, виджеты, revision и состояние. Укажите includeCode=true, чтобы получить исходники виджетов.
| Argument | Type | Description |
|---|---|---|
| areaId* | string | Идентификатор области |
| includeCode | boolean | Включить исходный код виджетов |
{
"type": "object",
"required": [
"areaId"
],
"properties": {
"areaId": {
"type": "string",
"description": "Идентификатор области"
},
"includeCode": {
"type": "boolean",
"description": "Включить исходный код виджетов"
}
},
"additionalProperties": false
}Получить полное состояние живой сессии терминала (activeAreaId, theme, zoomWidgetId, activeWidgetId, ctx, sharedDeskHash, sharedDeskTitle, url, studies, hudCards, hudConfigs, collapsedWidgets, tables, updatedAt, connectedClients) вместе со списком открытых областей (areas).
No arguments.
{
"type": "object",
"required": [],
"properties": {},
"additionalProperties": false
}Получить текущий исходный код виджета и его SHA-256 хэш.
| Argument | Type | Description |
|---|---|---|
| areaId* | string | Идентификатор области |
| widgetId* | string | Идентификатор виджета |
{
"type": "object",
"required": [
"areaId",
"widgetId"
],
"properties": {
"areaId": {
"type": "string",
"description": "Идентификатор области"
},
"widgetId": {
"type": "string",
"description": "Идентификатор виджета"
}
},
"additionalProperties": false
}Прочитать сохранённое JSON-состояние виджета ({ value, updatedAt }).
| Argument | Type | Description |
|---|---|---|
| areaId* | string | Идентификатор области |
| widgetId* | string | Идентификатор виджета |
{
"type": "object",
"required": [
"areaId",
"widgetId"
],
"properties": {
"areaId": {
"type": "string",
"description": "Идентификатор области"
},
"widgetId": {
"type": "string",
"description": "Идентификатор виджета"
}
},
"additionalProperties": false
}Получить список серверных правил алертов (и опционально последние срабатывания при includeEvents=true) либо удалить правило по deleteId.
| Argument | Type | Description |
|---|---|---|
| deleteId | string | Опционально: удалить правило алерта с указанным ID |
| includeEvents | boolean | Опционально: включить список последних сработавших событий (events) |
{
"type": "object",
"required": [],
"properties": {
"deleteId": {
"type": "string",
"description": "Опционально: удалить правило алерта с указанным ID"
},
"includeEvents": {
"type": "boolean",
"description": "Опционально: включить список последних сработавших событий (events)"
}
},
"additionalProperties": false
}Список рабочих областей (экранов) пользователя.
No arguments.
{
"type": "object",
"required": [],
"properties": {},
"additionalProperties": false
}Получить список встроенных курируемых пресетов Desk и сохранённых десков аккаунта, либо загрузить конкретный Desk по hash или deskId.
| Argument | Type | Description |
|---|---|---|
| hash | string | Опционально: 12..64 hex хэш конкретного Desk (/d/<hash>) или пресета |
| deskId | string | Опционально: ID сохранённого деска аккаунта (требует Bearer-токен) |
| includePresets | boolean | Включить встроенные пресеты (по умолчанию true) |
{
"type": "object",
"required": [],
"properties": {
"hash": {
"type": "string",
"description": "Опционально: 12..64 hex хэш конкретного Desk (/d/<hash>) или пресета"
},
"deskId": {
"type": "string",
"description": "Опционально: ID сохранённого деска аккаунта (требует Bearer-токен)"
},
"includePresets": {
"type": "boolean",
"description": "Включить встроенные пресеты (по умолчанию true)"
}
},
"additionalProperties": false
}Получить список встроенных и кастомных спецификаций серверных AI-аналитиков (action='list') или зарегистрировать нового кастомного аналитика (action='register' + instructions).
| Argument | Type | Description |
|---|---|---|
| id | string | ID спецификации при регистрации (например 'my-arb-analyst') |
| bind | array | Привязки контекста ($ctx.*), которые передаются аналитику |
| title | string | Название спецификации |
| tools | array | Список разрешённых инструментов (например ['api-hub:market.quotes', 'api-hub:coinglass.funding']) |
| action | string | Действие: list (по умолчанию) или register |
| cacheKey | string | Шаблон ключа семантического кэша |
| cooldownSec | integer | TTL семантического кэша в секундах |
| instructions | string | Инструкции (системный промпт) аналитика — обязательно для action='register' |
| outputSchema | string | Формат структурированного ответа аналитика |
Получить L2-стакан, дисбаланс и крупные стены ликвидности по Perp-DEX инструменту (Hyperliquid, Aster, dYdX, Lighter, Deribit). Если передать symbolB — выполнить симуляцию межбиржевого VWAP-исполнения спреда A/B на объём sizeUsd.
| Argument | Type | Description |
|---|---|---|
| symbol* | string | Инструмент ноги A (например 'HYPERLIQUID:BTCUSDC.P' или 'ASTER:ETHUSDT.P') |
| sizeUsd | number | Объём сделки в USD для симуляции исполнения спреда (по умолчанию 10000) |
| symbolB | string | Опционально: инструмент ноги B для симуляции исполнения спреда (VWAP/проскальзывание) |
{
"type": "object",
"required": [
"symbol"
],
"properties": {
"symbol": {
"type": "string",
"description": "Инструмент ноги A (например 'HYPERLIQUID:BTCUSDC.P' или 'ASTER:ETHUSDT.P')"
},
"sizeUsd": {
"type": "number",
"description": "Объём сделки в USD для симуляции исполнения спреда (по умолчанию 10000)",
"exclusiveMinimum": 0
},
"symbolB": {
"type": "string",
"description": "Опционально: инструмент ноги B для симуляции исполнения спреда (VWAP/проскальзывание)"
}
},
"additionalProperties": false
}Запросить read-only рыночные данные Arbitron (/api/<path>) для анализа или проверки формы ответа перед написанием виджета. Поддерживает maxChars для ограничения размера ответа.
| Argument | Type | Description |
|---|---|---|
| path* | string | Разрешённый read-only путь API без префикса /api/ |
| params | object | Query-параметры запроса (например { "symbol": "BINANCE:BTCUSDT", "tf": "60", "count": 20 }) |
| maxChars | integer | Максимальный размер JSON-ответа в символах (по умолчанию 24000, диапазон 2000..120000) |
{
"type": "object",
"required": [
"path"
],
"properties": {
"path": {
"enum": [
"klines",
"quotes/batch",
"search",
"search/bootstrap",
"search/exchanges",
"dex/intel",
"predictions/markets",
"predictions/history",
"news",
"calendar",
"explorer/chains",
"explorer/lookup",
"scanner/inefficiencies",
"orderbook/depth",
"orderbook/aggregated",
"orderbook/spread-sim",
"markets/descriptors",
"markets/instrument",
"markets/trades",
"markets/flow",
"markets/funding-history",
"markets/funding-spread-history",
"markets/transfer-check",
"markets/asset-profile"
],
"type": "string",
"description": "Разрешённый read-only путь API без префикса /api/"
},
"params": {
"type": "object",
"description": "Query-параметры запроса (например { \"symbol\": \"BINANCE:BTCUSDT\", \"tf\": \"60\", \"count\": 20 })",
"additionalProperties": {
"oneOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "array",
"items": {
"type": "string"
}
}
]
}
},
"maxChars": {
"type": "integer",
"maximum": 120000,
"minimum": 2000,
"description": "Максимальный размер JSON-ответа в символах (по умолчанию 24000, диапазон 2000..120000)"
}
},
"additionalProperties": false
}Запустить серверного AI-аналитика AgentActor (spread-verdict, funding-radar, token-dossier или specHash) с общим семантическим кэшем и получить структурированный вердикт (OK/TRAP/WAIT/NEUTRAL).
| Argument | Type | Description |
|---|---|---|
| ctx | object | Контекст анализа (например { a: 'BINANCE:BTCUSDT.P', b: 'OKX:BTCUSDT.P', coin: 'BTC' }) |
| force | boolean | Обойти семантический кэш и пересчитать заново |
| specId* | string | ID пресета ('spread-verdict' | 'funding-radar' | 'token-dossier') или SHA-256 specHash |
{
"type": "object",
"required": [
"specId"
],
"properties": {
"ctx": {
"type": "object",
"description": "Контекст анализа (например { a: 'BINANCE:BTCUSDT.P', b: 'OKX:BTCUSDT.P', coin: 'BTC' })",
"additionalProperties": {
"type": "string"
}
},
"force": {
"type": "boolean",
"description": "Обойти семантический кэш и пересчитать заново"
},
"specId": {
"type": "string",
"description": "ID пресета ('spread-verdict' | 'funding-radar' | 'token-dossier') или SHA-256 specHash"
}
},
"additionalProperties": false
}Сохранить общий JS/ESM-модуль в content-addressed хранилище (POST /v1/code). Возвращает { hash, bytes }.
| Argument | Type | Description |
|---|---|---|
| code* | string | Исходный код модуля |
{
"type": "object",
"required": [
"code"
],
"properties": {
"code": {
"type": "string",
"description": "Исходный код модуля"
}
},
"additionalProperties": false
}Записать сохранённое JSON-состояние виджета (<= 64 KiB) и отправить SSE-событие widget.state.
| Argument | Type | Description |
|---|---|---|
| value* | any | JSON-значение состояния виджета (может быть null) |
| areaId* | string | Идентификатор области |
| widgetId* | string | Идентификатор виджета |
{
"type": "object",
"required": [
"areaId",
"widgetId",
"value"
],
"properties": {
"value": {
"description": "JSON-значение состояния виджета (может быть null)"
},
"areaId": {
"type": "string",
"description": "Идентификатор области"
},
"widgetId": {
"type": "string",
"description": "Идентификатор виджета"
}
},
"additionalProperties": false
}Отправить команду управления живым интерфейсом терминала (SSE ui.command — 29 действий): switch_area, set_theme, zoom_widget, set_link_group, swap_widgets, set_instrument, set_timeframe, set_overlays, clear_overlays, open_spread_pair, swap_spread_legs, set_spread_formula, set_ctx, load_desk, fork_desk, apply_preset, undo, watchlist_add, watchlist_remove, show_toast, drawing_tool, drawing_magnet, drawing_clear, add_indicator, remove_indicator, set_chart_hud, clear_chart_hud, set_mobile_collapsed, configure_table.
| Argument | Type | Description |
|---|---|---|
| tf | string | Таймфрейм для set_timeframe (например "1m", "5m", "15m", "1h", "4h", "1D") |
| all | boolean | Для set_mobile_collapsed: применить ко всем окнам текущей области |
| ctx | object | Словарь $ctx-параметров для set_ctx / load_desk |
| ids | array | ID конкретных оверлеев для clear_overlays (если опущено — очищает все) |
| coin | string | Опциональная базовая монета для open_spread_pair |
| hash | string | 12..64 hex хэш опубликованного Desk для load_desk |
| legA | string | Символ ноги A для open_spread_pair |
| legB | string | Символ ноги B для open_spread_pair |
Обновить/поставить на паузу/возобновить правило алерта (id + поля патча), отправить тестовую доставку (id + test: true) или пометить все события прочитанными (ackEvents: true).
| Argument | Type | Description |
|---|---|---|
| id | string | ID правила алерта (обязательно для обновления или test: true) |
| expr | any | Новое DSL-выражение или null |
| kind | string | Новый тип условия |
| test | boolean | Выполнить тестовую оценку и отправку уведомления по всем настроенным каналам правила |
| title | string | Новое название правила |
| venue | any | Площадка или null |
| symbol | string | Новый символ/монета |
| enabled | boolean | Включить (true) или поставить на паузу (false) |
| symbolB | any | Вторая нога или null |
| channels | object | Патч конфигурации каналов |
Dry-run валидация ESM-кода виджета без исполнения: синтаксис V8, export default, импорты arbitron:code/*, CSP-аудит (включая подсказки по arbitron.ui.logo / data-arbitron-src, arbitron.openLink, arbitron.copy) и проверка API-путей. Передайте code либо areaId+widgetId.
| Argument | Type | Description |
|---|---|---|
| code | string | Исходный JS/ESM код виджета для проверки |
| areaId | string | Идентификатор области (если проверяется сохранённый виджет) |
| widgetId | string | Идентификатор виджета (вместе с areaId) |
{
"type": "object",
"required": [],
"properties": {
"code": {
"type": "string",
"description": "Исходный JS/ESM код виджета для проверки"
},
"areaId": {
"type": "string",
"description": "Идентификатор области (если проверяется сохранённый виджет)"
},
"widgetId": {
"type": "string",
"description": "Идентификатор виджета (вместе с areaId)"
}
},
"additionalProperties": false
}Получить ошибки исполнения виджетов в области (сообщение и стек). Проверяйте после каждого изменения кода.
| Argument | Type | Description |
|---|---|---|
| areaId* | string | Идентификатор области |
| widgetId | string | Фильтр по конкретному виджету (опционально) |
{
"type": "object",
"required": [
"areaId"
],
"properties": {
"areaId": {
"type": "string",
"description": "Идентификатор области"
},
"widgetId": {
"type": "string",
"description": "Фильтр по конкретному виджету (опционально)"
}
},
"additionalProperties": false
}We read every tool's name, description and inputs the way the model will, looking for instructions hidden from you. A clean result means no warning signs, not a guarantee. Scanned Nov 29, 2026.
| Порог срабатывания (в % для спреда/APR/OI, в USD для цены/стен; опционально для kind='expr') |
| webhookUrl | string | Опциональный HTTPS webhook URL для уведомлений |
| cooldownSec | integer | Кулдаун между срабатываниями в секундах (30..86400, по умолчанию 300) |
| dataSources | array | До 3 маршрутов Data Catalog для kind='expr', доступных как data.<alias>.<field> |
| webhookFormat | string | Формат payload вебхука: json | discord | slack |
| telegramChatId | string | Опциональный Telegram chat_id для доставки уведомлений |
| webhookHeaders | object | Опциональные пользовательские HTTP-заголовки вебхука |
| messageTemplate | string | Шаблон текста алерта ({{title}}, {{symbol}}, {{value}}, {{expr}}, {{link}}) |
| pushoverUserKey | string | Опциональный Pushover user key |
| pushoverAppToken | string | Опциональный Pushover app token |
| telegramBotToken | string | Опциональный Telegram bot token (если не задан — используется токен сервера) |
{
"type": "object",
"required": [
"kind"
],
"properties": {
"expr": {
"type": "string",
"description": "Выражение безопасного DSL для kind='expr' (например \"absSpread('SOL') > 0.5 && price('BTC') > 80000\")"
},
"kind": {
"enum": [
"spread_pct",
"funding_apr",
"price_above",
"price_below",
"oi_spike",
"prediction_fork",
"wall_detected",
"expr"
],
"type": "string",
"description": "Тип условия алерта (включая программируемый DSL 'expr')"
},
"title": {
"type": "string",
"description": "Опциональное название правила"
},
"venue": {
"type": "string",
"description": "Опциональный фильтр площадки (например 'HYPERLIQUID')"
},
"symbol": {
"type": "string",
"description": "Тикер / монета / инструмент (для встроенных типов; опционально для kind='expr', по умолчанию '*')"
},
"symbolB": {
"type": "string",
"description": "Опциональная вторая нога для spread_pct"
},
"channels": {
"type": "object",
"description": "Полная конфигурация каналов доставки { web?, webhookUrl?, webhookFormat?, webhookHeaders?, telegramChatId?, telegramBotToken?, pushoverUserKey?, pushoverAppToken? }",
"additionalProperties": true
},
"threshold": {
"type": "number",
"description": "Порог срабатывания (в % для спреда/APR/OI, в USD для цены/стен; опционально для kind='expr')"
},
"webhookUrl": {
"type": "string",
"description": "Опциональный HTTPS webhook URL для уведомлений"
},
"cooldownSec": {
"type": "integer",
"maximum": 86400,
"minimum": 30,
"description": "Кулдаун между срабатываниями в секундах (30..86400, по умолчанию 300)"
},
"dataSources": {
"type": "array",
"items": {
"type": "object",
"required": [
"alias",
"routeId"
],
"properties": {
"body": {},
"alias": {
"type": "string"
},
"params": {
"type": "object",
"additionalProperties": true
},
"routeId": {
"type": "string"
}
}
},
"maxItems": 3,
"description": "До 3 маршрутов Data Catalog для kind='expr', доступных как data.<alias>.<field>"
},
"webhookFormat": {
"enum": [
"json",
"discord",
"slack"
],
"type": "string",
"description": "Формат payload вебхука: json | discord | slack"
},
"telegramChatId": {
"type": "string",
"description": "Опциональный Telegram chat_id для доставки уведомлений"
},
"webhookHeaders": {
"type": "object",
"description": "Опциональные пользовательские HTTP-заголовки вебхука",
"additionalProperties": {
"type": "string"
}
},
"messageTemplate": {
"type": "string",
"description": "Шаблон текста алерта ({{title}}, {{symbol}}, {{value}}, {{expr}}, {{link}})"
},
"pushoverUserKey": {
"type": "string",
"description": "Опциональный Pushover user key"
},
"pushoverAppToken": {
"type": "string",
"description": "Опциональный Pushover app token"
},
"telegramBotToken": {
"type": "string",
"description": "Опциональный Telegram bot token (если не задан — используется токен сервера)"
}
},
"additionalProperties": false
}{
"type": "object",
"required": [],
"properties": {
"id": {
"type": "string",
"description": "ID спецификации при регистрации (например 'my-arb-analyst')"
},
"bind": {
"type": "array",
"items": {
"type": "string"
},
"description": "Привязки контекста ($ctx.*), которые передаются аналитику"
},
"title": {
"type": "string",
"description": "Название спецификации"
},
"tools": {
"type": "array",
"items": {
"type": "string"
},
"description": "Список разрешённых инструментов (например ['api-hub:market.quotes', 'api-hub:coinglass.funding'])"
},
"action": {
"enum": [
"list",
"register"
],
"type": "string",
"description": "Действие: list (по умолчанию) или register"
},
"cacheKey": {
"type": "string",
"description": "Шаблон ключа семантического кэша"
},
"cooldownSec": {
"type": "integer",
"maximum": 3600,
"minimum": 15,
"description": "TTL семантического кэша в секундах"
},
"instructions": {
"type": "string",
"description": "Инструкции (системный промпт) аналитика — обязательно для action='register'"
},
"outputSchema": {
"enum": [
"verdict",
"brief",
"table"
],
"type": "string",
"description": "Формат структурированного ответа аналитика"
}
},
"additionalProperties": false
}| mode | string | Режим магнита рисования для drawing_magnet ("off" | "weak" | "strong") |
| name | string | Имя индикатора TradingView для add_indicator / remove_indicator (например "EMA", "SMA", "RSI", "MACD", "VWAP", "Bollinger Bands", "ATR", "Stochastic", "Ichimoku" или "*" для удаления всех) |
| sort | any | Для configure_table: сортировка { columnId, dir: 'asc'|'desc' } или null для сброса |
| tone | string | Тон уведомления для show_toast ("info" | "success" | "warning" | "error") |
| tool | string | ID инструмента рисования TradingView для drawing_tool (например 'trend_line', 'horizontal_line', 'cursor') |
| view | string | Для configure_table: ключ вкладки/представления таблицы (например 'spreads', 'funding', 'tokens', 'txs') |
| cards | array | Для set_chart_hud: угловые HUD-попапы на графике (до 12 штук) |
| icons | string | Для configure_table: режим иконок в таблице ("auto" | "minimal" | "off") |
| reset | boolean | Для configure_table: сбросить конфигурацию таблицы к дефолтным настройкам |
| scope | string | Область очистки рисунков для drawing_clear ("active" | "all") |
| theme | string | Тема интерфейса для set_theme ("dark" | "light") |
| action* | string | Действие UI: switch_area | set_theme | zoom_widget | set_link_group | swap_widgets | set_instrument | set_timeframe | set_overlays | clear_overlays | open_spread_pair | swap_spread_legs | set_spread_formula | set_ctx | load_desk | fork_desk | apply_preset | undo | watchlist_add | watchlist_remove | show_toast | drawing_tool | drawing_magnet | drawing_clear | add_indicator | remove_indicator | set_chart_hud | clear_chart_hud | set_mobile_collapsed | configure_table |
| areaId | string | ID области (обязательно для switch_area; опционально для операций над текущей областью) |
| inputs | object | Для add_indicator: параметры индикатора TradingView (например { length: 20 }) |
| preset | string | Пресет раскладки для apply_preset ("1x1" | "2x1" | "2x2" | "main") |
| symbol | any | Инструмент для set_instrument / watchlist_add / watchlist_remove: строка (например "BINANCE:BTCUSDT") или объект с непустым полем symbol |
| viewId | string | ID представления деска для set_ctx / load_desk |
| cardIds | array | Для clear_chart_hud: ID конкретных HUD-карточек (если опущено — очищает весь агентский HUD) |
| density | string | Для configure_table: плотность строк таблицы ("compact" | "comfortable") |
| filters | array | Для configure_table: фильтры столбцов (до 12): { columnId, op, value } |
| formula | string | Формула спреда для set_spread_formula ("pct" | "diff" | "ratio" | "idx") |
| message | string | Текст уведомления для show_toast |
| replace | boolean | Для set_chart_hud: заменить существующие headerBadges/cards целиком вместо мерджа |
| studyId | string | Для remove_indicator: ID конкретного индикатора из arbitron_get_session.studies |
| widgetA | string | ID первого виджета/тайла для swap_widgets |
| widgetB | string | ID второго виджета/тайла для swap_widgets |
| overlays | array | Массив до 64 ChartOverlaySpec для set_overlays (8 примитивов: hline, vline, marker, trendline, ray, zone, fib, position). hline: {id,kind:'hline',price,label?,color?,lineStyle?,lineWidth?}; vline: {id,kind:'vline',timeSec,label?,color?,lineStyle?,lineWidth?}; marker: {id,kind:'marker',timeSec,price?,text,color?,shape?}; trendline: {id,kind:'trendline',p1:{timeSec,price},p2:{timeSec,price},label?,color?,lineStyle?,lineWidth?,extendLeft?,extendRight?}; ray: {id,kind:'ray',p1,p2,label?,color?,lineStyle?,lineWidth?}; zone: {id,kind:'zone',priceLow,priceHigh,timeStartSec?,timeEndSec?,label?,color?,fillColor?,fillOpacity?,lineStyle?,lineWidth?,extendRight?}; fib: {id,kind:'fib',p1,p2,levels?,label?,color?,extendRight?}; position: {id,kind:'position',side:'long'|'short',entryPrice,stopPrice,targetPrice,timeStartSec?,timeEndSec?,label?,qtyUsd?}. |
| presetId | string | ID встроенного пресета Desk для load_desk (например 'perp-dex-arb') |
| widgetId | any | ID виджета/тайла (для zoom_widget — строка или null для выхода из зума; для set_link_group, set_instrument, set_timeframe, set_overlays, clear_overlays, swap_spread_legs, set_spread_formula, watchlist_add, watchlist_remove, add_indicator, remove_indicator, set_chart_hud, clear_chart_hud, set_mobile_collapsed) |
| collapsed | boolean | Для set_mobile_collapsed: свернуть (true) или развернуть (false) окно на мобиле |
| hudConfig | object | Для set_chart_hud: патч конфигурации Arcways Token-State HUD (mode: strip|card|header|off, corner, density, showTitle, showLinks, preset: perp-scalp|funding-arb|dex-dossier|minimal, fields/showFields/hideFields/hiddenFields из 19 встроенных [funding_rate, funding_countdown, funding_apr, oi_usd, volume_24h, vol_oi_ratio, basis_mi, change_24h, high_low_24h, bid_ask_spread, max_leverage, tick_size, dex_mcap, dex_liq, dex_holders, dex_top10, dex_risk, trade_link, networks_status] или кастомных ID, upsertCustomFields/removeCustomFieldIds/customFields до 8 штук видов expr/catalog, replace, reset). |
| linkGroup | string | Группа связывания инструментов для set_link_group / set_overlays / clear_overlays / set_chart_hud / clear_chart_hud ("none" | "blue" | "amber" | "green" | "purple") |
| overrides | object | Для add_indicator: визуальные overrides TradingView |
| applyToAll | boolean | Для set_chart_hud: применить hudConfig / настройки HUD ко всем графикам текущей области (не требует widgetId/linkGroup) |
| columnOrder | array | Для configure_table: явный порядок ID столбцов (до 40) |
| hideColumns | array | Для configure_table: добавить ID столбцов в скрытые |
| searchQuery | string | Для configure_table: строка поиска/фильтрации таблицы (до 160 символов) |
| showColumns | array | Для configure_table: показать ранее скрытые ID столбцов |
| autoTokenHud | boolean | Для set_chart_hud: включить/выключить встроенный авто-HUD токена на графике |
| columnWidths | object | Для configure_table: ширины столбцов в px (48..480) или null для сброса ширины |
| forceOverlay | boolean | Для add_indicator: наложить поверх ценовой шкалы графика (true) или в отдельной панели (false) |
| headerBadges | array | Для set_chart_hud: бейджи/метрики в шапке графика (до 12 штук) |
| customColumns | array | Для configure_table: полностью заменить список кастомных столбцов (до 8, до 3 catalog) |
| hiddenColumns | array | Для configure_table: полностью заменить список скрытых ID столбцов (до 40) |
| presetFilters | object | Для configure_table: пресет-фильтры нативной таблицы (например venue, minSpread, side) |
| upsertCustomColumns | array | Для configure_table: добавить или обновить кастомные столбцы (до 8 на таблицу, до 3 kind='catalog') |
| removeCustomColumnIds | array | Для configure_table: удалить кастомные столбцы по ID |
{
"type": "object",
"required": [
"action"
],
"properties": {
"tf": {
"type": "string",
"description": "Таймфрейм для set_timeframe (например \"1m\", \"5m\", \"15m\", \"1h\", \"4h\", \"1D\")"
},
"all": {
"type": "boolean",
"description": "Для set_mobile_collapsed: применить ко всем окнам текущей области"
},
"ctx": {
"type": "object",
"description": "Словарь $ctx-параметров для set_ctx / load_desk",
"additionalProperties": {
"type": "string"
}
},
"ids": {
"type": "array",
"items": {
"type": "string"
},
"description": "ID конкретных оверлеев для clear_overlays (если опущено — очищает все)"
},
"coin": {
"type": "string",
"description": "Опциональная базовая монета для open_spread_pair"
},
"hash": {
"type": "string",
"description": "12..64 hex хэш опубликованного Desk для load_desk"
},
"legA": {
"type": "string",
"description": "Символ ноги A для open_spread_pair"
},
"legB": {
"type": "string",
"description": "Символ ноги B для open_spread_pair"
},
"mode": {
"enum": [
"off",
"weak",
"strong"
],
"type": "string",
"description": "Режим магнита рисования для drawing_magnet (\"off\" | \"weak\" | \"strong\")"
},
"name": {
"type": "string",
"description": "Имя индикатора TradingView для add_indicator / remove_indicator (например \"EMA\", \"SMA\", \"RSI\", \"MACD\", \"VWAP\", \"Bollinger Bands\", \"ATR\", \"Stochastic\", \"Ichimoku\" или \"*\" для удаления всех)"
},
"sort": {
"oneOf": [
{
"type": "object",
"required": [
"columnId",
"dir"
],
"properties": {
"dir": {
"enum": [
"asc",
"desc"
],
"type": "string"
},
"columnId": {
"type": "string"
}
}
},
{
"type": "null"
}
],
"description": "Для configure_table: сортировка { columnId, dir: 'asc'|'desc' } или null для сброса"
},
"tone": {
"enum": [
"info",
"success",
"warning",
"error"
],
"type": "string",
"description": "Тон уведомления для show_toast (\"info\" | \"success\" | \"warning\" | \"error\")"
},
"tool": {
"type": "string",
"description": "ID инструмента рисования TradingView для drawing_tool (например 'trend_line', 'horizontal_line', 'cursor')"
},
"view": {
"type": "string",
"description": "Для configure_table: ключ вкладки/представления таблицы (например 'spreads', 'funding', 'tokens', 'txs')"
},
"cards": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"corner",
"items"
],
"properties": {
"id": {
"type": "string"
},
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"label",
"value"
],
"properties": {
"href": {
"type": "string"
},
"tone": {
"enum": [
"up",
"down",
"accent",
"warn",
"muted"
],
"type": "string"
},
"label": {
"type": "string"
},
"value": {
"type": "string"
}
}
}
},
"title": {
"type": "string"
},
"corner": {
"enum": [
"top-left",
"top-right",
"bottom-left",
"bottom-right"
],
"type": "string"
},
"collapsed": {
"type": "boolean"
}
}
},
"description": "Для set_chart_hud: угловые HUD-попапы на графике (до 12 штук)"
},
"icons": {
"enum": [
"auto",
"minimal",
"off"
],
"type": "string",
"description": "Для configure_table: режим иконок в таблице (\"auto\" | \"minimal\" | \"off\")"
},
"reset": {
"type": "boolean",
"description": "Для configure_table: сбросить конфигурацию таблицы к дефолтным настройкам"
},
"scope": {
"enum": [
"active",
"all"
],
"type": "string",
"description": "Область очистки рисунков для drawing_clear (\"active\" | \"all\")"
},
"theme": {
"enum": [
"dark",
"light"
],
"type": "string",
"description": "Тема интерфейса для set_theme (\"dark\" | \"light\")"
},
"action": {
"enum": [
"switch_area",
"set_theme",
"zoom_widget",
"set_link_group",
"swap_widgets",
"set_instrument",
"set_timeframe",
"set_overlays",
"clear_overlays",
"open_spread_pair",
"swap_spread_legs",
"set_spread_formula",
"set_ctx",
"load_desk",
"fork_desk",
"apply_preset",
"undo",
"watchlist_add",
"watchlist_remove",
"show_toast",
"drawing_tool",
"drawing_magnet",
"drawing_clear",
"add_indicator",
"remove_indicator",
"set_chart_hud",
"clear_chart_hud",
"set_mobile_collapsed",
"configure_table"
],
"type": "string",
"description": "Действие UI: switch_area | set_theme | zoom_widget | set_link_group | swap_widgets | set_instrument | set_timeframe | set_overlays | clear_overlays | open_spread_pair | swap_spread_legs | set_spread_formula | set_ctx | load_desk | fork_desk | apply_preset | undo | watchlist_add | watchlist_remove | show_toast | drawing_tool | drawing_magnet | drawing_clear | add_indicator | remove_indicator | set_chart_hud | clear_chart_hud | set_mobile_collapsed | configure_table"
},
"areaId": {
"type": "string",
"description": "ID области (обязательно для switch_area; опционально для операций над текущей областью)"
},
"inputs": {
"type": "object",
"description": "Для add_indicator: параметры индикатора TradingView (например { length: 20 })",
"additionalProperties": true
},
"preset": {
"enum": [
"1x1",
"2x1",
"2x2",
"main"
],
"type": "string",
"description": "Пресет раскладки для apply_preset (\"1x1\" | \"2x1\" | \"2x2\" | \"main\")"
},
"symbol": {
"oneOf": [
{
"type": "string"
},
{
"type": "object"
}
],
"description": "Инструмент для set_instrument / watchlist_add / watchlist_remove: строка (например \"BINANCE:BTCUSDT\") или объект с непустым полем symbol"
},
"viewId": {
"type": "string",
"description": "ID представления деска для set_ctx / load_desk"
},
"cardIds": {
"type": "array",
"items": {
"type": "string"
},
"description": "Для clear_chart_hud: ID конкретных HUD-карточек (если опущено — очищает весь агентский HUD)"
},
"density": {
"enum": [
"compact",
"comfortable"
],
"type": "string",
"description": "Для configure_table: плотность строк таблицы (\"compact\" | \"comfortable\")"
},
"filters": {
"type": "array",
"items": {
"type": "object",
"required": [
"columnId",
"op",
"value"
],
"properties": {
"op": {
"enum": [
"eq",
"neq",
"gt",
"gte",
"lt",
"lte",
"contains",
"in"
],
"type": "string"
},
"value": {},
"columnId": {
"type": "string"
}
}
},
"description": "Для configure_table: фильтры столбцов (до 12): { columnId, op, value }"
},
"formula": {
"enum": [
"pct",
"diff",
"ratio",
"idx"
],
"type": "string",
"description": "Формула спреда для set_spread_formula (\"pct\" | \"diff\" | \"ratio\" | \"idx\")"
},
"message": {
"type": "string",
"description": "Текст уведомления для show_toast"
},
"replace": {
"type": "boolean",
"description": "Для set_chart_hud: заменить существующие headerBadges/cards целиком вместо мерджа"
},
"studyId": {
"type": "string",
"description": "Для remove_indicator: ID конкретного индикатора из arbitron_get_session.studies"
},
"widgetA": {
"type": "string",
"description": "ID первого виджета/тайла для swap_widgets"
},
"widgetB": {
"type": "string",
"description": "ID второго виджета/тайла для swap_widgets"
},
"overlays": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"kind"
],
"properties": {
"id": {
"type": "string"
},
"p1": {
"type": "object",
"required": [
"timeSec",
"price"
],
"properties": {
"price": {
"type": "number"
},
"timeSec": {
"type": "number"
}
}
},
"p2": {
"type": "object",
"required": [
"timeSec",
"price"
],
"properties": {
"price": {
"type": "number"
},
"timeSec": {
"type": "number"
}
}
},
"kind": {
"enum": [
"hline",
"vline",
"marker",
"trendline",
"ray",
"zone",
"fib",
"position"
],
"type": "string"
},
"side": {
"enum": [
"long",
"short"
],
"type": "string"
},
"text": {
"type": "string"
},
"color": {
"type": "string"
},
"label": {
"type": "string"
},
"price": {
"type": "number"
},
"shape": {
"enum": [
"arrow_up",
"arrow_down",
"flag",
"callout"
],
"type": "string"
},
"levels": {
"type": "array",
"items": {
"type": "number"
}
},
"qtyUsd": {
"type": "number"
},
"timeSec": {
"type": "number"
},
"priceLow": {
"type": "number"
},
"fillColor": {
"type": "string"
},
"lineStyle": {
"enum": [
"solid",
"dashed",
"dotted"
],
"type": "string"
},
"lineWidth": {
"type": "integer"
},
"priceHigh": {
"type": "number"
},
"stopPrice": {
"type": "number"
},
"entryPrice": {
"type": "number"
},
"extendLeft": {
"type": "boolean"
},
"timeEndSec": {
"type": "number"
},
"extendRight": {
"type": "boolean"
},
"fillOpacity": {
"type": "number"
},
"targetPrice": {
"type": "number"
},
"timeStartSec": {
"type": "number"
}
},
"additionalProperties": false
},
"description": "Массив до 64 ChartOverlaySpec для set_overlays (8 примитивов: hline, vline, marker, trendline, ray, zone, fib, position). hline: {id,kind:'hline',price,label?,color?,lineStyle?,lineWidth?}; vline: {id,kind:'vline',timeSec,label?,color?,lineStyle?,lineWidth?}; marker: {id,kind:'marker',timeSec,price?,text,color?,shape?}; trendline: {id,kind:'trendline',p1:{timeSec,price},p2:{timeSec,price},label?,color?,lineStyle?,lineWidth?,extendLeft?,extendRight?}; ray: {id,kind:'ray',p1,p2,label?,color?,lineStyle?,lineWidth?}; zone: {id,kind:'zone',priceLow,priceHigh,timeStartSec?,timeEndSec?,label?,color?,fillColor?,fillOpacity?,lineStyle?,lineWidth?,extendRight?}; fib: {id,kind:'fib',p1,p2,levels?,label?,color?,extendRight?}; position: {id,kind:'position',side:'long'|'short',entryPrice,stopPrice,targetPrice,timeStartSec?,timeEndSec?,label?,qtyUsd?}."
},
"presetId": {
"type": "string",
"description": "ID встроенного пресета Desk для load_desk (например 'perp-dex-arb')"
},
"widgetId": {
"oneOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "ID виджета/тайла (для zoom_widget — строка или null для выхода из зума; для set_link_group, set_instrument, set_timeframe, set_overlays, clear_overlays, swap_spread_legs, set_spread_formula, watchlist_add, watchlist_remove, add_indicator, remove_indicator, set_chart_hud, clear_chart_hud, set_mobile_collapsed)"
},
"collapsed": {
"type": "boolean",
"description": "Для set_mobile_collapsed: свернуть (true) или развернуть (false) окно на мобиле"
},
"hudConfig": {
"type": "object",
"properties": {
"mode": {
"enum": [
"strip",
"card",
"header",
"off"
],
"type": "string"
},
"reset": {
"type": "boolean"
},
"corner": {
"enum": [
"top-left",
"top-right",
"bottom-left",
"bottom-right"
],
"type": "string"
},
"fields": {
"type": "array",
"items": {
"type": "string"
}
},
"preset": {
"enum": [
"perp-scalp",
"funding-arb",
"dex-dossier",
"minimal"
],
"type": "string"
},
"density": {
"enum": [
"compact",
"normal"
],
"type": "string"
},
"replace": {
"type": "boolean"
},
"showLinks": {
"type": "boolean"
},
"showTitle": {
"type": "boolean"
},
"hideFields": {
"type": "array",
"items": {
"type": "string"
}
},
"showFields": {
"type": "array",
"items": {
"type": "string"
}
},
"customFields": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"kind",
"label"
],
"properties": {
"id": {
"type": "string"
},
"expr": {
"type": "string"
},
"kind": {
"enum": [
"expr",
"catalog"
],
"type": "string"
},
"unit": {
"type": "string"
},
"label": {
"type": "string"
},
"format": {
"enum": [
"text",
"number",
"price",
"usd",
"pct",
"signed_pct",
"bps",
"compact",
"age",
"time",
"link"
],
"type": "string"
},
"params": {
"type": "object",
"additionalProperties": true
},
"routeId": {
"type": "string"
},
"decimals": {
"type": "integer"
},
"toneRule": {
"oneOf": [
{
"type": "string"
},
{
"type": "object"
}
]
},
"refreshSec": {
"type": "number"
},
"extractPath": {
"type": "string"
},
"hrefTemplate": {
"type": "string"
}
}
}
},
"hiddenFields": {
"type": "array",
"items": {
"type": "string"
}
},
"upsertCustomFields": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"kind",
"label"
],
"properties": {
"id": {
"type": "string"
},
"expr": {
"type": "string"
},
"kind": {
"enum": [
"expr",
"catalog"
],
"type": "string"
},
"unit": {
"type": "string"
},
"label": {
"type": "string"
},
"format": {
"enum": [
"text",
"number",
"price",
"usd",
"pct",
"signed_pct",
"bps",
"compact",
"age",
"time",
"link"
],
"type": "string"
},
"params": {
"type": "object",
"additionalProperties": true
},
"routeId": {
"type": "string"
},
"decimals": {
"type": "integer"
},
"toneRule": {
"oneOf": [
{
"type": "string"
},
{
"type": "object"
}
]
},
"refreshSec": {
"type": "number"
},
"extractPath": {
"type": "string"
},
"hrefTemplate": {
"type": "string"
}
}
}
},
"removeCustomFieldIds": {
"type": "array",
"items": {
"type": "string"
}
}
},
"description": "Для set_chart_hud: патч конфигурации Arcways Token-State HUD (mode: strip|card|header|off, corner, density, showTitle, showLinks, preset: perp-scalp|funding-arb|dex-dossier|minimal, fields/showFields/hideFields/hiddenFields из 19 встроенных [funding_rate, funding_countdown, funding_apr, oi_usd, volume_24h, vol_oi_ratio, basis_mi, change_24h, high_low_24h, bid_ask_spread, max_leverage, tick_size, dex_mcap, dex_liq, dex_holders, dex_top10, dex_risk, trade_link, networks_status] или кастомных ID, upsertCustomFields/removeCustomFieldIds/customFields до 8 штук видов expr/catalog, replace, reset).",
"additionalProperties": false
},
"linkGroup": {
"enum": [
"none",
"blue",
"amber",
"green",
"purple"
],
"type": "string",
"description": "Группа связывания инструментов для set_link_group / set_overlays / clear_overlays / set_chart_hud / clear_chart_hud (\"none\" | \"blue\" | \"amber\" | \"green\" | \"purple\")"
},
"overrides": {
"type": "object",
"description": "Для add_indicator: визуальные overrides TradingView",
"additionalProperties": true
},
"applyToAll": {
"type": "boolean",
"description": "Для set_chart_hud: применить hudConfig / настройки HUD ко всем графикам текущей области (не требует widgetId/linkGroup)"
},
"columnOrder": {
"type": "array",
"items": {
"type": "string"
},
"description": "Для configure_table: явный порядок ID столбцов (до 40)"
},
"hideColumns": {
"type": "array",
"items": {
"type": "string"
},
"description": "Для configure_table: добавить ID столбцов в скрытые"
},
"searchQuery": {
"type": "string",
"description": "Для configure_table: строка поиска/фильтрации таблицы (до 160 символов)"
},
"showColumns": {
"type": "array",
"items": {
"type": "string"
},
"description": "Для configure_table: показать ранее скрытые ID столбцов"
},
"autoTokenHud": {
"type": "boolean",
"description": "Для set_chart_hud: включить/выключить встроенный авто-HUD токена на графике"
},
"columnWidths": {
"type": "object",
"description": "Для configure_table: ширины столбцов в px (48..480) или null для сброса ширины",
"additionalProperties": {
"oneOf": [
{
"type": "number"
},
{
"type": "null"
}
]
}
},
"forceOverlay": {
"type": "boolean",
"description": "Для add_indicator: наложить поверх ценовой шкалы графика (true) или в отдельной панели (false)"
},
"headerBadges": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"label",
"value"
],
"properties": {
"id": {
"type": "string"
},
"href": {
"type": "string"
},
"tone": {
"enum": [
"up",
"down",
"accent",
"warn",
"muted"
],
"type": "string"
},
"label": {
"type": "string"
},
"title": {
"type": "string"
},
"value": {
"type": "string"
}
}
},
"description": "Для set_chart_hud: бейджи/метрики в шапке графика (до 12 штук)"
},
"customColumns": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
},
"description": "Для configure_table: полностью заменить список кастомных столбцов (до 8, до 3 catalog)"
},
"hiddenColumns": {
"type": "array",
"items": {
"type": "string"
},
"description": "Для configure_table: полностью заменить список скрытых ID столбцов (до 40)"
},
"presetFilters": {
"type": "object",
"description": "Для configure_table: пресет-фильтры нативной таблицы (например venue, minSpread, side)",
"additionalProperties": true
},
"upsertCustomColumns": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"kind",
"label"
],
"properties": {
"id": {
"type": "string"
},
"expr": {
"type": "string"
},
"kind": {
"enum": [
"expr",
"field",
"metric",
"catalog"
],
"type": "string"
},
"path": {
"type": "string"
},
"align": {
"enum": [
"left",
"right",
"center"
],
"type": "string"
},
"label": {
"type": "string"
},
"venue": {
"type": "string"
},
"width": {
"type": "number"
},
"format": {
"enum": [
"text",
"number",
"price",
"usd",
"pct",
"signed_pct",
"bps",
"compact",
"age",
"time",
"link"
],
"type": "string"
},
"metric": {
"enum": [
"price",
"change24hPct",
"volume24hUsd",
"fundingAprPct",
"fundingRatePct",
"fundingSpreadAprPct",
"oiUsd",
"maxSpreadPct",
"bestCounterVenue",
"l2SpreadBps",
"l2Imbalance",
"dexLiquidityUsd",
"dexMarketCapUsd",
"dexNetInflowUsd",
"dexRiskLevel"
],
"type": "string"
},
"params": {
"type": "object",
"additionalProperties": true
},
"routeId": {
"type": "string"
},
"tooltip": {
"type": "string"
},
"decimals": {
"type": "integer"
},
"sortable": {
"type": "boolean"
},
"toneRule": {
"oneOf": [
{
"enum": [
"none",
"sign",
"muted"
],
"type": "string"
},
{
"type": "object"
}
]
},
"cacheTtlSec": {
"type": "number"
},
"extractPath": {
"type": "string"
},
"hrefTemplate": {
"type": "string"
}
}
},
"description": "Для configure_table: добавить или обновить кастомные столбцы (до 8 на таблицу, до 3 kind='catalog')"
},
"removeCustomColumnIds": {
"type": "array",
"items": {
"type": "string"
},
"description": "Для configure_table: удалить кастомные столбцы по ID"
}
},
"additionalProperties": false
}| ackEvents |
| boolean |
| Пометить все непрочитанные события алертов аккаунта как подтверждённые |
| threshold | number | Новый порог |
| webhookUrl | string | Новый webhookUrl (пустая строка очищает) |
| cooldownSec | integer | Новый кулдаун в секундах |
| dataSources | any | Новые catalog dataSources или null |
| webhookFormat | string | Формат webhook payload |
| telegramChatId | string | Telegram chat_id |
| webhookHeaders | object | Заголовки webhook |
| messageTemplate | any | Новый шаблон сообщения или null |
| pushoverUserKey | string | Pushover user key |
| pushoverAppToken | string | Pushover app token |
| telegramBotToken | string | Telegram bot token |
{
"type": "object",
"required": [],
"properties": {
"id": {
"type": "string",
"description": "ID правила алерта (обязательно для обновления или test: true)"
},
"expr": {
"oneOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Новое DSL-выражение или null"
},
"kind": {
"enum": [
"spread_pct",
"funding_apr",
"price_above",
"price_below",
"oi_spike",
"prediction_fork",
"wall_detected",
"expr"
],
"type": "string",
"description": "Новый тип условия"
},
"test": {
"type": "boolean",
"description": "Выполнить тестовую оценку и отправку уведомления по всем настроенным каналам правила"
},
"title": {
"type": "string",
"description": "Новое название правила"
},
"venue": {
"oneOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Площадка или null"
},
"symbol": {
"type": "string",
"description": "Новый символ/монета"
},
"enabled": {
"type": "boolean",
"description": "Включить (true) или поставить на паузу (false)"
},
"symbolB": {
"oneOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Вторая нога или null"
},
"channels": {
"type": "object",
"description": "Патч конфигурации каналов",
"additionalProperties": true
},
"ackEvents": {
"type": "boolean",
"description": "Пометить все непрочитанные события алертов аккаунта как подтверждённые"
},
"threshold": {
"type": "number",
"description": "Новый порог"
},
"webhookUrl": {
"type": "string",
"description": "Новый webhookUrl (пустая строка очищает)"
},
"cooldownSec": {
"type": "integer",
"maximum": 86400,
"minimum": 30,
"description": "Новый кулдаун в секундах"
},
"dataSources": {
"oneOf": [
{
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
}
},
{
"type": "null"
}
],
"description": "Новые catalog dataSources или null"
},
"webhookFormat": {
"enum": [
"json",
"discord",
"slack"
],
"type": "string",
"description": "Формат webhook payload"
},
"telegramChatId": {
"type": "string",
"description": "Telegram chat_id"
},
"webhookHeaders": {
"type": "object",
"description": "Заголовки webhook",
"additionalProperties": {
"type": "string"
}
},
"messageTemplate": {
"oneOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Новый шаблон сообщения или null"
},
"pushoverUserKey": {
"type": "string",
"description": "Pushover user key"
},
"pushoverAppToken": {
"type": "string",
"description": "Pushover app token"
},
"telegramBotToken": {
"type": "string",
"description": "Telegram bot token"
}
},
"additionalProperties": false
}