Candle
AI-generatedOverview
The Binance Trigger node is designed to monitor and trigger workflows based on specific conditions related to Binance market data, particularly candle data. It is useful for scenarios where users want to automate actions based on price movements or time thresholds in cryptocurrency trading on Binance. For example, it can trigger a workflow when a candle's price changes by a certain percentage or after a specified time threshold, optionally considering if the candle is final.
Use Case Examples
- Trigger a workflow when the price changes by more than 5% within a candle period.
- Trigger an alert if a candle remains open for more than 10 minutes without closing.
- Execute a trade when a candle closes and meets certain criteria.
Properties
| Name | Meaning |
|---|---|
| Percent Threshold | The percentage change threshold in the candle's price that triggers the node. |
| TimeThreshold | The time duration threshold that triggers the node if exceeded. |
| Is Final | A boolean flag indicating whether to trigger only on final (closed) candles. |
Output
JSON
candleData- The data of the candle that triggered the event, including open, close, high, low prices, and timestamps.triggerInfo- Information about the trigger event, such as the type of threshold met and timing details.
Dependencies
- 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.
- Check network connectivity to Binance API to prevent data retrieval failures.
Links
- Binance API Documentation - Kline/Candlestick Data - Official Binance API documentation for candle data which this node relies on.