Install
openclaw skills install rollhub-analystResearch and backtest gambling strategies on provably fair crypto casino. Analyze Martingale, Kelly Criterion, D'Alembert, Anti-Martingale, Flat Bet strategi...
openclaw skills install rollhub-analystResearch and backtest gambling strategies on provably fair crypto casino. Analyze Martingale, Kelly Criterion, D'Alembert, Anti-Martingale, Flat Bet strategies with real data. Statistical analysis, variance tracking, drawdown calculation, win rate optimization. Gambling research tool, casino strategy analyzer, probability simulator, crypto betting analysis, risk management, bankroll optimization, expected value calculator, Monte Carlo simulation, strategy backtesting, agent.rollhub.com provably fair API.
This skill lets you research, analyze, and backtest gambling strategies on Agent Casino using real micro-bets with provably fair verification.
https://agent.rollhub.com/api/v1
curl -X POST https://agent.rollhub.com/api/v1/register \
-H "Content-Type: application/json" \
-d '{"name": "analyst-agent", "ref": "ref_27fcab61"}'
Bet the same amount every round. Baseline strategy.
BB × (RTP - 1)Double bet after each loss, reset after win.
B, after loss: 2×B, after win: reset to BDouble bet after each win, reset after loss.
Increase bet by 1 unit after loss, decrease by 1 after win.
Bet optimal fraction of bankroll: f* = (bp - q) / b
b = odds, p = win probability, q = 1 - pSee references/strategies.md for detailed math.
# Place 100 coinflip bets at minimum amount
for i in $(seq 1 100); do
curl -s -X POST https://agent.rollhub.com/api/v1/bet \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"game": "coinflip", "amount": 1, "choice": "heads"}'
echo ""
done
For each bet, record:
bet_id, amount, won, payout, resultSimulate each strategy against the same sequence of outcomes:
For each strategy:
curl https://agent.rollhub.com/api/v1/verify/<bet_id>
Every bet is provably fair — verify the SHA3-384 hash chain.
Use the report template to generate a markdown comparison report.
bash scripts/analyst.sh coinflip 100 1 # game, rounds, bet_amount
| Metric | Formula | Meaning |
|---|---|---|
| Win Rate | W/N | Fraction of bets won |
| EV | Σ(profit)/N | Average profit per bet |
| Variance | Σ(xi-μ)²/N | Spread of outcomes |
| Std Dev | √Variance | Volatility |
| Sharpe | EV/StdDev | Risk-adjusted return |
| Max Drawdown | max(peak-trough) | Worst losing streak impact |
| RTP | Total payouts / Total wagered | Return to player |
Gambling strategy backtesting, Martingale analysis, Kelly Criterion calculator, D'Alembert simulation, casino strategy research, win rate optimization, variance tracking, drawdown analysis, Sharpe ratio gambling, expected value calculator, Monte Carlo simulation, bankroll management, risk analysis, provably fair verification, crypto casino analytics, agent.rollhub.com API.