Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| XUEQIU_TOKEN | Yes | Your Xueqiu token (format: 'xq_a_token=xxxxx;u=xxxx') |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| quotec | 获取某支股票的行情数据 |
| quote_detail | 获取某支股票的行情数据-详细 |
| pankou | 获取实时分笔数据,可以实时取得股票当前报价和成交信息 |
| kline | 获取K线数据。第二参数可制定从现在到N天前,默认100 |
| earningforecast | 按年度获取业绩预告数据 |
| report | 获取机构评级数据 |
| capital_flow | 获取当日资金流如流出数据,每分钟数据 |
| capital_history | 获取历史资金流如流出数据,每日数据 |
| capital_assort | 获取资金成交分布数据 |
| blocktrans | 获取大宗交易数据 |
| margin | 获取融资融券数据 |
| indicator | 按年度、季度获取业绩报表数据 Args:
stock_code: 股票代码
is_annals: 只获取年报,默认为1
count: 返回数据数量,默认5条 |
| income | 获取利润表数据 Args:
stock_code: 股票代码
is_annals: 只获取年报,默认为1
count: 返回数据数量,默认5条 |
| balance | 获取资产负债表数据 Args:
stock_code: 股票代码
is_annals: 只获取年报,默认为1
count: 返回数据数量,默认5条 |
| cash_flow | 获取现金流量表数据 Args:
stock_code: 股票代码
is_annals: 只获取年报,默认为1
count: 返回数据数量,默认5条 |
| business | 获取主营业务构成数据 Args:
stock_code: 股票代码
count: 返回数据数量,默认5条 |
| top_holders | 获取十大股东数据 Args:
stock_code: 股票代码
circula: 只获取流通股,默认为1 |
| main_indicator | 获取F10主要指标数据 |
| holders | 获取F10股东人数数据 |
| org_holding_change | 获取F10机构持仓数据 |
| bonus | 获取F10分红融资数据 Args:
stock_code: 股票代码
page: 第几页 默认1
size: 每页含有多少数据 默认10 |
| industry_compare | 获取F10行业对比数据 |
| watch_list | 获取用户自选列表 |
| watch_stock | 获取用户自选列表详情 Args:
pid: 自选列表ID |
| nav_daily | 获取组合净值数据 Args:
cube_symbol: 组合代码 |
| rebalancing_history | 获取组合历史交易信息 Args:
cube_symbol: 组合代码 |
| convertible_bond | 获取可转债信息 Args:
page_size: 每页显示数量
page_count: 页码 |
| index_basic_info | 获取指数基本信息 Args:
index_code: 指数代码 |
| index_details_data | 获取指数详细信息 Args:
index_code: 指数代码 |
| index_weight_top10 | 获取指数权重股前十 Args:
index_code: 指数代码 |
| index_perf_7 | 获取指数最近7天收益数据 Args:
index_code: 指数代码 |
| index_perf_30 | 获取指数最近30天收益数据 Args:
index_code: 指数代码 |
| index_perf_90 | 获取指数最近90天收益数据 Args:
index_code: 指数代码 |
| northbound_shareholding_sh | 获取深港通北向数据 Args:
date: 日期,默认当天,格式:'2022/01/19' |
| northbound_shareholding_sz | 获取沪港通北向数据 Args:
date: 日期,默认当天,格式:'2022/01/19' |
| fund_detail | 获取基金详细信息 Args:
fund_code: 基金代码 |
| fund_info | 获取基金基本信息 Args:
fund_code: 基金代码 |
| fund_growth | 获取基金增长数据 Args:
fund_code: 基金代码 |
| fund_nav_history | 获取基金历史净值数据 Args:
fund_code: 基金代码 |
| fund_achievement | 获取基金业绩表现数据 Args:
fund_code: 基金代码 |
| fund_asset | 获取基金资产配置数据 Args:
fund_code: 基金代码 |
| fund_manager | 获取基金经理信息 Args:
fund_code: 基金代码 |
| fund_trade_date | 获取基金交易日期信息 Args:
fund_code: 基金代码 |
| fund_derived | 获取基金衍生数据 Args:
fund_code: 基金代码 |
| suggest_stock | 关键词搜索股票代码 Args:
keyword: 关键词 |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |