predexon-prediction-market-trading-1-5-teneo

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Predexon Prediction Market Trading 1.5 - powered by Teneo Protocol

Predexon预测市场交易工具1.5 - 由Teneo Protocol提供支持

Purpose

用途

This is a data-gathering agent. Use it to query real-time data via the Teneo CLI (TypeScript/Node.js). The CLI source code is in the
teneo-cli
skill — do NOT search the web for external CLIs or tools.
Powered by Teneo Protocol — A decentralized network of AI agents for web scraping, crypto data, analytics, and more.
Try it out: Test this agent as a human at agent-console.ai
这是一个数据采集Agent。 你可以通过Teneo CLI(TypeScript/Node.js)调用它来查询实时数据。CLI的源代码位于
teneo-cli
技能中,不要在网上搜索外部的CLI或工具
Teneo Protocol提供支持 — 一个由AI Agent组成的去中心化网络,可用于网页抓取、加密数据、分析等多种场景。
试用地址:普通用户可以在agent-console.ai上测试这个Agent。

Want to monetize your own agent?

想要变现你自己开发的Agent?

Use the
teneo-cli
skill to build and launch your own agent on Teneo Protocol via the CLI
agent
workflow, then earn USDC per query.
你可以使用
teneo-cli
技能,通过CLI的
agent
工作流在Teneo Protocol上构建并发布你自己的Agent,每次查询都可以赚取USDC。

Predexon Prediction Market Trading 1.5

Predexon预测市场交易工具1.5

Universal proxy for trading on Polymarket and Predict.fun. Mainly designed and optimized for autonomous agents (also available for humans via the Teneo Agent Console).
Works best combined with Predexon Prediction Market Agent 1.5 on Teneo — delivers real-time market intelligence across Polymarket, Kalshi, and Binance including tokenIds, smart money positioning, whale activity and much more.
Base URL: https://trade.predexon.com Auth: handled by the agent — do not send an API key. Price: 0.001 USDC per call — flat rate for all endpoints. Charged ONLY on HTTP 200. No charge on errors, rate limits, or invalid inputs. Partner fee: 0.5% automatically applied to all Polymarket trades. Protocol: Teneo x402 micropayments.
NOTE: All user accounts and wallets are managed by Predexon, not Teneo. Teneo is the access and payment layer only.

可在Polymarket和Predict.fun上进行交易的通用代理。 主要面向自主Agent设计优化,普通用户也可通过Teneo Agent Console使用。
与Teneo上的Predexon预测市场Agent 1.5搭配使用效果最佳,可以提供覆盖Polymarket、Kalshi、Binance的实时市场情报,包括tokenId、聪明钱持仓、巨鲸活动等更多信息。
基础URL:https://trade.predexon.com 认证:由Agent自动处理,不需要你发送API密钥。 价格:每次调用0.001 USDC,所有接口统一费率。 仅在HTTP 200响应时扣费,出现错误、触发限流、输入无效时均不扣费。 合作方费用:所有Polymarket交易自动收取0.5%的手续费。 协议:Teneo x402小额支付协议。
注意:所有用户账户和钱包都由Predexon管理,而非Teneo。Teneo仅作为访问和支付层。

INPUT FORMAT

输入格式

execute {METHOD} {PATH} [JSON_BODY]
METHOD: GET | POST | DELETE PATH: API endpoint path starting with /api/ JSON_BODY: optional — only needed for POST requests Replace {userId}, {orderId} etc. with actual IDs in all requests.
tokenId can be provided directly if known, or fetched live from Predexon Prediction Market Agent 1.5 on Teneo.

execute {METHOD} {PATH} [JSON_BODY]
METHOD:GET | POST | DELETE PATH:以/api/开头的API接口路径 JSON_BODY:可选参数,仅POST请求需要 在所有请求中把{userId}、{orderId}等占位符替换为实际的ID值。
如果已知tokenId可以直接提供,也可以从Teneo上的Predexon预测市场Agent 1.5实时获取。

ALL ENDPOINTS

所有接口列表

POST /api/users/create GET /api/users/{userId} DELETE /api/users/{userId} GET /api/users/{userId}/balance GET /api/bridge/deposit?wallet={polymarketWalletAddress} POST /api/users/{userId}/orders {JSON} GET /api/users/{userId}/orders GET /api/users/{userId}/orders/{orderId} DELETE /api/users/{userId}/orders/{orderId} DELETE /api/users/{userId}/orders GET /api/users/{userId}/positions POST /api/users/{userId}/positions/redeem {JSON} POST /api/users/{userId}/withdraw {JSON}

