Skip to main content

Binance SM price-24hrStats-OrderBook-Kline tool

Workflow preview

Workflow preview
100%
Binance SM price-24hrStats-OrderBook-Kline tool preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

A powerful sub agent that collects real time market structure data from Binance for any trading pair — including price, volume, order book depth, and candlestick snapshots across multiple timeframe...

Best for

  • Crypto Trading automation workflows
  • AI Summarization automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

@n8n/n8n-nodes-langchain.toolhttprequest, @n8n/n8n-nodes-langchain.lmchatopenai, @n8n/n8n-nodes-langchain.memorybufferwindow, n8n-nodes-base.executeworkflowtrigger, @n8n/n8n-nodes-langchain.agent, n8n-nodes-base.stickynote

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Don Jayamaha Jr.

Original n8n.io source

1.1 Workflow description

Title
Binance SM price-24hrStats-OrderBook-Kline tool
Workflow name
Binance SM price-24hrStats-OrderBook-Kline tool

A powerful sub-agent that collects real-time market structure data from Binance for any trading pair — including price, volume, order book depth, and candlestick snapshots across multiple timeframes (15m, 1h, 4h, 1d).


🎥 Watch Tutorial:

🎯 Purpose

This workflow powers the Quant AI system with:

  • ✅ Real-time price feed (/ticker/price)
  • 24-hour stats (OHLC, % change, volume via /ticker/24hr)
  • ✅ Live order book depth (/depth)
  • ✅ Latest candlestick data (/klines) for all major intervals

All outputs are parsed and formatted using GPT and returned to the parent agent (e.g., Financial Analyst Tool) as a Telegram-optimized summary.


⚙️ Workflow Architecture

Node Role
🔗 Execute Workflow Trigger Accepts input from parent workflow
🧠 Simple Memory Stores session + symbol info
🤖 Binance SM Market Agent Parses prompt, routes tool calls
💡 OpenAI Chat Model (gpt-4o-mini) Converts raw data into a clean, readable format for Telegram
🌐 getCurrentPrice Gets latest price
🌐 get24hrStats Gets OHLC/volume over past 24 hours
🌐 getOrderBook Gets top 100 bids and asks
🌐 getKlines Gets latest 15m, 1h, 4h, and 1d candles

📥 Input Requirements

This workflow is not called directly by the user. Instead, it is triggered by another workflow, such as:

{
  "message": "BTCUSDT",
  "sessionId": "539847013"
}

📤 Telegram Output Example

📊 BTCUSDT Market Overview

💰 Price: $63,220  
📈 24h Change: +2.3% | Volume: 45,210 BTC  

📉 Order Book  
• Top Bid: $63,190  
• Top Ask: $63,230  

🕰️ Latest Candles  
• 15m: O: $63,000 | C: $63,220 | Vol: 320 BTC  
• 1h : O: $62,700 | C: $63,300 | Vol: 980 BTC  
• 4h : O: $61,800 | C: $63,500 | Vol: 2,410 BTC  
• 1d : O: $59,200 | C: $63,220 | Vol: 7,850 BTC

✅ Use Cases

Scenario Output Provided
“Show current BTC price and trend” Price, 24h stats, candles, and order book in one message
“Candles for SOL” 15m, 1h, 4h, 1d candlesticks for SOLUSDT
Triggered by Quant AI system Clean Telegram-ready summary with all structure tools merged

🧩 Toolchain Breakdown

Tool Name Endpoint Purpose
getCurrentPrice /api/v3/ticker/price Latest trade price
get24hrStats /api/v3/ticker/24hr 24h OHLC, % change, volume
getOrderBook /api/v3/depth Top 100 bids and asks
getKlines /api/v3/klines 1-candle snapshot across 4 TFs

🚀 Installation Steps

  1. Import the JSON into your n8n instance

  2. Connect your OpenAI credentials for the Chat Model node

  3. No Binance API key needed — public endpoints

  4. Trigger this tool only via:

    • Binance SM Financial Analyst Tool
    • Binance Spot Market Quant AI Agent

🔐 Licensing & Attribution

© 2025 Treasurium Capital Limited Company Architecture, prompts, and trade structure are IP-protected. No unauthorized rebranding permitted.

🔗 For support: Don Jayamaha – LinkedIn

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - getCurrentPrice

Type / Role
@n8n/n8n-nodes-langchain.toolHttpRequest - toolHttpRequest
Config choices
Version 1.1

Block 2 - get24hrStats

Type / Role
@n8n/n8n-nodes-langchain.toolHttpRequest - toolHttpRequest
Config choices
Version 1.1

Block 3 - getOrderBook

Type / Role
@n8n/n8n-nodes-langchain.toolHttpRequest - toolHttpRequest
Config choices
Version 1.1

Block 4 - getKlines

Type / Role
@n8n/n8n-nodes-langchain.toolHttpRequest - toolHttpRequest
Config choices
Version 1.1

Block 5 - OpenAI Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1.2

Block 6 - Simple Memory

Type / Role
@n8n/n8n-nodes-langchain.memoryBufferWindow - memoryBufferWindow
Config choices
Version 1.3

Block 7 - When Executed by Another Workflow

Type / Role
n8n-nodes-base.executeWorkflowTrigger - executeWorkflowTrigger
Config choices
Version 1.1

Block 8 - Binance SM Price-24hrStats-OrderBook-Kline Agent

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 1.9

Block 9 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 10 - Sticky Note8

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 11 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 12 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 13 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 14 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 15 - Sticky Note5

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 16 - Sticky Note6

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 17 - Sticky Note7

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Binance SM price-24hrStats-OrderBook-Kline tool
Complexity advanced
Nodes 17
Categories Crypto Trading, AI Summarization
Author Don Jayamaha Jr
Published 06 Jun 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/4742/4742.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Binance SM price-24hrStats-OrderBook-Kline tool do?

A powerful sub agent that collects real time market structure data from Binance for any trading pair — including price, volume, order book depth, and candlestick snapshots across multiple timeframe...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Crypto Trading, AI Summarization use case.