Binance SM Price - 24hr Stats - Order Book - 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**: [](https://youtu.be/HWHD-eXP0IE) ## 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: ```json { "message": "BTCUSD", "sessionId": 539847013 } ``` --- ## Telegram Output Example ``` BTCUSD 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 SOLUSD | | 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](https://linkedin.com/in/donjayamahajr)
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).
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": "BTCUSD", "sessionId": 539847013 }
Telegram Output Example
BTCUSD 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 SOLUSD |
| 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
- Import the JSON into your n8n instance.
- Connect your OpenAI credentials for the Chat Model node.
- No Binance API key needed - public endpoints.
- 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
New buyers can create an account from the cart to unlock a controlled $10 first-purchase credit on eligible orders of $25+.
Related bundle
E-commerce Store Automation Suite
8 hand-picked workflows for $39.00.
That is $4.88 each, vs $14.99 for this one alone.
View bundleSecure checkout powered by Stripe
Support
How to import this workflow into n8n
- 1Purchase or download the workflow to get the n8n workflow JSON file.
- 2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
- 3Open each node marked with a credential warning and connect your own accounts and API keys.
- 4Run the workflow once manually to verify the data flow, then toggle it to Active.
Related Crypto & Blockchain workflows
- Real-time Crypto Insights with CoinMarketCap and AI via Telegram$14.99
- Automated Multi-Timeframe Trading Analysis for WEEX Spot Market with GPT-4 and Telegram$24.99
- Automate Crypto News Digest to Telegram with RSS and GPT-4$14.99
- Automate AI-Driven Stock Trading with Alpaca and Google Sheets$14.99
- Automated Crypto RSI Alerts with EODHD and Telegram Integration$9.99
- Automate Binance Spot Trading with Limit and Market Orders$14.99
More from Don Jayamaha Jr
Need this deployed? We'll set it up for you.
Our automation experts deploy this workflow in your stack, connect your accounts, and verify it works — or build a custom solution from scratch.