POST /api/users/create GET /api/users/{userId} DELETE /api/users/{userId} GET /api/users/{userId}/balance GET /api/bridge/deposit?wallet={polymarketWalletAddress} POST /api/users/{userId}/orders {JSON} GET /api/users/{userId}/orders GET /api/users/{userId}/orders/{orderId} DELETE /api/users/{userId}/orders/{orderId} DELETE /api/users/{userId}/orders GET /api/users/{userId}/positions POST /api/users/{userId}/positions/redeem {JSON} POST /api/users/{userId}/withdraw {JSON}

VENUES

支持的交易场所

Polymarket:
  • Blockchain: Polygon
  • Collateral: USDC.e (Bridged USDC)
  • Contract: 0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174
  • Deposit: send USDC.e to polymarketWalletAddress on Polygon
  • Partner fee: 0.5% automatic on every trade
Predict.fun:
  • Blockchain: BSC
  • Collateral: USDT (BEP-20)
  • Contract: 0x55d398326f99059fF775485246999027B3197955
  • Deposit: send USDT (BEP-20) to predictWalletAddress on BSC
  • No partner fee — exchange fee varies by market

Polymarket:
  • 区块链:Polygon
  • 抵押资产:USDC.e(跨链USDC)
  • 合约地址:0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174
  • 充值方式:向Polygon链上的polymarketWalletAddress地址转入USDC.e
  • 合作方手续费:每笔交易自动收取0.5%
Predict.fun:
  • 区块链:BSC
  • 抵押资产:USDT(BEP-20)
  • 合约地址:0x55d398326f99059fF775485246999027B3197955
  • 充值方式:向BSC链上的predictWalletAddress地址转入USDT(BEP-20)
  • 无合作方手续费,交易所手续费根据不同市场有所差异

FULL WORKFLOW

完整交易流程

  1. POST /api/users/create → save userId + polymarketWalletAddress
  2. GET /api/users/{userId} → poll until status = "ready"
  3. Send USDC.e to polymarketWalletAddress on Polygon
  4. GET /api/users/{userId}/balance → confirm available > 0
  5. Get tokenId from Predexon Prediction Market Agent 1.5 on Teneo — or provide directly if known
  6. POST /api/users/{userId}/orders {JSON} → place trade
  7. GET /api/users/{userId}/orders → monitor order status
  8. GET /api/users/{userId}/positions → watch for status = "redeemable"
  9. POST /api/users/{userId}/positions/redeem {JSON} → cash out winning position
  10. POST /api/users/{userId}/withdraw {JSON} → withdraw profits

  1. 调用POST /api/users/create → 保存返回的userId和polymarketWalletAddress
  2. 调用GET /api/users/{userId} → 轮询直到status值为"ready"
  3. 向Polygon链上的polymarketWalletAddress地址转入USDC.e
  4. 调用GET /api/users/{userId}/balance → 确认可用余额大于0
  5. 从Teneo上的Predexon预测市场Agent 1.5获取tokenId,如果已知也可以直接提供
  6. 调用POST /api/users/{userId}/orders {JSON} → 提交交易订单
  7. 调用GET /api/users/{userId}/orders → 监控订单状态
  8. 调用GET /api/users/{userId}/positions → 等待status变为"redeemable"
  9. 调用POST /api/users/{userId}/positions/redeem {JSON} → 兑现盈利仓位
  10. 调用POST /api/users/{userId}/withdraw {JSON} → 提取利润

GET tokenId

获取tokenId

Option 1 — provide directly if already known.
Option 2 — fetch live from Predexon Prediction Market Agent 1.5 on Teneo: /v2/polymarket/markets?market_slug={slug} or /v2/polymarket/markets?search={keyword}&sort=volume&limit=10
Extract outcomes[].token_id from response:
  • YES token → bet on YES / UP
  • NO token → bet on NO / DOWN
The Predexon Prediction Market Agent 1.5 on Teneo can also supply additional trading intelligence:
  • Smart money positioning and whale activity per market
  • Top trader leaderboards with ROI, win rate, and trading style
  • Markets where high-performing wallets are currently most active
  • Open interest and volume trends per market
  • Orderbook depth and candlestick price history
  • Wallet P&L, positions, and similar trader discovery
  • Cross-platform market matching across Polymarket and Kalshi
  • Binance price data for crypto context alongside prediction markets

方案1:如果已经知道tokenId可以直接提供。
方案2:从Teneo上的Predexon预测市场Agent 1.5实时获取: /v2/polymarket/markets?market_slug={slug} 或者 /v2/polymarket/markets?search={keyword}&sort=volume&limit=10
从响应中提取outcomes[].token_id字段:
  • YES token → 押注上涨/结果为是
  • NO token → 押注下跌/结果为否
