Koskamo

Backtest trading strategy on historical data

The agent executes a backtest of a trading idea against historical exchange data, providing metrics such as win rate, drawdown, and fees to evaluate the strategy's viability before live deployment.

How it works

Read-onlyData and analysis

The agent takes a user-defined trading strategy or idea and runs a backtest using historical data from the connected venues. It calculates performance metrics including trades executed, win rate, drawdown, and fees, ensuring no lookahead bias. The agent reports these results to the user, allowing them to assess the strategy's historical performance.

Prompt

Paste this into an agent that has the servers below connected. Adjust the names and dates to your own.

Prompt for Backtest trading strategy on historical data
Backtest a strategy that buys when RSI crosses below 30 on the 1-hour BTC chart and sells when it crosses above 70. Include fees and show win rate and max drawdown.

MCP servers it needs

Source

The vendor page this playbook is drawn from, and the passage that supports it.

backtests with costs and no lookahead, market-wide screens, and historical analogues for a trade idea.
Crypto MCP Server for ChatGPT, Claude & Cursor — Free | Basis

Each playbook is drawn from the vendor page it cites and reviewed by Koskamo before it is published. Koskamo does not run these servers or your agent: check what each tool will do before you let it act on your accounts.