Namespaced API
sdk.quotes.cn() / sdk.kline.cn() / sdk.options.etf.dailyKline() — organized by domain, no more flat long method names.
Zero-dependency and lightweight — quotes, K-line, indicators & signals, screener & backtest, plus a CLI and a built-in MCP server for AI.
// QUICK START · market data in three lines
# install (zero-dependency, from ~10KB gzip)
npm i stock-sdkimport { StockSDK } from 'stock-sdk'
const sdk = new StockSDK()
const [quote] = await sdk.quotes.cn(['600519']) // Kweichow Moutai