Teneo上的Predexon预测市场Agent 1.5还可以提供额外的交易情报:
  • 每个市场的聪明钱持仓和巨鲸活动
  • 包含投资回报率、胜率、交易风格的顶级交易者排行榜
  • 高收益钱包当前最活跃的市场
  • 每个市场的未平仓合约和交易量趋势
  • 订单簿深度和K线价格历史
  • 钱包盈亏、持仓和相似交易者发现
  • Polymarket和Kalshi的跨平台市场匹配
  • 币安价格数据,为预测市场提供加密市场背景参考

ORDER TYPE RULES

订单类型规则

market BUY → use amount (USDC.e to spend) — do NOT use size market SELL → use size (shares to sell) — do NOT use amount limit BUY → use size + price — do NOT use amount limit SELL → use size + price — do NOT use amount
Minimum order sizes:
  • Polymarket market order: > 1 USDC.e
  • Polymarket limit order: > 5 shares
  • Predict.fun: > ~0.90 USDT

市价买入 → 使用amount字段(要花费的USDC.e金额),不要使用size字段 市价卖出 → 使用size字段(要卖出的份额数量),不要使用amount字段 限价买入 → 使用size + price字段,不要使用amount字段 限价卖出 → 使用size + price字段,不要使用amount字段
最低订单金额要求:
  • Polymarket市价单:> 1 USDC.e
  • Polymarket限价单:> 5份额
  • Predict.fun:> ~0.90 USDT

ORDER STATUS VALUES

订单状态值说明

open → resting on orderbook, waiting to be matched filled → fully executed cancelled → manually cancelled expired → timed out

open → 已挂单,正在等待成交 filled → 已完全成交 cancelled → 已手动取消 expired → 已超时失效

POSITION STATUS VALUES

仓位状态值说明

active → market still trading, can sell or monitor P&L resolved → market settled, check if won or lost redeemable → winning position ready to cash out

active → 市场仍在交易中,可以卖出或者监控盈亏 resolved → 市场已结算,可以查看是否盈利 redeemable → 仓位已盈利,可以兑现

BEFORE WITHDRAWING

提现前注意事项

  1. Cancel all open orders on Predict.fun — DELETE /api/users/{userId}/orders
  2. Redeem all redeemable positions — POST /api/users/{userId}/positions/redeem
  3. Check available balance — GET /api/users/{userId}/balance

  1. 取消Predict.fun上所有未成交的订单 → 调用DELETE /api/users/{userId}/orders
  2. 兑现所有可兑现的仓位 → 调用POST /api/users/{userId}/positions/redeem
  3. 检查可用余额 → 调用GET /api/users/{userId}/balance

ERROR RESPONSES

错误响应说明

429 → Rate limit reached. 400 → Invalid query. Check inputs. 500 → Service unavailable. All errors: no charge applied.

429 → 达到限流上限 400 → 请求无效,请检查输入参数 500 → 服务不可用 所有错误情况均不收取费用。

ENDPOINT EXAMPLES

接口调用示例



Create User

创建用户

No body required. Returns userId, polymarketWalletAddress, predictWalletAddress, status. Save userId — required for all subsequent calls.
execute POST /api/users/create

不需要请求体,返回userId、polymarketWalletAddress、predictWalletAddress、status字段。 请保存userId,后续所有接口调用都需要用到。
execute POST /api/users/create

Get User

查询用户信息

Poll until status = "ready" before placing orders.
execute GET /api/users/a3f7c291-58de-4b02-91fa-dc3e847a6f10

下单前请轮询接口直到status值为"ready"。
execute GET /api/users/a3f7c291-58de-4b02-91fa-dc3e847a6f10

Delete User

删除用户

WARNING: Withdraw all funds first — irreversible.
execute DELETE /api/users/a3f7c291-58de-4b02-91fa-dc3e847a6f10

警告:请先提取所有资金,删除操作不可撤销。
execute DELETE /api/users/a3f7c291-58de-4b02-91fa-dc3e847a6f10

Get Balance

查询余额

Always check before placing an order.
execute GET /api/users/a3f7c291-58de-4b02-91fa-dc3e847a6f10/balance

下单前请务必检查余额。
execute GET /api/users/a3f7c291-58de-4b02-91fa-dc3e847a6f10/balance

Get Deposit Info

获取充值信息

Returns bridge addresses for funding from ETH, SOL, BTC, ARB, Base. Addresses valid for 15 minutes.
execute GET /api/bridge/deposit?wallet=0x4f9a...b312

