Use this file to discover all available pages before exploring further.
This example shows a complete workflow using the Horizon MCP server through Claude Code: discovering markets, analyzing opportunities with Kelly criterion, placing trades, setting protective orders, and monitoring positions - all through natural language.
You: Find me active bitcoin markets on Polymarket with recent activity
Claude calls discover_markets(exchange="polymarket", query="bitcoin", limit=10) and returns:
Found 6 active BTC markets on Polymarket:1. will-btc-hit-100k - "Will BTC hit $100k by March 2026?"2. will-btc-hit-120k - "Will BTC hit $120k by March 2026?"3. btc-above-90k-feb - "Will BTC close above $90k in February?"4. btc-dominance-60 - "Will BTC dominance exceed 60%?"5. btc-etf-outflows - "Will BTC ETFs see net outflows this week?"6. btc-halving-price - "BTC price on next halving anniversary"
You: I think there's a 72% chance BTC hits 100k by March. The market is at 58 cents. My bankroll is $5,000. How much should I buy?
Claude calls kelly_sizing(prob=0.72, price=0.58, bankroll=5000.0, fraction=0.25, max_size=200.0):
Kelly analysis for your BTC $100k thesis:Edge: +14 cents (your 72% vs market's 58%)Quarter Kelly optimal: 200 contracts (capped at max_size)Breakdown: - Full Kelly fraction: 33.3% of bankroll - Quarter Kelly: 8.3% → $416 risked - At $0.58/contract: ~717 contracts uncapped - Capped at 200 contracts → $116 riskThe edge is strong. Quarter Kelly at 200 contracts is conservativeand well within risk limits.Want me to place the order?
You: Set a stop-loss at 0.40 and take-profit at 0.80 for that position
Claude calls order_management(action="add_stop_loss", ...) and order_management(action="add_take_profit", ...):
Protection set:Stop-loss: Trigger: 0.40 (sell 200 YES contracts) Max loss if triggered: ~$36Take-profit: Trigger: 0.80 (sell 200 YES contracts) Profit if triggered: ~$44Your position is now bracketed. The stop-loss and take-profitwill fire automatically when the market price hits those levels.
You: Are there similar BTC markets on Kalshi? Look for KXBTC
Claude calls discover_markets(exchange="kalshi", query="KXBTC", limit=5):
Found 3 BTC markets on Kalshi:1. KXBTC-26MAR31 - "BTC above $100k on March 31"2. KXBTC-26FEB28 - "BTC above $95k on Feb 28"3. KXBTC-26APR30 - "BTC above $110k on April 30"KXBTC-26MAR31 looks like a direct analog to your Polymarketposition. If there's a price gap, that could be an arb.
You: Cancel all my open orders and show me final PnL
Claude calls cancel_all_orders() then engine_status():
Canceled 0 orders (none were open).Final status: Realized PnL: $0.00 Unrealized PnL: +$4.00 Daily PnL: +$4.00Your will-btc-hit-100k position is up $4 on 200 contracts.Stop-loss and take-profit are still armed.