- Users specify a Token and Target Price in the workflow
- Kwala computes a price range around the live token price using the token’s configured price range percentage
- The workflow triggers when the configured target price falls within that range during evaluation
- Price alerts
- Auto-rebalancing
- Stop-loss protection
- DeFi automation
How It Works
Token price triggers are evaluated at the configured heartbeat interval for each supported token. During each evaluation:- Kwala fetches the latest token price
- Computes the valid price range using the token’s configured percentage
- Checks whether the configured target price falls within that range
- Triggers the workflow if matched
Price Range Evaluation
Exact price matches are not required. Kwala uses a predefined price range percentage for each token to evaluate trigger condition.Example
Assume:- Target Price mentioned in Kwala workflow =
100.2 - Current Token Price =
100 - Price Range Percentage =
0.5%
- Lower Bound =
99.5 - Upper Bound =
100.5
100.2 falls within 99.5 – 100.5, the workflow is triggered.
