• DATA
  • LOGIC
  • ANALYSIS
  • HUMAN

How to backtest crypto strategies with your agent

Connect Glassnode to your AI client to access historical on-chain data. You can then run simulations using snapshots that match the exact state of the network at any given time.

Ask AI about this page

Our technology reaches across leading technology and enterprise teams.

  • Amazon
  • NVIDIA
  • Red Hat
  • Fidelity Investments
  • Intuit
  • OLX Brasil
  • Writesonic
  • Artium
  • Trolley
Bunny World Voxel Workspace

Short answer

How can I backtest crypto strategies with my AI?

Your agent uses point-in-time snapshots to pull historical metrics that match what was known at a specific moment. This prevents look-ahead bias by ensuring your strategy doesn't use future data to make past decisions. You'll see how this works in the breakdown below.

The results of your testing

What you get from your backtests

Running these simulations yields four distinct outcomes.

DATA

Historical snapshots

Your agent pulls specific on-chain metrics for any timestamp. You get the exact values that existed on the network at that moment.

LOGIC

Bias-free testing

Because the data is point-in-time, your agent won't accidentally use future information. This keeps your strategy realistic.

ANALYSIS

Metric correlation

Your agent compares on-chain indicators against historical price action. It identifies which signals actually preceded market moves.

HUMAN

Final decision making

Your agent presents the performance logs and win rates. You decide which parameters to adjust before you trade real capital.

The workflow

What your agent does when the data arrives.

Your agent handles the data retrieval and historical alignment so you can focus on the logic.

  1. Fetch snapshots

    Your agent requests specific on-chain metrics for a chosen date and time. It ensures the data is a true snapshot of that moment.

    get_pit_metric
  2. Align data points

    Your agent maps the retrieved metrics to historical price timestamps. This creates a synchronized dataset for your strategy.

    get_pit_metric
  3. Run simulations

    Your agent runs your logic against the historical snapshots. It checks if the metric met your entry or exit criteria.

    get_pit_metric
  4. Report performance

    Your agent compiles the drawdown and win rate stats. It presents a clean summary of how the strategy performed.

    get_pit_metric

Vinkius Agentic Execution Platform

State the outcome. Agents take it from there.

You don't have to drive this run by hand. Inside the Vinkius Agentic Execution Platform, agents pick up the task above and carry it to the end: you set the limits, you watch the steps, you keep all decisions.

Run it in Vinkius

Agents carry the task to the end

Agents execute Glassnode tasks from end to end inside the Vinkius Agentic Execution Platform: set the outcome, and the steps run.

Take it to any compatible AI

One connection, any client

Same connection follows you to ChatGPT, Claude, Gemini and any other client you love. Switch whenever you want: your connection, your permissions and your record move with you.

Spaces

One Space per activity

A Space gathers the context, tools and tasks of one activity, so you coordinate several agents at once and follow each execution as it happens.

Limits

Autonomy inside limits you set

Permissions and spending limits are yours to define. Agents halt for your approval on anything sensitive, and you choose how far autonomy goes, step by step or end to end.

Record

All steps, on the record

Each action your agents take lands in a signed audit trail. Results are verified, mistakes are learned from, and an emergency stop is one click away.

Models

Included in your plan

A curated selection of AI models is included in your plan, and you can add your own through BYOK whenever you prefer.

Try it

Copy these to start.

Use these prompts to begin your backtesting immediately.

Starting points

Swap the bracketed text for the specific metric and date you want to test.

Glassnode Connector

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

Connector linkhttps://edge.vinkius.com/vk_preview_sf8UKXcBQqPcPNMvyZsWXhh2hZUV2Zvzu9VeihtG/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, Glassnode capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "glassnode-on-chain-data-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_sf8UKXcBQqPcPNMvyZsWXhh2hZUV2Zvzu9VeihtG/mcp"
    }
  }
}
Copy into chat04
  • 01

    Get the [metric name] for [date] using Glassnode.

  • 02

    Compare the [metric name] from [date] to the BTC price at that same time.

  • 03

    Run a backtest: if [metric name] was above [value] on [date], what was the price 24 hours later?

  • 04

    Pull a series of [metric name] snapshots for the month of [month/year].

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

Start here

Connect Glassnode once, then ask.

Link your account through the Vinkius interface. Your credentials stay encrypted, and you can immediately start asking your agent for on-chain data.

Connect Glassnode to your agent

FAQ

How this task behaves

  • 01

    How does this prevent look-ahead bias?

    Your agent uses the get_pit_metric tool to pull data exactly as it appeared at a specific point in time, so it cannot see what happened later.

  • 02

    Can your agent execute trades on my behalf?

    No. Your agent only retrieves data and analyzes results. You must handle all execution through your own trading platform.

  • 03

    Can I use this to pull real-time data?

    Yes, you can request the most recent available snapshots, though the primary use case is historical testing.

  • 04

    Does your agent store my Glassnode API keys?

    No. Vinkius manages the connection and keeps your credentials encrypted.

  • 05

    Can your agent change my Glassnode account settings?

    No. The tool is strictly for reading point-in-time metrics; it has no capability to modify your account or settings.

  • More questions about Glassnode? See everything the Glassnode Connector can do

Building with AI? Ship this whole workflow in your product.

Vinkius Connect is the connectivity layer for AI builders. All the capabilities used on this page, from Glassnode to thousands more, arrive through one SDK, already maintained for you. One Application, unlimited seats, each with their own connectors and credentials, isolated and never exposed to Vinkius. No OAuth flows to write, no tokens to store, no APIs to chase.

Explore Vinkius Connect

TypeScript · Python · Java · Go · C# · PHP · Rust

  • 01

    Your customers bring their own keys.

    Each user connects their own apps and keeps their own credentials. Vinkius only sees the identifier your backend sends.

  • 02

    Whole catalog, kept current.

    Glassnode plus thousands more, maintained and growing daily. No integrations to write, no token storage, no OAuth plumbing.

  • 03

    Any agent, any model.

    Capabilities land as framework-neutral objects, with adapters for OpenAI, Anthropic, Gemini, the Vercel AI SDK, LangChain and more.

Connect Glassnode to Claude, Cursor, ChatGPT & more

From idea to done

See what gets done when the agents take over the busywork

Each workflow on this page runs on the same platform. Connect your tools once, and your agents keep working in any AI you trust.