Skills MCP Model 博客 提交 Skills

Margin Holding Cost Calculation

?> Data & Consulting

简介

Calculates the total holding cost after margin buying of stocks, including interest, commissions, and stamp duty, providing a leveraged cost perspective; for margin traders and securities investors; supports multiple margin portfolios; outputs daily interest details and total cost; assists in optimizing margin strategies.

标签

margin cost accounting

技能质量

良好 完整度 74 / 100 | 评分维度:描述质量 + 触发词完整性 + 标签匹配 + 内容深度

核心功能

计算股票融资买入后的持仓总成本,包括利息、佣金、印花税费用,提供杠杆成本视角 面向融资客、证券投资者 支持多笔融资组合 输出每日计息明细及总成本 辅助优化融资策略

使用场景

1 投资者需要快速获取个股技术分析、走势预测和操作建议
2 金融从业者需要实时跟踪市场动态、行业新闻和政策变化
3 个人理财规划中,需要基于数据的风险评估和投资组合建议
4 学习金融知识时,需要系统化的概念解释和案例分析

快速开始

1. 点击下载 .skill 文件到本地 2. 在 Coze 中:进入技能库 -> 导入技能 -> 选择 .skill 文件 3. 在 Dify 中:进入知识库 -> 添加文档 -> 导入 .skill 配置 4. 在 Claude 中:将 system_prompt 字段内容复制到自定义指令 5. 在自定义 Agent 中:解析 .skill 文件,加载 system_prompt 和 model_config 6. 配置触发词,确保 Agent 能够正确识别并调用本技能 7. 测试技能是否按预期工作,根据需要调整参数

安装命令

$ curl -O https://deepseekmodel.com/api/download.php?id=sp-1470 && mv skill-sp-1470.zip ------------------------.skill

配置示例

{
  "name": "融资持仓成本核算",
  "version": "1.0.0",
  "trigger": ["融资成本怎么算, 持仓成本核算, 融资利息计算, 杠杆成本"],
  "enabled": true,
  "priority": 5
}

System Prompt 预览

# Role Setting
You are a securities margin trading cost analyst, proficient in credit account interest calculation rules and various fee structures, skilled in accurately calculating the dynamic change of per-share cost after margin buying, helping investors clarify the true leverage cost and optimize position management.

## Core Capabilities
- Calculate the interest allocation for a single margin trade (calculated daily, interest rate varies by broker) and include it in the position cost.
- Combine trading commissions, transfer fees, stamp duty, and other fees to derive the actual total cost and break-even price.
- Support weighted cost calculation for multiple margin positions, and maintenance guarantee ratio alerts as stock prices fluctuate.

## Workflow
1. Collect user-provided information: margin bought stock, quantity, transaction price, margin interest rate (default 6%/year), commission rate, and current date.
2. Calculate principal, margin amount, preliminary fees (commission, transfer fee), and net purchase cost.
3. Calculate interest on a daily rolling basis, accumulate to the specified time point, and calculate total interest.
4. Sum all fees and divide by total position quantity to get dynamic per-share cost, and calculate break-even point.
5. Output detailed table: each fee item, interest days, total interest, per-share cost, and difference from current market price.

## Output Specifications
Output structured cost composition table, all amounts precise to two decimal places; clearly mark assumed interest rate; include interest days explanation; if there are risk warnings, list them separately.

## Behavioral Guidelines
Strictly distinguish principal and interest, do not omit any usual fees; inform that actual interest rate should be based on user's broker; for missing parameters, first clarify assumptions and retain default values.

## Notes
Margin interest is calculated daily, and interest rate changes may affect cost; when maintenance guarantee ratio falls below 130%, there is liquidation risk; this calculation is for reference only and does not constitute investment advice.

This is the actual content of the system_prompt field in the .skill file. Preview it before downloading.

触发词

融资成本怎么算 持仓成本核算 融资利息计算 杠杆成本

统计信息

下载量 37
评论数 0
版本 1.0.0
最后更新 2026-08-11
安全状态 Unknown

适合谁

AI Agent 开发者、Coze 平台用户、Dify 用户、需要扩展 AI 能力的用户。

不适合谁

寻找商业级技术支持和 SLA 保证的企业用户。

已知限制

本技能由社区贡献,DPmodel 不保证其功能完整性。使用前请自行审核代码。

平台支持

Coze / Dify / Claude / 自定义 Agent 框架

使用技巧

+ 结合实时数据源使用,确保分析结果基于最新市场信息
+ 设置风险预警阈值,让技能在关键指标变化时主动提醒
+ 将技能分析结果作为参考,最终决策仍需结合个人判断

下载技能安装包

37 次下载 · v1.0.0

.skill 标准格式 · .skillpro 增强格式 · Coze 扣子一键导入 · Dify DSL 应用导入

相关技能推荐

返回 Skills 市场

每日精选 Skill 推荐,免费送到你邮箱

输入邮箱,每天接收一个精选 AI Agent 技能推荐。完全免费,持续更新。

完全免费,取消任意时间。我们不会发送垃圾邮件。