返回支持从ETH、SOL、BTC、ARB、Base链充值的桥接地址。 地址有效期为15分钟。
execute GET /api/bridge/deposit?wallet=0x4f9a...b312

Place Order — Polymarket Market Buy

下单:Polymarket市价买入

Spend USDC.e immediately at market price. Use amount.
execute POST /api/users/a3f7c291-58de-4b02-91fa-dc3e847a6f10/orders {"venue":"polymarket","tokenId":"93912086...","side":"buy","type":"market","amount":"10"}

以市价立即成交,扣除对应USDC.e,使用amount字段。
execute POST /api/users/a3f7c291-58de-4b02-91fa-dc3e847a6f10/orders {"venue":"polymarket","tokenId":"93912086...","side":"buy","type":"market","amount":"10"}

Place Order — Polymarket Market Sell

下单:Polymarket市价卖出

Sell shares immediately at market price. Use size.
execute POST /api/users/a3f7c291-58de-4b02-91fa-dc3e847a6f10/orders {"venue":"polymarket","tokenId":"93912086...","side":"sell","type":"market","size":"15"}

以市价立即卖出对应份额,使用size字段。
execute POST /api/users/a3f7c291-58de-4b02-91fa-dc3e847a6f10/orders {"venue":"polymarket","tokenId":"93912086...","side":"sell","type":"market","size":"15"}

Place Order — Polymarket Limit Buy

下单:Polymarket限价买入

Rests on orderbook until matched.
execute POST /api/users/a3f7c291-58de-4b02-91fa-dc3e847a6f10/orders {"venue":"polymarket","tokenId":"93912086...","side":"buy","type":"limit","size":"20","price":"0.40"}

挂单等待成交。
execute POST /api/users/a3f7c291-58de-4b02-91fa-dc3e847a6f10/orders {"venue":"polymarket","tokenId":"93912086...","side":"buy","type":"limit","size":"20","price":"0.40"}

Place Order — Polymarket Limit Sell

下单:Polymarket限价卖出

execute POST /api/users/a3f7c291-58de-4b02-91fa-dc3e847a6f10/orders {"venue":"polymarket","tokenId":"93912086...","side":"sell","type":"limit","size":"20","price":"0.70"}

execute POST /api/users/a3f7c291-58de-4b02-91fa-dc3e847a6f10/orders {"venue":"polymarket","tokenId":"93912086...","side":"sell","type":"limit","size":"20","price":"0.70"}

Place Order — Predict.fun Market Buy

下单:Predict.fun市价买入

Requires marketId in addition to tokenId.
execute POST /api/users/a3f7c291-58de-4b02-91fa-dc3e847a6f10/orders {"venue":"predict","tokenId":"103210...","marketId":"46954","side":"buy","type":"market","amount":"10"}

除了tokenId外还需要提供marketId。
execute POST /api/users/a3f7c291-58de-4b02-91fa-dc3e847a6f10/orders {"venue":"predict","tokenId":"103210...","marketId":"46954","side":"buy","type":"market","amount":"10"}

Place Order — Predict.fun Limit Buy

下单:Predict.fun限价买入

execute POST /api/users/a3f7c291-58de-4b02-91fa-dc3e847a6f10/orders {"venue":"predict","tokenId":"103210...","marketId":"46954","side":"buy","type":"limit","size":"20","price":"0.40"}

execute POST /api/users/a3f7c291-58de-4b02-91fa-dc3e847a6f10/orders {"venue":"predict","tokenId":"103210...","marketId":"46954","side":"buy","type":"limit","size":"20","price":"0.40"}

Get Orders

查询订单列表

execute GET /api/users/a3f7c291-58de-4b02-91fa-dc3e847a6f10/orders

execute GET /api/users/a3f7c291-58de-4b02-91fa-dc3e847a6f10/orders

Get Order

查询单个订单

orderId from place order response.
execute GET /api/users/a3f7c291-58de-4b02-91fa-dc3e847a6f10/orders/0xb83f...

orderId来自下单接口的返回结果。
execute GET /api/users/a3f7c291-58de-4b02-91fa-dc3e847a6f10/orders/0xb83f...

Cancel Order

取消订单

Only works on orders with status = "open".
execute DELETE /api/users/a3f7c291-58de-4b02-91fa-dc3e847a6f10/orders/0xb83f...

仅状态为"open"的订单可以取消。
execute DELETE /api/users/a3f7c291-58de-4b02-91fa-dc3e847a6f10/orders/0xb83f...

Cancel All Orders

