Data Scope Configuration
The Data Scope section is the first step in your analysis workflow. Here you define the time window for comparison and select where your real-time alert data comes from.
Overview
Section titled “Overview”This section contains two key configuration areas:
- Analysis Time Frame — The date range that scopes your comparison
- Alert Data Source — Where your real-time signals come from (webhooks or CSV)
Both must be configured before proceeding to the next workflow step.
Analysis Time Frame
Section titled “Analysis Time Frame”The date range picker lets you define the exact window of time to analyze.
Date Selection
Section titled “Date Selection”| Field | Description |
|---|---|
| Start Date | The beginning of your analysis window |
| End Date | The end of your analysis window |
| Start Time | Optional: specific time on the start date |
| End Time | Optional: specific time on the end date |
Recommended Date Ranges
Section titled “Recommended Date Ranges”| Strategy Type | Recommended Range | Reasoning |
|---|---|---|
| First-time analysis | Last 30 days | Enough data for meaningful patterns |
| Scalping strategies | Last 7-14 days | Recent behavior is most relevant |
| Swing strategies | Last 60-90 days | Captures multiple trade cycles |
| After code changes | Since the change date | Isolate new behavior |
Date Range Best Practices
Section titled “Date Range Best Practices”- Match your backtest period — Ensure your date range is covered by both your backtest export AND your alert data
- Avoid partial days — Select full calendar days when possible to avoid edge cases
- Account for warmup periods — Some strategies need initial bars to calculate indicators; exclude that period
Alert Data Source
Section titled “Alert Data Source”You must select how to load your real-time alert signals. Choose between two sources:
Using Webhook Data
Section titled “Using Webhook Data”Best for: Active strategies with webhook integration already configured.
When you select Webhooks:
- The system automatically queries your webhook event history
- Alerts are filtered to your selected date range
- Symbol and strategy info is extracted from webhook payloads
Requirements:
- Webhook endpoint configured in Webhook Settings
- TradingView alerts sending data to your webhook URL
- Alert data exists for the selected date range
Advantages:
- No manual data preparation
- Always up-to-date with your latest alerts
- Timestamp precision down to milliseconds
Using CSV Import
Section titled “Using CSV Import”Best for: Historical analysis, testing without webhook setup, or external alert sources.
When you select CSV Import:
- An upload zone appears for your alert data file
- You can drag-and-drop or paste CSV content
- The system parses and validates your data
CSV Format Requirements:
Your CSV should include these columns:
| Column | Required | Description | Example |
|---|---|---|---|
Date/Time or timestamp | ✅ | Alert timestamp | 2024-01-15 09:30:00 |
Symbol or ticker | ✅ | Trading symbol | TSLA |
Price | ✅ | Alert price | 245.50 |
Side or action | ✅ | Buy/Sell direction | buy |
Type or signal | ⚪ | Entry/Exit type | entry |
Strategy | ⚪ | Strategy name | MA Crossover |
Example CSV:
Date/Time,Symbol,Price,Side,Type,Strategy2024-01-15 09:30:00,TSLA,245.50,buy,entry,MA Crossover2024-01-15 11:45:00,TSLA,248.20,sell,exit,MA Crossover2024-01-16 10:15:00,TSLA,242.80,buy,entry,MA CrossoverAdvantages:
- Works without webhook setup
- Analyze historical data from any source
- Full control over alert data
Completion Criteria
Section titled “Completion Criteria”The Data Scope step is marked complete (✓) when:
- A valid date range is selected (both start and end dates)
- An alert data source is chosen (Webhooks or CSV)
- If CSV: At least one alert signal is loaded
- If Webhooks: Date range is confirmed (signals fetch on demand)
Once complete, the Strategy Properties step automatically expands.
Common Issues
Section titled “Common Issues””0 signals loaded” with Webhooks
Section titled “”0 signals loaded” with Webhooks”Cause: No webhook events exist in the selected date range.
Solutions:
- Expand your date range to cover when alerts were active
- Check your Webhook Configuration is correct
- Verify TradingView alerts are set to your webhook URL
- Use CSV Import as an alternative
CSV Parse Errors
Section titled “CSV Parse Errors”Cause: File format doesn’t match expected structure.
Solutions:
- Ensure your CSV has column headers in the first row
- Check date format matches
YYYY-MM-DD HH:MM:SSor similar - Remove any extra columns or formatting
- Try pasting the content directly instead of uploading
Date Range Doesn’t Cover Data
Section titled “Date Range Doesn’t Cover Data”Cause: Selected dates don’t overlap with your backtest or alert data.
Solutions:
- Check your backtest CSV for the actual date range of trades
- Verify your webhook history covers the selected period
- Align the date range with both data sources
Related Sections
Section titled “Related Sections”- Strategy Properties — Next step: configure strategy context
- Webhook Configuration — Set up webhook data capture
- Troubleshooting — Full troubleshooting guide