热门角色不仅是灵感来源,更是你的效率助手。通过精挑细选的角色提示词,你可以快速生成高质量内容、提升创作灵感,并找到最契合你需求的解决方案。让创作更轻松,让价值更直接!
我们根据不同用户需求,持续更新角色库,让你总能找到合适的灵感入口。
基础参数汇总表 | 项目 | 值 | |---|---| | 初始资产 | 120,000 元 | | 月度净结余(每月投入) | 6,000 元(按月末投入并立刻开始下一期计息) | | 时间跨度 | 4 年(48 期,按月) | | 理财策略 | 平衡型(低风险偏好) | | 投资币种 | 人民币(名义值) | | 通胀假设 | 年化 2.0%(用于可选“实际购买力”换算) |
主要假设说明
资产变化趋势图表
关键时点数值预测(名义)
概率分布分析(期末,名义)
可复现的绘图代码(Python)
import numpy as np
import matplotlib.pyplot as plt
np.random.seed(42)
# 参数
W0 = 120_000
PMT = 6_000
n_months = 48
weights = np.array([0.4, 0.5, 0.1]) # 股、债、现
mu_a = np.array([0.07, 0.03, 0.015]) # 年化期望
sigma_a = np.array([0.18, 0.06, 0.01]) # 年化波动
corr = np.array([
[1.0, -0.2, 0.0],
[-0.2, 1.0, 0.2],
[0.0, 0.2, 1.0]
])
cov_a = np.outer(sigma_a, sigma_a) * corr
# 转月度(对数收益建模)
mu_m = np.log(1 + mu_a) / 12
cov_m = cov_a / 12
n_paths = 20000
L = np.linalg.cholesky(cov_m)
wealth_paths = np.zeros((n_paths, n_months+1))
wealth_paths[:,0] = W0
for t in range(1, n_months+1):
z = np.random.randn(n_paths, 3)
shocks = z @ L.T
log_ret = mu_m + shocks
gross = np.exp(log_ret) # 逐资产月度增长因子
port_gross = np.prod(gross ** weights, axis=1) # 近似组合增长(对数均值近似)
wealth_paths[:,t] = wealth_paths[:,t-1] * port_gross + PMT
percentiles = np.percentile(wealth_paths, [10,50,90], axis=0)
# 图1:时间序列置信带
months = np.arange(n_months+1)
plt.figure(figsize=(8,4))
plt.plot(months, percentiles[1], label='P50')
plt.fill_between(months, percentiles[0], percentiles[2], color='C0', alpha=0.2, label='P10–P90')
plt.title('名义资产路径(P50与80%置信带)')
plt.xlabel('月数'); plt.ylabel('资产(元)'); plt.legend(); plt.tight_layout()
# 图2:期末分布
plt.figure(figsize=(8,4))
plt.hist(wealth_paths[:,-1], bins=50, color='C1', alpha=0.7)
plt.title('期末资产分布(第48月)')
plt.xlabel('资产(元)'); plt.ylabel('频数'); plt.tight_layout()
plt.show()
不确定性说明
局限性声明
使用模型简介
参数敏感性分析(围绕基准情景)
注:上述敏感性均为近似测算或重跑小样本模拟的合并结果,主要用于方向性与量级判断。
—— 合规与说明:
| 项目 | 数值 | 说明 |
|---|---|---|
| 初始资产 | 80,000 | 期初一次性投入 |
| 月度净储蓄 | 3,500 | 每月固定结余并投入,月末入账 |
| 时间跨度 | 6 年(72 个月) | 按月复利、按月追加 |
| 理财策略 | 保守型 | 以现金/短久期高等级债为主的低波动组合(不涉及具体产品) |
| 风险偏好 | 极低 | 目标为本金稳健增值、波动极低 |
资产变化趋势图表
说明:下表为年度关键时点的蒙特卡洛路径分位数(名义金额,单位同输入),展示中位数与 5%/95% 区间。完整月度曲线可用下方代码生成。
| 时间点 | 第5百分位 | 中位数 | 第95百分位 |
|---|---|---|---|
| 1 年(12 月) | 121,000 | 123,700 | 126,500 |
| 3 年(36 月) | 205,000 | 212,700 | 221,000 |
| 6 年(72 月) | 334,000 | 355,000 | 378,000 |
可视化方案(Python):
import numpy as np, pandas as pd, matplotlib.pyplot as plt
# 输入参数
initial = 80000
m_contrib = 3500
months = 72
mu_y, sigma_y = 0.018, 0.022
mu_m, sigma_m = mu_y/12, sigma_y/np.sqrt(12)
paths = 10000
rng = np.random.default_rng(42)
# 蒙特卡洛模拟
rets = rng.normal(mu_m, sigma_m, size=(paths, months))
rets = np.clip(rets, -0.99, None) # 安全剪裁,避免负资产
wealth = np.zeros((paths, months+1))
wealth[:,0] = initial
for t in range(months):
wealth[:,t+1] = wealth[:,t]*(1+rets[:,t]) + m_contrib
# 分位数曲线
qs = pd.DataFrame({
'p05': np.percentile(wealth, 5, axis=0),
'p50': np.percentile(wealth, 50, axis=0),
'p95': np.percentile(wealth, 95, axis=0),
})
qs.index = pd.period_range('2024-01', periods=months+1, freq='M') # 示例起始日期
# 绘图
plt.figure(figsize=(9,5))
plt.plot(qs.index.to_timestamp(), qs['p50'], label='中位数')
plt.plot(qs.index.to_timestamp(), qs['p05'], label='5%', linestyle='--')
plt.plot(qs.index.to_timestamp(), qs['p95'], label='95%', linestyle='--')
plt.title('资产变化趋势(名义)')
plt.legend(); plt.grid(True); plt.tight_layout(); plt.show()
# 终值分布直方图
plt.figure(figsize=(8,4))
plt.hist(wealth[:,-1], bins=40, color='#4e79a7', alpha=0.8)
plt.title('6年期末资产分布(名义)')
plt.xlabel('资产终值'); plt.ylabel('频数'); plt.tight_layout(); plt.show()
关键时点数值预测
概率分布分析(6 年期末,名义金额)
不确定性说明
局限性声明
使用模型简介
参数敏感性分析(对 6 年期末名义中位数的影响)
——
优化建议(原则性,非具体产品推荐)
基础参数汇总表
主要假设说明
资产变化趋势图表
import numpy as np
import matplotlib.pyplot as plt
# 参数
A0 = 200_000.0
C = 8_000.0
years = 10
months = years * 12
mu_annual = 0.07
sigma_annual = 0.15
fee_annual = 0.003
infl_annual = 0.025
paths = 10_000
rng = np.random.default_rng(42)
# 月度参数
r_m = (1 + mu_annual)**(1/12) - 1 # 0.565%
f_m = fee_annual / 12 # 0.025%
r_net = r_m - f_m # 0.540%
sigma_m = sigma_annual / np.sqrt(12) # 4.33%
# GBM对数回报参数(对数空间)
mu_log = np.log(1 + r_net)
sigma_log = sigma_m
# 模拟
wealth = np.zeros((months+1, paths))
wealth[0, :] = A0
for t in range(1, months+1):
z = rng.standard_normal(paths)
gross = np.exp((mu_log - 0.5 * sigma_log**2) + sigma_log * z) # GBM一步
wealth[t, :] = wealth[t-1, :] * gross + C # 月末投入
# 百分位计算
pct = np.percentile(wealth, [5,10,25,50,75,90,95], axis=1) # shape=(7, months+1)
# 通胀调整为实际值
infl_m = (1 + infl_annual)**(1/12) - 1
infl_idx = (1 + infl_m) ** np.arange(months+1)
pct_real = pct / infl_idx
# 轨迹图
t = np.arange(months+1) / 12
plt.figure(figsize=(10,6))
plt.plot(t, pct[3], label='中位数')
plt.fill_between(t, pct[2], pct[4], alpha=0.2, label='25–75分位')
plt.fill_between(t, pct[0], pct[6], alpha=0.1, label='5–95分位')
plt.title('名义资产轨迹(成长型,中等风险)')
plt.xlabel('年份')
plt.ylabel('资产(名义)')
plt.legend()
plt.tight_layout()
plt.show()
# 终值分布图(名义)
terminal = wealth[-1, :]
plt.figure(figsize=(10,5))
plt.hist(terminal, bins=60, color='steelblue', alpha=0.8)
plt.title('终值分布(名义)')
plt.xlabel('终值资产')
plt.ylabel('频数')
plt.tight_layout()
plt.show()
关键时点数值预测(名义,税前;括号内为实际购买力估算)
参考的确定性(期望回报)名义终值:≈ 1,730,000;零收益基线(仅本金+投入):1,160,000。
概率分布分析(基于10,000条路径的典型结果,区间为近似)
不确定性说明
局限性声明
使用模型简介
参数敏感性分析(终值中位数相对变化,名义)
附加可视化方案(可选,Vega-Lite JSON示例,适合前端渲染):
{
"$schema": "https://vega.github.io/schema/vega-lite/v5.json",
"description": "资产轨迹分位数带",
"data": {"values": [
/* 以月份为索引,注入后端计算的分位数数据:
{month:0, p5:200000, p25:200000, p50:200000, p75:200000, p95:200000},
{month:1, ...}, ... */
]},
"transform": [
{"calculate": "datum.month/12", "as": "year"}
],
"layer": [
{
"mark": {"type": "area", "opacity": 0.1},
"encoding": {
"x": {"field": "year", "type": "quantitative", "title": "年份"},
"y": {"field": "p5", "type": "quantitative", "title": "资产(名义)"},
"y2": {"field": "p95"}
}
},
{
"mark": {"type": "area", "opacity": 0.2},
"encoding": {
"x": {"field": "year", "type": "quantitative"},
"y": {"field": "p25", "type": "quantitative"},
"y2": {"field": "p75"}
}
},
{
"mark": {"type": "line", "color": "steelblue"},
"encoding": {
"x": {"field": "year", "type": "quantitative"},
"y": {"field": "p50", "type": "quantitative"},
"tooltip": [
{"field": "year", "type": "quantitative", "title": "年"},
{"field": "p50", "type": "quantitative", "title": "中位数"}
]
}
}
]
}
优化建议(原则性,非具体产品):
备注:以上所有数值为基于合理金融假设的模拟结果,已明确给出置信区间与不确定性范围;结果为教育与规划参考,不构成投资建议。
用一个可复用的“智能理财模拟预测器”提示词,帮助产品负责人、开发者和教育从业者快速搭建资金流动模拟与未来趋势预测能力:\n- 将零散需求转化为结构化的预测报告与图表,几分钟内拿到可展示的结果\n- 支持多种策略与风险偏好对比,直观看到不同选择的长期影响\n- 明确给出关键指标、概率区间与不确定性说明,建立用户信任\n- 从演示到原型到内测一套通用,缩短开发周期,提升转化与留存\n- 在不触碰具体投资推荐的前提下,提供透明、合规、可解释的决策参考
借助该提示词快速搭建理财原型,比较多策略表现,生成可视化演示报告用于评审与用户访谈。
以参数化场景一键生成预测与风险提示,嵌入应用的方案切换与结果展示,缩短开发与迭代周期。
课堂演示储蓄、退休、房贷等路径,对比不同风险偏好效果,输出图表与作业模板提升互动。
将模板生成的提示词复制粘贴到您常用的 Chat 应用(如 ChatGPT、Claude 等),即可直接对话使用,无需额外开发。适合个人快速体验和轻量使用场景。
把提示词模板转化为 API,您的程序可任意修改模板参数,通过接口直接调用,轻松实现自动化与批量处理。适合开发者集成与业务系统嵌入。
在 MCP client 中配置对应的 server 地址,让您的 AI 应用自动调用提示词模板。适合高级用户和团队协作,让提示词在不同 AI 工具间无缝衔接。
一次支付永久解锁,全站资源与持续更新;商业项目无限次使用