在 Manus 中运行任何 Skill
一键导入
一键导入
一键在 Manus 中运行任何 Skill
开始使用client-solutions
星标0
分支0
更新时间2026年3月1日 10:05
客户解决方案插件 - 套保方案设计、结构性产品定价、客户风险分析
安装
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
SKILL.md
readonly菜单
客户解决方案插件 - 套保方案设计、结构性产品定价、客户风险分析
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
FICC 经营分析报告生成系统 - 基于 Anthropic financial-services-plugins 架构,支持 18 个业务团队的多维度经营分析
FICC经营分析报告主协调器,负责工作流程编排、阶段路由与状态管理,协调各子技能完成报告生成全流程
大宗商品业务插件 - 贵金属、能源、基本金属分析与估值
FICC 核心插件 - 数据连接、基础建模、统一接口
固收业务插件 - 利率债、信用债、衍生品分析与估值
外汇业务插件 - 汇率分析、外汇交易、衍生品分析与估值
| name | client-solutions |
| description | 客户解决方案插件 - 套保方案设计、结构性产品定价、客户风险分析 |
| dependency | {"python":["pandas>=2.0.0","numpy>=1.24.0"]} |
客户解决方案插件是FICC对客插件层的重要组成部分,专注于为企业客户提供定制化的风险管理解决方案,包括套期保值方案设计、结构性产品定价、客户风险分析等服务。
class HedgeSolutionDesigner:
"""套保方案设计器"""
def analyze_exposure(self, client_data):
"""
分析客户风险敞口
识别:
- 交易敞口(应收应付外汇)
- 折算敞口(境外资产负债)
- 经济敞口(竞争力影响)
"""
pass
def design_hedge_strategy(self, exposure, constraints):
"""
设计套保策略
考虑因素:
- 对冲比例(100% / 部分对冲 / 区间对冲)
- 对冲工具(远期、期权、互换、结构性产品)
- 对冲期限(匹配法/滚动法/择期法)
- 会计处理(套保会计适用性)
"""
pass
def optimize_hedge_ratio(self, exposure, market_data, constraints):
"""
优化对冲比例
目标函数:
- 最小化对冲成本
- 最小化剩余风险
- 最大化风险调整收益
"""
pass
def simulate_hedge_outcome(self, hedge_strategy, scenarios):
"""
模拟套保效果
在不同市场情景下:
- 未套保损益
- 套保工具损益
- 净损益
- 对冲有效性
"""
pass
class StructuredProductPricer:
"""结构性产品定价器"""
def price_fx_accumulator(self, structure_params, market_data):
"""
定价累计期权(Accumulator)
结构:
- 敲出障碍
- 每日观察
- 双倍买入/卖出
"""
pass
def price_fx_forward_extra(self, structure_params, market_data):
"""
定价远期加成(Forward Extra)
结构:
- 优于市场远期汇率
- 敲出/敲入条款
"""
pass
def price_fx_participatory_forward(self, structure_params, market_data):
"""
定价参与式远期(Participatory Forward)
结构:
- 部分参与上行收益
- 保护下限
"""
pass
def price_ir_structured_swap(self, structure_params, curves):
"""
定价结构性利率互换
结构:
- 封顶/保底
- 雪球结构
- 可赎回/可回售
"""
pass
def price_fx_target_redemption(self, structure_params, market_data):
"""
定价目标赎回远期(TARF)
结构:
- 累计收益目标
- 自动终止条款
"""
pass
def calculate_structured_risk(self, structured_product, market_data):
"""
计算结构性产品风险
包括:
- 希腊字母敏感性
- 情景分析
- 最坏情景损失
"""
pass
class ClientRiskAnalyzer:
"""客户风险分析器"""
def assess_transaction_risk(self, client_transactions):
"""
评估交易风险
分析:
- 汇率风险敞口
- 利率风险敞口
- 交易对手信用风险
"""
pass
def assess_translation_risk(self, foreign_operations):
"""
评估折算风险
分析境外经营实体的:
- 资产折算风险
- 负债折算风险
- 权益折算风险
"""
pass
def assess_economic_risk(self, business_model, market_data):
"""
评估经济风险
分析汇率变动对企业竞争力的长期影响:
- 出口竞争力
- 进口成本
- 市场份额
"""
pass
def generate_risk_report(self, client_id, analysis_results):
"""
生成客户风险报告
包括:
- 风险敞口汇总
- 风险量化分析
- 套保建议
- 压力测试结果
"""
pass
def monitor_client_exposure(self, client_id, limits):
"""
监控客户敞口
实时监控:
- 敞口限额使用情况
- 预警阈值触发
- 集中度风险
"""
pass
# 客户解决方案插件使用业务插件示例
from business_plugins.fx_desk import FXDeskPlugin
from business_plugins.fixed_income import FixedIncomePlugin
from core_plugins.risk_management import RiskManager
class ClientSolutionsPlugin:
def __init__(self):
self.fx_plugin = FXDeskPlugin()
self.fixed_income_plugin = FixedIncomePlugin()
self.risk_manager = RiskManager()
self.hedge_designer = HedgeSolutionDesigner()
self.product_pricer = StructuredProductPricer()
self.risk_analyzer = ClientRiskAnalyzer()
def design_comprehensive_hedge(self, client_profile, exposures, constraints):
"""设计综合套保方案"""
# 1. 分析各类风险敞口
fx_exposure = exposures.get('fx', [])
ir_exposure = exposures.get('interest_rate', [])
commodity_exposure = exposures.get('commodity', [])
# 2. 设计外汇套保方案
fx_hedge_strategy = None
if fx_exposure:
fx_hedge_strategy = self.hedge_designer.design_hedge_strategy(
exposure=fx_exposure,
constraints=constraints
)
# 3. 设计利率套保方案
ir_hedge_strategy = None
if ir_exposure:
ir_hedge_strategy = self.fixed_income_plugin.design_hedge_strategy(
exposure=ir_exposure,
constraints=constraints
)
# 4. 推荐结构性产品
structured_products = []
if constraints.get('allow_structured_products'):
# 根据客户风险偏好推荐
if client_profile.risk_appetite == 'moderate':
structured_products.append({
'type': 'forward_extra',
'description': '远期加成 - 优于普通远期汇率',
'risk_level': 'medium'
})
# 5. 整体风险评估
risk_assessment = self.risk_analyzer.assess_transaction_risk(
client_transactions=exposures
)
return {
'client_id': client_profile.client_id,
'fx_hedge_strategy': fx_hedge_strategy,
'ir_hedge_strategy': ir_hedge_strategy,
'structured_products': structured_products,
'risk_assessment': risk_assessment,
'implementation_plan': self._create_implementation_plan(
fx_hedge_strategy, ir_hedge_strategy
)
}