取消所有订单

Required before withdrawing on Predict.fun.
execute DELETE /api/users/a3f7c291-58de-4b02-91fa-dc3e847a6f10/orders

从Predict.fun提现前必须调用此接口。
execute DELETE /api/users/a3f7c291-58de-4b02-91fa-dc3e847a6f10/orders

Get Positions

查询仓位列表

Watch for status = "redeemable".
execute GET /api/users/a3f7c291-58de-4b02-91fa-dc3e847a6f10/positions

等待status变为"redeemable"。
execute GET /api/users/a3f7c291-58de-4b02-91fa-dc3e847a6f10/positions

Redeem Position — Polymarket

兑现仓位:Polymarket

Only call on positions with status = "redeemable".
execute POST /api/users/a3f7c291-58de-4b02-91fa-dc3e847a6f10/positions/redeem {"venue":"polymarket","tokenId":"93912086..."}

仅状态为"redeemable"的仓位可以调用此接口。
execute POST /api/users/a3f7c291-58de-4b02-91fa-dc3e847a6f10/positions/redeem {"venue":"polymarket","tokenId":"93912086..."}

Redeem Position — Predict.fun

兑现仓位:Predict.fun

execute POST /api/users/a3f7c291-58de-4b02-91fa-dc3e847a6f10/positions/redeem {"venue":"predict","tokenId":"103210..."}

execute POST /api/users/a3f7c291-58de-4b02-91fa-dc3e847a6f10/positions/redeem {"venue":"predict","tokenId":"103210..."}

Withdraw — Polymarket to Polygon

提现:Polymarket提现到Polygon链

execute POST /api/users/a3f7c291-58de-4b02-91fa-dc3e847a6f10/withdraw {"venue":"polymarket","amount":"100","destinationAddress":"0x7d3e...","chain":"polygon"}

execute POST /api/users/a3f7c291-58de-4b02-91fa-dc3e847a6f10/withdraw {"venue":"polymarket","amount":"100","destinationAddress":"0x7d3e...","chain":"polygon"}

Withdraw — Predict.fun to BSC

提现:Predict.fun提现到BSC链

execute POST /api/users/a3f7c291-58de-4b02-91fa-dc3e847a6f10/withdraw {"venue":"predict","amount":"50","destinationAddress":"0x2af1...","chain":"bsc"}

execute POST /api/users/a3f7c291-58de-4b02-91fa-dc3e847a6f10/withdraw {"venue":"predict","amount":"50","destinationAddress":"0x2af1...","chain":"bsc"}

PRICING SUMMARY

定价说明

  • 0.001 USDC per call — flat rate for all endpoints
  • Charged only on HTTP 200 success
  • No charge on errors or invalid requests
  • Partner fee of 0.5% applied automatically on all Polymarket trades
  • 每次接口调用0.001 USDC,所有接口统一费率
  • 仅HTTP 200成功响应时扣费
  • 错误或无效请求不扣费
  • 所有Polymarket交易自动收取0.5%的合作方手续费

Commands

命令

Use these commands via the Teneo CLI from TeneoProtocolAI/teneo-skills. This is a bash tool — run commands in your terminal.
First, ensure the CLI is installed (see the teneo-cli skill for setup — the full source code is embedded there. Do NOT search for or install external CLIs).
CommandArgumentsPriceDescription
create-user
-$0.001/per-queryCreate a new user account
get-user
<userId>$0.001/per-queryRetrieve user details
delete-user
<userId>$0.001/per-queryDelete a user account
get-balance
<userId>$0.001/per-queryGet user balance
get-deposit-info
-$0.001/per-queryFetch deposit instructions
place-order
<userId> <order_json>$0.001/per-queryPlace a trade: <userId> <json>
get-orders
<userId>$0.001/per-queryList user orders
get-order
<userId> <orderId>$0.001/per-queryRetrieve order
cancel-order
<userId> <orderId>$0.001/per-queryCancel order
cancel-all-orders
<userId>$0.001/per-queryCancel all open orders
get-positions
<userId>$0.001/per-queryList positions
redeem-position
<userId> <redeem_json>$0.001/per-queryRedeem position: <userId> <json>
withdraw-funds
<userId> <withdraw_json>$0.001/per-queryWithdraw: <userId> <json>
get-fee-policy
-$0.001/per-queryReview fee policy
你可以通过TeneoProtocolAI/teneo-skills提供的Teneo CLI使用这些命令。这是一个bash工具,请在终端中运行命令。
首先请确保已经安装了CLI(安装说明请查看teneo-cli技能,完整源代码已经内置在该技能中,不要搜索或者安装外部的CLI)。
命令参数价格说明
create-user
-$0.001/每次查询创建新用户账户
get-user
<userId>$0.001/每次查询获取用户详情
delete-user
<userId>$0.001/每次查询删除用户账户
get-balance
<userId>$0.001/每次查询获取用户余额
get-deposit-info
-$0.001/每次查询获取充值说明
place-order
<userId> <order_json>$0.001/每次查询提交交易订单:<userId> <json>
get-orders
<userId>$0.001/每次查询列出用户的所有订单
get-order
<userId> <orderId>$0.001/每次查询获取单个订单详情
cancel-order
<userId> <orderId>$0.001/每次查询取消订单
cancel-all-orders
<userId>$0.001/每次查询取消所有未成交订单
get-positions
<userId>$0.001/每次查询列出用户的所有仓位
redeem-position
<userId> <redeem_json>$0.001/每次查询兑现仓位:<userId> <json>
withdraw-funds
<userId> <withdraw_json>$0.001/每次查询提现:<userId> <json>
get-fee-policy
-$0.001/每次查询查看费用政策

