Adona Robot market data

com.adona-robotv1.2.0更新於 Oct 4, 2026

FX and metals market data: plans, 51 symbols, price quotes, and candles with an API key.

已驗證Streamable HTTP可網頁執行FinanceData & Analytics

概覽

AI 產生的概覽

讓助理查詢 Adona Robot 的外匯與金屬行情方案、品種、月費價格以及 K 線歷史。

功能
這是一個遠端、無狀態的 MCP 伺服器,提供四個工具。get_offer 回傳方案、價格、限制、試用、連續行情來源與連結;list_symbols 回傳付費方案包含的每個品種及其名稱與類別;quote_price_for 回傳一個月用量的方案與未稅 CHF 總額;get_candles 回傳單一品種的一頁 K 線歷史,由舊到新。前三個工具不需要金鑰,只有 get_candles 需要。
適用情境
當助理需要回答關於 Adona Robot 行情服務的問題時使用,例如一定數量的同時使用者要花多少錢、某個方案涵蓋哪些品種,或某個品種最近的 K 線情況。不需要金鑰的工具適合在購買前評估這項服務。
執行需求
遠端 streamable HTTP 端點 需要 Adona Robot API 金鑰,透過 Authorization Bearer 標頭或 X-API-Key 標頭送出,並依 GET /v1/candles 計費。金鑰需先用公司電子郵件註冊帳號,再於帳號頁面建立。
安裝前請注意
get_candles 依 GET /v1/candles 計費,呼叫會消耗付費方案額度;試用期為 7 天免費,僅含 EURUSD 與 XAUUSD。只能送出一個金鑰:Authorization 與 X-API-Key 中兩個不同的金鑰會被拒絕為 CONFLICTING_API_KEYS。金鑰應保存在環境變數中,不要寫入提交的檔案,也不要放在網頁裡。某品種在一個月內超過 80% 的開市時間被即時跟隨時,該月帳單會增加 150 CHF。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Adona Robot market data,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "market-data": {
      "type": "http",
      "url": "https://api.adona-robot.com/mcp"
    }
  }
}

README

Adona Robot market data: examples and MCP server

Runnable examples for the Adona Robot market-data API, and the configuration to connect an AI agent to its MCP server.

Adona Robot sells one-second OHLC candles and a live bid/ask quote stream for 46 FX pairs and 5 spot metals, over REST and WebSocket. It is priced by capacity: the month's peak of simultaneous connections and slices of 1000 bars, not per seat. Redistribution is allowed on every plan: show the data in your product, relay it to your own clients, keep what you receive. A symbol you follow live for more than 80% of its open hours in a month adds CHF 150 to that month's invoice, on top of the plan.

Facts as of 2026-10-03. The current ones are always on adona-robot.com and, machine-readable, in spec.json and symbols.json.

PlanCHF a month, before VATSized for (simultaneous connections)Slices of 1000 bars a month
Trial, 7 days, free032 500 a day
Starter50030750 000
Growth1 2001002 500 000
Scale2 4003007 500 000
Enterprise5 0001 00025 000 000

The trial carries EURUSD and XAUUSD with 7 days of history; every paid plan carries all 51 symbols. A paid plan never refuses a connection: the month's reading sets the next invoice's plan. Above Enterprise: [email protected].

1. Get a key

  1. Open an account with your company email address (one trial per company).

  2. Confirm the address, sign in, and create the key on your account page. It is shown once: keep it on your server, never in a web page or a repository.

  3. Export it for the examples:

    sh
    export ADONA_API_KEY=YOUR_API_KEY

The quickstart walks through the same steps on the site.

2. How a call works

  • Your API key stays on your server. It is exchanged at POST /v1/tokens for a twelve-hour token per end user of yours (end_user_id).
  • History: GET /v1/candles?symbol=EURUSD&timeframe=S1, timeframes S1, M1, M5, M15, H1, H4, D1, up to 5000 bars a page, oldest first, prices as strings. next_before is the cursor to the page before (null when there is nothing older). On S1 a page covers one day, so an empty page with a cursor is an empty day (a weekend): continue with the cursor.
  • Live: POST /v1/ws-ticket with the token gives a single-use ticket. Open wss://api.adona-robot.com/v1/stream offering two subprotocols, adona.data.v1 and ticket.<ticket> (never in the URL), then send a subscribe frame with channels such as quote:EURUSD and candle:EURUSD:M1.
  • A refusal answers {"detail": "CODE"}: branch on the code. Every code and what to do about it is in the API reference, and the contract is machine-readable at openapi.json.

