longbridge-market-data
Real-time quotes, K-line charts, order book, trade ticks, intraday capital flow, market sentiment temperature, trading session schedule, security lists, exchange rates, and IPO calendar for HK/US/A-share/SG via Longbridge. Also covers ADR premium and FX carry frameworks. Triggers: "股价", "行情", "K线", "走势", "盘口", "资金流", "市场温度", "汇率", "IPO", "打新", "隔夜股", "ADR溢价", "外汇套息", "K線", "盤口", "資金流", "市場溫度", "匯率", "ADR溢價", "外匯套息", "现在多少钱", "多少钱", "stock price", "quote", "kline", "chart", "depth", "orderbook",
Security Assessment
About longbridge-market-data
This skill provides real-time and historical market data for Hong Kong, US, A-share, and Singapore securities through the Longbridge CLI. It covers quotes, K-line/candlestick charts, Level 2 order-book depth, broker queues (HK), tick-by-tick trades, intraday minute data, capital-flow distribution, a 0–100 market sentiment temperature index, trading-session schedules, security lists, exchange rates, and the IPO calendar, plus analytical frameworks for A/H premium, ADR cross-market premium/discount, and FX carry trades. It solves the problem of pulling structured, machine-parseable market data and turning it into coherent analysis across markets and currencies.
The skill routes each user intent to a dedicated reference file and drives a rich set of read-only CLI subcommands (quote, depth, brokers, trades, intraday, kline, calc-index, capital, market-temp, trading, security-list, participants, subscriptions, ah-premium, trade-stats, market-status, exchange-rate, ipo), always requesting JSON output for parsing and falling back to the Longbridge MCP server when the CLI is unavailable (except for session-stateful features like WebSocket subscriptions, which are local-CLI-only). Multi-step workflows such as ADR premium fetch quotes across listing venues, convert to a common currency using exchange rates, compute pairwise premiums, and assess arbitrage constraints.
Target users are investors, traders, and analysts who need fast cross-market quotes, depth, and cross-listing/FX analysis, working multilingually in English or Simplified/Traditional Chinese. The skill is explicitly read-only (metadata risk_level read_only, no login required for most commands), authenticates only via the official longbridge CLI OAuth session, and does not place trades or exfiltrate data — its security profile is that of a benign read-only market-data client.
FAQ
Which markets and data types are covered?
HK, US, A-share, and Singapore securities, with quotes, K-line charts, order-book depth, broker queues (HK only), trades, intraday data, capital flow, a market sentiment temperature index, trading schedules, security lists, exchange rates, and the IPO calendar, plus A/H premium, ADR premium, and FX carry frameworks.
Do I need to log in?
Its metadata marks it read_only with requires_login false, and most commands need no login. Some commands or session-stateful features may need the longbridge CLI's OAuth session; if stderr reports 'not logged in' the skill tells the user to run longbridge auth login.
What if the longbridge CLI is not installed?
For most commands the skill falls back to the Longbridge MCP server. However, session-stateful features like WebSocket subscriptions are local-CLI-only because the MCP service is stateless HTTP with no session concept; there the skill tells the user to install longbridge-terminal.
Can it place trades or move money?
No. It is a read-only market-data skill. It fetches and analyzes quotes, depth, and related data; it does not execute orders or perform any account mutations.
Why does it always use --format json?
JSON output is machine-parseable for the agent. The skill instructs passing --format json on every call so results can be reliably parsed, while pretty/table formats exist for human-readable display.
All Files
19 filesInstall longbridge-market-data
Quick Setup:
- Copy the skill folder to
.claude/skills/ - Claude will automatically detect and use the skill
Repository
longbridge/skills