← 返回
未分类 Key 中文

Over Computer

Trade on prediction markets through over.computer. Browse markets, approve funds, place buy/sell orders, and check positions on Myriad. Use when the operator...
预测市场交易:通过over.computer浏览市场、审批资金、下买卖订单,在Myriad查看仓位。当操作员...
dabors dabors 来源
未分类 clawhub v1.0.4 1 版本 100000 Key: 需要
★ 1
Stars
📥 726
下载
💾 0
安装
1
版本
#latest

概述

over.computer

Trade on prediction markets through the over.computer API.

Use this when the operator says things like:

  • check markets
  • place an order / buy / sell
  • approve funds
  • show my positions
  • list my orders

Getting started

If OVER_API_KEY is not set, help the operator register:

Option A — agent-initiated:

  1. Call the link endpoint (no auth required) to obtain a registration URL:
curl -s --request GET \
  --url https://over-computer-validator-1002664526717.europe-north2.run.app/config/link

This returns { "configId": "", "url": "" }.

  1. Give the operator the url and ask them to open it, connect their wallet on over.computer, and copy the API key shown after setup.
  2. Once the operator provides the key, store it as OVER_API_KEY.

Option B — operator-initiated:

  1. The operator goes to https://over.computer directly, registers, and obtains an API key.
  2. The operator gives the key to you.

Authentication

All endpoints under /myriad/ and /agent/ require the header:

Authorization: Bearer $OVER_API_KEY

Get your config

Retrieve your agent’s configuration from the operator (same auth as Myriad routes):

curl -s --request GET \
  --url https://over-computer-validator-1002664526717.europe-north2.run.app/agent/config \
  --header "Authorization: Bearer $OVER_API_KEY"

Returns: { "prompt": "...", "label": "..." } (either field may be null if unset).

  • prompt — trading instructions from the operator; follow them as your directive.
  • label — your agent’s display name.

Guardrails (position limits, trade limits, allowed markets, etc.) are enforced server-side and are not exposed on this endpoint. If an order violates a guardrail, the execute endpoint will reject it with a clear reason.

Browse markets

List open markets:

curl -s --request GET \
  --url "https://over-computer-validator-1002664526717.europe-north2.run.app/myriad/markets?state=open&limit=10&page=1" \
  --header "Authorization: Bearer $OVER_API_KEY"

Query parameters: limit (number), page (number), state (string, default open).

Get details for a specific market:

curl -s --request GET \
  --url "https://over-computer-validator-1002664526717.europe-north2.run.app/myriad/markets/{slug}" \
  --header "Authorization: Bearer $OVER_API_KEY"

Place an order

curl -s --request POST \
  --url https://over-computer-validator-1002664526717.europe-north2.run.app/myriad/order/execute \
  --header "Authorization: Bearer $OVER_API_KEY" \
  --header "Content-Type: application/json" \
  --data '{
  "idempotency_key": "unique-key-per-order",
  "order": {
    "market_id": 123,
    "outcome_id": 0,
    "side": "BUY",
    "size": 50,
    "slippage": 0.05
  }
}'

Body fields:

  • idempotency_key (string, required) — unique key to prevent duplicate orders
  • order.market_id (number, required)
  • order.outcome_id (number, required)
  • order.side ("BUY" | "SELL", required)
  • order.size (number, required) — order size in token units
  • order.slippage (number, optional)

A duplicate idempotency_key returns HTTP 400 with the existing order.

Check positions

curl -s --request GET \
  --url https://over-computer-validator-1002664526717.europe-north2.run.app/myriad/order/positions \
  --header "Authorization: Bearer $OVER_API_KEY"

Order history

curl -s --request GET \
  --url https://over-computer-validator-1002664526717.europe-north2.run.app/myriad/order/list \
  --header "Authorization: Bearer $OVER_API_KEY"

Config guardrails

The operator's config may restrict what the agent can do:

  • allowed_markets — whitelist of permitted market IDs
  • max_order_size — maximum USD value per order
  • max_trades_per_day — daily trade limit

When a request violates a guardrail the API returns an error with a clear reason, for example:

  • "Market 456 is not in the allowed markets list"
  • "Order size 200 * price 1 exceeds max allowed 100"
  • "Trades per day 10 exceeds max allowed 5"

When this happens:

  1. Do not retry the request.
  2. Tell the operator the exact rejection reason.
  3. Ask the operator to update their config at https://over.computer — only humans can change config settings.

Error reference

  • 400 — Bad request or duplicate idempotency_key
  • 401 — Missing or invalid API key
  • 403 — Agent has no associated user or no config found
  • 404 — Resource not found
  • 500 — Server error (includes guardrail rejections wrapped in order execution)

If execution cannot proceed due to missing credentials or API errors, inform the operator and stop. Do not retry failed requests without operator confirmation.

版本历史

共 1 个版本

  • v1.0.4 当前
    2026-05-01 21:54 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-agent

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,406 📥 324,647
ai-agent

Agent Browser

rez0
用于 AI 代理的浏览器自动化 CLI。当用户需要与网站交互(包括浏览页面、填写表单、点击按钮、截图等)时使用。
★ 843 📥 323,276
ai-agent

Find Skills

guipi888
场景驱动+关键词双模式技能发现工具。当用户用自然语言描述场景/需求(如"我想做一个海报""帮我分析股票"),或明确说"安装技能/find skills/找个skill"时,自动从官方内置、本地已安装、SkillHub、虾评、GitHub、C
★ 1,490 📥 554,865