Claude
Skills
Sign in
Back

alph-bot-strategy

Included with Lifetime
$97 forever

# How to Create Strategy

General

What this skill does

# How to Create Strategy

This skill helps you write effective STRATEGY.md files for Alph trading bots.

SOUL.md defines who the bot is. STRATEGY.md defines how it thinks. This skill teaches you how to write the thinking.

## Strategy Discoverability

**Coming soon** — The Alph.bot Strategy Registry is under development. The tagging system below is forward-compatible and will be indexed when the directory launches.

Every STRATEGY.md should define tags in a metadata block at the top of the file. These tags allow the strategy to be found, filtered, and recommended in the Alph.bot Strategy Directory — a community-maintained catalog of strategies that users can browse, fork, and deploy.

**Required metadata block** (place at the very top of STRATEGY.md):

```markdown
---
name: "Vanilla Value Hunter"
author: "Joe"
tags: [nba, prediction-markets, polymarket, injury-news, live-betting, value-betting]
market: [prediction-markets]
asset: [nba]
risk_profile: conservative
version: 1
---
```

**Tag guidelines:**
- Use lowercase, hyphenated tags
- Include market type, asset class, specific platform, and edge type
- Add descriptive tags for the core thesis (e.g., `momentum-lag`, `injury-mispricing`, `sentiment-overreaction`)
- `risk_profile` accepts: `conservative`, `moderate`, `aggressive`
- The more specific the tags, the easier it is for other hunters to find and build on your work

When the Strategy Directory launches, users will be able to search by tag, filter by market and risk profile, and see community ratings and performance metrics for published strategies.

## Architecture

A STRATEGY.md has five sections. Each one builds on the last.

### 1. Tools & Skills

What the bot has access to. Data feeds, APIs, execution tools, analysis capabilities. Be specific — list every tool by name and describe when to use it.

The bot can only act on what it can see. This section defines its senses.

**What belongs here:**
- Real-time data APIs (e.g., Shipp NBA play-by-play, odds feeds, injury reports)
- Market execution tools (e.g., Polymarket API, exchange connectors)
- Analysis tools (e.g., statistical models, sentiment scrapers)
- When to use each tool and what to expect back

**Example:**
```markdown
## Tools & Skills

### Data Feeds
- `shipp/nba/play_by_play` — real-time game events, ~250ms latency
- `shipp/nba/odds` — live line movements across books
- `shipp/nba/injuries` — player status changes as they're announced

### Execution
- `polymarket/api` — place and manage positions on prediction markets
- Execution is handled by the execution layer — your job is to surface opportunities with conviction levels

### Analysis
- Statistical models defined in this file
- Historical pattern matching from learning loop outputs
```

### 2. Risk & Bankroll Management

How to stay alive. Position sizing, drawdown limits, Kelly Criterion parameters, and bankroll rules.

This section can reference config values or define them directly. The key principle: the bot should never risk more than it can afford to lose on any single opportunity.

**What belongs here:**
- Bankroll definition (total capital allocated)
- Unit sizing (what constitutes one "unit" — user-defined)
- Kelly Criterion parameters or alternative sizing methods
- Maximum exposure limits (per-opportunity and total)
- Drawdown circuit breakers (when to stop trading)
- Risk-adjusted conviction thresholds

**Example:**
```markdown
## Risk & Bankroll Management

- Bankroll: defined in config
- Unit: 1% of bankroll (adjustable in config)
- Sizing method: fractional Kelly (0.25x Kelly recommended)
- Max single position: 5 units
- Max total exposure: 20 units
- Drawdown breaker: pause trading if bankroll drops 15% in a session
- Minimum conviction to act: 0.65 (adjustable per strategy)
```

### 3. Market & Asset

What you're trading and where. Each Alph instance operates on a specific market or asset. This section scopes the bot's focus.

**What belongs here:**
- Market type (prediction markets, sports betting, crypto, equities)
- Specific asset or event (e.g., NBA game, Bitcoin price contract)
- Platform (e.g., Polymarket, specific exchange)
- Timeframe (real-time, intraday, event-based)
- Market characteristics the bot should be aware of (liquidity, volatility patterns, settlement rules)

**Example:**
```markdown
## Market & Asset

- Market: Prediction markets (Polymarket)
- Asset: NBA game outcomes and player props
- Timeframe: real-time, event-based (pre-game through final whistle)
- Characteristics: Liquidity varies heavily by market size. Popular games have tight spreads. Player props are thinner and slower to adjust — that's where edge lives.
```

### 4. Finding Alpha

This is the heart of the strategy. It combines what you're looking for, how you detect it, how you build conviction, and how you act on it — all in one coherent narrative.

This section should flow naturally from thesis to detection to conviction to action. Don't fragment these ideas into separate sections — they're one continuous thought process.

**What belongs here:**

**Core Thesis** — What market inefficiency are you exploiting? Be specific. "Markets misprice injury news" is better than "find value." Describe the edge hypothesis clearly.

**Signal Detection** — What data points confirm your thesis? Define each signal, its source, how fast it arrives, and what it tells you. Signals should be concrete and measurable.

**Conviction Building** — How do signals combine into a conviction score? Define the model: weighted sum, bayesian updating, ensemble, or custom logic. Set thresholds for surfacing opportunities versus auto-executing.

**Pre-Computed Logic** — Patterns and hypotheses you've figured out ahead of time. When live data matches a pre-computed pattern, you react instantly — no thinking required.

**Reactive Logic** — How you respond to unexpected signals in real-time. Triggers, conditions, and actions. This is the fast cycle.

#### Builder Guidance: How to Help Users Write This Section

This is the section users struggle with most. Don't leave them staring at a blank page. The builder's job is to actively help the user construct their alpha thesis with the least input possible. Ask the right questions, surface relevant ideas, and draft the section collaboratively.

**Step 1: Understand the user's market.** Ask what market they're trading, what asset, and what timeframe. This narrows everything that follows.

**Step 2: Surface ideas from available sources.** Don't wait for the user to come up with a thesis from scratch. Pull from these sources to propose edge hypotheses:

- **Alph.bot Strategy Directory** (community-maintained) — Browse existing strategies tagged for the user's market. Suggest forks or adaptations of proven strategies. If a user is building an NBA strategy, show them what other NBA hunters have built and what's working.
- **TradingView** — Technical analysis ideas, indicator-based strategies, community scripts and published ideas relevant to the user's asset class.
- **Seeking Alpha** — Fundamental analysis, earnings-based theses, sector rotation ideas, contrarian positions with documented reasoning.
- **Research papers and quantitative sources** — Academic edge hypotheses (momentum, mean reversion, sentiment lag) adapted for prediction markets.
- **Platform-specific intelligence** — Polymarket volume patterns, order book dynamics, historical settlement data.

> **Note:** We maintain a running list of approved research sources and skills for alpha generation. Check `references/alpha-sources.md` for the current list. This list grows as the community contributes new sources and the Shipp data catalog expands.

**Step 3: Draft the thesis together.** Once the user picks a direction (or even just says "I want to trade NBA games"), the builder should draft a core thesis, propose 3-5 relevant signals based on available data feeds, and sketch a conviction model. Present this to the user for refinement — not as a finished product,
Files: 1
Size: 12.3 KB
Complexity: 14/100
Category: General

Related in General