• DATA
  • CONTEXT
  • PATTERNS
  • HUMAN

How to analyze historical price trends with your AI

Connect Twelve Data to your AI client to pull historical price movements. Once connected, your agent handles the data heavy lifting so you can focus on the patterns.

Ask AI about this page

Short answer

How can I use AI to find historical price patterns?

Your AI pulls historical candlestick data through Twelve Data to identify trends and price structures. You get a clear view of long-term movements without manual data entry. This setup lets you move straight from raw data to pattern recognition.

Where every insight lands.

The outcomes of your analysis

Your AI processes the data and organizes the results into these specific areas.

DATA

Clean price series

The AI pulls specific time series data. You get organized candlestick sets ready for analysis.

CONTEXT

Company profiles

The agent pulls fundamental details. This helps you understand the entity behind the price action.

PATTERNS

Trend identification

The AI looks for support, resistance, and momentum. It highlights the trends you need to see.

HUMAN

Final decision making

The AI provides the math and the data. You decide if the trend warrants a trade or a change in strategy.

The workflow

What your AI does when the data arrives.

The AI acts as your data analyst, pulling raw numbers and turning them into readable trends.

  1. Fetch price history

    The agent requests specific candlestick intervals for a given ticker. This provides the raw numbers for the analysis.

    get_time_series
  2. Gather company info

    To add context to the price action, the AI pulls the company's profile. This ensures you know exactly what you are looking at.

    get_company_profile
  3. Identify patterns

    The AI scans the time series for specific price behaviors. It looks for trends that match your specific criteria.

    get_time_series
  4. Summarize findings

    The agent compiles the price data and company details into a single report. You get a concise summary of the trend.

    get_company_profileget_time_series

Try it

Copy these to start.

Use these prompts to kick off your analysis immediately.

Starting points

These are just starting points. Swap out the ticker symbols and timeframes for your specific needs.

Twelve Data Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_rhHo0kRUT0F3qkgUC8WX5Rz7jXRaklyqfDFrGTAm/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — Twelve Data capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "twelve-data-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_rhHo0kRUT0F3qkgUC8WX5Rz7jXRaklyqfDFrGTAm/mcp"
    }
  }
}
Copy into chat04
  • Get the last 6 months of daily candlestick data for AAPL and tell me the overall trend.

  • Pull the company profile for TSLA and compare its recent price movement to its sector.

  • Analyze the 1-hour time series for BTC/USD to find recent support levels.

  • Show me the historical price trend for NVDA and summarize the key price patterns.

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect Twelve Data once, then ask.

Just click the link to connect. Your credentials stay encrypted, and you can start asking questions right away.

Connect Twelve Data to your AI

FAQ

How this task behaves

  • 01

    Can the AI execute trades based on these trends?

    No. The AI only reads and analyzes the data. You must execute any trades yourself through your own brokerage.

  • 02

    Does the AI update the price data in real-time?

    The AI pulls data through the tools provided. It only sees the data you ask it to fetch at that specific moment.

  • 03

    Can the AI change my Twelve Data account settings?

    No. The AI can only read data using the available tools. It has no permission to modify your account or settings.

  • 04

    What kind of data can I pull?

    You can pull historical time series data and company profiles.

  • 05

    Do I need to provide the data manually?

    No. Once the Connector is live, the AI uses the tools to fetch the data itself.

  • More questions about Twelve Data? See everything the Twelve Data Connector can do

Connect Twelve Data to Claude, Cursor, ChatGPT & more