> youcanbuildthings.com
tutorials books topics about

home → ai trading bot playbooks

AI Trading Bot Playbooks

Stocks, options, crypto. 7 working strategies with walk-forward backtests across five regimes. Slippage, commissions, and Claude inference cost in the realism layer.

2 playbooks · 10 free guides

> free_guides_

how-to 8 min read

Claude Trading Bot Hallucination: 8-Point Backtest Check

Catch Claude trading bot hallucination before live capital. Walk-forward backtest, 68% win-rate paradox, 8-point checklist, separate-session reproduction.

from: Use Claude to Build 7 AI Trading Bots

tutorial 8 min read

Cointegration Pairs Trading Python: Z-Score and Hedge Ratio

Cointegration pairs trading in Python with statsmodels: Engle-Granger test, Z-score entries at ±2.0, hedge-ratio sizing, 20-day time-stop, VIX regime filter.

from: Use Claude to Build 7 AI Trading Bots

tutorial 8 min read

Crypto Funding Rate Arbitrage Bot: BTC Cash and Carry

Build a crypto funding rate arbitrage bot in Python. Long spot, short perp, collect funding every 8 hours when the rate exceeds 0.025%. Delta-neutral basis.

from: Use Claude to Build 7 AI Trading Bots

tutorial 9 min read

Multi Strategy Trading Bot Python: Risk Parity Allocator

Multi strategy trading bot Python build: risk-parity capital sizing, 90-day correlation drop rule, drawdown circuit breaker, and intent netting at the broker.

from: Use Claude to Build 7 AI Trading Bots

tutorial 8 min read

Options Flow Trading Bot in Python: The 4 Greek Gates

Build an options flow trading bot in Python with four Greek gates: delta budget, gamma cap, IV-crush filter, theta sweep. Stop the bleed before it starts.

from: Use Claude to Build 7 AI Trading Bots

tutorial 9 min read

How to Build a Polymarket Prediction Bot with Claude

Build a Claude-powered Python bot that scans active Polymarket contracts, estimates true probabilities, calculates expected value, and surfaces mispriced bets.

from: Use Claude to Build an AI Trading Bot One Weekend

how-to 8 min read

Kelly Criterion Position Sizing for Trading Bots

Implement Kelly Criterion in Python for automated position sizing with three worked examples, quarter-Kelly adjustments, and a copy-paste risk manager class.

from: Use Claude to Build an AI Trading Bot One Weekend

tutorial 9 min read

Monte Carlo Backtesting for Trading Strategies

Build a Monte Carlo backtesting framework in Python that runs 1,000 simulations, produces a fan chart, and tells you if your strategy has a real edge.

from: Use Claude to Build an AI Trading Bot One Weekend

tutorial 9 min read

How to Build a Multi-Agent AI Trading System

Build a 4-agent trading system in Python where Claude instances specialize as analyst, risk manager, executor, and monitor with adversarial disagreement.

from: Use Claude to Build an AI Trading Bot One Weekend