leapcat-market
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseLeapCat Market Data Skill
LeapCat 市场数据 Skill
Access market data, stock quotes, K-line charts, indices, and platform configuration. All commands in this skill are public and do not require authentication.
获取市场数据、股票报价、K线图、指数以及平台配置信息。本Skill中的所有命令都是公开的,无需身份验证。
Prerequisites
前置要求
- Node.js 18+ is required (commands use which auto-downloads the CLI)
npx leapcat@latest - No authentication required for any command in this skill
- 需要 Node.js 18+ 版本(命令使用 会自动下载CLI)
npx leapcat@latest - 本Skill中的所有命令都不需要身份验证
Commands
命令
market quote
market quote
Get the real-time quote for a specific stock.
bash
npx leapcat@latest market quote --symbol <symbol> --exchange <exchange> --jsonParameters:
- — Stock ticker symbol (e.g.,
--symbol <symbol>,AAPL)9988.HK - — Exchange code (e.g.,
--exchange <exchange>,NASDAQ)HKEX
获取指定股票的实时报价。
bash
npx leapcat@latest market quote --symbol <symbol> --exchange <exchange> --json参数:
- — 股票代码(例如:
--symbol <symbol>、AAPL)9988.HK - — 交易所代码(例如:
--exchange <exchange>、NASDAQ)HKEX
market kline
market kline
Get historical K-line (candlestick) data for a stock.
bash
npx leapcat@latest market kline --symbol <symbol> --exchange <exchange> --period <period> --jsonParameters:
- — Stock ticker symbol
--symbol <symbol> - — Exchange code
--exchange <exchange> - — K-line period (e.g.,
--period <period>,1m,5m,15m,1h,1d)1w
获取股票的历史K线(蜡烛图)数据。
bash
npx leapcat@latest market kline --symbol <symbol> --exchange <exchange> --period <period> --json参数:
- — 股票代码
--symbol <symbol> - — 交易所代码
--exchange <exchange> - — K线周期(例如:
--period <period>、1m、5m、15m、1h、1d)1w
market kline-latest
market kline-latest
Get the latest K-line data point for a stock.
bash
npx leapcat@latest market kline-latest --symbol <symbol> --exchange <exchange> --period <period> --jsonParameters:
- — Stock ticker symbol
--symbol <symbol> - — Exchange code
--exchange <exchange> - — K-line period
--period <period>
获取股票的最新K线数据点。
bash
npx leapcat@latest market kline-latest --symbol <symbol> --exchange <exchange> --period <period> --json参数:
- — 股票代码
--symbol <symbol> - — 交易所代码
--exchange <exchange> - — K线周期
--period <period>
market stock-detail
market stock-detail
Get detailed information about a specific stock (company info, sector, market cap, etc.).
bash
npx leapcat@latest market stock-detail --symbol <symbol> --exchange <exchange> --jsonParameters:
- — Stock ticker symbol
--symbol <symbol> - — Exchange code
--exchange <exchange>
获取指定股票的详细信息(公司信息、所属行业、市值等)。
bash
npx leapcat@latest market stock-detail --symbol <symbol> --exchange <exchange> --json参数:
- — 股票代码
--symbol <symbol> - — 交易所代码
--exchange <exchange>
market indices
market indices
Get current market index data (e.g., S&P 500, Hang Seng, NASDAQ Composite).
bash
npx leapcat@latest market indices --json获取当前市场指数数据(例如:标普500、恒生指数、纳斯达克综合指数)。
bash
npx leapcat@latest market indices --jsonmarket overview
market overview
Get a general market overview including major market movements and summaries.
bash
npx leapcat@latest market overview --json获取市场总览,包括主要市场走势和摘要信息。
bash
npx leapcat@latest market overview --jsonmarket stocks
market stocks
List available stocks, optionally filtered by exchange or keyword. Useful for searching stocks by name.
bash
npx leapcat@latest market stocks [--exchange <exchange>] [--keyword <search-term>] --jsonParameters:
- — Filter by exchange code (optional)
--exchange <exchange> - — Search stocks by name or symbol (optional)
--keyword <search-term>
列出可用的股票,可选择按交易所或关键词过滤。适用于按名称搜索股票。
bash
npx leapcat@latest market stocks [--exchange <exchange>] [--keyword <search-term>] --json参数:
- — 按交易所代码过滤(可选)
--exchange <exchange> - — 按股票名称或代码搜索(可选)
--keyword <search-term>
config exchange-rate
config exchange-rate
Get current exchange rates used by the platform.
bash
npx leapcat@latest config exchange-rate --json获取平台使用的当前汇率。
bash
npx leapcat@latest config exchange-rate --jsonconfig fee-rate
config fee-rate
Get the platform's trading fee rate schedule.
bash
npx leapcat@latest config fee-rate --json获取平台的交易费率表。
bash
npx leapcat@latest config fee-rate --jsonconfig withdrawal-fees
config withdrawal-fees
Get the fee schedule for withdrawals.
bash
npx leapcat@latest config withdrawal-fees --json获取提现费用表。
bash
npx leapcat@latest config withdrawal-fees --jsonWorkflow
工作流
Browse the Market
浏览市场
- Market overview — Run for a high-level market summary.
market overview --json - View indices — Run to see major index performance.
market indices --json - Search stocks — Run to find stocks by name or symbol.
market stocks --keyword <term> --json
- 市场总览 — 运行 获取高层级的市场摘要。
market overview --json - 查看指数 — 运行 查看主要指数表现。
market indices --json - 搜索股票 — 运行 按名称或代码查找股票。
market stocks --keyword <term> --json
Research a Specific Stock
研究特定股票
- Get stock detail — Run for company information.
market stock-detail --symbol <symbol> --exchange <exchange> --json - Get current quote — Run for real-time pricing.
market quote --symbol <symbol> --exchange <exchange> --json - View price history — Run for historical price data.
market kline --symbol <symbol> --exchange <exchange> --period 1d --json
- 获取股票详情 — 运行 查看公司信息。
market stock-detail --symbol <symbol> --exchange <exchange> --json - 获取当前报价 — 运行 获取实时定价。
market quote --symbol <symbol> --exchange <exchange> --json - 查看价格历史 — 运行 获取历史价格数据。
market kline --symbol <symbol> --exchange <exchange> --period 1d --json
Check Platform Configuration
检查平台配置
- Exchange rates — Run to see currency conversion rates.
config exchange-rate --json - Fee rates — Run to understand trading costs.
config fee-rate --json - Withdrawal fees — Run to see withdrawal cost structure.
config withdrawal-fees --json
- 汇率 — 运行 查看货币兑换汇率。
config exchange-rate --json - 费率 — 运行 了解交易成本。
config fee-rate --json - 提现费用 — 运行 查看提现成本结构。
config withdrawal-fees --json
Error Handling
错误处理
| Error | Cause | Resolution |
|---|---|---|
| Unrecognized stock symbol | Search with |
| Unrecognized exchange code | Check available exchanges via |
| Unsupported K-line period | Use one of: |
| Data source temporarily unavailable | Retry after a short delay |
| 错误 | 原因 | 解决方案 |
|---|---|---|
| 无法识别的股票代码 | 使用 |
| 无法识别的交易所代码 | 通过 |
| 不支持的K线周期 | 使用以下之一: |
| 数据源暂时不可用 | 稍等片刻后重试 |