Stock Quotes Display

SkillDev tools

Use this skill when the user asks to show stock quotes, stock prices, market indexes, real-time stock information, or Eastmoney quote data on the device screen.

Use Stock Quotes Display in Claude, ChatGPT or Ahel Desktop

Free. Sign in, add Stock Quotes Display and connect your AI. About a minute.

Also: Claude Code · Cursor · Codex

Then ask your AI: use the Stock Quotes Display skill

Details

Instructions available. Your AI can read the instructions. Execution depends on the setup they require.

Add Ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.

Stock Quotes DisplayStart free
About this skill

ESP-Claw Skills Lab

What this skill tells your AI

The instructions your AI receives, as published by espressif/esp-claw-skills-lab in skills/stock_quotes_display/SKILL.md and read by Ahel’s review.

Use this skill when the user asks to show stock quotes, stock prices, market indexes, real-time stock information, or Eastmoney quote data on the device screen.

The bundled Lua script fetches Eastmoney's push2.eastmoney.com quote endpoint, parses the returned JSON, and renders a compact quote dashboard on the LCD. The screen uses ASCII labels because the current display text module only supports ASCII text.

Requirements

  • A display device declared as display_lcd in board hardware info.
  • The HTTP request capability enabled.
  • The HTTP allowlist must include eastmoney.com, push2.eastmoney.com, or *. If the script reports an allowlist error, add the domain in the Web Console HTTP allowlist setting.
  • Network access from the device.

Tool Call Inputs

{
  "path": "{CUR_SKILL_DIR}/scripts/stock_quotes_display.lua",
  "args": {},
  "timeout_ms": 0
}

Pass an empty args object to show default China market indexes:

  • 1.000001: Shanghai Composite Index
  • 0.399001: Shenzhen Component Index
  • 0.399006: ChiNext Index

Common optional args:

ArgDefaultMeaning
secids"1.000001,0.399001,0.399006"Eastmoney secid list. Use comma-separated values such as 1.600519,0.000001.
refresh_ms15000Quote refresh interval in milliseconds.
run_time_ms0Runtime in milliseconds. 0 means keep running until stopped.
rotatetrueRotate the detailed quote card through all returned securities.
detail_index11-based detail card index when rotate is false.

Eastmoney Fields

The script requests detailed fields from Eastmoney:

FieldScreen LabelMeaning
f12CodeSecurity code
f14NameSecurity name, used only when ASCII-safe
f2PriceLatest price
f3ChangeChange percent
f4ChangePrice change
f6AmountTurnover amount
f15HighHigh
f16LowLow
f17OpenOpen

Behavior

The script initializes the display, shows a loading screen, fetches quotes at the configured interval, and keeps the latest successful data on screen if a later refresh fails. The top card shows readable Code, Price, Change, Open, High, Low, and Amount rows for one security. The bottom list shows up to two compact name price percent rows with extra bottom padding for small screens.

If startup or HTTP fails, report the [stock_quotes_display] ERROR: ... line directly to the user. If the error mentions allowlist, ask the user to add eastmoney.com or push2.eastmoney.com to the HTTP allowlist.

Signals

GitHub stars
34
Forks
17
Last commit
Sep 2026
Advanced
Item type
skill
Key
stock-quotes-display
Source
github.com/espressif/esp-claw-skills-lab