Loading...
Loading...
Server-side quantitative indicator runner via Longbridge Securities — execute Pine Script v6 syntax subset against historical K-line data on Longbridge servers without a local Python environment. Supports built-in indicators (MACD, RSI, Bollinger Bands, EMA, SMA, etc.) and custom calculation logic; results returned as JSON. Triggers: "量化指标", "Pine Script", "指标计算", "MACD计算", "RSI计算", "服务端指标", "指标脚本", "量化脚本", "技术指标运行", "量化指標", "指標計算", "MACD計算", "RSI計算", "服務端指標", "指標腳本", "quant indicator", "Pine Script", "indicator calculation", "run indicator", "server-side quant", "MACD script", "RSI calculation", "technical indicator runner", "quant run".
npx skill4agent add longbridge/skills longbridge-quant⚠️ Beta feature:may returnlongbridge quant runif the feature is not yet enabled for your account. Contact Longbridge support to enable quantitative script access if needed.internal server error
Response language: match the user's input language — Simplified Chinese / Traditional Chinese / English.
longbridge quant runta.*.pine--start--endlongbridge-klinelongbridge-klinelongbridge quant run --help--scriptta.*ta.macdta.rsita.emata.bb"[ta.macd(...), ta.rsi(...)]"Runbefore constructing calls — it is the canonical source for supported functions, operators, and flags.longbridge quant run --help
# Inspect supported functions and flags first
longbridge quant run --help
# Single built-in indicator — 20-day EMA
longbridge quant run AAPL.US --start 2025-01-01 --end 2025-12-31 \
--script "ta.ema(close, 20)" --format json
# RSI(14) for a date range
longbridge quant run TSLA.US --start 2026-01-01 --end 2026-04-30 \
--script "ta.rsi(close, 14)" --format json
# Multi-indicator: MACD + RSI combined
longbridge quant run NVDA.US --start 2025-01-01 --end 2026-01-01 \
--script "[ta.macd(close,12,26,9), ta.rsi(close,14)]" --format json
# Bollinger Bands
longbridge quant run 700.HK --start 2025-06-01 --end 2025-12-31 \
--script "ta.bb(close, 20, 2)" --format json
# Pipe a custom Pine Script file
cat myindicator.pine | longbridge quant run AAPL.US \
--start 2025-01-01 --end 2025-12-31 --format jsonlongbridge quant run--help| Date | EMA(20) | RSI(14) |
|---|---|---|
| 2025-12-31 | 248.32 | 61.4 |
| 2025-12-30 | 247.89 | 59.8 |
| Situation | 简体回复 / 繁体回复 / English reply |
|---|---|
| 请安装 longbridge-terminal / 請安裝 longbridge-terminal / Install longbridge-terminal first; fall back to MCP if configured. |
| 指定函数不在支持列表,请运行 |
| 运行 |
| Empty result | 指定日期范围内无数据 / 指定日期範圍內無數據 / No data for the requested date range. |
| Other stderr | Surface verbatim — never silently retry. |
| CLI | MCP tool |
|---|---|
| |
| Skill | Why |
|---|---|
| Raw OHLCV candlestick data without indicator computation. |
| Pre-computed unusual price/volume alerts on the server. |
| Intraday money-flow signals complementing technical indicators. |
longbridge-quant/
└── SKILL.md # prompt-only, no scripts/