Install
First, install the AIsa CLI if you have not already:What can agents do with it?
Cross-market discovery
Find related Polymarket and Kalshi markets for the same topic.
Candidate pairing
Compare titles, slugs, tickers, event names, and close times.
Liquidity triage
Use discovery response volume/liquidity fields to decide where to investigate further.
Chinese summaries
Produce Chinese-language research notes from mounted market data.
配置
工作流程
跨平台研究步骤:- 发现候选市场:查询
/polymarket/markets、/polymarket/events和/kalshi/markets。 - 人工/程序化配对:按标题、slug、ticker、event_ticker、队伍/赛事名、结束时间等字段找可能等价的市场。
- 外部验证价格与深度:AIsa 当前未挂载 price/orderbook/matching endpoint;交易前请用交易所官方 API 或交易系统验证实时价格、订单簿和可成交规模。
快速示例
1. 查询 Polymarket 候选市场
2. 查询 Kalshi 候选市场
3. 配对并外部验证
用 Polymarketslug/question/conditionId 和 Kalshi ticker/event_ticker/title 做候选配对。若要判断是否有价差,继续调用交易所官方 API 获取实时 YES/NO 价格与订单簿深度。
命令参考
prediction_market_client.py — 已挂载市场数据
理解套利
真正的套利需要实时、可成交的互斥结果报价,并考虑手续费、滑点、订单簿深度和平台风险。当前 AIsa Prediction Market surface 适合做候选发现,不应单独用于下单判断。安全与权限
需要:AISA_API_KEY 环境变量。
所有 AIsa 调用均为只读,通过 HTTPS GET 请求 api.aisa.one。不执行交易、不连接钱包、除 API Key 外不发送个人数据。
完整文档:AIsa API 参考。
Get started
- Sign up at aisa.one (new accounts start with $2 free credit).
- Generate an API key from the console.
- Set your key and install the skill:
- Start a new agent session so the runtime loads the updated skill instructions.
Related
Prediction Market Arbitrage
English-language cross-market research workflow.
Prediction Market Data ZH
Chinese-language market data workflow.
Prediction Market API
Mounted Polymarket and Kalshi endpoint reference.