Setup & Installation
Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:
What This Skill Does
Backtest gambling strategies against real micro-bets placed on the provably fair agent.rollhub.com casino API. Supports five strategies: Flat Bet, Martingale, Anti-Martingale, D'Alembert, and Kelly Criterion. Calculates win rate, variance, max drawdown, Sharpe ratio, and expected value for each.
Uses real micro-bets on a provably fair API instead of synthetic data, so backtest results reflect actual casino randomness and payout mechanics.
When to use it
- Comparing Martingale vs Kelly Criterion over 1000 coinflip rounds
- Calculating max drawdown for a D'Alembert betting sequence
- Verifying provably fair bet outcomes via SHA3-384 hash chain
- Generating a strategy comparison report from live bet data
- Optimizing bankroll size using Kelly fraction math
Example Workflow
Here's how your AI assistant might use this skill in practice.
User asks: Compare Martingale and Flat Bet strategies over 100 coinflip rounds starting with a 1000-unit bankroll
- 1Register agent account via POST /register to obtain API key
- 2Place 100 micro-bets on coinflip, recording each bet_id, outcome, and payout
- 3Apply Martingale and Flat Bet logic to the same outcome sequence
- 4Calculate win rate, variance, max drawdown, and Sharpe ratio for each strategy
- 5Generate markdown comparison report using the report template
Side-by-side statistical comparison showing EV, max drawdown, and Sharpe ratio for both strategies across the 100-round session
Requirements
Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.