Overview
This node acts as a trigger for Binance data based on candle information. It monitors candlestick data and triggers workflows when certain conditions related to price movement and time thresholds are met. This is useful for automated trading strategies, alerting systems, or data analysis workflows that depend on specific market conditions.
Use Case Examples
- Trigger a workflow when the price changes by a certain percentage within a given time frame.
- Trigger a workflow when a candle is finalized, indicating the end of a trading period.
Properties
| Name | Meaning |
|---|---|
| Percent Threshold | The percentage change in price that must be reached to trigger the node. |
| TimeThreshold | The time duration threshold that must be met to trigger the node. |
| Is Final | A boolean flag indicating whether the candle is final (closed) or still forming. |
Output
JSON
candleData- The candlestick data that triggered the event, including open, close, high, low prices, and timestamps.triggeredAt- Timestamp when the trigger condition was met.
Dependencies
- Requires Binance API credentials for authentication and data access.
Troubleshooting
- Ensure Binance API credentials are correctly configured and have necessary permissions.
- Verify that the percentThreshold and timeThreshold values are set appropriately to avoid missing triggers or excessive triggering.
- If the node does not trigger as expected, check if the 'Is Final' flag is set correctly according to the desired candle state.