---
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/stock-market/use-cases/analyze-price-history/chatgpt
---
# How to Analyze Price History with ChatGPT

ChatGPT transforms historical price data into an easy-to-follow market story. It fetches price history and explains the trend in plain language, highlights key turning points, suggests what drove major moves, and helps you decide whether current levels look attractive based on historical patterns.

## Setup

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

## Steps

1. Configure ToolRouter in ChatGPT
2. Ask: "Show me the price history for TSLA over the past 6 months"
3. ChatGPT retrieves the data and highlights key price movements
4. Request: "Calculate the monthly returns for that period"
5. Ask for trend analysis and pattern identification

## Example Prompt

```
Get 6-month price history for TSLA and RIVN. Which stock had better returns? Which was more volatile?
```

## Tips

- ChatGPT can explain price movements in the context of company news and events
- Ask for statistical measures like standard deviation and beta
- Request visualization-ready data formatted for your preferred charting tool
