wendian-markethot-skill)#Wendian Starmap (问象星图) is a professional stock data analytics application that delivers institutional-grade market intelligence — real-time quotes, multi-period K-line bars, proprietary heatmaps, sector rotation analytics, and curated strategy screeners.
This skill exposes those capabilities over HTTPS. The base URL is https://markethot.wendian.net/app-api/member/skill-data, and each endpoint is appended as a route under that prefix.
WENDIAN_MARKETHOT_APIKEY environment variable.X-API-Key: <YOUR_API_KEY>.GET or POST as documented.Real-time heatmap snapshot
bash
curl -X GET 'https://markethot.wendian.net/app-api/member/skill-data/heatmap/realtime?limit=30&source=sector&type=volume' \
--header 'Content-Type: application/json' \
--header 'X-API-Key: YOUR_API_KEY'
Single-symbol K-line bars
bash
curl -X GET 'https://markethot.wendian.net/app-api/member/skill-data/bars?symbol=601179.SH&period=day&limit=100' \
--header 'X-API-Key: YOUR_API_KEY'
Batch K-line bars (POST)
bash
curl -X POST 'https://markethot.wendian.net/app-api/member/skill-data/batch_bars' \
--header 'Content-Type: application/json' \
--header 'X-API-Key: YOUR_API_KEY' \
--data '{"symbol_list": ["601179.SH", "000001.SZ"], "period": "day", "limit": 100}'
The defining differentiator of Wendian Starmap is its heatmap and sector-rotation analytics, built on proprietary algorithms that go beyond commodity market data:
time × instrument heat matrix paired with an aggregate trend curve.heatmap/realtime to see which sectors or stocks are leading or expanding in volume right now — ideal for live heatmaps, leaderboards, or alerting.heatmap to retrieve the multi-day heat matrix for visualization, heatmap/index to inspect the aggregate market heat curve, and heatmap/stock_concepts to identify which concepts are propelling a given stock and which themes are rotating.The heatmap suite ( heatmap/realtime, heatmap, heatmap/index, heatmap/stock_concepts) is the core proprietary capability that distinguishes this skill from generic market-data feeds, purpose-built for sector rotation, heat ranking, and concept-linkage analytics.
GET /heatmap/realtime — Real-time Heatmap Snapshot#Purpose. Returns a current-moment heat-ranked snapshot along a single dimension — either by sector or by stock — measured by volume heat or price heat.
Use Cases. Power intraday dashboards, leaderboards, and alerting that surface which sectors or stocks are currently leading or experiencing volume expansion, including average sector returns and individual stock changes.
Query Parameters
ParameterTypeRequiredDefaultDescriptionlimitintNo30Maximum number of rows; 0 returns all.sourcestrNosectorData dimension: sector or stock.typestrNovolumeHeat metric: volume or price.
GET /global_index/spot — Global Index Spot Quotes#Purpose. Real-time levels and changes for major global indices (e.g. Dow Jones, NASDAQ, S&P 500, Hang Seng).
Use Cases. Pre-market and post-market context for overseas conditions and sentiment; powers global-index dashboards and cross-market correlation studies with A-shares.
Query Parameters
ParameterTypeRequiredDefaultDescriptionnamesstrNo—Comma-separated index names (e.g. Dow Jones,NASDAQ,S&P 500,Hang Seng). Returns all when omitted.
GET /futures/main — Domestic Futures Spot Snapshot#Purpose. Real-time snapshot of major mainland Chinese futures contracts: price, change, volume, open interest, and other core fields.
Use Cases. Monitor domestic futures markets, analyze commodity price trends, and infer supply/demand dynamics across associated industrial chains. Coverage spans the main contracts of SHFE (Shanghai Futures Exchange), DCE (Dalian Commodity Exchange), CZCE (Zhengzhou Commodity Exchange), GFEX (Guangzhou Futures Exchange), and CFFEX (China Financial Futures Exchange).
Response Fields
FieldTypeDescriptioncodestrContract code (e.g. AL0 for the continuous aluminum contract).namestrContract name (e.g. Aluminum Continuous).pricefloatLast traded price.change_pctfloatPercentage change.change_amountfloatAbsolute price change.volumefloatTrade volume.turnoverfloatNotional turnover (may be null).amplitudefloatTrading-day amplitude (%).highfloatSession high.lowfloatSession low.openfloatSession open.prev_settlefloatPrevious settlement.bid1floatBest bid.ask1floatBest ask.settlementfloatCurrent settlement price.positionfloatOpen interest.exchangestrExchange code (e.g. SHFE).exchange_cnstrLocalized exchange name.is_continuousboolWhether the row represents a continuous contract.is_main_contractboolWhether the row represents the main contract.
Example
bash
curl -X GET 'https://markethot.wendian.net/app-api/member/skill-data/futures/main' \
--header 'X-API-Key: YOUR_API_KEY'
GET /futures/global — International Futures Spot Snapshot#Purpose. Real-time snapshot of major international futures markets, covering energy, metals, agricultural, and financial commodities.
Use Cases. Track global commodity pricing, derive demand-side signals, and benchmark domestic counterparts. Coverage includes LME, CBOT, COMEX, NYMEX, and other leading international venues.
Response Fields
FieldTypeDescription名称strContract name (e.g. LME Aluminum 3M).最新价floatLatest price in native currency.人民币报价floatPrice converted to CNY.涨跌额floatAbsolute change.涨跌幅floatPercentage change.开盘价floatOpen.最高价floatHigh.最低价floatLow.昨日结算价floatPrevious settlement.持仓量floatOpen interest.买价floatBid.卖价floatAsk.行情时间strQuote time (HH:MM:SS).日期strQuote date (YYYY-MM-DD).
Example
bash
curl -X GET 'https://markethot.wendian.net/app-api/member/skill-data/futures/global' \
--header 'X-API-Key: YOUR_API_KEY'
GET /bars — K-line / OHLC Bars#Purpose. Retrieve K-line bars (open, high, low, close, volume, turnover, etc.) for a single instrument across configurable periods and time ranges, with pagination.
Use Cases. Drives charting, technical analysis, backtesting, and quantitative strategy research. Supports daily and intraday granularity for the freshest data.
Query Parameters
ParameterTypeRequiredDefaultDescriptionsymbolstrYes—Instrument code, e.g. 601179.SH.periodstrNodayPeriod: 1m / 5m / 15m / 30m / 1h / day / 1w / 1M.startstrNo—Start time: yyyyMMdd, yyyyMMddHHMMSS, or yyyy-MM-dd.endstrNo—End time (same formats as start).limitintNo100Bars per page (1–5000).offsetintNo0Pagination offset; 0 returns the most recent limit bars.
POST /batch_bars — Batch K-line Bars#Purpose. Fetch K-line data for multiple instruments in a single request. The response is column-oriented per code ( open / high / low / close / volume / amount / trade_time arrays), reducing round-trips and payload overhead.
Use Cases. Multi-stock comparisons, multi-pane charts, and portfolio-level monitoring across daily and intraday periods.
Request Body (JSON)
ParameterTypeRequiredDefaultDescriptionsymbol_listlist[str]Yes—Instrument codes, e.g. ["601179.SH", "000001.SZ"].periodstrNodayPeriod: 1m / 5m / 15m / 30m / 1h / day / 1w / 1M.startstrNo—Start time: yyyyMMdd, yyyyMMddHHMMSS, or yyyy-MM-dd.endstrNo—End time (same formats as start).limitintNo100Bars per page (1–5000).offsetintNo0Pagination offset.
GET /trade_cal — Trading Calendar#Purpose. Query trading days and holidays for a given range, optionally filtered by exchange and trading status.
Use Cases. Determine whether a given date is a trading day, compute the last N trading days, exclude non-trading days from business logic, and drive front-end date pickers.
Query Parameters
ParameterTypeRequiredDefaultDescriptionstartstrNo—Start date yyyyMMdd.endstrNo—End date yyyyMMdd.exchangestrNoSSEExchange code (defaults to SSE).is_openintNo—Filter: 1 for trading days only, 0 for holidays only; omit to return all.
GET /stock_basic — Stock Reference Data#Purpose. Retrieve the static or quasi-static master list of equities (code, name, pinyin, etc.).
Use Cases. Backs the universe for screeners, search, and code autocompletion across front-end dropdowns and search boxes.
Parameters. None — GET without query parameters.
The heatmap suite is built on proprietary algorithms designed to make cross-sector rotation momentum observable: volume and price signals are quantified into a continuous heat score, then projected onto a time series and a two-dimensional matrix that exposes who is taking the baton and who is fading.
GET /heatmap — Heatmap Matrix#Purpose. Returns a heat matrix across multiple trading days × multiple instruments ( trade_dates × items of values), keyed by either sector or stock.
Use Cases. Render heatmap visualizations where rows = time, columns = sector or stock, and color = heat — surfacing rotation and strength dynamics at a glance.
Query Parameters
ParameterTypeRequiredDefaultDescriptionend_datestrNo—End date yyyyMMdd; defaults to the latest trading day.date_countintNo30Number of trading days (rows): 1–365.columns_countintNo30Number of concepts/stocks (columns), top-N by latest heat descending: 1–200.sourcestrNosectorDimension: sector or stock.heatmap_typestrNovolumeHeat metric: volume or price.
GET /heatmap/index — Market Heat Aggregate Index#Purpose. Returns the aggregate time series of market heat (e.g. mean_value and count grouped by type × source) — interpretable as a single curve representing overall market heat.
Use Cases. Track the overall heat regime and identify inflection points.
Query Parameters
ParameterTypeRequiredDefaultDescriptionend_datestrNo—End date yyyyMMdd; defaults to the latest trading day.date_countintNo30Number of trading days: 1–365.sourcestrNosectorDimension: sector or stock.typestrNovolumeHeat metric: volume or price.
GET /heatmap/stock_concepts — Per-Stock Concept Heatmap#Purpose. For a given stock, returns the heat matrix of its associated concept sectors over a window of time (rows = dates, columns = the stock's concepts).
Use Cases. Diagnose which concepts are driving a stock and identify which themes are rotating; pair with the sector heatmap for cross-level (stock × sector) linkage analysis.
Query Parameters
ParameterTypeRequiredDefaultDescriptionsymbolstrYes—Stock code, e.g. 601012.SH.end_datestrNo—End date yyyyMMdd; defaults to today.date_countintNo30Number of trading days: 1–365.heatmap_typestrNovolumeHeat metric: volume or price.
GET /concepts — Concept / Theme List#Purpose. Returns the list of all concept and theme sectors registered in the system (code, name, etc.).
Use Cases. Backs concept selectors, sector trees, and screening criteria; commonly paired with heatmap and stock_concepts.
Query Parameters
ParameterTypeRequiredDefaultDescriptionsourcestrNoallProvider: ths (Tonghuashun), kpl (Kaipanla), or all.typestrNo—Concept type filter (effective for ths only).
POST /concepts/members — Concept Constituents (Batch)#Purpose. Resolve the constituent equities for one or more concept sectors in a single request.
Use Cases. Populate "stocks within a concept" views, perform intra-concept screening or weighting, and pair with heatmap endpoints for sector–stock linkage analysis.
Request Body (JSON)
ParameterTypeRequiredDefaultDescriptioncodeslist[str]Yes—List of concept codes. Codes are globally unique; type and source are not required.
GET /stock_concepts — Concepts of a Stock (Reverse Lookup)#Purpose. Returns the list of concept sectors a given stock belongs to (stock → concept list).
Use Cases. Powers stock profile pages, tag rendering, and feeds the per-stock concept heatmap ( heatmap/stock_concepts).
Query Parameters
ParameterTypeRequiredDefaultDescriptionsymbolstrYes—Stock code, e.g. 601179.SH.sourcestrNoallProvider: ths / kpl / all.
GET /strategy_select — Strategy-based Stock Screener#Purpose. Surface equities matching curated technical strategies (e.g. First-to-Second Limit-Up, Starlight, Steady-State). Results refresh every trading day.
Use Cases. Provide ready-to-use, strategy-aligned stock pools that augment investment decisions with diverse technical viewpoints.
Query Parameters
ParameterTypeRequiredDefaultDescriptiondatestrYes—Trading date in yyyyMMdd.strategy_namestrNo—Strategy identifier; omit to return all strategies.
Strategy Catalog
Strategy IDDescriptionyjerFirst-to-Second limit-up screener.xinghui_modelStarlight strategy.wdtSteady-state screener.san_zhouqi_gongzhenDaily/Weekly/Monthly tri-cycle resonance.month_w_typeMonthly W-bottom pattern.min5_buy25-minute second-buy entry.ma89_squeezeMulti-MA squeeze convergence.island_modelIsland reversal pattern.bottom_zhongshu_fanzhuanBottom-pivot reversal.
Response Format. The data field is an array; each element contains:
stock_code — Stock code.stock_name — Stock name.float_volume — Free-float share count.total_volume — Total share count.trade_date — Trading date.code_list — Related codes.concept_list — Associated concepts.rank_list — Ranking signals.strategy_name — Originating strategy.Examples
bash
# All strategies for 2026-03-27
curl -X GET 'https://markethot.wendian.net/app-api/member/skill-data/strategy_select?date=20260327' \
--header 'X-API-Key: YOUR_API_KEY'
# A specific strategy (First-to-Second limit-up)
curl -X GET 'https://markethot.wendian.net/app-api/member/skill-data/strategy_select?date=20260327&strategy_name=yjer' \
--header 'X-API-Key: YOUR_API_KEY'
EndpointCore Capabilityheatmap/realtimeReal-time heat snapshot — live leaders and volume expansion.global_index/spotGlobal index spot quotes — overseas market context.barsSingle-symbol K-line — charting and strategy.batch_barsMulti-symbol K-line (column-oriented) — comparison and monitoring.trade_calTrading calendar — last N trading days and similar logic.heatmapSector/stock heat matrix — visualizes rotation momentum (proprietary).heatmap/indexAggregate market heat curve — overall regime.heatmap/stock_conceptsPer-stock concept heat matrix — concept rotation.stock_basicEquity master data — screening and search.conceptsConcept / theme list.concepts/membersConcept constituents (batch).stock_conceptsReverse lookup of a stock's concepts.strategy_selectStrategy-based daily stock screener.
The heatmap endpoints ( heatmap/realtime, heatmap, heatmap/index, heatmap/stock_concepts) are powered by proprietary algorithms that visualize cross-sector rotation momentum — the differentiating capability of this skill versus generic market-data feeds.
date_count, limit, and columns_count for heatmap and K-line endpoints are bounded; avoid overly broad ranges to prevent oversized responses or timeouts.batch_bars, keep symbol_list reasonably small to avoid oversized request bodies.If a response is empty or unexpected, verify that:
https://markethot.wendian.net/app-api/member/skill-data and the route is correctly appended.X-API-Key header is present and contains a valid API Key.Persistent issues should be escalated to Wendian Starmap (问象星图) support via https://markethot.wendian.net.
⚠️ Mandatory. All temporary artifacts produced by this skill must be written under archive/wendian-markethot-skill/. Violating this convention pollutes the workspace root and undermines maintainability.
text
archive/wendian-markethot-skill/
├── temp_*.py # Temporary analysis scripts
├── temp_*.json # Temporary data files
└── ... # Other related artifacts
temp_<purpose>.py (e.g. temp_analysis.py).temp_<purpose>.json (e.g. temp_result.json).report_<type>_<date>.md.skills/wendian-markethot-skill/.archive/wendian-markethot-skill/.Set the API Key environment variable before invoking this skill:
bash
# Windows PowerShell
$env:WENDIAN_MARKETHOT_APIKEY="your_api_key_here"
# Linux / macOS
export WENDIAN_MARKETHOT_APIKEY="your_api_key_here"
bash
# Smoke-test the real-time heatmap snapshot (after setting the env var)
$apiKey = $env:WENDIAN_MARKETHOT_APIKEY
curl.exe -X GET "https://markethot.wendian.net/app-api/member/skill-data/heatmap/realtime?limit=5&source=sector&type=volume" -H "Content-Type: application/json" -H "X-API-Key: $apiKey"