第 9 章 excel 在证券投资中的应用
DESCRIPTION
第 9 章 Excel 在证券投资中的应用. 9.1 证券价值的计算 9.2 证券投资收益的计算 9.3 证券投资的风险 9.4 从 Internet 获取证券市场或上市公司财务数据. 9.1 证券价值的计算. 9.1.1 证券投资概述 9.1.2 证券投资价值计算的有关函数及其应用. 9.1.1 证券投资概述. 1 .债券投资 2 .股票投资 3 .投资基金投资. 9.1.2 证券投资价值计算的有关函数及其应用. 1 . PRICE 函数 功能是计算定期付息面值 100 元的有价证券的价格。公式为 - PowerPoint PPT PresentationTRANSCRIPT
![Page 1: 第 9 章 Excel 在证券投资中的应用](https://reader035.vdocuments.pub/reader035/viewer/2022081415/568139e2550346895da198f9/html5/thumbnails/1.jpg)
第 9章 Excel在证券投资中的应用9.1 证券价值的计算9.2 证券投资收益的计算9.3 证券投资的风险9.4 从 Internet 获取证券市场或上市公司财务数据
![Page 2: 第 9 章 Excel 在证券投资中的应用](https://reader035.vdocuments.pub/reader035/viewer/2022081415/568139e2550346895da198f9/html5/thumbnails/2.jpg)
9.1 证券价值的计算9.1.1 证券投资概述9.1.2 证券投资价值计算的有关函数及其应用
![Page 3: 第 9 章 Excel 在证券投资中的应用](https://reader035.vdocuments.pub/reader035/viewer/2022081415/568139e2550346895da198f9/html5/thumbnails/3.jpg)
9.1.1 证券投资概述1 .债券投资2 .股票投资3 .投资基金投资
![Page 4: 第 9 章 Excel 在证券投资中的应用](https://reader035.vdocuments.pub/reader035/viewer/2022081415/568139e2550346895da198f9/html5/thumbnails/4.jpg)
1 . PRICE 函数 功能是计算定期付息面值 100 元的有价证券的价
格。公式为= PRICE ( settlement , maturity , rate , yld ,
redemption , frequency , basis ) 计算公式
【例 9-1 】
9.1.2 证券投资价值计算的有关函数及其应用
![Page 5: 第 9 章 Excel 在证券投资中的应用](https://reader035.vdocuments.pub/reader035/viewer/2022081415/568139e2550346895da198f9/html5/thumbnails/5.jpg)
9.1.2 证券投资价值计算的有关函数及其应用2 . PRICEDISC 函数 功能是计算折价发行的面值 100 元的有价证券的
价格。公式为= PRICEDISC(settlement,maturity,discount,redemption,basis)
计算公式
【例 9-2 】
![Page 6: 第 9 章 Excel 在证券投资中的应用](https://reader035.vdocuments.pub/reader035/viewer/2022081415/568139e2550346895da198f9/html5/thumbnails/6.jpg)
9.1.2 证券投资价值计算的有关函数及其应用3 . PRICEMAT 函数 功能是计算到期付息的面值 100 元的有价证券的
价格。公式为= PRICEMAT(settlement,maturity,issue,rate,yld,basis)
计算公式
【例 9-3 】
![Page 7: 第 9 章 Excel 在证券投资中的应用](https://reader035.vdocuments.pub/reader035/viewer/2022081415/568139e2550346895da198f9/html5/thumbnails/7.jpg)
9.1.2 证券投资价值计算的有关函数及其应用4 . TBILLPRICE 函数 功能是计算面值 100 元的国库券的价格。 公式为 = TBILLPRICE(settlement,maturity,discount)
计算公式
【例 9-4 】
![Page 8: 第 9 章 Excel 在证券投资中的应用](https://reader035.vdocuments.pub/reader035/viewer/2022081415/568139e2550346895da198f9/html5/thumbnails/8.jpg)
9.2 证券投资收益的计算9.2.1 计算证券投资收益率的有关函数及其应用9.2.2 计算证券投资收益额的有关函数及其应用9.2.3 证券投资收益的其他计算方法
![Page 9: 第 9 章 Excel 在证券投资中的应用](https://reader035.vdocuments.pub/reader035/viewer/2022081415/568139e2550346895da198f9/html5/thumbnails/9.jpg)
9.2.1 计算证券投资收益率的有关函数及其应用1 . YIELD 函数 功能是计算定期付息有价证券的收益率。 公式为=YIELD(settlement,maturity,rate,pr,redemption,
frequency,basis)
【例 9-5 】
![Page 10: 第 9 章 Excel 在证券投资中的应用](https://reader035.vdocuments.pub/reader035/viewer/2022081415/568139e2550346895da198f9/html5/thumbnails/10.jpg)
9.2.1 计算证券投资收益率的有关函数及其应用2 . YIELDDISC 函数 功能是计算折价发行的有价证券的年收益率。 公式为=YIELDDISC(settlement,maturity,pr,redemption,
basis)
【例 9-6 】
![Page 11: 第 9 章 Excel 在证券投资中的应用](https://reader035.vdocuments.pub/reader035/viewer/2022081415/568139e2550346895da198f9/html5/thumbnails/11.jpg)
9.2.1 计算证券投资收益率的有关函数及其应用3 . TBILLYIELD 函数 功能是计算国库券的收益率。 公式为 =TBILLYIELD(settlement,maturity,pr)
【例 9-7 】
![Page 12: 第 9 章 Excel 在证券投资中的应用](https://reader035.vdocuments.pub/reader035/viewer/2022081415/568139e2550346895da198f9/html5/thumbnails/12.jpg)
9.2.1 计算证券投资收益率的有关函数及其应用4 . TBILLEQ 函数 功能是计算国库券的等效收益率。 公式为 =TBILLEQ (settlement,maturity,discount)
【例 9-8 】
![Page 13: 第 9 章 Excel 在证券投资中的应用](https://reader035.vdocuments.pub/reader035/viewer/2022081415/568139e2550346895da198f9/html5/thumbnails/13.jpg)
9.2.1 计算证券投资收益率的有关函数及其应用5 . INTRATE 函数 功能是计算一次性付息证券的利率。 公式为=INTRATE(settlement,maturity,investment,redemption,
basis)
【例 9-9 】
![Page 14: 第 9 章 Excel 在证券投资中的应用](https://reader035.vdocuments.pub/reader035/viewer/2022081415/568139e2550346895da198f9/html5/thumbnails/14.jpg)
9.2.1 计算证券投资收益率的有关函数及其应用6 . DISC 函数 功能是计算有价证券的贴现率。 公式为=DISC(settlement,maturity,pr,redemption,basis)
【例 9-10 】
![Page 15: 第 9 章 Excel 在证券投资中的应用](https://reader035.vdocuments.pub/reader035/viewer/2022081415/568139e2550346895da198f9/html5/thumbnails/15.jpg)
9.2.2 计算证券投资收益额的有关函数及其应用1 . ACCRINT 函数 功能是计算定期付息有价证券的应计利息。 公式为=ACCRINT(issue,first_interest,settlement,rate,par,freque
ncy,basis)
【例 9-11 】
![Page 16: 第 9 章 Excel 在证券投资中的应用](https://reader035.vdocuments.pub/reader035/viewer/2022081415/568139e2550346895da198f9/html5/thumbnails/16.jpg)
9.2.2 计算证券投资收益额的有关函数及其应用2 . ACCRINTM 函数 功能是计算到期一次性付息有价证券的应计利息。公式为= ACCRINTM(issue,maturity,rate,par,basis)
【例 9-12 】
![Page 17: 第 9 章 Excel 在证券投资中的应用](https://reader035.vdocuments.pub/reader035/viewer/2022081415/568139e2550346895da198f9/html5/thumbnails/17.jpg)
9.2.2 计算证券投资收益额的有关函数及其应用3 . RECEIVED 函数 功能是计算一次性付息的有价证券到期收回的金
额。 公式为=RECEIVED(settlement,maturity,investment,discount,ba
sis)
【例 9-13 】
![Page 18: 第 9 章 Excel 在证券投资中的应用](https://reader035.vdocuments.pub/reader035/viewer/2022081415/568139e2550346895da198f9/html5/thumbnails/18.jpg)
9.2.3 证券投资收益的其他计算方法1 .利用 RATE 函数计算债券的年投资收益率 【例 9-14 】
2 .根据投资时间计算股票的持有期收益率
【例 9-15 】
股票的买入价格持有股票的年数投资期的股利收入)股票买价(股票卖价年投资收益率
![Page 19: 第 9 章 Excel 在证券投资中的应用](https://reader035.vdocuments.pub/reader035/viewer/2022081415/568139e2550346895da198f9/html5/thumbnails/19.jpg)
9.2.3 证券投资收益的其他计算方法3 .根据收益率的概率分布计算期望收益率
n
titti RPR
1
• OFFSET 函数 功能是以指定的引用为参照系,通过给定偏移量得到新的引用。 公式为 =OFFSET(reference,rows,cols,height,width)
【例 9-16 】
![Page 20: 第 9 章 Excel 在证券投资中的应用](https://reader035.vdocuments.pub/reader035/viewer/2022081415/568139e2550346895da198f9/html5/thumbnails/20.jpg)
9.2.3 证券投资收益的其他计算方法4 .根据历史数据计算各期收益率
股票的连续收益率的计算公式为
股票的离散收益率的计算公式为
)ln(1
t
ttt P
DPR
1
1
t
tttt P
DPPr
【例 9-17 】
![Page 21: 第 9 章 Excel 在证券投资中的应用](https://reader035.vdocuments.pub/reader035/viewer/2022081415/568139e2550346895da198f9/html5/thumbnails/21.jpg)
9.2.3 证券投资收益的其他计算方法5 .证券投资组合的期望收益率
【例 9-18 】
![Page 22: 第 9 章 Excel 在证券投资中的应用](https://reader035.vdocuments.pub/reader035/viewer/2022081415/568139e2550346895da198f9/html5/thumbnails/22.jpg)
9.3 证券投资的风险9.3.1 标准差和标准离差率9.3.2 应用 Excel 求解最优的证券投资组合9.3.3 股票系数的计算
![Page 23: 第 9 章 Excel 在证券投资中的应用](https://reader035.vdocuments.pub/reader035/viewer/2022081415/568139e2550346895da198f9/html5/thumbnails/23.jpg)
9.3.1 标准差和标准离差率
![Page 24: 第 9 章 Excel 在证券投资中的应用](https://reader035.vdocuments.pub/reader035/viewer/2022081415/568139e2550346895da198f9/html5/thumbnails/24.jpg)
9.3.1 标准差和标准离差率9.3.1 标准差和标准离差率
【例 9-19 】
9.3.2 应用 Excel 求解最优的证券投资组合
【例 9-20 】
![Page 25: 第 9 章 Excel 在证券投资中的应用](https://reader035.vdocuments.pub/reader035/viewer/2022081415/568139e2550346895da198f9/html5/thumbnails/25.jpg)
9.3.3 股票系数的计算1 .资本资产定价模型与 系数计算的基本原理
资本资产定价模型
特征线 有关个别股票收益率和市场指数收益率的计算公式
)( FmiFi KKKK
![Page 26: 第 9 章 Excel 在证券投资中的应用](https://reader035.vdocuments.pub/reader035/viewer/2022081415/568139e2550346895da198f9/html5/thumbnails/26.jpg)
9.3.3 股票系数的计算2 . 系数及相关参数的计算实例【例 9-21 】
3 .绘制特征线【例 9-22 】以例 9-21 的有关资料为例,绘制反映 A 股
票收益率和市场指数收益率之间关系的特征线。
![Page 27: 第 9 章 Excel 在证券投资中的应用](https://reader035.vdocuments.pub/reader035/viewer/2022081415/568139e2550346895da198f9/html5/thumbnails/27.jpg)
9.4 从 Internet 获取证券市场或上市公司财务数据9.4.1 导入 Web 数据9.4.2 导入 PDF 文件格式的财务报告数据
![Page 28: 第 9 章 Excel 在证券投资中的应用](https://reader035.vdocuments.pub/reader035/viewer/2022081415/568139e2550346895da198f9/html5/thumbnails/28.jpg)
9.4.1 导入 Web 数据1 .浏览 Web 页
【视图】 【工具栏】 【 Web 】 2 .创建 Web 查询
【数据】 【导入外部数据】 【新建 Web 查询】3 .保存 Web 查询
在【新建 Web 查询】对话框中单击【保存查询】按钮4 .打开保存过的 Web 查询
【数据】 【导入外部数据】 【导入数据】命令,打开【选取数据源】对话框,在【查找范围】下拉列表框中选择要连接的数据源。
![Page 29: 第 9 章 Excel 在证券投资中的应用](https://reader035.vdocuments.pub/reader035/viewer/2022081415/568139e2550346895da198f9/html5/thumbnails/29.jpg)
9.4.2 导入 PDF 文件格式的财务报告数据【例 9-23 】
![Page 30: 第 9 章 Excel 在证券投资中的应用](https://reader035.vdocuments.pub/reader035/viewer/2022081415/568139e2550346895da198f9/html5/thumbnails/30.jpg)
9.4.2 导入 PDF 文件格式的财务报告数据【例 9-23 】