Digital Oracle
komako-workshop/digital-oracle
Answer prediction questions using market trading data, not opinions.
v0.4.16 - Trade prediction markets (Polymarket, Kalshi) - positions, orders, risk management, Kelly sizing, wallet analytics, Monte Carlo, arbitrage, quantitative analytics, AFML (bars, labeling…
$ npx skills add LeoYeAI/openclaw-master-skills --skill horizon-trader -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install LeoYeAI/openclaw-master-skills horizon-trader --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/LeoYeAI/openclaw-master-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/horizon-trader .claude/skills/horizon-trader && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "horizon-trader" agent skill from https://github.com/LeoYeAI/openclaw-master-skills/tree/main/skills/horizon-trader into .claude/skills/horizon-trader/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "horizon-trader", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/LeoYeAI/openclaw-master-skills/tree/main/skills/horizon-traderType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add LeoYeAI/openclaw-master-skills --skill horizon-trader -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install LeoYeAI/openclaw-master-skills horizon-trader --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/LeoYeAI/openclaw-master-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/horizon-trader .agents/skills/horizon-trader && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "horizon-trader" agent skill from https://github.com/LeoYeAI/openclaw-master-skills/tree/main/skills/horizon-trader into .agents/skills/horizon-trader/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "horizon-trader", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add LeoYeAI/openclaw-master-skills --skill horizon-trader -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install LeoYeAI/openclaw-master-skills horizon-trader --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/LeoYeAI/openclaw-master-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/horizon-trader .cursor/skills/horizon-trader && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "horizon-trader" agent skill from https://github.com/LeoYeAI/openclaw-master-skills/tree/main/skills/horizon-trader into .cursor/skills/horizon-trader/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "horizon-trader", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/LeoYeAI/openclaw-master-skills.git --path skills/horizon-trader--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add LeoYeAI/openclaw-master-skills --skill horizon-trader -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install LeoYeAI/openclaw-master-skills horizon-trader --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/LeoYeAI/openclaw-master-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/horizon-trader .gemini/skills/horizon-trader && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "horizon-trader" agent skill from https://github.com/LeoYeAI/openclaw-master-skills/tree/main/skills/horizon-trader into .gemini/skills/horizon-trader/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "horizon-trader", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install LeoYeAI/openclaw-master-skills horizon-traderInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add LeoYeAI/openclaw-master-skills --skill horizon-trader -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/LeoYeAI/openclaw-master-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/horizon-trader .github/skills/horizon-trader && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "horizon-trader" agent skill from https://github.com/LeoYeAI/openclaw-master-skills/tree/main/skills/horizon-trader into .github/skills/horizon-trader/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "horizon-trader", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add LeoYeAI/openclaw-master-skills --skill horizon-trader -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install LeoYeAI/openclaw-master-skills horizon-trader --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/LeoYeAI/openclaw-master-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/horizon-trader .opencode/skills/horizon-trader && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "horizon-trader" agent skill from https://github.com/LeoYeAI/openclaw-master-skills/tree/main/skills/horizon-trader into .opencode/skills/horizon-trader/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "horizon-trader", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
horizon-traderv0.4.16 - Trade prediction markets (Polymarket, Kalshi) - positions, orders, risk management, Kelly sizing, wallet analytics, Monte Carlo, arbitrage, quantitative analytics, AFML (bars, labeling…
Horizon Trader is an agent skill from LeoYeAI/openclaw-master-skills. v0.4.16 - Trade prediction markets (Polymarket, Kalshi) - positions, orders, risk management, Kelly sizing, wallet analytics, Monte Carlo, arbitrage, quantitative analytics, AFML (bars, labeling, fractional differentiation, HRP, denoising), multi-strategy orchestration, alpha research, tier-gated features, and market discovery.
Its SKILL.md is about 4.8k tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including scripts (for example `_meta.json` and `scripts/horizon.py`).
It sits in Business, Finance & HR. It works with Polymarket and Kalshi. The repository describes itself as: 🧠 Curated collection of 1209+ best OpenClaw skills — weekly updated by MyClaw.ai. The licence is MIT.
Read from SKILL.md and the folder at commit e5199b5. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships 1 file in scripts/ (Python), which the agent can run.
Shell commands in SKILL.md call:
python3From the folder's file list and the shell code blocks in SKILL.md.
Hosts in commands or code, which the agent is likely to contact:
eth.llamarpc.comapi.coingecko.comAlso links to:
docs.openclaw.aiFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Horizon Trader loads about 4.8k tokens when it runs. Until then it costs about 86 tokens; SKILL.md has 987 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
The full file from LeoYeAI/openclaw-master-skills at commit e5199b5, republished under its MIT licence (© LeoYeAI). 987 words, ~4,833 tokens.
.claude/skills/horizon-trader/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.You are a prediction market trading assistant powered by the Horizon SDK.
Use this skill when the user asks about:
Run commands via the CLI script. All output is JSON.
python3 {baseDir}/scripts/horizon.py <command> [args...]# Engine status: PnL, open orders, positions, kill switch, uptime
python3 {baseDir}/scripts/horizon.py status
# List all open positions
python3 {baseDir}/scripts/horizon.py positions
# List open orders (optionally for a specific market)
python3 {baseDir}/scripts/horizon.py orders [market_id]
# List recent fills
python3 {baseDir}/scripts/horizon.py fills# Submit a limit order: quote <market_id> <side> <price> <size> [market_side]
# side: buy or sell, price: 0-1 (probability), market_side: yes or no (default: yes)
python3 {baseDir}/scripts/horizon.py quote <market_id> buy 0.55 10
python3 {baseDir}/scripts/horizon.py quote <market_id> sell 0.40 5 no
# Cancel a single order
python3 {baseDir}/scripts/horizon.py cancel <order_id>
# Cancel all orders
python3 {baseDir}/scripts/horizon.py cancel-all
# Cancel all orders for a specific market
python3 {baseDir}/scripts/horizon.py cancel-market <market_id># Search for markets on an exchange
python3 {baseDir}/scripts/horizon.py discover <exchange> [query] [limit] [market_type] [category]
# market_type: "all" (default), "binary", or "multi"
# category: tag filter (e.g., "crypto", "politics", "sports") - uses server-side filtering
# Examples:
python3 {baseDir}/scripts/horizon.py discover polymarket "bitcoin"
python3 {baseDir}/scripts/horizon.py discover kalshi "election" 5
python3 {baseDir}/scripts/horizon.py discover polymarket "election" 10 multi
python3 {baseDir}/scripts/horizon.py discover polymarket "" 10 binary
python3 {baseDir}/scripts/horizon.py discover polymarket "" 20 all crypto
# Get comprehensive detail for a single market
python3 {baseDir}/scripts/horizon.py market-detail <slug_or_id> [exchange]
# Examples:
python3 {baseDir}/scripts/horizon.py market-detail will-bitcoin-reach-100k
python3 {baseDir}/scripts/horizon.py market-detail KXBTC-25FEB28 kalshi# Compute optimal position size: kelly <prob> <price> <bankroll> [fraction] [max_size]
python3 {baseDir}/scripts/horizon.py kelly 0.65 0.50 1000
python3 {baseDir}/scripts/horizon.py kelly 0.70 0.55 2000 0.5 50# Activate kill switch (emergency stop - cancels all orders)
python3 {baseDir}/scripts/horizon.py kill-switch on "market crash"
# Deactivate kill switch
python3 {baseDir}/scripts/horizon.py kill-switch off
# Add stop-loss: stop-loss <market_id> <side> <order_side> <size> <trigger_price>
# side: yes or no, order_side: buy or sell
python3 {baseDir}/scripts/horizon.py stop-loss <market_id> yes sell 10 0.40
# Add take-profit: take-profit <market_id> <side> <order_side> <size> <trigger_price>
python3 {baseDir}/scripts/horizon.py take-profit <market_id> yes sell 10 0.80# Get snapshot for a named feed
python3 {baseDir}/scripts/horizon.py feed <feed_name>
# List all feeds
python3 {baseDir}/scripts/horizon.py feeds
# Start a live data feed: start-feed <name> <feed_type> [config_json]
# feed_type: binance_ws, polymarket_book, kalshi_book, predictit,
# manifold, espn, nws, chainlink, rest_json_path, rest
# Note: URL-based feeds (chainlink, rest_json_path, rest) require HTTPS public URLs.
python3 {baseDir}/scripts/horizon.py start-feed eth_usd chainlink '{"contract_address":"0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419","rpc_url":"https://eth.llamarpc.com"}'
python3 {baseDir}/scripts/horizon.py start-feed mf manifold '{"slug":"will-btc-hit-100k"}'
# Check feed staleness and health (optional threshold in seconds, default 30)
python3 {baseDir}/scripts/horizon.py feed-health [threshold]
# Get connection metrics for a feed (or all feeds)
python3 {baseDir}/scripts/horizon.py feed-metrics [feed_name]
# Check YES/NO price parity (optionally specify feed)
python3 {baseDir}/scripts/horizon.py parity <market_id> [feed_name]# List pending stop-loss/take-profit orders
python3 {baseDir}/scripts/horizon.py contingent# Discover multi-outcome events on Polymarket
python3 {baseDir}/scripts/horizon.py discover-events "election"
python3 {baseDir}/scripts/horizon.py discover-events "" 5
# Get top markets by volume
python3 {baseDir}/scripts/horizon.py top-markets polymarket 10
python3 {baseDir}/scripts/horizon.py top-markets kalshi 5 "KXBTC"# Trade history for a wallet
python3 {baseDir}/scripts/horizon.py wallet-trades 0x1234... [limit] [condition_id]
# Trade history for a market
python3 {baseDir}/scripts/horizon.py market-trades 0xabc... [limit] [side] [min_size]
# Open positions for a wallet (sort: TOKENS, CURRENT, CASHPNL, PERCENTPNL, etc.)
python3 {baseDir}/scripts/horizon.py wallet-positions 0x1234... 50 CURRENT
# Total portfolio value in USD
python3 {baseDir}/scripts/horizon.py wallet-value 0x1234...
# Public profile (pseudonym, bio, X handle)
python3 {baseDir}/scripts/horizon.py wallet-profile 0x1234...
# Top holders in a market
python3 {baseDir}/scripts/horizon.py top-holders 0xabc... [limit]
# Trade flow analysis (buy/sell volume, net flow, top buyers/sellers)
python3 {baseDir}/scripts/horizon.py market-flow 0xabc... [trade_limit] [top_n]# Simulate portfolio risk (uses current engine positions)
python3 {baseDir}/scripts/horizon.py simulate [scenarios] [seed]
python3 {baseDir}/scripts/horizon.py simulate 50000
python3 {baseDir}/scripts/horizon.py simulate 10000 42# Execute atomic cross-exchange arb: arb <market_id> <buy_exchange> <sell_exchange> <buy_price> <sell_price> <size>
python3 {baseDir}/scripts/horizon.py arb will-btc-hit-100k kalshi polymarket 0.48 0.52 10# Shannon entropy for a probability
python3 {baseDir}/scripts/horizon.py entropy 0.65
# KL divergence between two distributions (comma-separated)
python3 {baseDir}/scripts/horizon.py kl-divergence 0.3,0.7 0.5,0.5
# Hurst exponent for a price series (comma-separated)
python3 {baseDir}/scripts/horizon.py hurst 0.50,0.52,0.48,0.55,0.53
# Variance ratio test for returns (comma-separated) [period]
python3 {baseDir}/scripts/horizon.py variance-ratio 0.01,-0.02,0.03,-0.01,0.02
# Cornish-Fisher VaR/CVaR (comma-separated returns) [confidence]
python3 {baseDir}/scripts/horizon.py cf-var 0.01,-0.02,0.03,-0.05,0.02 0.95
# Prediction Greeks: greeks <price> <size> [is_yes] [t_hours] [vol]
python3 {baseDir}/scripts/horizon.py greeks 0.55 100 true 24 0.2
# Deflated Sharpe ratio: deflated-sharpe <sharpe> <n_obs> <n_trials> [skew] [kurt]
python3 {baseDir}/scripts/horizon.py deflated-sharpe 1.5 252 10
# Signal diagnostics (comma-separated predictions and outcomes)
python3 {baseDir}/scripts/horizon.py signal-diagnostics 0.6,0.3,0.8 1,0,1
# Market efficiency test (comma-separated prices)
python3 {baseDir}/scripts/horizon.py market-efficiency 0.50,0.52,0.48,0.55,0.53,0.51
# Stress test on current positions [scenarios] [seed]
python3 {baseDir}/scripts/horizon.py stress-test 10000# Get portfolio metrics (value, PnL, exposure, diversification)
python3 {baseDir}/scripts/horizon.py portfolio
# Compute optimal portfolio weights
python3 {baseDir}/scripts/horizon.py portfolio-weights equal
python3 {baseDir}/scripts/horizon.py portfolio-weights kelly
python3 {baseDir}/scripts/horizon.py portfolio-weights risk_parity
python3 {baseDir}/scripts/horizon.py portfolio-weights min_variance# Update runtime parameters (hot-reload, takes effect next cycle)
python3 {baseDir}/scripts/horizon.py update-params '{"spread": 0.05, "gamma": 0.3}'
# Get all current runtime parameters
python3 {baseDir}/scripts/horizon.py get-params# Generate comprehensive tearsheet from equity curve CSV
python3 {baseDir}/scripts/horizon.py tearsheet path/to/equity.csv# Run GP-based Bayesian optimization for strategy parameters
# param_space: {name: [min, max]}
python3 {baseDir}/scripts/horizon.py bayesian-opt '{"spread": [0.01, 0.10], "gamma": [0.1, 1.0]}' 20 5# Compute Hawkes self-exciting intensity from event timestamps
python3 {baseDir}/scripts/horizon.py hawkes 1000.0,1000.5,1001.2 0.1 0.5 1.0# Compute shrinkage covariance matrix from returns (rows=observations, cols=assets)
python3 {baseDir}/scripts/horizon.py correlation '[[0.01,0.02],[-0.01,0.03],[0.02,-0.01]]'Split fees by liquidity role for more realistic paper trading and backtesting:
from horizon import Engine
# Flat fee (backward compatible)
engine = Engine(paper_fee_rate=0.001)
# Split maker/taker fees
engine = Engine(
paper_maker_fee_rate=0.0002, # 2 bps for makers
paper_taker_fee_rate=0.002, # 20 bps for takers
)Each Fill now includes an is_maker field (True/False) indicating whether the order was a maker or taker. Works with both the paper exchange and BookSim (L2 backtesting).
Read prices directly from Chainlink aggregator contracts on any EVM chain:
import horizon as hz
hz.run(
feeds={
"eth_usd": hz.ChainlinkFeed(
contract_address="0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419",
rpc_url="https://eth.llamarpc.com",
),
},
...
)Common contract addresses (Ethereum mainnet):
0x5f4eC3Df9cbd43714FE2740f5E3616155c5b84190xF4030086522a5bEEa4988F8cA5B36dbC97BeE88c0x2c1d072e956AFFC0D435Cb7AC38EF18d24d9127cWorks with Ethereum, Arbitrum, Polygon, BSC — just change rpc_url.
Five new feed types for cross-market signals beyond crypto:
Setup in hz.run():
import horizon as hz
hz.run(
feeds={
"pi": hz.PredictItFeed(market_id=7456, contract_id=28562),
"manifold": hz.ManifoldFeed("will-btc-hit-100k-by-2026"),
"nba": hz.ESPNFeed("basketball", "nba"),
"weather": hz.NWSFeed(state="FL", mode="alerts"),
"custom": hz.RESTJsonPathFeed(
url="https://api.coingecko.com/api/v3/simple/price?ids=bitcoin&vs_currencies=usd",
price_path="bitcoin.usd",
),
},
...
)Three execution algorithms for splitting large orders with minimal market impact:
hz.TWAP) - Time-Weighted Average Price: equal slices at regular intervalshz.VWAP) - Volume-Weighted Average Price: slices proportional to a volume profilehz.Iceberg) - Shows only a small visible portion, auto-replenishes on fillAll use the same interface: algo.start(request), algo.on_tick(price, time), algo.is_complete, algo.total_filled.
Compose multi-signal strategies with automatic pipeline chaining:
hz.run(
pipeline=[
hz.signal_combiner([
hz.price_signal("book", weight=0.5),
hz.imbalance_signal("book", levels=5, weight=0.3),
hz.flow_signal("book", window=30, weight=0.2),
]),
hz.market_maker(feed_name="book", gamma=0.5, size=5.0),
],
...
)Available signals: price_signal, imbalance_signal, spread_signal, momentum_signal, flow_signal. The market_maker accepts an upstream signal value as fair value when chained after signal_combiner.
The Horizon SDK also includes advanced pipeline components for automated strategies:
markov_regime) - Rust HMM (Hidden Markov Model) for real-time regime classification. Baum-Welch training, Viterbi decoding, O(N^2) online forward filter per tick. Supports pre-trained models or auto-train with warmup.regime_signal) - volatility/trend regime classification (0=calm, 1=volatile)feed_guard) - auto-activates kill switch when feeds go staleinventory_skewer) - shifts quotes to reduce position riskadaptive_spread) - dynamically widens/narrows spread based on fill rate, volatility, and order imbalanceexecution_tracker) - monitors fill rate, slippage, and adverse selectioncross_hedger) - generates hedge quotes when portfolio delta exceeds thresholdtoxic_flow(), microstructure(), change_detector() for real-time analytics in hz.run()book_data parameterdeterministic, probabilistic (queue position), glft (Gueant-Lehalle-Fernandez-Tapia)These are Python pipeline functions used with hz.run() and hz.backtest(). See the SDK documentation for usage.
Rust-native implementations of Lopez de Prado's research:
hz.dollar_bars, hz.volume_bars, hz.tick_bars, hz.tick_imbalance_bars) - Alternative bar types that sample on information arrivalhz.triple_barrier_labels) - Path-dependent labels with profit-taking, stop-loss, and time barriershz.frac_diff_weights, hz.frac_diff_fixed) - Make series stationary while preserving memoryhz.hrp_weights) - Tree-clustering portfolio allocationhz.marchenko_pastur_bounds, hz.denoise_correlation) - Random matrix theory for cleaner covariancehz.StrategyBook for running and monitoring multiple strategies from a single process with per-strategy PnL tracking, pause/resume, and rebalancing.
hz.feature_importance - MDI/MDA feature importance via random forestshz.compute_bet_sizing - Probability-to-size via linear/sigmoid/discrete scalingPro/Ultra feature gating on all premium endpoints with API key validation.
Generate comprehensive performance reports with monthly returns, rolling Sharpe/Sortino, drawdown analysis, trade statistics, and tail ratio.
Zero-dependency GP-based parameter optimizer with Expected Improvement acquisition. Finds optimal strategy parameters efficiently.
Portfolio object with position management, analytics, and optimization (equal, Kelly, risk parity, min variance weights).
Update strategy parameters at runtime without restart. Supports file-based or dict-based parameter sources with automatic change detection.
Self-exciting point process for modeling trade arrival intensity. Triggers on fills and large price jumps. Per-market isolation.
Shrinkage covariance estimation across multiple feeds. Optimal shrinkage intensity computed via Ledoit-Wolf formula.
All commands return JSON. On success you get the data directly. On error you get {"error": "message"}.
quote command submits real orders (or paper orders depending on config). Always confirm with the user before submitting.kill-switch on command is an emergency stop that cancels all orders immediately.HORIZON_EXCHANGE environment variable (default: paper).Full documentation: https://docs.openclaw.ai/tools/clawhub
© LeoYeAI, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 2 other files (scripts) in skills/horizon-trader of LeoYeAI/openclaw-master-skills.
Open the folder on GitHubat commit e5199b5
Horizon Trader next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Horizon Trader this skillLeoYeAI/openclaw-master-skills | 2.2k | — | ~4.8k | Automated safety check: Pass | MIT | |
| Digital Oraclekomako-workshop/digital-oracle | 878 | — | ~5.9k | Automated safety check: Pass | MIT | |
| Dr Manhattanguzus/dr-manhattan | 204 | — | ~2k | Automated safety check: Pass | Apache-2.0 | |
| Polymarket Tennislivetennisapi/livetennisapi-mcp | 152 | — | ~3k | Automated safety check: Pass | MIT | |
| Feedsalsk1992/CloddsBot | 3k | — | ~1.8k | Automated safety check: Pass | MIT | |
| Portfolio Syncalsk1992/CloddsBot | 3k | — | ~3.6k | Automated safety check: Pass | MIT |
komako-workshop/digital-oracle
Answer prediction questions using market trading data, not opinions.
guzus/dr-manhattan
Trade prediction markets (Polymarket, Kalshi, Opinion, Limitless, Predict.fun) using a unified CCXT-style API.
livetennisapi/livetennisapi-mcp
Build observe-only Polymarket and Kalshi tennis market tooling on the polymarket-tennis Python package (MIT) plus the Live Tennis API free tier.
alsk1992/CloddsBot
Real-time market data feeds from 8 prediction market platforms
alsk1992/CloddsBot
Sync portfolio positions from Polymarket, Kalshi, and Manifold
alsk1992/CloddsBot
Search and view prediction market data from Polymarket, Kalshi, Manifold, and Metaculus
LeoYeAI/openclaw-master-skills
Manages pipelines on a DevOps quality and efficiency platform through its OpenAPI: list workspaces and templates, create, update, run and cancel pipelines, and read run records.
LeoYeAI/openclaw-master-skills
Patches OpenClaw's Feishu extension so an edited document triggers an isolated agent session that reads the doc and replies inline, turning it into a live chat space.
LeoYeAI/openclaw-master-skills
Multi-context memory management system for OpenClaw agents with group-isolated storage, global shared memory, workspace organization, and group-specific skills isolation.
LeoYeAI/openclaw-master-skills
Runs a brand's AI-search visibility work end to end: diagnosing how AI platforms represent it, repositioning it, producing AI-optimized content and monitoring ongoing mentions.
LeoYeAI/openclaw-master-skills
Installs and authenticates the gws CLI, then automates Gmail, Drive, Sheets, Calendar, Docs, Chat and Tasks with ready-made recipes, persona bundles and security audits.
LeoYeAI/openclaw-master-skills
Runs four advisor roles, a fitness coach, nutritionist, data analyst and TCM practitioner, to build a health profile and track workouts, diet and wellness over time.
Works with
Categories
v0.4.16 - Trade prediction markets (Polymarket, Kalshi) - positions, orders, risk management, Kelly sizing, wallet analytics, Monte Carlo, arbitrage, quantitative analytics, AFML (bars, labeling…. Horizon Trader is an agent skill from LeoYeAI/openclaw-master-skills.16 - Trade prediction markets (Polymarket, Kalshi) - positions, orders, risk management, Kelly sizing, wallet analytics, Monte Carlo, arbitrage, quantitative analytics, AFML (bars, labeling, fractional differentiation, HRP, denoising), multi-strategy orchestration, alpha research, tier-gated features, and market discovery.
Horizon Trader fits situations like: business, Finance & HR work in your project.
Run `npx skills add LeoYeAI/openclaw-master-skills --skill horizon-trader -a claude-code`. Or copy the skill folder (skills/horizon-trader in LeoYeAI/openclaw-master-skills) into .claude/skills/horizon-trader in your project. Claude Code loads it when a task matches its description.
Run `npx skills add LeoYeAI/openclaw-master-skills --skill horizon-trader -a codex`. Or copy the skill folder (skills/horizon-trader in LeoYeAI/openclaw-master-skills) into .agents/skills/horizon-trader in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add LeoYeAI/openclaw-master-skills --skill horizon-trader -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/horizon-trader, .gemini/skills/horizon-trader, .github/skills/horizon-trader and .opencode/skills/horizon-trader in your project.
Going by SKILL.md and its folder, Horizon Trader needs Python for the scripts in its folder and the command-line tools its instructions call (python3). Our summary lists: Python 3; A credential in HORIZON_API_KEY.
SKILL.md names 3 domains. In commands or code: eth.llamarpc.com and api.coingecko.com; the agent is likely to contact these when it follows the instructions. As links in the text: docs.openclaw.ai. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Horizon Trader is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 4.8k tokens (SKILL.md is roughly 19k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Horizon Trader: Digital Oracle (komako-workshop/digital-oracle, 878 stars), Dr Manhattan (guzus/dr-manhattan, 204 stars), Polymarket Tennis (livetennisapi/livetennisapi-mcp, 152 stars) and Feeds (alsk1992/CloddsBot, 3k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
LeoYeAI (a GitHub user) maintains it in LeoYeAI/openclaw-master-skills, which has 2,161 GitHub stars. The repository holds 1,235 skills in this directory. The repository was last updated on July 20, 2026.
Source: LeoYeAI/openclaw-master-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.