alph-bot-strategy
# How to Create Strategy
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,
Related in General
modeling-omnistudio-epc-catalog
IncludedSalesforce Industries CME EPC product-modeling skill for Product2-based catalog creation. Use when creating EPC products, configuring product attributes, building offer bundles with Product Child Items, or reviewing EPC DataPack JSON metadata for product catalog changes. TRIGGER when: user creates or updates Product2 EPC records, AttributeAssignment payloads, AttributeMetadata/AttributeDefaultValues, Offer bundles, or ProductChildItem relationships. DO NOT TRIGGER when: designing OmniScripts/FlexCards/Integration Procedures (use building-omnistudio-omniscript, building-omnistudio-flexcard, or building-omnistudio-integration-procedure), implementing Apex business logic (use generating-apex), or troubleshooting deployment pipelines (use deploying-metadata).
relationship-science-coach
IncludedUse this skill for direct, practical adult relationship coaching: couples conflict, repair, trust, marriage, dating, flirting, attachment patterns, emotional connection, sex, desire differences, eroticism, kink negotiation, affection, love languages, breakups, and long-term passion. Draw on Gottman, EFT and Hold Me Tight, attachment science, modern sex research, Perel, Nagoski, Kerner, Schnarch, Love and Stosny, and flexible love-language tools. Be concrete and low-hedge. Redirect only for imminent danger, abuse, coercive control, minors, non-consent, self-harm, stalking, or medical/legal/psychiatric decisions.
building-sf-integrations
IncludedSalesforce integration architecture and runtime plumbing with 120-point scoring. Use this skill to set up Named Credentials, External Credentials, External Services, REST/SOAP callout patterns, Platform Events, and Change Data Capture. TRIGGER when: user sets up Named Credentials, External Services, REST/SOAP callouts, Platform Events, CDC, or touches .namedCredential-meta.xml files. DO NOT TRIGGER when: Connected App/OAuth config (use configuring-connected-apps), Apex-only logic (use generating-apex), or data import/export (use handling-sf-data).
venue-templates
IncludedAccess comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.
let-fate-decide
IncludedDraws the 12 Houses of the Zodiac Tarot spread to inject entropy into planning when prompts are vague, ambiguous, or casually delegated. Interprets the spread to guide next steps. Use when the user says 'let fate decide', 'YOLO', 'whatever', 'idk', or other nonchalant phrases, makes Yu-Gi-Oh references, or when you are about to arbitrarily pick between multiple reasonable approaches. Prefer over ask-questions-if-underspecified when the user's tone is casual or playful rather than precision-seeking.
net-ops
IncludedCross-platform network troubleshooting (Windows, macOS, Linux) via local or remote shell. Use for: DNS broken, can't resolve hostnames, nslookup/dig works but apps fail, NRPT, WFP, scutil, /etc/resolver, systemd-resolved, /etc/resolv.conf, NetworkManager, VPN DNS leak residue (ProtonVPN/Mullvad/WireGuard/AnyConnect), AV/firewall blocking DNS or DoH, Tailscale DNS interaction, intermittent connectivity, remote diagnostics over SSH.