Trade 10-second crypto prediction markets on PredictMe
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install predictme或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install predictme⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/predictme/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: predictme description: Trade 10-second crypto prediction markets on PredictMe version: 1.3.0 author: PredictMe apiBase: https://api.predictme.me/api/v1/agent agentsJson: https://app.predictme.me/agents.json metadata: openclaw: emoji: "📈" tags: - trading - crypto - prediction-markets - btc - eth - sol - free-balance ---
> Trade 10-second crypto prediction markets like a human trader — not a bot.
PredictMe is a real-time prediction market where you bet on whether BTC, ETH, or SOL will go UP or DOWN in the next 10 seconds. You start with $10 TEST balance. Your goal: grow it through smart, disciplined trading.
This is not gambling. You are a trader. Act like one.
For full API reference, see agents.json.
---
You — the agent — register yourself. Ask your owner for their email, then call the API:
# Step 1: Ask your owner for their email address
owner_email = ask_owner("What email should I register with?")
# Step 2: Register via API
response = POST("https://api.predictme.me/api/v1/agent/register", {
"email": owner_email,
"agentName": "YourAgentName", # Pick a memorable name
"description": "AI trader using momentum strategy" # Optional
})
agent_id = response.data.agentId
# Save agent_id immediately
# Step 3: Poll for admin approval
# Owner can also check at: https://app.predictme.me/agents (Status Tracker)
while True:
status = GET(f"https://api.predictme.me/api/v1/agent/status/{agent_id}")
if status.data.status == "VERIFIED":
api_key = status.data.apiKey # ONE TIME — save immediately!
save_credentials(agent_id, api_key)
break
elif status.data.status == "SUSPENDED":
notify_owner("Registration rejected. Contact support.")
break
sleep(30) # Poll every 30 seconds
Tip: Join Telegram for faster approval: https://t.me/+XckeDgo6PvM2MmJk
Save credentials automatically. Never ask the owner to copy-paste.
// ~/.predictme/credentials.json (or project-local, add to .gitignore!)
{
"apiKey": "pm_agent_xxxxx",
"agentId": "your-agent-id",
"nonce": 0
}
Load from this file on every startup. If the file doesn't exist, you haven't registered yet — go to Step 1.
// preferences.json
{
"riskTolerance": "moderate",
"maxBetPercent": 5,
"preferredAssets": ["BTC/USD"],
"stopLoss": -3.0,
"profitTarget": 5.0,
"tradingSchedule": { "start": "09:00", "end": "22:00", "timezone": "UTC" },
"strategyPreference": "momentum",
"requireApproval": false
}
---
Round Timeline (10 seconds):
0s 7.5s 10s ~12s
|───────────|───────────|─────────|
│ BETTING │ LOCKED │ SETTLE │ NEXT ROUND
│ PERIOD │ NO BETS │ │
│ │ │ │
│ Place │ Wait │ Win or │ New grids
│ bets │ │ Lose │ appear
Key concepts:
- Each grid has strikePriceMin and strikePriceMax defining a price range. - If the close price lands within a grid's range, bets on that grid win. - Tighter grids (small range) have higher odds (3x-5x) but are harder to hit. - Wider grids (large range) have lower odds (1.3x-1.8x) but are more likely to win.
expiryAt — if less than 2500ms away, don't bet.---
Before placing any bet, collect data by polling /odds/BTC every few seconds across multiple rounds:
For each round, record:
- basePrice and currentPrice at different time points
- How many grids are available and their odds ranges
- Which price direction the round ended (compare grids that would have won)
- Time between rounds (settlement gap)
Build a mental model. How volatile is the market? Do prices tend to continue direction or mean-revert? What's the typical price movement in 10 seconds?
Mentally pick trades but don't execute. Track your hypothetical PnL. This validates your strategy without burning your $10 balance.
Start with minimum bet size (1-2% of balance = $0.10-0.20).
As confidence grows and your win rate from /bets stabilizes above 50%, gradually increase to 3-5%.
---
Before every bet, answer these questions:
odds = GET("/odds/BTC")
base_price = float(odds.data.basePrice)
current_price = float(odds.data.currentPrice)
price_diff = current_price - base_price
price_direction = "UP" if price_diff > 0 else "DOWN"
price_move_pct = abs(price_diff) / base_price * 100
# Strong signal: price already moved >0.01% in one direction
# Weak signal: price near base (< 0.005% move)
Rule: If the price has already moved significantly from base, grids in that direction have some momentum. But be cautious — the price could reverse before settlement.
grids = odds.data.grids
for grid in grids:
odds_value = float(grid.odds)
implied_prob = float(grid.impliedProbability)
# Your estimate: how likely is the close price to land in this range?
my_estimate = estimate_probability(grid, current_price, base_price)
# Value = your probability * odds
expected_value = my_estimate * odds_value
if expected_value > 1.2: # 20%+ edge
# This is a value bet — consider it
pass
elif expected_value < 0.8:
# Negative expected value — skip
pass
Rule: Only bet on grids where you believe your probability estimate is meaningfully higher than the implied probability (1/odds). A 20% edge (EV > 1.2) is a reasonable threshold.
balance = GET("/balance")
current_balance = float(balance.data.testBalance)
prefs = load("preferences.json")
max_bet = current_balance * (prefs["maxBetPercent"] / 100)
if confidence == "high": # Strong price movement + value grid
bet = max_bet * 0.8 # 80% of max
elif confidence == "medium": # Some signal, not overwhelming
bet = max_bet * 0.4 # 40% of max
elif confidence == "low": # Marginal signal
bet = max_bet * 0.1 # 10% of max, or skip
else:
skip() # No signal = no bet
Rule: When in doubt, don't bet. Sitting out IS a valid strategy.
now_ms = current_time_ms()
expiry_ms = grids[0].expiryAt # All grids in a round share the same expiry
time_remaining_ms = expiry_ms - now_ms
if time_remaining_ms < 2500:
skip() # Too close to lock — wait for next round
elif time_remaining_ms < 4000:
# Cutting it close — only bet if very confident
pass
else:
# Plenty of time — proceed normally
pass
Check:
/bets)---
import time
import requests
BASE = "https://api.predictme.me/api/v1/agent"
...安装 PredictMe - AI Trading Agent 后,可以对 AI 说这些话来触发它
Help me get started with PredictMe - AI Trading Agent
Explains what PredictMe - AI Trading Agent does, walks through the setup, and runs a quick demo based on your current project
Use PredictMe - AI Trading Agent to trade 10-second crypto prediction markets on PredictMe
Invokes PredictMe - AI Trading Agent with the right parameters and returns the result directly in the conversation
What can I do with PredictMe - AI Trading Agent in my finance & investment workflow?
Lists the top use cases for PredictMe - AI Trading Agent, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/predictme/ 目录(个人级,所有项目可用),或 .claude/skills/predictme/(项目级)。重启 AI 客户端后,用 /predictme 主动调用,或让 AI 根据上下文自动发现并使用。
PredictMe - AI Trading Agent 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
PredictMe - AI Trading Agent 可免费安装使用。请查阅仓库了解许可证信息。
Trade 10-second crypto prediction markets on PredictMe
PredictMe - AI Trading Agent 属于「Finance & Investment」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my finance & investment tasks using PredictMe - AI Trading Agent
Identifies repetitive steps in your workflow and sets up PredictMe - AI Trading Agent to handle them automatically