---
title: ToolRouter — Agent Use Case Guide
description: Step-by-step guide for completing a task with a specific AI agent using ToolRouter.
url: https://toolrouter.com/tools/crypto-prices/use-cases/analyze-price-trends/copilot
---
# How to Analyze Crypto Price Trends with Copilot

Copilot retrieves market data and helps you build trend analysis tools in code. Generate moving average calculations, create momentum scoring functions, and build technical analysis infrastructure for your trading bot or analysis platform -- working with real market data to develop and test algorithms.

## Setup

{"mcpServers":{"toolrouter":{"command":"npx","args":["-y","toolrouter-mcp"]}}}

## Steps

1. Add ToolRouter to Copilot MCP config
2. In Copilot Chat: "Get market data for BTC and analyze the recent trend"
3. Copilot returns market data with trend indicators
4. Ask: "Generate a trend scoring function based on this data"

## Example Prompt

```
Fetch BTC market data so I can build trend analysis logic for my trading bot.
```

## Tips

- Use market data to build and backtest simple trend-following strategies
- Copilot can generate moving average calculations from historical data
- Great for building algorithmic trading indicators
