finance-query

Retrieve and analyze real-time and historical financial market data via free APIs.

9|Updated Jun 11, 2026
One-click install
npx skills add https://github.com/llm011/ethan-agent --skill finance-query
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: finance-query
Source: https://github.com/llm011/ethan-agent/tree/main/ethan/defaults/skills/finance-query
Command: npx skills add https://github.com/llm011/ethan-agent --skill finance-query

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill eliminates the need to search across finance websites or manually parse market data by retrieving current prices, historical trends, valuations, financial statements, sector rankings, and technical indicators directly from free APIs.

Core Features & Use Cases

  • Market Data Retrieval: Query real-time quotes, price changes, trading volume, market capitalization, PE, and PB for Chinese, Hong Kong, and U.S. stocks and indexes.
  • Historical and Fundamental Analysis: Retrieve K-line data, financial statements, ROE, EPS, revenue, profits, assets, liabilities, and cash flows, with fallback data sources for common cases.
  • Technical and Sector Analysis: Calculate moving averages, RSI, MACD, KDJ, volume signals, market rankings, sector performance, and ETF momentum, and generate price charts.
  • Use Case: Ask for a current quote and 60-day technical overview of a stock, including its latest price, valuation, moving averages, RSI, MACD, and recent trend chart.

Quick Start

Ask the finance-query skill to retrieve the latest quote, PE, PB, 60-day K-line data, and technical indicators for a specified stock ticker.

Frequently Asked Questions about finance-query

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I retrieve real-time stock quotes and technical indicators for A-shares, Hong Kong, and US markets?

Real-time stock quotes and technical indicators for A-shares, Hong Kong, and US markets are retrieved directly through free finance APIs. The skill fetches current prices, moving averages, RSI, and MACD by applying market-specific code mappings and parsing the API responses.

What is the best way to get K-line data and financial statements without manually searching finance websites?

Getting K-line data and financial statements without manual web searches is done by querying free finance APIs via curl or curl_cffi. The skill retrieves historical price trends, ROE, EPS, revenue, and cash flow data, automatically falling back to alternative sources when supported.

Can I calculate moving averages and RSI for multiple international stock tickers in one request?

Calculating moving averages and RSI for multiple international stock tickers is supported across A-shares, Hong Kong stocks, and US stocks. The skill applies market-specific code mappings for each ticker to retrieve the required historical data and compute the specified technical indicators.

Does this market data retrieval tool support sector rankings and ETF momentum analysis?

Sector rankings and ETF momentum analysis are fully supported by the market data retrieval tool. It queries free finance APIs to fetch sector performance data, compare market rankings, and evaluate ETF momentum alongside individual stock valuation metrics like PE and PB ratios.

What are the limitations when using free finance APIs for historical market data retrieval?

Limitations when using free finance APIs for historical market data retrieval include observing request-rate limits imposed by the data providers. The skill mitigates source unavailability by implementing fallback data sources for common cases, ensuring continuous financial statement and K-line data access.

How do I generate a 60-day technical overview chart combining price trends and MACD signals?

Generating a 60-day technical overview chart combining price trends and MACD signals involves fetching historical K-line data through free finance APIs. The skill calculates the required volume signals and technical indicators, then generates a visual price chart reflecting the recent trend.