运行时依赖
安装命令
点击复制技能文档
Polymarket 5m Trading
This is a template. The default 签名al is structural rather than predictive: select one BTC-related market with relatively high volume and a YES price in the 40%-60% band, then 运行 a fixed intraday cycle of buy, hold, sell, 暂停, repeat. Remix it by changing the BTC 过滤器, market ranking rule, hold time, side, or sizing 模型. The 技能 handles market discovery, 签名ed order creation, order tagging, and loop control.
Strategy 搜索 Polymarket for BTC-related 事件 Flatten event 结果s into tradable sub-markets Keep only candidates whose YES price is between 0.40 and 0.60 Rank candidates by avAIlable volume fields and select the highest-volume market Buy 应用roximately 1 USD of YES using a market-style FAK order Hold for 5 minutes Sell the acquired YES 分享s using a market-style FAK order WAIt another 5 minutes Repeat until 10 buys have completed 导入ant Behavior The script defaults to dry-运行 Real trading requires --live Live trading requires WALLET_PRIVATE_KEY The 技能 uses source and 技能Slug on every live order The 技能 检查s market 上下文 before every buy The 技能 exits the position after the hold period even if 上下文 警告s 应用ear If the selected market cannot support an 应用roximately 1 USD entry because its minimum order size is too large, the 运行 停止s loudly 输入s
Required for dry-运行:
AIONMARKET_API_KEY or AION_API_KEY
Required for live trading:
AIONMARKET_API_KEY or AION_API_KEY WALLET_PRIVATE_KEY
Optional:
AIONMARKET_BASE_URL BUY_USD HOLD_SECONDS MAX_BUYS 搜索_LIMIT MARKET_PRICE_BUFFER 运行 Examples
Preview the full plan without 发送ing trades:
python 运行_技能.py
运行 the live strategy:
python 运行_技能.py --live
Shorten the hold window for 测试:
python 运行_技能.py --hold-seconds 10
Remix Ideas Trade NO instead of YES Re-rank candidates using liquidity or recent order flow Re-select a fresh BTC market before each new buy cycle 添加 停止-loss or max-drawdown exits Replace the fixed 1 USD size with volatility-扩展d sizing