本文へ移動
cccskills
無料GitHub で公開

alphaear-stock

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.

インストール方法を見る

含まれるファイル(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(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

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.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Fetch the latest financial signals and transmission-chain analyses from DeepEar Lite. Use when the user needs immediate insights into financial market trends, stock performance factors, and reasoning from the DeepEar Lite dashboard.

日本語の概要は準備中です。原文の説明を表示しています。

RKiding/Awesome-finance-skills3,0702026年3月29日 更新

Create visualize finance logic diagrams (e.g., Draw.io XML) to explain complex finance transmission chains or finance logic flows.

日本語の概要は準備中です。原文の説明を表示しています。

RKiding/Awesome-finance-skills3,0702026年3月29日 更新

Fetch hot finance news, unified trends, and prediction financial market data. Use when the user needs real-time financial news, trend reports from multiple finance sources (Weibo, Zhihu, WallstreetCN, etc.), or Polymarket finance market prediction data.

日本語の概要は準備中です。原文の説明を表示しています。

RKiding/Awesome-finance-skills3,0702026年3月29日 更新

Market prediction skill using Kronos. Use when user needs finance market time-series forecasting or news-aware finance market adjustments.

日本語の概要は準備中です。原文の説明を表示しています。

RKiding/Awesome-finance-skills3,0702026年3月29日 更新

Plan, write, and edit professional financial reports; generate finance chart configurations. Use when condensing finance analysis into a structured output.

日本語の概要は準備中です。原文の説明を表示しています。

RKiding/Awesome-finance-skills3,0702026年3月29日 更新

Perform finance web searches and local context searches. Use when the user needs general finance info from the web (Jina/DDG/Baidu) or needs to retrieve finance information from a local document store (RAG).

日本語の概要は準備中です。原文の説明を表示しています。

RKiding/Awesome-finance-skills3,0702026年3月29日 更新

RKiding のスキルをすべて見る

このスキルの問題を報告する