Arbitron Terminal
Remote MCP for Arbitron multi-chart crypto terminal: desks, spreads, orderbooks, alerts & widgets.
使うべきか
品質と安全性
検出事項(10)
- LOWarbitron_docs 内
- LOWarbitron_list_areas 内
- LOWarbitron_get_area 内
- LOWarbitron_create_area 内
- LOWarbitron_delete_area 内
- LOWarbitron_get_widget_code 内
- LOWarbitron_widget_errors 内
- LOWarbitron_list_desks 内
- LOWarbitron_update_desk 内
- LOWarbitron_orderbook_depth 内
ツール定義とプロトコルへの準拠に関する自動分析に基づいています。
コンテキストコスト
これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。
インストール
ワンクリックインストール
これを `claude_desktop_config.json` ファイルに追加してください:
{
"mcpServers": {
"mcp": {
"url": "https://arbitron.dev/mcp"
}
}
}リモートエンドポイント
https://arbitron.dev/mcpstreamable-httpできること
ツール一覧
ツール(27)
🟢arbitron_docs(format)
Документация Arbitron: формат областей, операций, SDK виджетов, правила CSP, песочница, состояние и рыночные данные. Вызовите первым.
入力スキーマ
{
"type": "object",
"properties": {
"format": {
"type": "string",
"enum": [
"md",
"json"
],
"description": "Формат документации (по умолчанию md)"
}
},
"required": [],
"additionalProperties": false
}🟢arbitron_list_areas
Список рабочих областей (экранов) пользователя.
入力スキーマ
{
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}🟢arbitron_get_area(areaId, includeCode)
Получить область по ID: раскладку, виджеты, views, revision и состояние. Укажите includeCode=true, чтобы получить исходники виджетов.
入力スキーマ
{
"type": "object",
"properties": {
"areaId": {
"type": "string",
"description": "Идентификатор области"
},
"includeCode": {
"type": "boolean",
"description": "Включить исходный код виджетов"
}
},
"required": [
"areaId"
],
"additionalProperties": false
}🟡arbitron_create_area(areaId, name)
Создать новую пустую рабочую область. Если область с таким areaId уже существует, возвращает 409 AREA_EXISTS.
入力スキーマ
{
"type": "object",
"properties": {
"areaId": {
"type": "string",
"description": "Идентификатор области (строчные латинские буквы, цифры, дефис)"
},
"name": {
"type": "string",
"description": "Отображаемое название области (по умолчанию равно areaId)"
}
},
"required": [
"areaId"
],
"additionalProperties": false
}🔴arbitron_apply_ops(areaId, ops, ifMatch)
Атомарно применить пакет операций к области (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.
入力スキーマ
{
"type": "object",
"properties": {
"areaId": {
"type": "string",
"description": "Идентификатор области"
},
"ops": {
"type": "array",
"minItems": 1,
"maxItems": 50,
"items": {
"type": "object",
"required": [
"op"
],
"properties": {
"op": {
"type": "string",
"enum": [
"add_widget",
"set_code",
"edit_code",
"set_params",
"set_bind",
"set_title",
"remove_widget",
"rename",
"set_layout"
],
"description": "Тип операции над областью"
},
"id": {
"type": "string",
"description": "ID нового виджета (для add_widget; /^[a-z0-9][a-z0-9-]{0,31}$/)"
},
"widget": {
"type": "string",
"description": "ID существующего виджета (для set_code, edit_code, set_params, set_title, remove_widget)"
},
"kind": {
"type": "string",
"enum": [
"sandbox",
"chart",
"spread",
"tape",
"watchlist",
"prediction",
"news",
"explorer",
"scanner",
"agent",
"orderbook"
],
"description": "Тип виджета для add_widget (по умолчанию sandbox)"
},
"title": {
"oneOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Заголовок виджета или области (null очищает заголовок в set_title)"
},
"code": {
"type": "string",
"description": "Исходный JS/ESM код sandbox-виджета (для add_widget / set_code)"
},
"codeHash": {
"type": "string",
"description": "64-символьный SHA-256 хэш модуля из arbitron_save_module (альтернатива code)"
},
"params": {
"type": "object",
"description": "JSON-параметры виджета до 16 KiB (16384 байт; для add_widget / set_params)"
},
"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)"
},
"near": {
"type": "string",
"description": "ID соседнего виджета для размещения рядом (для add_widget)"
},
"side": {
"type": "string",
"enum": [
"left",
"right",
"top",
"bottom"
],
"description": "Сторона размещения относительно near (для add_widget)"
},
"ratio": {
"type": "number",
"exclusiveMinimum": 0,
"exclusiveMaximum": 1,
"description": "Доля разбиения 0..1 при размещении виджета (для add_widget)"
},
"find": {
"type": "string",
"description": "Искомый фрагмент исходного кода (для edit_code; должен встречаться ровно 1 раз)"
},
"replace": {
"type": "string",
"description": "Заменяющий текст (для edit_code)"
},
"old": {
"type": "string",
"description": "Алиас find (для edit_code)"
},
"new": {
"type": "string",
"description": "Алиас replace (для edit_code)"
},
"name": {
"type": "string",
"description": "Алиас title (для rename)"
},
"layout": {
"oneOf": [
{
"type": "object"
},
{
"type": "null"
}
],
"description": "Бинарное дерево раскладки { widget } | { axis, ratio, a, b } (для set_layout)"
}
}
},
"description": "Массив операций для применения к области"
},
"ifMatch": {
"type": "integer",
"minimum": 0,
"description": "Ожидаемая ревизия области для заголовка If-Match"
}
},
"required": [
"areaId",
"ops"
],
"additionalProperties": false
}🔴arbitron_delete_area(areaId, ifMatch)
Удалить рабочую область и сохранённые состояния её виджетов по areaId.
入力スキーマ
{
"type": "object",
"properties": {
"areaId": {
"type": "string",
"description": "Идентификатор удаляемой области"
},
"ifMatch": {
"type": "integer",
"minimum": 0,
"description": "Ожидаемая ревизия области (опционально)"
}
},
"required": [
"areaId"
],
"additionalProperties": false
}🟢arbitron_get_widget_code(areaId, widgetId)
Получить текущий исходный код виджета и его SHA-256 хэш.
入力スキーマ
{
"type": "object",
"properties": {
"areaId": {
"type": "string",
"description": "Идентификатор области"
},
"widgetId": {
"type": "string",
"description": "Идентификатор виджета"
}
},
"required": [
"areaId",
"widgetId"
],
"additionalProperties": false
}🟢arbitron_get_widget_state(areaId, widgetId)
Прочитать сохранённое JSON-состояние виджета ({ value, updatedAt }).
入力スキーマ
{
"type": "object",
"properties": {
"areaId": {
"type": "string",
"description": "Идентификатор области"
},
"widgetId": {
"type": "string",
"description": "Идентификатор виджета"
}
},
"required": [
"areaId",
"widgetId"
],
"additionalProperties": false
}🟡arbitron_set_widget_state(areaId, widgetId, value)
Записать сохранённое JSON-состояние виджета (<= 64 KiB) и отправить SSE-событие widget.state.
入力スキーマ
{
"type": "object",
"properties": {
"areaId": {
"type": "string",
"description": "Идентификатор области"
},
"widgetId": {
"type": "string",
"description": "Идентификатор виджета"
},
"value": {
"description": "JSON-значение состояния виджета (может быть null)"
}
},
"required": [
"areaId",
"widgetId",
"value"
],
"additionalProperties": false
}🟢arbitron_widget_errors(areaId, widgetId)
Получить ошибки исполнения виджетов в области (сообщение и стек). Проверяйте после каждого изменения кода.
入力スキーマ
{
"type": "object",
"properties": {
"areaId": {
"type": "string",
"description": "Идентификатор области"
},
"widgetId": {
"type": "string",
"description": "Фильтр по конкретному виджету (опционально)"
}
},
"required": [
"areaId"
],
"additionalProperties": false
}🟢arbitron_validate_widget(code, areaId, widgetId)
Dry-run валидация ESM-кода виджета без исполнения: синтаксис V8, export default, импорты arbitron:code/*, CSP-аудит (включая подсказки по arbitron.ui.logo / data-arbitron-src, arbitron.openLink, arbitron.copy) и проверка API-путей. Передайте code либо areaId+widgetId.
入力スキーマ
{
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "Исходный JS/ESM код виджета для проверки"
},
"areaId": {
"type": "string",
"description": "Идентификатор области (если проверяется сохранённый виджет)"
},
"widgetId": {
"type": "string",
"description": "Идентификатор виджета (вместе с areaId)"
}
},
"required": [],
"additionalProperties": false
}🟡arbitron_save_module(code)
Сохранить общий JS/ESM-модуль в content-addressed хранилище (POST /v1/code). Возвращает { hash, bytes }.
入力スキーマ
{
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "Исходный код модуля"
}
},
"required": [
"code"
],
"additionalProperties": false
}🟢arbitron_query_data(path, params, maxChars)
Запросить read-only рыночные данные Arbitron (/api/<path>) для анализа или проверки формы ответа перед написанием виджета. Поддерживает maxChars для ограничения размера ответа.
入力スキーマ
{
"type": "object",
"properties": {
"path": {
"type": "string",
"enum": [
"klines",
"quotes/batch",
"search",
"search/bootstrap",
"search/exchanges",
"dex/intel",
"predictions/markets",
"predictions/history",
"predictions/arbs",
"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",
"markets/events",
"markets/depegs"
],
"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",
"minimum": 2000,
"maximum": 120000,
"description": "Максимальный размер JSON-ответа в символах (по умолчанию 24000, диапазон 2000..120000)"
}
},
"required": [
"path"
],
"additionalProperties": false
}🟢arbitron_get_session
Получить полное состояние живой сессии терминала (activeAreaId, activeViewId, views, theme, zoomWidgetId, activeWidgetId, ctx, trackedPositionsCount, sharedDeskHash, sharedDeskTitle, url, studies, hudCards, hudConfigs, collapsedWidgets, tables, updatedAt, connectedClients) вместе со списком открытых областей (areas).
入力スキーマ
{
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}🔴arbitron_ui_command(action, areaId, theme, widgetId, linkGroup, ...)
Отправить команду управления живым интерфейсом терминала (SSE ui.command — 34 действий): 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, switch_view, add_view, rename_view, delete_view, set_tile_settings.
入力スキーマ
{
"type": "object",
"properties": {
"action": {
"type": "string",
"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",
"switch_view",
"add_view",
"rename_view",
"delete_view",
"set_tile_settings"
],
"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 | switch_view | add_view | rename_view | delete_view | set_tile_settings"
},
"areaId": {
"type": "string",
"description": "ID области (обязательно для switch_area; опционально для операций над текущей областью)"
},
"theme": {
"type": "string",
"enum": [
"dark",
"light"
],
"description": "Тема интерфейса для set_theme (\"dark\" | \"light\")"
},
"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, set_tile_settings)"
},
"linkGroup": {
"type": "string",
"enum": [
"none",
"blue",
"amber",
"green",
"purple"
],
"description": "Группа связывания инструментов для set_link_group / set_overlays / clear_overlays / set_chart_hud / clear_chart_hud (\"none\" | \"blue\" | \"amber\" | \"green\" | \"purple\")"
},
"widgetA": {
"type": "string",
"description": "ID первого виджета/тайла для swap_widgets"
},
"widgetB": {
"type": "string",
"description": "ID второго виджета/тайла для swap_widgets"
},
"symbol": {
"oneOf": [
{
"type": "string"
},
{
"type": "object"
}
],
"description": "Инструмент для set_instrument / watchlist_add / watchlist_remove: строка (например \"BINANCE:BTCUSDT\") или объект с непустым полем symbol"
},
"tf": {
"type": "string",
"description": "Таймфрейм для set_timeframe (например \"1m\", \"5m\", \"15m\", \"1h\", \"4h\", \"1D\")"
},
"overlays": {
"type": "array",
"description": "Массив до 64 ChartOverlaySpec для set_overlays (8 примитивов: hline, vline, marker, trendline, ray, zone, fib, position).",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"kind": {
"type": "string",
"enum": [
"hline",
"vline",
"marker",
"trendline",
"ray",
"zone",
"fib",
"position"
]
},
"price": {
"type": "number"
},
"timeSec": {
"type": "number"
},
"text": {
"type": "string"
},
"label": {
"type": "string"
},
"color": {
"type": "string"
},
"lineStyle": {
"type": "string",
"enum": [
"solid",
"dashed",
"dotted"
]
},
"lineWidth": {
"type": "integer"
},
"shape": {
"type": "string",
"enum": [
"arrow_up",
"arrow_down",
"flag",
"callout"
]
},
"p1": {
"type": "object",
"properties": {
"timeSec": {
"type": "number"
},
"price": {
"type": "number"
}
},
"required": [
"timeSec",
"price"
]
},
"p2": {
"type": "object",
"properties": {
"timeSec": {
"type": "number"
},
"price": {
"type": "number"
}
},
"required": [
"timeSec",
"price"
]
},
"extendLeft": {
"type": "boolean"
},
"extendRight": {
"type": "boolean"
},
"priceLow": {
"type": "number"
},
"priceHigh": {
"type": "number"
},
"timeStartSec": {
"type": "number"
},
"timeEndSec": {
"type": "number"
},
"fillColor": {
"type": "string"
},
"fillOpacity": {
"type": "number"
},
"levels": {
"type": "array",
"items": {
"type": "number"
}
},
"side": {
"type": "string",
"enum": [
"long",
"short"
]
},
"entryPrice": {
"type": "number"
},
"stopPrice": {
"type": "number"
},
"targetPrice": {
"type": "number"
},
"qtyUsd": {
"type": "number"
}
},
"required": [
"id",
"kind"
],
"additionalProperties": false
}
},
"ids": {
"type": "array",
"items": {
"type": "string"
},
"description": "ID конкретных оверлеев для clear_overlays (если опущено — очищает все)"
},
"legA": {
"type": "string",
"description": "Символ ноги A для open_spread_pair"
},
"legB": {
"type": "string",
"description": "Символ ноги B для open_spread_pair"
},
"coin": {
"type": "string",
"description": "Опциональная базовая монета для open_spread_pair"
},
"formula": {
"type": "string",
"enum": [
"pct",
"diff",
"ratio",
"idx"
],
"description": "Формула спреда для set_spread_formula (\"pct\" | \"diff\" | \"ratio\" | \"idx\")"
},
"ctx": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "Словарь $ctx-параметров для set_ctx / load_desk"
},
"viewId": {
"type": "string",
"description": "ID под-вкладки/представления (для switch_view, add_view, rename_view, delete_view, set_ctx, load_desk)"
},
"title": {
"type": "string",
"description": "Заголовок под-вкладки для add_view / rename_view"
},
"template": {
"type": "string",
"description": "Опциональный шаблон/виджет для add_view (например 'chart', 'scanner', 'spread', '2x1', '2x2')"
},
"settings": {
"type": "object",
"description": "Патч настроек нативного тайла для set_tile_settings (ключи: scannerTab, newsTab, newsMarket, orderbookMode, orderbookVenues, orderbookSizeUsd, explorerChain, explorerQuery, predictionSource, predictionQuery, agentSpecId, title)",
"additionalProperties": true
},
"hash": {
"type": "string",
"description": "12..64 hex хэш опубликованного Desk для load_desk"
},
"presetId": {
"type": "string",
"description": "ID встроенного пресета Desk для load_desk (например 'perp-dex-arb')"
},
"preset": {
"type": "string",
"enum": [
"1x1",
"2x1",
"2x2",
"main"
],
"description": "Пресет раскладки для apply_preset (\"1x1\" | \"2x1\" | \"2x2\" | \"main\")"
},
"message": {
"type": "string",
"description": "Текст уведомления для show_toast"
},
"tone": {
"type": "string",
"enum": [
"info",
"success",
"warning",
"error"
],
"description": "Тон уведомления для show_toast (\"info\" | \"success\" | \"warning\" | \"error\")"
},
"tool": {
"type": "string",
"description": "ID инструмента рисования TradingView для drawing_tool (например 'trend_line', 'horizontal_line', 'cursor')"
},
"mode": {
"type": "string",
"enum": [
"off",
"weak",
"strong"
],
"description": "Режим магнита рисования для drawing_magnet (\"off\" | \"weak\" | \"strong\")"
},
"scope": {
"type": "string",
"enum": [
"active",
"all"
],
"description": "Область очистки рисунков для drawing_clear (\"active\" | \"all\")"
},
"name": {
"type": "string",
"description": "Имя индикатора TradingView для add_indicator / remove_indicator (например \"EMA\", \"SMA\", \"RSI\", \"MACD\", \"VWAP\", \"Bollinger Bands\", \"ATR\", \"Stochastic\", \"Ichimoku\" или \"*\" для удаления всех)"
},
"forceOverlay": {
"type": "boolean",
"description": "Для add_indicator: наложить поверх ценовой шкалы графика (true) или в отдельной панели (false)"
},
"inputs": {
"type": "object",
"additionalProperties": true,
"description": "Для add_indicator: параметры индикатора TradingView (например { length: 21 })"
},
"overrides": {
"type": "object",
"additionalProperties": true,
"description": "Для add_indicator: переопределения стиля индикатора TradingView"
},
"studyId": {
"type": "string",
"description": "Для remove_indicator: точный ID индикатора из arbitron_get_session -> studies"
},
"autoTokenHud": {
"type": "boolean",
"description": "Для set_chart_hud: включить/отключить встроенный авто-HUD токена поверх графика"
},
"replace": {
"type": "boolean",
"description": "Для set_chart_hud / configure_table: заменить существующие настройки полностью (true) или слить (false)"
},
"headerBadges": {
"type": "array",
"description": "Для set_chart_hud: бейджи в шапке графика (до 12): { id, label, value, tone?, href?, title? }",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"label": {
"type": "string"
},
"value": {
"type": "string"
},
"tone": {
"type": "string",
"enum": [
"up",
"down",
"accent",
"warn",
"muted"
]
},
"href": {
"type": "string"
},
"title": {
"type": "string"
}
},
"required": [
"id",
"label",
"value"
]
}
},
"cards": {
"type": "array",
"description": "Для set_chart_hud: угловые HUD-карточки поверх графика (до 12): { id, corner, title?, collapsed?, items: [{ label, value, tone?, href? }] }",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"corner": {
"type": "string",
"enum": [
"top-left",
"top-right",
"bottom-left",
"bottom-right"
]
},
"title": {
"type": "string"
},
"collapsed": {
"type": "boolean"
},
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"label": {
"type": "string"
},
"value": {
"type": "string"
},
"tone": {
"type": "string",
"enum": [
"up",
"down",
"accent",
"warn",
"muted"
]
},
"href": {
"type": "string"
}
},
"required": [
"label",
"value"
]
}
}
},
"required": [
"id",
"corner",
"items"
]
}
},
"hudConfig": {
"type": "object",
"description": "Для set_chart_hud: конфигурация настраиваемого HUD графика (mode: strip/card/header/off, corner, density, preset, fields, hideFields, showFields, hiddenFields, showTitle, showLinks, replace, reset, upsertCustomFields, removeCustomFieldIds, customFields expr/catalog). Встроенные поля: 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.",
"properties": {
"mode": {
"type": "string",
"enum": [
"strip",
"card",
"header",
"off"
]
},
"corner": {
"type": "string",
"enum": [
"top-left",
"top-right",
"bottom-left",
"bottom-right"
]
},
"density": {
"type": "string",
"enum": [
"compact",
"normal"
]
},
"preset": {
"type": "string",
"enum": [
"perp-scalp",
"funding-arb",
"dex-dossier",
"minimal"
]
},
"fields": {
"type": "array",
"items": {
"type": "string"
},
"description": "Упорядоченный список ID полей (встроенные: 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 кастомных полей)"
},
"hideFields": {
"type": "array",
"items": {
"type": "string"
}
},
"showFields": {
"type": "array",
"items": {
"type": "string"
}
},
"hiddenFields": {
"type": "array",
"items": {
"type": "string"
}
},
"showTitle": {
"type": "boolean"
},
"showLinks": {
"type": "boolean"
},
"removeCustomFieldIds": {
"type": "array",
"items": {
"type": "string"
}
},
"replace": {
"type": "boolean"
},
"reset": {
"type": "boolean"
},
"upsertCustomFields": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"kind": {
"type": "string",
"enum": [
"expr",
"catalog"
]
},
"label": {
"type": "string"
},
"expr": {
"type": "string"
},
"routeId": {
"type": "string"
},
"params": {
"type": "object",
"additionalProperties": true
},
"extractPath": {
"type": "string"
},
"refreshSec": {
"type": "number"
},
"format": {
"type": "string",
"enum": [
"text",
"number",
"price",
"usd",
"pct",
"signed_pct",
"bps",
"compact",
"age",
"time",
"link"
]
},
"decimals": {
"type": "integer"
},
"unit": {
"type": "string"
},
"toneRule": {
"oneOf": [
{
"type": "string"
},
{
"type": "object"
}
]
},
"hrefTemplate": {
"type": "string"
}
},
"required": [
"id",
"kind",
"label"
]
}
},
"customFields": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"kind": {
"type": "string",
"enum": [
"expr",
"catalog"
]
},
"label": {
"type": "string"
},
"expr": {
"type": "string"
},
"routeId": {
"type": "string"
},
"params": {
"type": "object",
"additionalProperties": true
},
"extractPath": {
"type": "string"
},
"refreshSec": {
"type": "number"
},
"format": {
"type": "string",
"enum": [
"text",
"number",
"price",
"usd",
"pct",
"signed_pct",
"bps",
"compact",
"age",
"time",
"link"
]
},
"decimals": {
"type": "integer"
},
"unit": {
"type": "string"
},
"toneRule": {
"oneOf": [
{
"type": "string"
},
{
"type": "object"
}
]
},
"hrefTemplate": {
"type": "string"
}
},
"required": [
"id",
"kind",
"label"
]
}
}
},
"additionalProperties": false
},
"applyToAll": {
"type": "boolean",
"description": "Для set_chart_hud: применить hudConfig / настройки HUD ко всем графикам текущей области (не требует widgetId/linkGroup)"
},
"cardIds": {
"type": "array",
"items": {
"type": "string"
},
"description": "Для clear_chart_hud: ID конкретных HUD-карточек (если опущено — очищает весь агентский HUD)"
},
"collapsed": {
"type": "boolean",
"description": "Для set_mobile_collapsed: свернуть (true) или развернуть (false) окно на мобиле"
},
"all": {
"type": "boolean",
"description": "Для set_mobile_collapsed: применить ко всем окнам текущей области"
},
"view": {
"type": "string",
"description": "Для configure_table: ключ вкладки/представления таблицы (например 'spreads', 'funding', 'tokens', 'txs')"
},
"reset": {
"type": "boolean",
"description": "Для configure_table: сбросить конфигурацию таблицы к дефолтным настройкам"
},
"sort": {
"oneOf": [
{
"type": "object",
"properties": {
"columnId": {
"type": "string"
},
"dir": {
"type": "string",
"enum": [
"asc",
"desc"
]
}
},
"required": [
"columnId",
"dir"
]
},
{
"type": "null"
}
],
"description": "Для configure_table: сортировка { columnId, dir: 'asc'|'desc' } или null для сброса"
},
"columnOrder": {
"type": "array",
"items": {
"type": "string"
},
"description": "Для configure_table: явный порядок ID столбцов (до 40)"
},
"hideColumns": {
"type": "array",
"items": {
"type": "string"
},
"description": "Для configure_table: добавить ID столбцов в скрытые"
},
"showColumns": {
"type": "array",
"items": {
"type": "string"
},
"description": "Для configure_table: показать ранее скрытые ID столбцов"
},
"hiddenColumns": {
"type": "array",
"items": {
"type": "string"
},
"description": "Для configure_table: полностью заменить список скрытых ID столбцов (до 40)"
},
"columnWidths": {
"type": "object",
"additionalProperties": {
"oneOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"description": "Для configure_table: ширины столбцов в px (48..480) или null для сброса ширины"
},
"upsertCustomColumns": {
"type": "array",
"description": "Для configure_table: добавить или обновить кастомные столбцы (до 8 на таблицу, до 3 kind='catalog')",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"kind": {
"type": "string",
"enum": [
"expr",
"field",
"metric",
"catalog"
]
},
"label": {
"type": "string"
},
"tooltip": {
"type": "string"
},
"align": {
"type": "string",
"enum": [
"left",
"right",
"center"
]
},
"format": {
"type": "string",
"enum": [
"text",
"number",
"price",
"usd",
"pct",
"signed_pct",
"bps",
"compact",
"age",
"time",
"link"
]
},
"decimals": {
"type": "integer"
},
"toneRule": {
"oneOf": [
{
"type": "string",
"enum": [
"none",
"sign",
"muted"
]
},
{
"type": "object"
}
]
},
"hrefTemplate": {
"type": "string"
},
"width": {
"type": "number"
},
"sortable": {
"type": "boolean"
},
"expr": {
"type": "string"
},
"path": {
"type": "string"
},
"metric": {
"type": "string",
"enum": [
"price",
"change24hPct",
"volume24hUsd",
"fundingAprPct",
"fundingRatePct",
"fundingSpreadAprPct",
"oiUsd",
"maxSpreadPct",
"bestCounterVenue",
"l2SpreadBps",
"l2Imbalance",
"dexLiquidityUsd",
"dexMarketCapUsd",
"dexNetInflowUsd",
"dexRiskLevel"
]
},
"venue": {
"type": "string"
},
"routeId": {
"type": "string"
},
"params": {
"type": "object",
"additionalProperties": true
},
"extractPath": {
"type": "string"
},
"cacheTtlSec": {
"type": "number"
}
},
"required": [
"id",
"kind",
"label"
]
}
},
"removeCustomColumnIds": {
"type": "array",
"items": {
"type": "string"
},
"description": "Для configure_table: удалить кастомные столбцы по ID"
},
"customColumns": {
"type": "array",
"description": "Для configure_table: полностью заменить список кастомных столбцов (до 8, до 3 catalog)",
"items": {
"type": "object",
"additionalProperties": true
}
},
"filters": {
"type": "array",
"description": "Для configure_table: фильтры столбцов (до 12): { columnId, op, value }",
"items": {
"type": "object",
"properties": {
"columnId": {
"type": "string"
},
"op": {
"type": "string",
"enum": [
"eq",
"neq",
"gt",
"gte",
"lt",
"lte",
"contains",
"in"
]
},
"value": {}
},
"required": [
"columnId",
"op",
"value"
]
}
},
"searchQuery": {
"type": "string",
"description": "Для configure_table: строка поиска/фильтрации таблицы (до 160 символов)"
},
"presetFilters": {
"type": "object",
"additionalProperties": true,
"description": "Для configure_table: пресет-фильтры нативной таблицы (например venue, minSpread, side)"
},
"icons": {
"type": "string",
"enum": [
"auto",
"minimal",
"off"
],
"description": "Для configure_table: режим иконок в таблице (\"auto\" | \"minimal\" | \"off\")"
},
"density": {
"type": "string",
"enum": [
"compact",
"comfortable"
],
"description": "Для configure_table: плотность строк таблицы (\"compact\" | \"comfortable\")"
}
},
"required": [
"action"
],
"additionalProperties": false
}🟢arbitron_catalog_search(q, provider, category, plane, tag, ...)
Поиск по единому Data Catalog поверх api-hub (все подключённые провайдеры и маршруты: hyperliquid, aster, lighter, dydx, deribit, coinglass, polymarket, kalshi и др.).
入力スキーマ
{
"type": "object",
"properties": {
"q": {
"type": "string",
"description": "Поисковый запрос (например 'funding', 'orderbook', 'hyperliquid')"
},
"provider": {
"type": "string",
"description": "Фильтр по провайдеру (например 'hyperliquid', 'coinglass', 'aster')"
},
"category": {
"type": "string",
"description": "Категория ('perp_dex', 'derivatives', 'prediction', 'dex', 'market', 'explorer')"
},
"plane": {
"type": "string",
"description": "Плоскость ('rest', 'ws', 'sse', 'explorer', 'rpc')"
},
"tag": {
"type": "string",
"description": "Фильтр по тегу маршрута"
},
"limit": {
"type": "integer",
"description": "Максимум результатов (1..100, по умолчанию 25)"
}
},
"required": [],
"additionalProperties": false
}🟢arbitron_catalog_query(routeId, params, body, maxChars)
Выполнить любой публичный REST/explorer маршрут из Data Catalog по его routeId (из arbitron_catalog_search) с параметрами и защитой размера ответа.
入力スキーマ
{
"type": "object",
"properties": {
"routeId": {
"type": "string",
"description": "Идентификатор маршрута из arbitron_catalog_search (например 'aster:GET:/fapi/v1/premiumIndex' или 'hyperliquid:POST:/info/allMids')"
},
"params": {
"type": "object",
"description": "Path/query параметры маршрута",
"additionalProperties": true
},
"body": {
"description": "Опциональное JSON-тело для POST маршрутов"
},
"maxChars": {
"type": "integer",
"description": "Ограничение размера ответа в символах (2000..120000, по умолчанию 24000)"
}
},
"required": [
"routeId"
],
"additionalProperties": false
}🟡arbitron_desk_publish(desk, areaId, title)
Опубликовать иммутабельный content-addressed снимок Desk (/d/<shortHash>) для шаринга, версионирования и форка. Можно передать либо объект desk (DeskDoc v1), либо areaId существующей области (сохраняет все multi-view вкладки area.views).
入力スキーマ
{
"type": "object",
"properties": {
"desk": {
"type": "object",
"description": "Полный объект DeskDoc v1 ({ version: 1, title, defaultView, views, agents?, style?, code? })",
"additionalProperties": true
},
"areaId": {
"type": "string",
"description": "Опционально: опубликовать существующую область аккаунта как Desk (сохраняет multi-view area.views; требует Bearer-токен)"
},
"title": {
"type": "string",
"description": "Опциональное переопределение заголовка при публикации из areaId"
}
},
"required": [],
"additionalProperties": false
}🟢arbitron_list_desks(hash, deskId, includePresets)
Получить список встроенных курируемых пресетов Desk и сохранённых десков аккаунта, либо загрузить конкретный Desk по hash или deskId.
入力スキーマ
{
"type": "object",
"properties": {
"hash": {
"type": "string",
"description": "Опционально: 12..64 hex хэш конкретного Desk (/d/<hash>) или пресета"
},
"deskId": {
"type": "string",
"description": "Опционально: ID сохранённого деска аккаунта (требует Bearer-токен)"
},
"includePresets": {
"type": "boolean",
"description": "Включить встроенные пресеты (по умолчанию true)"
}
},
"required": [],
"additionalProperties": false
}⚪arbitron_fork_desk(hash, presetId, id, title)
Форкнуть опубликованный Desk (/d/<hash>) или встроенный пресет (presetId) в редактируемую ветку аккаунта.
入力スキーマ
{
"type": "object",
"properties": {
"hash": {
"type": "string",
"description": "12..64 hex хэш опубликованного Desk (либо укажите presetId)"
},
"presetId": {
"type": "string",
"description": "ID встроенного пресета Desk (например 'arcways-arb', 'perp-dex-arb', 'funding-farm', 'dex-token-dossier', 'prediction-forks', 'scalp-microstructure')"
},
"id": {
"type": "string",
"description": "Опциональный ID создаваемого деска в аккаунте"
},
"title": {
"type": "string",
"description": "Опциональный заголовок форка"
}
},
"required": [],
"additionalProperties": false
}🟡arbitron_update_desk(deskId, desk, ifMatch)
Создать или обновить редактируемую ветку Desk в аккаунте (PUT /v1/desks/:id) новым документом DeskDoc v1 с опциональной оптимистичной блокировкой ifMatch.
入力スキーマ
{
"type": "object",
"properties": {
"deskId": {
"type": "string",
"description": "Идентификатор деска аккаунта (/^[a-z0-9][a-z0-9-]{0,63}$/)"
},
"desk": {
"type": "object",
"description": "Полный объект DeskDoc v1 ({ version: 1, title, defaultView, views, agents?, style?, code? })",
"additionalProperties": true
},
"ifMatch": {
"type": "integer",
"minimum": 0,
"description": "Ожидаемая ревизия деска для заголовка If-Match (опционально)"
}
},
"required": [
"deskId",
"desk"
],
"additionalProperties": false
}🟢arbitron_run_analyst(specId, ctx, force)
Запустить серверного AI-аналитика AgentActor (spread-verdict, funding-radar, token-dossier или specHash) с общим семантическим кэшем и получить структурированный вердикт (OK/TRAP/WAIT/NEUTRAL).
入力スキーマ
{
"type": "object",
"properties": {
"specId": {
"type": "string",
"description": "ID пресета ('spread-verdict' | 'funding-radar' | 'token-dossier'), кастомного агента из desk.agents или SHA-256 specHash"
},
"ctx": {
"type": "object",
"description": "Контекст анализа (например { a: 'BINANCE:BTCUSDT.P', b: 'OKX:BTCUSDT.P', coin: 'BTC' })",
"additionalProperties": {
"type": "string"
}
},
"force": {
"type": "boolean",
"description": "Обойти семантический кэш и пересчитать заново"
}
},
"required": [
"specId"
],
"additionalProperties": false
}⚪arbitron_manage_analyst_specs(action, id, title, instructions, tools, ...)
Получить список встроенных и кастомных спецификаций серверных AI-аналитиков (action='list') или зарегистрировать нового кастомного аналитика (action='register' + instructions).
入力スキーマ
{
"type": "object",
"properties": {
"action": {
"type": "string",
"enum": [
"list",
"register"
],
"description": "Действие: list (по умолчанию) или register"
},
"id": {
"type": "string",
"description": "ID спецификации при регистрации (например 'my-arb-analyst')"
},
"title": {
"type": "string",
"description": "Название спецификации"
},
"instructions": {
"type": "string",
"description": "Инструкции (системный промпт) аналитика — обязательно для action='register'"
},
"tools": {
"type": "array",
"items": {
"type": "string"
},
"description": "Список разрешённых инструментов (например ['api-hub:market/quotes', 'api-hub:coinglass/funding'])"
},
"bind": {
"type": "array",
"items": {
"type": "string"
},
"description": "Привязки контекста ($ctx.*), которые передаются аналитику"
},
"cacheKey": {
"type": "string",
"description": "Шаблон ключа семантического кэша"
},
"cooldownSec": {
"type": "integer",
"minimum": 15,
"maximum": 3600,
"description": "TTL семантического кэша в секундах"
},
"outputSchema": {
"type": "string",
"enum": [
"verdict",
"brief",
"table"
],
"description": "Формат структурированного ответа аналитика"
}
},
"required": [],
"additionalProperties": false
}🟢arbitron_orderbook_depth(symbol, symbolB, sizeUsd)
Получить L2-стакан, дисбаланс и крупные стены ликвидности по Perp-DEX инструменту (Hyperliquid, Aster, dYdX, Lighter, Deribit). Если передать symbolB — выполнить симуляцию межбиржевого VWAP-исполнения спреда A/B на объём sizeUsd.
入力スキーマ
{
"type": "object",
"properties": {
"symbol": {
"type": "string",
"description": "Инструмент ноги A (например 'HYPERLIQUID:BTCUSDC.P' или 'ASTER:ETHUSDT.P')"
},
"symbolB": {
"type": "string",
"description": "Опционально: инструмент ноги B для симуляции исполнения спреда (VWAP/проскальзывание)"
},
"sizeUsd": {
"type": "number",
"exclusiveMinimum": 0,
"description": "Объём сделки в USD для симуляции исполнения спреда (по умолчанию 10000)"
}
},
"required": [
"symbol"
],
"additionalProperties": false
}🟡arbitron_create_alert(kind, symbol, symbolB, venue, threshold, ...)
Создать серверное правило алерта: встроенные типы (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.
入力スキーマ
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"spread_pct",
"funding_apr",
"price_above",
"price_below",
"oi_spike",
"prediction_fork",
"wall_detected",
"expr"
],
"description": "Тип условия алерта (включая программируемый DSL 'expr')"
},
"symbol": {
"type": "string",
"description": "Тикер / монета / инструмент (для встроенных типов; опционально для kind='expr', по умолчанию '*')"
},
"symbolB": {
"type": "string",
"description": "Опциональная вторая нога для spread_pct"
},
"venue": {
"type": "string",
"description": "Опциональный фильтр площадки (например 'HYPERLIQUID')"
},
"threshold": {
"type": "number",
"description": "Порог срабатывания (в % для спреда/APR/OI, в USD для цены/стен; опционально для kind='expr')"
},
"expr": {
"type": "string",
"description": "Выражение безопасного DSL для kind='expr' (например \"absSpread('SOL') > 0.5 && price('BTC') > 80000\")"
},
"dataSources": {
"type": "array",
"maxItems": 3,
"items": {
"type": "object",
"required": [
"alias",
"routeId"
],
"properties": {
"alias": {
"type": "string"
},
"routeId": {
"type": "string"
},
"params": {
"type": "object",
"additionalProperties": true
},
"body": {}
}
},
"description": "До 3 маршрутов Data Catalog для kind='expr', доступных как data.<alias>.<field>"
},
"messageTemplate": {
"type": "string",
"description": "Шаблон текста алерта ({{title}}, {{symbol}}, {{value}}, {{expr}}, {{link}})"
},
"title": {
"type": "string",
"description": "Опциональное название правила"
},
"cooldownSec": {
"type": "integer",
"minimum": 30,
"maximum": 86400,
"description": "Кулдаун между срабатываниями в секундах (30..86400, по умолчанию 300)"
},
"channels": {
"type": "object",
"description": "Полная конфигурация каналов доставки { web?, webhookUrl?, webhookFormat?, webhookHeaders?, telegramChatId?, telegramBotToken?, pushoverUserKey?, pushoverAppToken? }",
"additionalProperties": true
},
"webhookUrl": {
"type": "string",
"description": "Опциональный HTTPS webhook URL для уведомлений"
},
"webhookFormat": {
"type": "string",
"enum": [
"json",
"discord",
"slack"
],
"description": "Формат payload вебхука: json | discord | slack"
},
"webhookHeaders": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "Опциональные пользовательские HTTP-заголовки вебхука"
},
"telegramChatId": {
"type": "string",
"description": "Опциональный Telegram chat_id для доставки уведомлений"
},
"telegramBotToken": {
"type": "string",
"description": "Опциональный Telegram bot token (если не задан — используется токен сервера)"
},
"pushoverUserKey": {
"type": "string",
"description": "Опциональный Pushover user key"
},
"pushoverAppToken": {
"type": "string",
"description": "Опциональный Pushover app token"
}
},
"required": [
"kind"
],
"additionalProperties": false
}🟡arbitron_update_alert(id, ackEvents, test, enabled, title, ...)
Обновить/поставить на паузу/возобновить правило алерта (id + поля патча), отправить тестовую доставку (id + test: true) или пометить все события прочитанными (ackEvents: true).
入力スキーマ
{
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "ID правила алерта (обязательно для обновления или test: true)"
},
"ackEvents": {
"type": "boolean",
"description": "Пометить все непрочитанные события алертов аккаунта как подтверждённые"
},
"test": {
"type": "boolean",
"description": "Выполнить тестовую оценку и отправку уведомления по всем настроенным каналам правила"
},
"enabled": {
"type": "boolean",
"description": "Включить (true) или поставить на паузу (false)"
},
"title": {
"type": "string",
"description": "Новое название правила"
},
"kind": {
"type": "string",
"enum": [
"spread_pct",
"funding_apr",
"price_above",
"price_below",
"oi_spike",
"prediction_fork",
"wall_detected",
"expr"
],
"description": "Новый тип условия"
},
"symbol": {
"type": "string",
"description": "Новый символ/монета"
},
"symbolB": {
"oneOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Вторая нога или null"
},
"venue": {
"oneOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Площадка или null"
},
"threshold": {
"type": "number",
"description": "Новый порог"
},
"expr": {
"oneOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Новое DSL-выражение или null"
},
"dataSources": {
"oneOf": [
{
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
}
},
{
"type": "null"
}
],
"description": "Новые catalog dataSources или null"
},
"messageTemplate": {
"oneOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Новый шаблон сообщения или null"
},
"cooldownSec": {
"type": "integer",
"minimum": 30,
"maximum": 86400,
"description": "Новый кулдаун в секундах"
},
"channels": {
"type": "object",
"additionalProperties": true,
"description": "Патч конфигурации каналов"
},
"webhookUrl": {
"type": "string",
"description": "Новый webhookUrl (пустая строка очищает)"
},
"webhookFormat": {
"type": "string",
"enum": [
"json",
"discord",
"slack"
],
"description": "Формат webhook payload"
},
"webhookHeaders": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "Заголовки webhook"
},
"telegramChatId": {
"type": "string",
"description": "Telegram chat_id"
},
"telegramBotToken": {
"type": "string",
"description": "Telegram bot token"
},
"pushoverUserKey": {
"type": "string",
"description": "Pushover user key"
},
"pushoverAppToken": {
"type": "string",
"description": "Pushover app token"
}
},
"required": [],
"additionalProperties": false
}🔴arbitron_list_alerts(deleteId, includeEvents)
Получить список серверных правил алертов (и опционально последние срабатывания при includeEvents=true) либо удалить правило по deleteId.
入力スキーマ
{
"type": "object",
"properties": {
"deleteId": {
"type": "string",
"description": "Опционально: удалить правило алерта с указанным ID"
},
"includeEvents": {
"type": "boolean",
"description": "Опционально: включить список последних сработавших событий (events)"
}
},
"required": [],
"additionalProperties": false
}コミュニティ
エビデンス