How It Works
Dialect continuously monitors token prices and analyzes percentage changes over sliding time windows. When a token’s price change exceeds the configured threshold within a time window, a webhook is triggered with detailed information about the price movement.Sliding Window Analysis
Price changes are calculated using a sliding window approach:- Window Duration: Configurable time periods (1h, 3h, 6h, 12h, 24h, 7d)
- Threshold: Percentage change required to trigger an event
- Direction: Both upward and downward movements are detected
Supported Time Windows
Window | Beta Status | Use Case |
---|---|---|
1h | Future | Momentum detection, immediate market shifts |
3h | Available | Short-term trend confirmation |
6h | Available | Intraday trend identification |
12h | Available | Half-day trend analysis |
24h | Available | Daily price movement tracking |
7d | Planned | Weekly trend detection |
Webhook Payload
When price change events are detected, you’ll receive a webhook with an array structure. Each individual event within the array has this structure:Field Details
- direction:
"up"
for price increases,"down"
for decreases - from: Price and timestamp at the start of the window
- to: Price and timestamp at the end of the window
- absolute: Raw price difference (to.value - from.value)
- percentage: Percentage change over the window
- threshold: Percentage change required to trigger the event
Use Cases
Mobile Wallet Integration
Portfolio Tracker Alerts
- Alert users when portfolio holdings have significant price movements
- Provide context about the magnitude and timeframe of changes
- Enable users to take action based on price movements
Trading Platform Integration
- Notify traders about tokens meeting their criteria
- Provide entry points for momentum-based trading strategies
- Support risk management through downside alerts