Actions12
Spot → Candle
AI-generatedOverview
The 'Binance' node in n8n integrates with the Binance API to perform various actions, including retrieving candlestick (candle) data for spot trading pairs. This functionality is particularly useful for monitoring market trends, conducting technical analysis, and automating trading strategies based on historical price data.
Use Case Examples
- Retrieving hourly candlestick data for BTCUSDT to analyze price movements.
- Fetching daily candlestick data for ETHUSDT to assess market trends.
- Automating the collection of candlestick data for multiple trading pairs for backtesting trading strategies.
Properties
| Name | Meaning |
|---|---|
| symbol | The trading pair symbol on Binance (e.g., BTCUSDT) to fetch candlestick data for. |
| interval | The time interval for each candlestick (e.g., 1m, 5m, 1h) to specify the granularity of the data. |
| limit | The maximum number of candlesticks to retrieve, allowing users to control the amount of data fetched. |
| startTime | The start timestamp for the data range, enabling users to specify the beginning of the data retrieval period. |
| endTime | The end timestamp for the data range, allowing users to define the end of the data retrieval period. |
Output
JSON
candles- An array of candlestick data, each containing open time, open price, high price, low price, close price, volume, and close time.
Dependencies
- Binance API credentials (API key and secret) are required to authenticate and interact with the Binance API.
Troubleshooting
- Ensure that the Binance API credentials are correctly configured and have the necessary permissions to access candlestick data.
- Verify that the specified trading pair symbol and interval are valid and supported by the Binance API.
- Check for any network issues or API rate limits that might affect data retrieval.
Links
- Binance Node Documentation - Official documentation for the Binance node in n8n, detailing its capabilities and usage.
- Automated 15-Minute Binance Trading Indicators Workflow - An example workflow demonstrating the use of the Binance node for automated trading indicators.