基金定投计算器
下载地址
https://www.zhengdianxue.com/wp-content/uploads/skills/org-mijzrode--gffundinvest.zip将提示词发送给你的 AI 安装该 skills
请根据 https://skillhub.cn/install/skillhub.md,安装 @org-mijzrode/gffundinvest。基于广发证券接口,支持多种定投策略回测,测算基金历史定投收益,用于定投方案回测与策略对比。
阅读全文 (展开查看完整说明)
概述
鉴权规则
- 鉴权环境变量:GF_SKILLS_APIKEY
- 无KEY则终止调用,引导前往 http://hd.gf.com.cn/skills-market 申请配置
接口信息
service_name: fund_invest tool_name: finance_api_product_invest_compute_post 请求方式: POST 接口地址: https://mcp-api.gf.com.cn/gf-skills/skills/mcp/call
curl调用示例
curl -X POST 'https://mcp-api.gf.com.cn/gf-skills/skills/mcp/call'
--header 'Content-Type: application/json'
--header "Authorization: Bearer ${GF_SKILLS_APIKEY}"
--data '{
"service_name": "fund_invest",
"tool_name": "finance_api_product_invest_compute_post",
"args": {
"tradeCode": "001643",
"balance": 1000,
"rate": "0",
"startDate": "20200101",
"endDate": "20250101",
"enFundDate": "1",
"strategyList": [{
"prodAIRationType": "4",
"prodIndexType": "0",
"prodAverageType": "0",
"expectIncomeRatio": "0.2"
}]
}
}'