bambu-studio-ai
Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pi...
Comprehensive free financial data library — A-shares, HK/US stocks, futures, options, funds, bonds, forex, macro, no API key required.
Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.
SkillHub CLI
skillhub install coderwpf/aakshareInspect the source and compatibility requirements, then follow its installation steps.
Give your agent the source link and ask it to inspect instructions and dependencies before explaining the installation steps.
AKShare is a comprehensive, free Python financial data library covering A-shares, HK/US stocks, futures, options, funds, bonds, forex, and macro data. No registration or API key needed. All functions return pandas.DataFrame.
pip install akshare --upgrade
Requires Python 3.9+ (64-bit).
import akshare as ak
df = ak.stock_zh_a_hist(symbol="000001", period="daily", start_date="20240101", end_date="20240630")
print(df)
{asset_class}_{market}_{data_type}_{source}
stock, futures, fund, bond, forex, option, macro, index
zh (China), us (US), hk (Hong Kong), or exchange codesspot (real-time), hist (historical), daily, minute
em (Eastmoney), sina (Sina Finance), exchange abbreviationsimport akshare as ak
df = ak.stock_zh_a_spot_em()
# columns: 序号, 代码, 名称, 最新价, 涨跌幅, 涨跌额, 成交量, 成交额, 振幅, 最高, 最低, 今开, 昨收, 量比, 换手率, 市盈率, 市净率, ...
df = ak.stock_zh_a_hist(
symbol="000001", # stock code (no prefix)
period="daily", # "daily", "weekly", "monthly"
start_date="20240101", # YYYYMMDD
end_date="20240630",
adjust="" # "": no adj, "qfq": forward, "hfq": backward
)
# columns: 日期, 开盘, 收盘, 最高, 最低, 成交量, 成交额, 振幅, 涨跌幅, 涨跌额, 换手率
df = ak.stock_zh_a_hist_min_em(
symbol="000001",
period="5", # "1", "5", "15", "30", "60"
start_date="2024-01-02 09:30:00",
end_date="2024-01-02 15:00:00",
adjust=""
)
df = ak.stock_individual_info_em(symbol="000001")
# Returns: 总市值,...
These signals come from indexed source analysis and may lag behind changes. Check the current source files.
# AKShare (开源财经数据接口库)
[AKShare](https://github.com/akfamily/akshare) is a comprehensive, free Python financial data library covering A-shares, HK/US stocks, futures, options, funds, bonds, forex, and macro data. No registration or API key needed. All functions return `pandas.DataFrame`.
> Docs: https://akshare.akfamily.xyz/
## Install
```bash
pip install akshare --upgrade
```
Requires Python 3.9+ (64-bit).
## Usage pattern
```python
import akshare as ak
df = ak.stock_zh_a_hist(symbol="000001", period="daily", start_date="20240101", end_date="20240630")
print(df)
```
## Function naming convention
```
{asset_class}_{market}_{data_type}_{source}
```
- **asset_class**: `stock`, `futures`, `fund`, `bond`, `forex`, `option`, `macro`, `index`
- **market**: `zh` (China), `us` (US), `hk` (Hong Kong), or exchange codes
- **data_type**: `spot` (real-time), `hist` (historical), `daily`, `minute`
- **source**: `em` (Eastmoney), `sina` (Sina Finance), exchange abbreviations
---
## Stock data (A-shares)
### Real-time quotes — all A-shares
```python
import akshare as ak
df = ak.stock_zh_a_spot_em()
# columns: 序号, 代码, 名称, 最新价, 涨跌幅, 涨跌额, 成交量, 成交额, 振幅, 最高, 最低, 今开, 昨收, 量比, 换手率, 市盈率, 市净率, ...
```
### Historical K-line
```python
df = ak.stock_zh_a_hist(
symbol="000001", # stock code (no prefix)
period="daily", # "daily", "weekly", "monthly"
start_date="20240101", # YYYYMMDD
end_date="20240630",
adjust="" # "": no adj, "qfq": forward, "hfq": backward
)
# columns: 日期, 开盘, 收盘, 最高, 最低, 成交量, 成交额, 振幅, 涨跌幅, 涨跌额, 换手率
```
### Minute K-line
```python
df = ak.stock_zh_a_hist_min_em(
symbol="000001",
period="5", # "1", "5", "15", "30", "60"
start_date="2024-01-02 09:30:00",
end_date="2024-01-02 15:00:00",
adjust=""
)
```
### Individual stock info
```python
df = ak.stock_individual_info_em(symbol="000001")
# Returns: 总市值,...Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pi...
Generative Engine Optimization (GEO) for AI search visibility. Optimize content to appear in ChatGPT, Perplexity, Claude, and Google AI Overviews. Use when optimizing websites, pages, or content for LLM discove...
Agents can sign plugins, rotate credentials without losing identity, and publicly attest to behavior.
Send and receive P2P messages using disposable numbers and PINs. No servers, no accounts. Use for human notifications, approval flows, and agent-to-agent communication.