# Btc North Star Backtest

> Run a Bitcoin paper-trading simulation to see how a trend-following and dip-buying strategy performs on past data.

Btc North Star Backtest is a paid AI agent skill on Agensi by Lunaris, in Trading & Investing. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $9 (one-time purchase)
- Creator: [Lunaris](https://www.agensi.io/creators/lunaris)
- Category: [Trading & Investing](https://www.agensi.io/skills/trading-investing)
- Version: 1.0
- Last updated: 2026-12-03
- Security: scan passed (2026-12-03); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/btc-north-star-backtest
- Tags: trading, bitcoin, backtesting, crypto

## What it does

- Simulates a trend-following strategy that rides Bitcoin price moves
- Calculates small buybacks during price dips to lower the average cost
- Triggers a market exit when prices fall too far below a long-term average
- Accounts for trading fees and slippage to keep results realistic
- Provides a summary of total trades and the largest percentage drop

## Who it's for

- **Crypto traders exploring trend strategies:** Test how a specific trend-following and dip-buying strategy would have performed on past Bitcoin data. Try: "Run the North Star backtest on my BTC price file."
- **Financial analysts building automated reports:** Get clear data on drawdowns, fees, and trades for a Bitcoin trend-ride strategy. Try: "Test the BTC North Star strategy with a $10,000 starting balance and 13 bps fee."

## About this skill

If you are curious how a specific Bitcoin trend-following strategy handles market swings, this skill helps you find out. It runs a paper simulation of the North Star strategy, which focuses on riding the main trend while trying to buy back small dips along the way. It also includes safety rules to exit the market if prices crash below a long-term average.

**How it works**
1. You provide a file with historical Bitcoin price data.
2. Your AI agent sets up the simulation with your starting cash and fee settings.
3. The skill calculates every buy and sell signal based on the strategy rules.
4. You get a summary of the total return, number of trades, and the biggest drop.

**What you get:** A data report showing the final equity, total profit or loss, and the maximum drawdown of the simulation.

Backtest only. No live trading, no exchange keys, no profit promise, not financial advice.

## Known limitations

This is for paper simulation only. It does not trade live funds and cannot predict future profits.

## Technical details

The skill executes a Node.js script (backtest.mjs) that processes CSV price data with a 'close' column. It calculates 15-bar churn cycles, 30-bar EMA for buybacks, and 120-bar EMA for crash protection. It outputs JSON containing equity, PnL, return percentage, trade count, and max drawdown. It can integrate with Agensi market-data tools to fetch BTC/cbBTC bars if no file is provided.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Btc North Star Backtest skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### What exactly does this backtest simulation do?

This skill lets you see how a specific Bitcoin strategy would have performed in the past. It simulates riding the main trend and buying back small dips while using a crash protection rule to exit the market if prices drop below a long term average.

### Do I need to provide my own price data to run a test?

You need a CSV file containing historical Bitcoin price data with a column for closing prices. If you do not have a file, your agent can use a market data tool to fetch the necessary price bars for you.

### What kind of results will I see after the simulation finishes?

The skill provides a data report including your final equity, the total profit or loss, the percentage return, the number of trades made, and the biggest price drop experienced during the simulation.

### Can I use this skill to trade Bitcoin on a live exchange?

This skill is for paper trading simulations only and cannot place live orders or connect to exchanges. It never uses or asks for wallet keys or exchange passwords, and it does not guarantee that past results will happen again in the future.

### How do I tell my agent to start the backtest?

You can ask your agent to run a backtest using your specific CSV file. You can also tell the agent how much starting cash to use and what fee percentage to apply to the simulation.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