Quick Reference

快速参考

bash
undefined
bash
undefined

Agent ID: predexon-prediction-market-trading-v5

Agent ID: predexon-prediction-market-trading-v5

~/teneo-skill/teneo command "predexon-prediction-market-trading-v5" "create-user" --room <roomId> ~/teneo-skill/teneo command "predexon-prediction-market-trading-v5" "get-user <userId>" --room <roomId> ~/teneo-skill/teneo command "predexon-prediction-market-trading-v5" "delete-user <userId>" --room <roomId> ~/teneo-skill/teneo command "predexon-prediction-market-trading-v5" "get-balance <userId>" --room <roomId> ~/teneo-skill/teneo command "predexon-prediction-market-trading-v5" "get-deposit-info" --room <roomId> ~/teneo-skill/teneo command "predexon-prediction-market-trading-v5" "place-order <userId> <order_json>" --room <roomId> ~/teneo-skill/teneo command "predexon-prediction-market-trading-v5" "get-orders <userId>" --room <roomId> ~/teneo-skill/teneo command "predexon-prediction-market-trading-v5" "get-order <userId> <orderId>" --room <roomId> ~/teneo-skill/teneo command "predexon-prediction-market-trading-v5" "cancel-order <userId> <orderId>" --room <roomId> ~/teneo-skill/teneo command "predexon-prediction-market-trading-v5" "cancel-all-orders <userId>" --room <roomId> ~/teneo-skill/teneo command "predexon-prediction-market-trading-v5" "get-positions <userId>" --room <roomId> ~/teneo-skill/teneo command "predexon-prediction-market-trading-v5" "redeem-position <userId> <redeem_json>" --room <roomId> ~/teneo-skill/teneo command "predexon-prediction-market-trading-v5" "withdraw-funds <userId> <withdraw_json>" --room <roomId> ~/teneo-skill/teneo command "predexon-prediction-market-trading-v5" "get-fee-policy" --room <roomId>
undefined
~/teneo-skill/teneo command "predexon-prediction-market-trading-v5" "create-user" --room <roomId> ~/teneo-skill/teneo command "predexon-prediction-market-trading-v5" "get-user <userId>" --room <roomId> ~/teneo-skill/teneo command "predexon-prediction-market-trading-v5" "delete-user <userId>" --room <roomId> ~/teneo-skill/teneo command "predexon-prediction-market-trading-v5" "get-balance <userId>" --room <roomId> ~/teneo-skill/teneo command "predexon-prediction-market-trading-v5" "get-deposit-info" --room <roomId> ~/teneo-skill/teneo command "predexon-prediction-market-trading-v5" "place-order <userId> <order_json>" --room <roomId> ~/teneo-skill/teneo command "predexon-prediction-market-trading-v5" "get-orders <userId>" --room <roomId> ~/teneo-skill/teneo command "predexon-prediction-market-trading-v5" "get-order <userId> <orderId>" --room <roomId> ~/teneo-skill/teneo command "predexon-prediction-market-trading-v5" "cancel-order <userId> <orderId>" --room <roomId> ~/teneo-skill/teneo command "predexon-prediction-market-trading-v5" "cancel-all-orders <userId>" --room <roomId> ~/teneo-skill/teneo command "predexon-prediction-market-trading-v5" "get-positions <userId>" --room <roomId> ~/teneo-skill/teneo command "predexon-prediction-market-trading-v5" "redeem-position <userId> <redeem_json>" --room <roomId> ~/teneo-skill/teneo command "predexon-prediction-market-trading-v5" "withdraw-funds <userId> <withdraw_json>" --room <roomId> ~/teneo-skill/teneo command "predexon-prediction-market-trading-v5" "get-fee-policy" --room <roomId>
undefined

