predexon-prediction-market-trading-1-5-teneo
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChinesePredexon 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 skill — do NOT search the web for external CLIs or tools.
teneo-cliPowered 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的源代码位于技能中,不要在网上搜索外部的CLI或工具。
teneo-cli由Teneo Protocol提供支持 — 一个由AI Agent组成的去中心化网络,可用于网页抓取、加密数据、分析等多种场景。
试用地址:普通用户可以在agent-console.ai上测试这个Agent。
Want to monetize your own agent?
想要变现你自己开发的Agent?
Use the skill to build and launch your own agent on Teneo Protocol via the CLI workflow, then earn USDC per query.
teneo-cliagentResources: CLI source · Agent SDK (Go)
你可以使用技能,通过CLI的工作流在Teneo Protocol上构建并发布你自己的Agent,每次查询都可以赚取USDC。
teneo-cliagent资源:CLI源代码 · Agent SDK (Go)
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
完整交易流程
- POST /api/users/create → save userId + polymarketWalletAddress
- GET /api/users/{userId} → poll until status = "ready"
- Send USDC.e to polymarketWalletAddress on Polygon
- GET /api/users/{userId}/balance → confirm available > 0
- Get tokenId from Predexon Prediction Market Agent 1.5 on Teneo — or provide directly if known
- POST /api/users/{userId}/orders {JSON} → place trade
- GET /api/users/{userId}/orders → monitor order status
- GET /api/users/{userId}/positions → watch for status = "redeemable"
- POST /api/users/{userId}/positions/redeem {JSON} → cash out winning position
- POST /api/users/{userId}/withdraw {JSON} → withdraw profits
- 调用POST /api/users/create → 保存返回的userId和polymarketWalletAddress
- 调用GET /api/users/{userId} → 轮询直到status值为"ready"
- 向Polygon链上的polymarketWalletAddress地址转入USDC.e
- 调用GET /api/users/{userId}/balance → 确认可用余额大于0
- 从Teneo上的Predexon预测市场Agent 1.5获取tokenId,如果已知也可以直接提供
- 调用POST /api/users/{userId}/orders {JSON} → 提交交易订单
- 调用GET /api/users/{userId}/orders → 监控订单状态
- 调用GET /api/users/{userId}/positions → 等待status变为"redeemable"
- 调用POST /api/users/{userId}/positions/redeem {JSON} → 兑现盈利仓位
- 调用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
提现前注意事项
- Cancel all open orders on Predict.fun — DELETE /api/users/{userId}/orders
- Redeem all redeemable positions — POST /api/users/{userId}/positions/redeem
- Check available balance — GET /api/users/{userId}/balance
- 取消Predict.fun上所有未成交的订单 → 调用DELETE /api/users/{userId}/orders
- 兑现所有可兑现的仓位 → 调用POST /api/users/{userId}/positions/redeem
- 检查可用余额 → 调用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).
| Command | Arguments | Price | Description |
|---|---|---|---|
| - | $0.001/per-query | Create a new user account |
| <userId> | $0.001/per-query | Retrieve user details |
| <userId> | $0.001/per-query | Delete a user account |
| <userId> | $0.001/per-query | Get user balance |
| - | $0.001/per-query | Fetch deposit instructions |
| <userId> <order_json> | $0.001/per-query | Place a trade: <userId> <json> |
| <userId> | $0.001/per-query | List user orders |
| <userId> <orderId> | $0.001/per-query | Retrieve order |
| <userId> <orderId> | $0.001/per-query | Cancel order |
| <userId> | $0.001/per-query | Cancel all open orders |
| <userId> | $0.001/per-query | List positions |
| <userId> <redeem_json> | $0.001/per-query | Redeem position: <userId> <json> |
| <userId> <withdraw_json> | $0.001/per-query | Withdraw: <userId> <json> |
| - | $0.001/per-query | Review fee policy |
你可以通过TeneoProtocolAI/teneo-skills提供的Teneo CLI使用这些命令。这是一个bash工具,请在终端中运行命令。
首先请确保已经安装了CLI(安装说明请查看teneo-cli技能,完整源代码已经内置在该技能中,不要搜索或者安装外部的CLI)。
| 命令 | 参数 | 价格 | 说明 |
|---|---|---|---|
| - | $0.001/每次查询 | 创建新用户账户 |
| <userId> | $0.001/每次查询 | 获取用户详情 |
| <userId> | $0.001/每次查询 | 删除用户账户 |
| <userId> | $0.001/每次查询 | 获取用户余额 |
| - | $0.001/每次查询 | 获取充值说明 |
| <userId> <order_json> | $0.001/每次查询 | 提交交易订单:<userId> <json> |
| <userId> | $0.001/每次查询 | 列出用户的所有订单 |
| <userId> <orderId> | $0.001/每次查询 | 获取单个订单详情 |
| <userId> <orderId> | $0.001/每次查询 | 取消订单 |
| <userId> | $0.001/每次查询 | 取消所有未成交订单 |
| <userId> | $0.001/每次查询 | 列出用户的所有仓位 |
| <userId> <redeem_json> | $0.001/每次查询 | 兑现仓位:<userId> <json> |
| <userId> <withdraw_json> | $0.001/每次查询 | 提现:<userId> <json> |
| - | $0.001/每次查询 | 查看费用政策 |
Quick Reference
快速参考
bash
undefinedbash
undefinedAgent 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>
undefinedSetup
安装配置
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 skill and its workflow.
teneo-cliagent这个Agent通过Teneo CLI访问,是一个bash工具。 调用这个Agent不需要导入SDK。如果你想要构建发布自己的Agent,可以使用技能和它的工作流。
teneo-cliagentInstall the CLI (one-time)
安装CLI(仅需一次)
bash
undefinedbash
undefinedCheck 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
支持的网络
| Network | Chain ID | USDC Contract |
|---|---|---|
| Base | | |
| Peaq | | |
| Avalanche | | |
| 网络 | 链ID | USDC合约地址 |
|---|---|---|
| Base | | |
| Peaq | | |
| Avalanche | | |
Usage Examples
使用示例
create-user
create-usercreate-user
create-userCreate a new user account
bash
~/teneo-skill/teneo command "predexon-prediction-market-trading-v5" "create-user" --room <roomId>Response is JSON. Extract the field for formatted text.
humanized创建新用户账户
bash
~/teneo-skill/teneo command "predexon-prediction-market-trading-v5" "create-user" --room <roomId>响应为JSON格式,你可以提取字段获取格式化的文本内容。
humanizedget-user
get-userget-user
get-userRetrieve user details
bash
~/teneo-skill/teneo command "predexon-prediction-market-trading-v5" "get-user <userId>" --room <roomId>Response is JSON. Extract the field for formatted text.
humanized获取用户详情
bash
~/teneo-skill/teneo command "predexon-prediction-market-trading-v5" "get-user <userId>" --room <roomId>响应为JSON格式,你可以提取字段获取格式化的文本内容。
humanizeddelete-user
delete-userdelete-user
delete-userDelete a user account
bash
~/teneo-skill/teneo command "predexon-prediction-market-trading-v5" "delete-user <userId>" --room <roomId>Response is JSON. Extract the field for formatted text.
humanized删除用户账户
bash
~/teneo-skill/teneo command "predexon-prediction-market-trading-v5" "delete-user <userId>" --room <roomId>响应为JSON格式,你可以提取字段获取格式化的文本内容。
humanizedget-balance
get-balanceget-balance
get-balanceGet user balance
bash
~/teneo-skill/teneo command "predexon-prediction-market-trading-v5" "get-balance <userId>" --room <roomId>Response is JSON. Extract the field for formatted text.
humanized获取用户余额
bash
~/teneo-skill/teneo command "predexon-prediction-market-trading-v5" "get-balance <userId>" --room <roomId>响应为JSON格式,你可以提取字段获取格式化的文本内容。
humanizedget-deposit-info
get-deposit-infoget-deposit-info
get-deposit-infoFetch deposit instructions
bash
~/teneo-skill/teneo command "predexon-prediction-market-trading-v5" "get-deposit-info" --room <roomId>Response is JSON. Extract the field for formatted text.
humanized获取充值说明
bash
~/teneo-skill/teneo command "predexon-prediction-market-trading-v5" "get-deposit-info" --room <roomId>响应为JSON格式,你可以提取字段获取格式化的文本内容。
humanizedplace-order
place-orderplace-order
place-orderPlace 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 field for formatted text.
humanized提交交易订单:<userId> <json>
bash
~/teneo-skill/teneo command "predexon-prediction-market-trading-v5" "place-order <userId> <order_json>" --room <roomId>响应为JSON格式,你可以提取字段获取格式化的文本内容。
humanizedget-orders
get-ordersget-orders
get-ordersList user orders
bash
~/teneo-skill/teneo command "predexon-prediction-market-trading-v5" "get-orders <userId>" --room <roomId>Response is JSON. Extract the field for formatted text.
humanized列出用户的所有订单
bash
~/teneo-skill/teneo command "predexon-prediction-market-trading-v5" "get-orders <userId>" --room <roomId>响应为JSON格式,你可以提取字段获取格式化的文本内容。
humanizedget-order
get-orderget-order
get-orderRetrieve order
bash
~/teneo-skill/teneo command "predexon-prediction-market-trading-v5" "get-order <userId> <orderId>" --room <roomId>Response is JSON. Extract the field for formatted text.
humanized获取单个订单详情
bash
~/teneo-skill/teneo command "predexon-prediction-market-trading-v5" "get-order <userId> <orderId>" --room <roomId>响应为JSON格式,你可以提取字段获取格式化的文本内容。
humanizedcancel-order
cancel-ordercancel-order
cancel-orderCancel order
bash
~/teneo-skill/teneo command "predexon-prediction-market-trading-v5" "cancel-order <userId> <orderId>" --room <roomId>Response is JSON. Extract the field for formatted text.
humanized取消订单
bash
~/teneo-skill/teneo command "predexon-prediction-market-trading-v5" "cancel-order <userId> <orderId>" --room <roomId>响应为JSON格式,你可以提取字段获取格式化的文本内容。
humanizedcancel-all-orders
cancel-all-orderscancel-all-orders
cancel-all-ordersCancel all open orders
bash
~/teneo-skill/teneo command "predexon-prediction-market-trading-v5" "cancel-all-orders <userId>" --room <roomId>Response is JSON. Extract the field for formatted text.
humanized取消所有未成交订单
bash
~/teneo-skill/teneo command "predexon-prediction-market-trading-v5" "cancel-all-orders <userId>" --room <roomId>响应为JSON格式,你可以提取字段获取格式化的文本内容。
humanizedget-positions
get-positionsget-positions
get-positionsList positions
bash
~/teneo-skill/teneo command "predexon-prediction-market-trading-v5" "get-positions <userId>" --room <roomId>Response is JSON. Extract the field for formatted text.
humanized列出用户的所有仓位
bash
~/teneo-skill/teneo command "predexon-prediction-market-trading-v5" "get-positions <userId>" --room <roomId>响应为JSON格式,你可以提取字段获取格式化的文本内容。
humanizedredeem-position
redeem-positionredeem-position
redeem-positionRedeem 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 field for formatted text.
humanized兑现仓位:<userId> <json>
bash
~/teneo-skill/teneo command "predexon-prediction-market-trading-v5" "redeem-position <userId> <redeem_json>" --room <roomId>响应为JSON格式,你可以提取字段获取格式化的文本内容。
humanizedwithdraw-funds
withdraw-fundswithdraw-funds
withdraw-fundsWithdraw: <userId> <json>
bash
~/teneo-skill/teneo command "predexon-prediction-market-trading-v5" "withdraw-funds <userId> <withdraw_json>" --room <roomId>Response is JSON. Extract the field for formatted text.
humanized提现:<userId> <json>
bash
~/teneo-skill/teneo command "predexon-prediction-market-trading-v5" "withdraw-funds <userId> <withdraw_json>" --room <roomId>响应为JSON格式,你可以提取字段获取格式化的文本内容。
humanizedget-fee-policy
get-fee-policyget-fee-policy
get-fee-policyReview fee policy
bash
~/teneo-skill/teneo command "predexon-prediction-market-trading-v5" "get-fee-policy" --room <roomId>Response is JSON. Extract the field for formatted text.
humanized查看费用政策
bash
~/teneo-skill/teneo command "predexon-prediction-market-trading-v5" "get-fee-policy" --room <roomId>响应为JSON格式,你可以提取字段获取格式化的文本内容。
humanizedAgent Info
Agent信息
- ID:
predexon-prediction-market-trading-v5 - Name: Predexon Prediction Market Trading 1.5
- ID:
predexon-prediction-market-trading-v5 - 名称: Predexon预测市场交易工具1.5