PredictMe - AI Trading Agent — PredictMe - AI Trading 代理
v1Trade 10-second crypto prediction markets on PredictMe
运行时依赖
安装命令
点击复制技能文档
PredictMe 代理 技能
Trade 10-second crypto prediction markets like a human trader — not a 机器人.
Overview
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 启动 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 代理s.json.
Quick 启动
- Register (You Handle This)
You — the 代理 — register yourself. Ask your owner for their emAIl, then call the API:
# Step 1: Ask your owner for their emAIl 添加ress owner_emAIl = ask_owner("What emAIl should I register with?")
# Step 2: Register via API 响应 = POST("https://API.predictme.me/API/v1/代理/register", { "emAIl": owner_emAIl, "代理Name": "Your代理Name", # Pick a memorable name "description": "AI trader using momentum strategy" # Optional }) 代理_id = 响应.data.代理Id # Save 代理_id immediately
# Step 3: Poll for admin 应用roval # Owner can also 检查 at: https://应用.predictme.me/代理s (状态 追踪er) while True: 状态 = 获取(f"https://API.predictme.me/API/v1/代理/状态/{代理_id}") if 状态.data.状态 == "VERIFIED": API_key = 状态.data.APIKey # ONE TIME — save immediately! save_凭证s(代理_id, API_key) break elif 状态.data.状态 == "SUSPENDED": 通知_owner("Registration rejected. Contact support.") break sleep(30) # Poll every 30 seconds
Tip: Join Telegram for faster 应用roval: https://t.me/+XckeDgo6PvM2MmJk
- Store 凭证s
Save 凭证s automatically. Never ask the owner to copy-paste.
// ~/.predictme/凭证s.json (or project-local, 添加 to .gitignore!) { "APIKey": "pm_代理_xxxxx", "代理Id": "your-代理-id", "nonce": 0 }
Load from this file on every 启动up. If the file doesn't exist, you haven't registered yet — go to Step 1.
- Store Owner Preferences
How the Market Works Round Timeline (10 seconds):
0s 7.5s 10s ~12s |───────────|───────────|─────────| │ BETTING │ LOCKED │ 设置TLE │ NEXT ROUND │ PERIOD │ NO BETS │ │ │ │ │ │ │ Place │ WAIt │ Win or │ New grids │ bets │ │ Lose │ 应用ear
Key concepts:
Base Price: Oracle captures the price at round open. This is the 设置tlement reference. Current Price: Live oracle price. Compare agAInst basePrice to see how the round is trending. Grids: Multiple price zones, each with fixed odds. 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. Lock period: Last ~2.5 seconds of each round. 检查 expiryAt — if less than 2500ms away, don't bet. 设置tlement: Close price vs base price determines winning grids. Next round: 启动s ~2 seconds after 设置tlement. Strategy 框架 Phase 1: Observe (First 20+ Rounds — DO NOT 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 (设置tlement gap)
Build a mental 模型. How volatile is the market? Do prices tend to continue direction or mean-revert? What's the typical price movement in 10 seconds?
Phase 2: Paper Trading (Rounds 20-50)
Mentally pick trades but don't 执行. 追踪 your hypothetical PnL. This 验证s your strategy without burning your $10 balance.
Phase 3: Small Bets (Rounds 50+)
启动 with minimum bet size (1-2% of balance = $0.10-0.20).
Phase 4: 扩展 Up
As confidence grows and your win rate from /bets stabilizes above 50%, gradually increase to 3-5%.
Decision 框架
Before every bet, answer these questions:
- What is the current price doing?
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 签名al: price already moved >0.01% in one direction # Weak 签名al: price near base (< 0.005% move)
Rule: If the price has already moved 签名ificantly from base, grids in that direction have some momentum. But be cautious — the price could reverse before 设置tlement.
- Which grids offer value?