Reference

Commands

.md

Type these slash commands directly into the Finny CLI.

Slash commands

Every command works in any mode. Output is rendered inline in the terminal.

/algosList all algorithms saved in your current workspace. Shows strategy names, creation dates, and file paths.
/codeView the raw source of your most recently generated or selected algorithm, printed directly in the terminal.
/backtestRun engine_v2 on your current strategy. Produces 60+ metrics across return, risk, ratio, drawdown, trade, exposure, and stability categories, plus a full trade log.
/backtest walkforwardSplit the window into in-sample / out-of-sample, run both independently, and render a robustness verdict. The primary overfitting gate.
/backtest sweepCartesian-product parameter sweep (capped at 27 combos). Strategies must read parameters from self.params for the sweep to do anything.
/reviewGet an AI-powered code review of your current algorithm. Finny analyzes the strategy for potential issues, edge cases, and optimization opportunities.
/initReinitialize your Finny configuration. Re-run the setup wizard to change your API key, provider, or workspace settings.
/portfolioOpen the portfolio view. Add or remove brokerage accounts and inspect current positions.
/settingsOpen the settings view. Manage paper-trading connections, reset the managed Python env, and tweak preferences.
/algo useSwitch the active algorithm workspace. Updates the global active-algo marker; subsequent tool calls operate on the selected workspace.
/compactCompact the current session. Writes a structured summary block into the active algo's memory.md so a fresh session can pick up cold.
/licenseManage your Finny Pro license. Activate a key, check the current tier, or see your remaining quotas.