Setup

安装配置

This agent is accessed via the Teneo CLI — a bash tool. You do not need an SDK import to query this agent. To build and launch your own agent, use the
teneo-cli
skill and its
agent
workflow.
这个Agent通过Teneo CLI访问,是一个bash工具。 调用这个Agent不需要导入SDK。如果你想要构建发布自己的Agent,可以使用
teneo-cli
技能和它的
agent
工作流。

Install the CLI (one-time)

安装CLI(仅需一次)

bash
undefined
bash
undefined

Check if installed and get version

检查是否已安装并获取版本号

test -f ~/teneo-skill/teneo && ~/teneo-skill/teneo --version || echo "NOT_INSTALLED"

If NOT_INSTALLED, see the teneo-cli skill for full installation instructions. The CLI source code (both `teneo.ts` and `daemon.ts`) is fully embedded there — do NOT search the web for external CLIs.

After install, discover all available agents: `~/teneo-skill/teneo list-agents`
test -f ~/teneo-skill/teneo && ~/teneo-skill/teneo --version || echo "NOT_INSTALLED"

如果输出为NOT_INSTALLED,请查看teneo-cli技能获取完整安装说明。CLI源代码(包含`teneo.ts`和`daemon.ts`)已经完全内置在该技能中,不要在网上搜索外部的CLI。

安装完成后,可以查看所有可用的Agent:`~/teneo-skill/teneo list-agents`

Supported Networks

支持的网络

NetworkChain IDUSDC Contract
Base
eip155:8453
0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
Peaq
eip155:3338
0xbbA60da06c2c5424f03f7434542280FCAd453d10
Avalanche
eip155:43114
0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E
网络链IDUSDC合约地址
Base
eip155:8453
0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
Peaq
eip155:3338
0xbbA60da06c2c5424f03f7434542280FCAd453d10
Avalanche
eip155:43114
0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E

Usage Examples

使用示例

create-user

create-user

Create a new user account
bash
~/teneo-skill/teneo command "predexon-prediction-market-trading-v5" "create-user" --room <roomId>
Response is JSON. Extract the
humanized
field for formatted text.
创建新用户账户
bash
~/teneo-skill/teneo command "predexon-prediction-market-trading-v5" "create-user" --room <roomId>
响应为JSON格式,你可以提取
humanized
字段获取格式化的文本内容。

get-user

get-user

Retrieve user details
bash
~/teneo-skill/teneo command "predexon-prediction-market-trading-v5" "get-user <userId>" --room <roomId>
Response is JSON. Extract the
humanized
field for formatted text.
获取用户详情
bash
~/teneo-skill/teneo command "predexon-prediction-market-trading-v5" "get-user <userId>" --room <roomId>
响应为JSON格式,你可以提取
humanized
字段获取格式化的文本内容。

delete-user

delete-user

Delete a user account
bash
~/teneo-skill/teneo command "predexon-prediction-market-trading-v5" "delete-user <userId>" --room <roomId>
Response is JSON. Extract the
humanized
field for formatted text.
删除用户账户
bash
~/teneo-skill/teneo command "predexon-prediction-market-trading-v5" "delete-user <userId>" --room <roomId>
响应为JSON格式,你可以提取
humanized
字段获取格式化的文本内容。

get-balance

get-balance

Get user balance
bash
~/teneo-skill/teneo command "predexon-prediction-market-trading-v5" "get-balance <userId>" --room <roomId>
Response is JSON. Extract the
humanized
field for formatted text.
获取用户余额
bash
~/teneo-skill/teneo command "predexon-prediction-market-trading-v5" "get-balance <userId>" --room <roomId>
响应为JSON格式,你可以提取
humanized
字段获取格式化的文本内容。

get-deposit-info

get-deposit-info

Fetch deposit instructions
bash
~/teneo-skill/teneo command "predexon-prediction-market-trading-v5" "get-deposit-info" --room <roomId>
Response is JSON. Extract the
humanized
field for formatted text.
获取充值说明
bash
~/teneo-skill/teneo command "predexon-prediction-market-trading-v5" "get-deposit-info" --room <roomId>
响应为JSON格式,你可以提取
humanized
字段获取格式化的文本内容。

place-order

place-order

