{"id":"73196f02-07d0-4f3c-929e-95fbe8db399f","shortId":"WPNGdZ","kind":"skill","title":"alphaear-stock","tagline":"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.","description":"# AlphaEar Stock Skill\n\n## Overview\n\nSearch A-Share/HK/US stock tickers and retrieve historical price data (OHLCV).\n\n## Capabilities\n\n### 1. Stock Search & Data\n\nUse `scripts/stock_tools.py` via `StockTools`.\n\n-   **Search**: `search_ticker(query)`\n    -   Fuzzy search by code or name (e.g., \"Moutai\", \"600519\").\n    -   Returns: List of `{code, name}`.\n-   **Get Price**: `get_stock_price(ticker, start_date, end_date)`\n    -   Returns DataFrame with OHLCV data.\n    -   Dates format: \"YYYY-MM-DD\".\n-   **Get Fundamentals**: `get_stock_fundamentals(ticker)`\n    -   Returns dict with sector, industry, market cap, PE ratio, and summary.\n    -   Supports A-Share/HK/US stocks.\n\n## Dependencies\n\n-   `pandas`, `requests`, `akshare`, `yfinance`\n-   `scripts/database_manager.py` (stock tables)\n\n## Notes\n\n-   **Proxy**: For US stock data (via `yfinance`), you may need to set environment variables if your network cannot reach Yahoo Finance directly:\n    ```bash\n    export HTTP_PROXY=\"http://<proxy_ip>:<port>\"\n    export HTTPS_PROXY=\"http://<proxy_ip>:<port>\"\n    ```\n-   **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.","tags":["alphaear","stock","awesome","finance","skills","rkiding","agent","agent-skills","finances","fintech"],"capabilities":["skill","source-rkiding","skill-alphaear-stock","topic-agent","topic-agent-skills","topic-finances","topic-fintech"],"categories":["Awesome-finance-skills"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/RKiding/Awesome-finance-skills/alphaear-stock","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"cli":"npx skills add RKiding/Awesome-finance-skills","source_repo":"https://github.com/RKiding/Awesome-finance-skills","install_from":"skills.sh"}},"qualityScore":"0.700","qualityRationale":"deterministic score 0.70 from registry signals: · indexed on github topic:agent-skills · 2025 github stars · SKILL.md body (1,295 chars)","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"deterministic:skill-github:v1","enrichmentVersion":1,"enrichedAt":"2026-05-03T00:52:44.308Z","embedding":null,"createdAt":"2026-04-18T21:54:12.542Z","updatedAt":"2026-05-03T00:52:44.308Z","lastSeenAt":"2026-05-03T00:52:44.308Z","tsv":"'/hk':164 '/hk/us':8,43,121 '1':53 '600519':73 'a-shar':5,40,118,161 'akshar':126,170 'alphaear':2,35 'alphaear-stock':1 'ask':21 'attempt':189 'automat':184 'bash':154 'best':175 'cannot':149 'cap':112 'capabl':52 'chang':28 'china':181 'code':25,68,77 'compani':31 'connect':179,191 'data':50,56,93,136,165 'datafram':90 'date':86,88,94 'dd':99 'depend':123 'detect':185 'dict':107 'direct':153,178,190 'e.g':71 'eastmoney':171 'end':87 'environ':144 'export':155,158 'fetch':168 'financ':9,14,23,32,152 'format':95 'fundament':101,104 'fuzzi':65 'get':79,81,100,102 'histor':48 'histori':17 'http':156 'https':159 'industri':110 'info':34 'issu':187 'list':75 'market':111,194 'may':140 'mm':98 'moutai':72 'name':70,78 'need':141 'network':148 'note':131 'ohlcv':51,92 'overview':38 'panda':124 'pe':113 'price':16,27,49,80,83 'primarili':167 'proxi':132,157,160,186 'queri':64 'ratio':114 'reach':150 'recent':26 'request':125 'retriev':13,47 'return':74,89,106 'scripts/database_manager.py':128 'scripts/stock_tools.py':58 'search':4,39,55,61,62,66 'sector':109 'set':143 'share':7,42,120,163 'skill':37 'skill-alphaear-stock' 'source-rkiding' 'specif':30 'start':85 'stock':3,10,15,24,33,36,44,54,82,103,122,129,135 'stocktool':60 'summari':116 'support':117 'tabl':130 'ticker':11,45,63,84,105 'tool':183 'topic-agent' 'topic-agent-skills' 'topic-finances' 'topic-fintech' 'us':134 'use':18,57 'user':20 'usual':173 'variabl':145 'via':59,137,169 'work':174 'yahoo':151 'yfinanc':127,138 'yyyi':97 'yyyy-mm-dd':96","prices":[{"id":"5268e79a-cc25-4f9d-8407-d9a2e4669b7c","listingId":"73196f02-07d0-4f3c-929e-95fbe8db399f","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"RKiding","category":"Awesome-finance-skills","install_from":"skills.sh"},"createdAt":"2026-04-18T21:54:12.542Z"}],"sources":[{"listingId":"73196f02-07d0-4f3c-929e-95fbe8db399f","source":"github","sourceId":"RKiding/Awesome-finance-skills/alphaear-stock","sourceUrl":"https://github.com/RKiding/Awesome-finance-skills/tree/main/skills/alphaear-stock","isPrimary":false,"firstSeenAt":"2026-04-18T21:54:12.542Z","lastSeenAt":"2026-05-03T00:52:44.308Z"}],"details":{"listingId":"73196f02-07d0-4f3c-929e-95fbe8db399f","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"RKiding","slug":"alphaear-stock","github":{"repo":"RKiding/Awesome-finance-skills","stars":2025,"topics":["agent","agent-skills","finances","fintech"],"license":"apache-2.0","html_url":"https://github.com/RKiding/Awesome-finance-skills","pushed_at":"2026-03-29T05:03:47Z","description":"A collection of Awesome Finance Agent Skills for free and easy to start | 一系列开源免费的金融分析Agent Skills","skill_md_sha":"0603df72fdac2af7e89e399311761cfc16722b69","skill_md_path":"skills/alphaear-stock/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/RKiding/Awesome-finance-skills/tree/main/skills/alphaear-stock"},"layout":"multi","source":"github","category":"Awesome-finance-skills","frontmatter":{"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."},"skills_sh_url":"https://skills.sh/RKiding/Awesome-finance-skills/alphaear-stock"},"updatedAt":"2026-05-03T00:52:44.308Z"}}