- DATA
- LOGIC
- ANALYSIS
- HUMAN
Short answer
How can I backtest crypto strategies with my AI?
Your AI 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
The AI 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
The AI presents the performance logs and win rates. You decide which parameters to adjust before you trade real capital.
The workflow
What your AI does when the data arrives.
The AI handles the data retrieval and historical alignment so you can focus on the logic.
Fetch snapshots
The AI requests specific on-chain metrics for a chosen date and time. It ensures the data is a true snapshot of that moment.
get_pit_metricAlign data points
Your agent maps the retrieved metrics to historical price timestamps. This creates a synchronized dataset for your strategy.
get_pit_metricRun simulations
The AI runs your logic against the historical snapshots. It checks if the metric met your entry or exit criteria.
get_pit_metricReport performance
The agent compiles the drawdown and win rate stats. It presents a clean summary of how the strategy performed.
get_pit_metric
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.
https://edge.vinkius.com/vk_preview_sf8UKXcBQqPcPNMvyZsWXhh2hZUV2Zvzu9VeihtG/mcpClaude Desktop
Follow the steps below to connect in seconds.
- 1In Claude Desktop, open Settings → Connectors.
- 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
- 3Click Add and start a new chat — Glassnode capabilities are ready to use.
{
"mcpServers": {
"glassnode-on-chain-data-mcp": {
"url": "https://edge.vinkius.com/vk_preview_sf8UKXcBQqPcPNMvyZsWXhh2hZUV2Zvzu9VeihtG/mcp"
}
}
}Get the [metric name] for [date] using Glassnode.
Compare the [metric name] from [date] to the BTC price at that same time.
Run a backtest: if [metric name] was above [value] on [date], what was the price 24 hours later?
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 AI for on-chain data.
Connect Glassnode to your AIFAQ
How this task behaves
- 01
How does this prevent look-ahead bias?
The AI 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 the AI execute trades on my behalf?
No. The AI 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 the AI store my Glassnode API keys?
No. Vinkius manages the connection and keeps your credentials encrypted.
- 05
Can the AI 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
Connect Glassnode to Claude, Cursor, ChatGPT & more