3. Examples

The Python and JavaScript history examples and the Python stream are the code of the quickstart's tabs, unchanged.

HistoryLive stream
curlcurl/history.shcurl/stream-ticket.sh (the ticket; a WebSocket client opens the stream)
Python 3.9+python/history.pypython/stream.py
JavaScriptjavascript/history.mjs, Node 18+javascript/stream.mjs, Node 22+ (global WebSocket); the same frames as the quickstart's browser snippet

The Python examples need two packages, once: pip install requests websockets.

sh
./curl/history.sh                   # the latest 1000 EURUSD one-minute barspython python/history.py            # the latest 1000 EURUSD one-minute barspython python/stream.py             # quotes and one-minute bars, until Ctrl-Cnode javascript/history.mjsnode javascript/stream.mjs quote:XAUUSD candle:XAUUSD:M1

Each one prints refused: with the status and the API's answer, and stops, when the API says no (a wrong key answers INVALID_CUSTOMER_KEY). For a browser, keep the key on your server and hand the page a token: the site publishes a token server and a browser client with reconnection, and history.py keeps a local store of the bars it has fetched, so closed history is paid for once.

The guides/ folder holds the code of the guides on the site, the same files: one-minute history, paged back (guides/history_m1.py), the live stream (guides/stream.mjs) and the MCP server for an agent (guides/mcp.sh). The Python guide shows python/history.py and python/stream.py.

check/run.sh runs every example once against production and prints OK or KO for each.

4. Symbols

46 FX pairs and 5 metals (XAUUSD, XAGUSD, XAUEUR, XPTUSD, XPDUSD). The list, with each symbol's history dates, is on adona-robot.com/en/symbols and in symbols.json; every symbol has its own page, for example EURUSD.

5. Connect an AI agent (MCP)

The MCP server is at https://api.adona-robot.com/mcp (streamable HTTP, stateless). Four tools:

ToolWhat it answersKey
get_offerThe plans, prices, limits, trial, continuous feed and linksNo
list_symbolsEvery symbol a paid plan carries, with its name and classNo
quote_price_forThe plan and the CHF total, before VAT, for a month of usageNo
get_candlesCandle history for one symbol, one page, oldest firstYes, billed like GET /v1/candles

The key, when you want get_candles, travels on every call in the Authorization: Bearer header, or in an X-API-Key header for a client or gateway that keeps Authorization for itself (X-API-Key: YOUR_API_KEY, no Bearer). Send one key: two different keys in the two headers, or two different X-API-Key values, are refused as CONFLICTING_API_KEYS. Keep the key in an environment variable, not in a file you commit.

Claude Code: put mcp/claude-code.mcp.json in your project as .mcp.json (it reads ADONA_API_KEY from your environment; unset, the keyless tools still work), or add it from the command line:

sh
claude mcp add --transport http adona-robot https://api.adona-robot.com/mcp \  --header "Authorization: Bearer $ADONA_API_KEY"

Cursor: put mcp/cursor.mcp.json in .cursor/mcp.json (project) or ~/.cursor/mcp.json (global); it reads ${env:ADONA_API_KEY}.

Claude Desktop and claude.ai: Customize, then Connectors, then Add custom connector, with the URL https://api.adona-robot.com/mcp and the authentication "No sign-in" (on Team and Enterprise, an owner adds it under Organization settings, then Connectors). The three keyless tools work as is. For get_candles, add the request header Authorization with the value Bearer YOUR_API_KEY, or X-API-Key with the value YOUR_API_KEY, where your account offers request headers (a beta, not yet open to every account).

Then ask, for example: "What would 40 simultaneous users cost on Adona Robot?"

Without a client, the server answers plain JSON-RPC: see curl/mcp.sh.

Support

[email protected], by email on business days. Security reports: adona-robot.com/en/security.

The code in this repository is under the MIT License. The data you read with it is governed by the terms of service.

來源:README.md,提交 1a40859

工具

0
工具後設資料尚未被收錄。

版本歷史

1
  1. v1.2.0最新Oct 4, 2026