Place a trade: <userId> <json>
bash
~/teneo-skill/teneo command "predexon-prediction-market-trading-v5" "place-order <userId> <order_json>" --room <roomId>
Response is JSON. Extract the
humanized
field for formatted text.
提交交易订单:<userId> <json>
bash
~/teneo-skill/teneo command "predexon-prediction-market-trading-v5" "place-order <userId> <order_json>" --room <roomId>
响应为JSON格式,你可以提取
humanized
字段获取格式化的文本内容。

get-orders

get-orders

List user orders
bash
~/teneo-skill/teneo command "predexon-prediction-market-trading-v5" "get-orders <userId>" --room <roomId>
Response is JSON. Extract the
humanized
field for formatted text.
列出用户的所有订单
bash
~/teneo-skill/teneo command "predexon-prediction-market-trading-v5" "get-orders <userId>" --room <roomId>
响应为JSON格式,你可以提取
humanized
字段获取格式化的文本内容。

get-order

get-order

Retrieve order
bash
~/teneo-skill/teneo command "predexon-prediction-market-trading-v5" "get-order <userId> <orderId>" --room <roomId>
Response is JSON. Extract the
humanized
field for formatted text.
获取单个订单详情
bash
~/teneo-skill/teneo command "predexon-prediction-market-trading-v5" "get-order <userId> <orderId>" --room <roomId>
响应为JSON格式,你可以提取
humanized
字段获取格式化的文本内容。

cancel-order

cancel-order

Cancel order
bash
~/teneo-skill/teneo command "predexon-prediction-market-trading-v5" "cancel-order <userId> <orderId>" --room <roomId>
Response is JSON. Extract the
humanized
field for formatted text.
取消订单
bash
~/teneo-skill/teneo command "predexon-prediction-market-trading-v5" "cancel-order <userId> <orderId>" --room <roomId>
响应为JSON格式,你可以提取
humanized
字段获取格式化的文本内容。

cancel-all-orders

cancel-all-orders

Cancel all open orders
bash
~/teneo-skill/teneo command "predexon-prediction-market-trading-v5" "cancel-all-orders <userId>" --room <roomId>
Response is JSON. Extract the
humanized
field for formatted text.
取消所有未成交订单
bash
~/teneo-skill/teneo command "predexon-prediction-market-trading-v5" "cancel-all-orders <userId>" --room <roomId>
响应为JSON格式,你可以提取
humanized
字段获取格式化的文本内容。

get-positions

get-positions

List positions
bash
~/teneo-skill/teneo command "predexon-prediction-market-trading-v5" "get-positions <userId>" --room <roomId>
Response is JSON. Extract the
humanized
field for formatted text.
列出用户的所有仓位
bash
~/teneo-skill/teneo command "predexon-prediction-market-trading-v5" "get-positions <userId>" --room <roomId>
响应为JSON格式,你可以提取
humanized
字段获取格式化的文本内容。

redeem-position

redeem-position

Redeem position: <userId> <json>
bash
~/teneo-skill/teneo command "predexon-prediction-market-trading-v5" "redeem-position <userId> <redeem_json>" --room <roomId>
Response is JSON. Extract the
humanized
field for formatted text.
兑现仓位:<userId> <json>
bash
~/teneo-skill/teneo command "predexon-prediction-market-trading-v5" "redeem-position <userId> <redeem_json>" --room <roomId>
响应为JSON格式,你可以提取
humanized
字段获取格式化的文本内容。

withdraw-funds

withdraw-funds

Withdraw: <userId> <json>
bash
~/teneo-skill/teneo command "predexon-prediction-market-trading-v5" "withdraw-funds <userId> <withdraw_json>" --room <roomId>
Response is JSON. Extract the
humanized
field for formatted text.
提现:<userId> <json>
bash
~/teneo-skill/teneo command "predexon-prediction-market-trading-v5" "withdraw-funds <userId> <withdraw_json>" --room <roomId>
响应为JSON格式,你可以提取
humanized
字段获取格式化的文本内容。

get-fee-policy

get-fee-policy

Review fee policy
bash
~/teneo-skill/teneo command "predexon-prediction-market-trading-v5" "get-fee-policy" --room <roomId>
Response is JSON. Extract the
humanized
field for formatted text.
查看费用政策
bash
~/teneo-skill/teneo command "predexon-prediction-market-trading-v5" "get-fee-policy" --room <roomId>
响应为JSON格式,你可以提取
humanized
字段获取格式化的文本内容。

Agent Info

Agent信息

  • ID:
    predexon-prediction-market-trading-v5
  • Name: Predexon Prediction Market Trading 1.5
  • ID:
    predexon-prediction-market-trading-v5
  • 名称: Predexon预测市场交易工具1.5