v0.6.7 — now available on npm

Think Strategies, Ship Alpha

Claude Code for financial markets. Build, backtest, and iterate on trading algorithms using natural language.

View on GitHub ->
finny/strategy builderBuild Mode

AI-Powered Trading Strategy Generator

v0.6.7 • inspired by opencode

Ask anything... “Backtest a mean reversion strategy”
BuildClaude Opus 4.6·thinking.
ctrl+t variantstab agentsctrl+p commands
Tip Use golden cross (50/200 SMA) for trend confirmation signals
Supported Assets
BTC
ETH
SOL
AAPL
NVDA
PLTR

How It Works

Describe what you want in plain English. Finny generates, validates, and saves your trading strategy — ready to backtest.

3 Agent Modes

Build, Research, or Chat — press Tab to switch. Build generates immediately. Research analyzes first. Chat answers questions.

7 Strategy Templates

Momentum, Mean Reversion, Breakout, DCA, Golden Cross, Scalping, and Custom. Ready-made foundations to build on.

Auto-Validation

Every strategy is checked for syntax errors, forbidden imports, dangerous calls, and trading pitfalls like lookahead bias.

Backtesting Engine

Historical data via yfinance. Metrics include Sharpe Ratio, Max Drawdown, Win Rate, and Profit Factor.

Cloud Storage

Algorithms saved to Convex with version tracking. Compare iterations, roll back changes, manage your strategy library.

BYOK

Bring your own API keys. Works with Anthropic, OpenAI, Google, or local models. Your keys, your choice.

Commands

Built-in slash commands for managing your strategies and running backtests.

/algosList saved algorithms
/codeView algorithm source code
/backtestRun historical backtest
/reviewReview strategy changes
/initInitialize project rules

Strategy Templates

7 built-in templates to jumpstart your algorithm. Or go fully custom.

MomentumRSI momentum — buys oversold, sells overbought
Mean ReversionBollinger Bands — buys lower band, sells upper
BreakoutDonchian channel — buys new highs, sells new lows
DCADollar-cost averaging with profit-target exit
Golden CrossSMA 50/200 crossover signals
ScalpingEMA scalping with tight stops
CustomMinimal skeleton — implement your own logic

Start Building in Seconds

Install Finny, describe your strategy, and let the agent handle the rest. Crypto and stocks supported out of the box.

then run finny in your terminal

Try: "Build me a momentum-based ETH strategy with RSI signals"