Import 9 alphaear finance skills
- alphaear-deepear-lite: DeepEar Lite API integration - alphaear-logic-visualizer: Draw.io XML finance diagrams - alphaear-news: Real-time finance news (10+ sources) - alphaear-predictor: Kronos time-series forecasting - alphaear-reporter: Professional financial reports - alphaear-search: Web search + local RAG - alphaear-sentiment: FinBERT/LLM sentiment analysis - alphaear-signal-tracker: Signal evolution tracking - alphaear-stock: A-Share/HK/US stock data Updates: - All scripts updated to use universal .env path - Added JINA_API_KEY, LLM_*, DEEPSEEK_API_KEY to .env.example - Updated load_dotenv() to use ~/.config/opencode/.env
This commit is contained in:
28
skills/alphaear-stock/SKILL.md
Normal file
28
skills/alphaear-stock/SKILL.md
Normal file
@@ -0,0 +1,28 @@
|
||||
---
|
||||
name: alphaear-stock
|
||||
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.
|
||||
---
|
||||
|
||||
# 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".
|
||||
|
||||
## Dependencies
|
||||
|
||||
- `pandas`, `requests`, `akshare`, `yfinance`
|
||||
- `scripts/database_manager.py` (stock tables)
|
||||
Reference in New Issue
Block a user