Blog

Crypto risk management, explained.

Educational guides on position sizing, DeFi liquidation, funding rates, market regimes, and building risk-governed trading systems.

Development7 min read

Build Your Own Risk Rules or Use a Risk API? A Comparison for Crypto Bots and Agents

When a few lines of your own code are the right position limit for a crypto bot or agent, when an external risk API is worth the dependency, and what each option costs you.

Risk Management7 min read

Risk Controls for Crypto Trading Bots and Agents: The Options Compared

Five places a risk limit can live for a crypto trading bot or AI agent: strategy code, framework protections, exchange settings, wallet policies and an external risk API. What each one sees and what it misses.

Development6 min read

Three Ways a Position Size Limit in Freqtrade Fails Silently

A size cap written in a Freqtrade callback can stop applying without any error: on an exception, on position increases, and with leverage. What we found and how to close each gap.

Product7 min read

RiskState score_v4: A Risk Engine Upgrade Built on Six Months of Live Evidence

score_v4 and API v1.5.0: a trend gate tested on 8 years, DeFi health factor as a hard limit, rules counted once, fail-closed sizing, and a stable portfolio API v2.

AI Agents7 min read

Coinbase AgentKit vs Alchemy for Building Onchain AI Agents: What Each Does and When to Use Both

AgentKit vs Alchemy for onchain AI agents: AgentKit gives the agent a wallet and actions, Alchemy gives it data and infrastructure. Comparison, when to use each, and the layer both leave out.

AI Agents6 min read

Which Risk Parameters Must Stay Under Human Control in an AI Trading Agent?

Leverage, position size, capital at risk and final execution: which risk parameters an AI trading agent may automate and which must stay under human control, and how to enforce it.

AI Agents7 min read

Pre-Execution Guardrails for Autonomous Agents: How to Stop Bad Trades and Payments Before They Happen

Pre-execution guardrails for autonomous AI agents that trade or pay: what to check before every action, where the check must live, and a reference design you can implement.

On-chain7 min read

Bitcoin MVRV and MVRV Z-Score Explained: How to Read Them and Where to Get the Data

What Bitcoin MVRV and MVRV Z-Score measure, how they are calculated, how to read the zones, where the data comes from (Coin Metrics, CoinGlass, Glassnode) and their limits.

Perps7 min read

Hyperliquid Margin Explained: Cross vs Isolated, Maintenance Margin and Liquidation Price

How Hyperliquid margin works: initial and maintenance margin formulas, cross vs isolated mode, the liquidation price formula, partial and backstop liquidations, with worked examples.

Strategy8 min read

How to Backtest a Risk Model (Not a Trading Strategy): A Practical Framework for Crypto

Backtesting a risk model is different from backtesting a strategy. What to measure, overlapping windows, block bootstrap, out-of-sample splits and the pipeline errors that quietly invalidate results.

AI Agents5 min read

How to Give Claude and ChatGPT Live Bitcoin & Ethereum Risk Data (MCP Server Guide)

A free crypto MCP server: give Claude or ChatGPT a blockchain market-data tool with live BTC and ETH risk data in two minutes. One URL, no API key. Setup steps and prompts.

Strategy6 min read

Why Most Crypto Trading Signals Fail Out of Sample: What 2,000 Live Snapshots Taught Us

We tested our BTC/ETH risk engine on 2,069 live snapshots. The signal failed out of sample. Why, what held up, and how it drives our November recalibration.

Derivatives5 min read

Hyperliquid Risk Management: Position Sizing, Margin Modes and Liquidation Explained

Risk on Hyperliquid perps: cross vs isolated margin, sizing by notional, real liquidation distance, hourly funding, and when to cut position size.

Risk Management6 min read

Dynamic Risk Permissions for Crypto: Why Static Rules Fail in Volatile Markets

Why fixed 2% per trade rules fail in crypto and how dynamic, regime-aware risk permissions adapt to market conditions.

Development7 min read

Hyperhelm: A Governed Trading Cockpit for Hyperliquid, Built on the RiskState Stack

Hyperhelm is an application for Hyperliquid built on top of the RiskState Stack. It turns three engines — structure, playbook, and risk — into a single governed verdict you execute non-custodially.

Market Analysis8 min read

Crypto Market Structure: How to Spot Tops, Bottoms, Breakouts, and Breakdowns

A practical guide to reading crypto market structure for BTC and ETH — swing highs and lows, local tops and bottoms, breakout and breakdown levels, and the regime transitions that matter most.

Strategy7 min read

Crypto Trading Playbooks: How to Build Rule-Based, Repeatable Setups

Why discretionary trading doesn't compound, and how to build locked, rule-based playbooks that fire only on confluence — the setup, the market structure, and the risk gate all aligned.

Engineering9 min read

How to Build Crypto Trading Applications on Risk, Market Structure, and Trading Playbook Engines

An architecture guide for developers and founders: build trading apps, AI agents, and dashboards on composable crypto infrastructure — a risk governor, a structure navigator, and a playbook strategist — bound by an auditable decision record.

Risk Management8 min read

How to Manage Risk in Crypto Trading: Position Sizing, Stop Losses, and Leverage

A comprehensive guide to the three pillars of crypto risk management — position sizing formulas, stop-loss placement, and leverage discipline.

DeFi7 min read

How to Avoid Liquidation in DeFi: Aave and Spark Protocol Health Factor Guide

Explains health factor mechanics, LTV thresholds, and collateral monitoring for DeFi borrowers on Aave V3 and Spark Protocol.

Derivatives7 min read

Crypto Funding Rate Strategy: How to Read and Use Perpetual Futures Funding Rates

What a perp funding rate really costs, when funding signals a crowded trade, and why percentiles beat raw rates. 8-hour funding mechanics, carry decomposition and worked examples.

Market Analysis8 min read

Market Regime Detection for Crypto: Bull, Bear, and Sideways Classification

Multi-signal regime classification using on-chain, derivatives, and macro data instead of price-only indicators.

Development10 min read

How to Build a Crypto Trading Bot with Risk Management in 2026

A developer guide to building automated crypto trading systems with integrated risk controls, position limits, and policy-based execution.

AI Agents7 min read

AI Trading Agent Guardrails: How to Add Risk Limits to Autonomous Crypto Agents

How to add spending limits, policy-based execution, and external risk governance to autonomous AI trading agents.

Risk Management6 min read

Crypto Position Sizing Calculator: The Complete Guide to Sizing Trades by Risk

Fixed-percentage, Kelly Criterion, and volatility-adjusted position sizing with worked examples for crypto traders.

Derivatives7 min read

Short Squeeze vs Long Squeeze in Crypto: How to Detect and Survive Liquidation Cascades

Squeeze mechanics using funding rates, open interest, L/S ratios, and liquidation heatmaps with detection strategies.

Market Analysis8 min read

BTC and ETH Market Cycle Phases: Where Are We Now and What It Means for Your Portfolio

Mapping the crypto market cycle using MVRV, NUPL, halving proximity, and supply metrics into actionable phases.

Back to Home