Actions10
- Future Actions
- Spot Actions
- Custom Actions
Overview
This node integrates with the Binance API to fetch candlestick (candle) data for futures trading. It allows users to retrieve historical price data for a specified future symbol over a defined time interval and range. This is useful for traders, analysts, or automated systems that need to analyze market trends, backtest strategies, or visualize price movements.
Typical use cases include:
- Fetching recent candle data to feed into trading algorithms.
- Visualizing price action over specific intervals.
- Monitoring market conditions for selected futures symbols.
Properties
| Name | Meaning |
|---|---|
| Symbol Name or ID | The futures symbol to query, selectable from a list or via expression (e.g., BTCUSDT). |
| Interval Name or ID | The time interval for each candle (e.g., 1m, 5m, 1h), selectable from a list or via expression. |
| Limit | Maximum number of candle data points to return (minimum 1). |
| Start Time | Optional start datetime to filter candles from this point onward. |
| End Time | Optional end datetime to filter candles up to this point. |
Output
The node outputs JSON data containing an array of candlestick objects. Each object typically includes fields such as open time, open price, high price, low price, close price, volume, and close time, representing one candle in the specified interval.
No binary data output is produced by this node.
Dependencies
- Requires an API key credential for authenticating with the Binance API.
- The node depends on the Binance API service being accessible.
- No additional environment variables are explicitly required beyond the API credential.
Troubleshooting
- Invalid Symbol or Interval: If the symbol or interval is not recognized, the API may return errors or empty results. Ensure the symbol and interval values are valid and supported by Binance futures.
- API Rate Limits: Binance enforces rate limits; excessive requests may lead to temporary blocking. Implement retries or limit request frequency.
- Authentication Errors: Missing or invalid API credentials will cause authentication failures. Verify the API key is correctly configured.
- Date Range Issues: Providing inconsistent or out-of-range start and end times may result in no data returned. Check date inputs carefully.
Links and References
- Binance Futures Candlestick Data API Documentation
- n8n Expressions Documentation (for dynamic property values)