# Commands

Source: https://finnyai.tech/docs/commands

Type these slash commands directly into the Finny CLI.

- `/algos` — List all algorithms saved in your current workspace. Shows strategy names, creation dates, and file paths.
- `/code` — View the raw source of your most recently generated or selected algorithm, printed directly in the terminal.
- `/backtest` — Run a backtest using historical market data pulled via yfinance. Returns Sharpe Ratio, Max Drawdown, Win Rate, and Profit Factor.
- `/review` — Get an AI-powered code review of your current algorithm. Finny analyzes for potential issues, edge cases, and optimization opportunities.
- `/init` — Reinitialize your Finny configuration. Re-run the setup wizard to change your API key, provider, or workspace settings.
- `/portfolio` — Open the portfolio view. Add or remove brokerage accounts and inspect current positions.
- `/settings` — Open settings. Manage paper-trading connections, reset the managed Python env, and tweak preferences.

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