Skip to content
cccskills
FreePublished on GitHub

alphaear-stock

Find mainland Chinese A-share, Hong Kong, and US stocks by company name or ticker. Retrieve historical prices and trading volume for a chosen period, plus company information such as sector, market capitalization, and price-to-earnings ratio.

OriginalShow the original description

Search A-Share/HK/US finance stock tickers and retrieve finance stock price history. Use when user asks about finance stock codes, recent price changes, or specific company finance stock info.

Works withYahoo Finance

Run score Not tested

See how to install

Good for

  • Find a stock ticker from a company name
  • Retrieve historical stock prices and trading volume
  • Check a company's sector, market capitalization, and valuation

Files included (5)

  • SKILL.md1.5 KB
  • scripts/__init__.py0 B
  • scripts/database_manager.py4.1 KB
  • scripts/stock_tools.py19.4 KB
  • tests/test_stock.py634 B

SKILL.md (original)

Review the instructions the agent will receive before you install.

AlphaEar Stock Skill

Overview

Search A-Share/HK/US stock tickers and retrieve historical price data (OHLCV).

Capabilities

1. Stock Search & Data

Use scripts/stock_tools.py via StockTools.

  • Search: search_ticker(query)
    • Fuzzy search by code or name (e.g., "Moutai", "600519").
    • Returns: List of {code, name}.
  • Get Price: get_stock_price(ticker, start_date, end_date)
    • Returns DataFrame with OHLCV data.
    • Dates format: "YYYY-MM-DD".
  • Get Fundamentals: get_stock_fundamentals(ticker)
    • Returns dict with sector, industry, market cap, PE ratio, and summary.
    • Supports A-Share/HK/US stocks.

Dependencies

  • pandas, requests, akshare, yfinance
  • scripts/database_manager.py (stock tables)

Notes

  • Proxy: For US stock data (via yfinance), you may need to set environment variables if your network cannot reach Yahoo Finance directly:
    export HTTP_PROXY="http://<proxy_ip>:<port>"
    export HTTPS_PROXY="http://<proxy_ip>:<port>"
    
  • A-Share/HK: Data is primarily fetched via akshare (EastMoney), which usually works best with a direct connection in China. The tool automatically detects proxy issues and attempts direct connection for these markets.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Retrieve the latest financial signals from DeepEar Lite as a formatted report. Review titles, summaries, sentiment indicators, confidence scores, and source links to understand reported market trends and factors affecting stock performance.

  • Checking the latest financial signals
  • Reviewing reported factors affecting stock performance
  • Reading signal summaries alongside confidence scores
RKiding/Awesome-finance-skills3.1KUpdated Mar 29, 2026

Turn investment theses and chains of financial market effects into Draw.io-compatible diagrams. The skill generates diagram XML and saves it in a viewable HTML file, helping readers follow complex relationships and reasoning.

  • Visualizing the reasoning behind an investment thesis
  • Mapping how financial signals transmit through markets
  • Preparing a viewable diagram to explain financial logic
RKiding/Awesome-finance-skills3.1KUpdated Mar 29, 2026

alphaear-news

FreeSummary

Fetch current financial headlines and combine trending stories from multiple sources, including Weibo and WallstreetCN. You can also retrieve a summary of active Polymarket prediction markets to review alongside the news.

  • Check trending financial news
  • Combine headlines from several sources into one report
  • Review a summary of active Polymarket prediction markets
RKiding/Awesome-finance-skills3.1KUpdated Mar 29, 2026

Generate financial market forecasts with Kronos using time-series data, meaning observations recorded over time. An agent then adjusts the numerical forecast using recent news sentiment and reasoning, combining a quantitative baseline with a subjective assessment.

  • Forecasting financial market trends from time-series data
  • Adjusting a baseline forecast using recent news
  • Combining quantitative forecasts with news sentiment
RKiding/Awesome-finance-skills3.1KUpdated Mar 29, 2026

Turn financial analysis and investment signals into a structured report. Group related signals, draft sections, assemble and edit the report, and create chart configurations to support the written analysis when needed.

  • Turning investment signals into a financial report
  • Grouping related signals to plan report sections
  • Combining section drafts into a complete report
RKiding/Awesome-finance-skills3.1KUpdated Mar 29, 2026

alphaear-search

FreeSummary

Search for financial information on the web or in a local news database. Use Jina, DDG, or Baidu, combine results from multiple engines, and assess whether cached results can answer a query before searching again.

  • Researching financial information on the web
  • Combining results from multiple search engines
  • Finding financial information in stored local news
RKiding/Awesome-finance-skills3.1KUpdated Mar 29, 2026

See all skills by RKiding

Report a problem with this skill