Troubleshooting
This guide covers common issues you might encounter during alerts vs fills analysis and how to resolve them.
Connection Issues
Section titled “Connection Issues”Alpaca Not Connected
Section titled “Alpaca Not Connected”Symptoms:
- “Connect Alpaca” message displayed
- No fill data available
- Feature unavailable warning
Solutions:
-
Navigate to Integrations
- Go to Account > Integrations
- Click “Connect Alpaca”
- Follow OAuth flow
-
Verify connection
- Check connection status shows “Connected”
- Verify API keys are valid
- Test with a simple query
-
Re-authenticate if needed
- Disconnect existing connection
- Reconnect with fresh credentials
No Data Loading
Section titled “No Data Loading”Symptoms:
- Perpetual loading spinner
- Empty charts and grids
- “No data found” messages
Causes & Solutions:
| Cause | Solution |
|---|---|
| Date range has no trades | Expand or adjust date range |
| Symbol not traded | Verify correct symbol |
| API rate limits | Wait and retry |
| Network issues | Check internet connection |
Matching Issues
Section titled “Matching Issues”Strategy Uses Pyramid Trading
Section titled “Strategy Uses Pyramid Trading”Symptoms:
- Consistently low match rate despite correct settings
- More fills than expected for the number of alerts
- Multiple fills per alert signal
Cause: Your strategy uses pyramiding (scaling into positions as the market moves favorably).
Solution:
Configure your TradingView strategy to trade one position at a time:
strategy("My Strategy", pyramiding=1) // Only allow 1 position at a timeIf your live trading requires pyramiding, the execution matching feature won’t accurately reflect your execution quality at this time.
Very Low Match Rate
Section titled “Very Low Match Rate”Symptoms:
- Match rate below 80%
- Many “unmatched” alerts
- Many “orphan” fills
Diagnostic Steps:
-
Verify symbol alignment
- Alert symbol must match fill symbol exactly
- Check for exchange prefixes (TSLA vs NASDAQ:TSLA)
-
Check time window
- Default 5 minutes may be too short
- Try expanding to 15-30 minutes
-
Review alert-fill timestamps
- Are fills arriving before alerts? (Clock sync issue)
- Consistent offset? (Timezone issue)
-
Check for duplicate alerts
- Multiple alerts for same trade?
- TradingView sending duplicates?
All Alerts Marked Unmatched
Section titled “All Alerts Marked Unmatched”Symptoms:
- 0% match rate
- Every alert shows as unmatched
- Fills exist but don’t pair
Common causes:
| Cause | Solution |
|---|---|
| Timezone mismatch | Verify UTC timestamps |
| Symbol format difference | Standardize symbol naming |
| Wrong data source | Check webhook vs CSV selection |
| No overlapping period | Align date ranges |
Fills Without Alerts
Section titled “Fills Without Alerts”Symptoms:
- Multiple “orphan fill” entries
- Fills matched to wrong alerts
- Higher fill count than alert count
Causes:
- Manual trades outside strategy
- Duplicate order execution
- Alert webhook failures
- Different trading source
Solutions:
- Filter to strategy-related trades only
- Verify webhook reliability
- Check TradingView alert history
- Review Alpaca order history for sources
Metric Issues
Section titled “Metric Issues”Unexpectedly High Latency
Section titled “Unexpectedly High Latency”Symptoms:
- Average latency >5 seconds
- Some trades show minutes of latency
- Inconsistent latency values
Investigation:
-
Check alert timestamps
- Are alerts arriving late?
- Webhook processing delays?
-
Check fill timestamps
- Using correct timestamp field?
- Broker reporting delays?
-
Review specific outliers
- A few bad trades skewing average?
- Market condition (halts, volatility)?
Solutions:
- Improve webhook infrastructure
- Use median instead of mean
- Filter extreme outliers
- Check Alpaca API health
Negative Latency Values
Section titled “Negative Latency Values”Symptoms:
- Fills appearing “before” alerts
- Negative latency in grid
- Impossible timing
Causes:
- Clock synchronization issues
- Timestamp interpretation errors
- Wrong timezone applied
Solutions:
- Verify system clocks are synced
- Check timestamp formats (UTC vs local)
- Review data source configurations
Extreme Slippage Values
Section titled “Extreme Slippage Values”Symptoms:
-
5% slippage on trades
- Wildly varying slippage
- Unrealistic price differences
Causes:
- Wrong price type comparison (bid vs ask vs last)
- Data errors
- Extreme market events
- Order type mismatch
Solutions:
- Verify price sources are consistent
- Check for data quality issues
- Review market conditions at execution time
- Confirm order type matches strategy intent
Chart Issues
Section titled “Chart Issues”Chart Not Loading
Section titled “Chart Not Loading”Symptoms:
- Empty chart area
- Perpetual loading
- “Unable to load data” error
Solutions:
-
Check symbol
- Valid ticker?
- Supported by Alpaca?
-
Check date range
- Within available history?
- Trading days only?
-
Verify Alpaca connection
- API credentials valid?
- Data subscription active?
-
Browser issues
- Clear cache
- Try different browser
- Disable extensions
Markers Not Appearing
Section titled “Markers Not Appearing”Symptoms:
- Chart loads but no markers
- Only candles visible
- Expected signals missing
Solutions:
-
Zoom/pan to correct area
- Markers may be outside visible range
-
Check filter settings
- “Show Only Problems” may hide matched
-
Verify data exists
- Check grid for entries
- Confirm date range coverage
Live Monitoring Issues
Section titled “Live Monitoring Issues”Auto-Refresh Not Working
Section titled “Auto-Refresh Not Working”Symptoms:
- Data not updating
- Same values after interval
- No new trades appearing
Solutions:
-
Verify toggle is on
- Auto-refresh switch enabled?
-
Check interval
- Is enough time passing?
-
Browser issues
- Tab may be throttled (background)
- Memory issues
-
API limits
- Too many requests?
- Try longer interval
High Memory Usage
Section titled “High Memory Usage”Symptoms:
- Browser becomes slow
- Page unresponsive
- System memory warnings
Causes:
- Long monitoring session
- Large dataset
- Memory leak
Solutions:
- Refresh page periodically
- Reduce date range
- Disable unnecessary data toggles
- Close other browser tabs
Data Issues
Section titled “Data Issues”Missing Recent Trades
Section titled “Missing Recent Trades”Symptoms:
- Recent trades not appearing
- Delay in data availability
- Gap between trading and visibility
Causes:
- Alpaca API latency
- Webhook processing delay
- Cache not refreshed
Solutions:
- Manual refresh
- Wait for next auto-refresh cycle
- Check Alpaca dashboard directly
- Verify webhook received
Duplicate Entries
Section titled “Duplicate Entries”Symptoms:
- Same trade appears twice
- Inflated trade counts
- Double-counted metrics
Causes:
- Duplicate webhook delivery
- Multiple alert triggers
- Data import errors
Solutions:
- Check TradingView alert settings
- Review webhook deduplication
- Use unique trade identifiers
Getting More Help
Section titled “Getting More Help”If you can’t resolve your issue:
-
Check system status
- Alpaca API status
- Platform status page
-
Gather information
- Screenshot of the issue
- Date range and symbol
- Error messages
- Steps to reproduce
-
Contact support
- Knowledge Base & FAQ — See “Still Need Help?” section
- Include gathered information
Related Sections
Section titled “Related Sections”- Quick Start — Step-by-step guide
- Scope & Matching — Configuration
- Metrics & Analysis — Understanding results
- Alpaca Setup — Broker connection