Akshare margin

From aifinlab/FinClaw · View interactive version

Akshare margin is an AI agent skill from the GitHub repository aifinlab/FinClaw. AkShare 融资融券数据,提供两融余额、杠杆资金监控、两融标的筛选。当用户需要通过 AkShare 获取融资融券数据时使用。

How to use this skill

Skill file

akshare-margin

融资融券数据查询与分析 Skill。提供A股市场融资融券余额、杠杆资金监控、两融标的筛选等功能。

功能

使用示例

查询沪深两市融资融券余额:

python scripts/margin_balance.py

查询个股融资融券数据:

python scripts/margin_stock.py --code 000001

查询融资买入排行:

python scripts/margin_rank.py --type buy --limit 20

查询融券卖出排行:

python scripts/margin_rank.py --type sell --limit 20

数据来源

依赖

安装依赖

pip install akshare pandas

输出说明

License

MIT

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.