-
Recent Posts
Recent Comments
- 店小二 on 论三座大山
- L on SVI模型拟合
- acnkid on 俄乌战争的回顾及其他
- acnkid on 外卖小哥的收入以及其他
- acnkid on 外卖小哥的收入以及其他
Archives
- June 2024
- April 2024
- January 2024
- October 2023
- September 2023
- August 2023
- June 2023
- May 2023
- February 2023
- January 2023
- October 2022
- September 2022
- July 2022
- June 2022
- May 2022
- April 2022
- March 2022
- February 2022
- December 2021
- October 2021
- September 2021
- August 2021
- June 2021
- May 2021
- April 2021
- January 2021
- December 2020
- September 2020
- August 2020
- May 2020
- April 2020
- May 2019
- March 2019
- February 2019
- January 2019
- September 2018
- July 2018
- May 2018
- April 2018
- December 2017
- November 2017
- August 2017
- July 2017
- May 2017
- April 2017
- March 2017
- February 2017
- January 2017
- December 2016
- September 2016
- August 2016
- July 2016
- June 2016
- March 2016
- January 2016
- October 2015
- July 2015
- May 2015
- November 2014
- August 2014
- July 2014
- March 2014
- February 2014
- October 2013
- September 2013
- August 2013
- July 2013
- June 2013
- May 2013
- March 2013
- January 2013
- December 2012
- September 2012
- August 2012
- July 2012
- June 2012
- May 2012
- April 2012
- March 2012
- February 2012
- January 2012
- December 2011
- November 2011
- October 2011
- September 2011
- August 2011
- July 2011
- June 2011
- May 2011
- April 2011
- March 2011
- February 2011
- January 2011
- December 2010
- November 2010
- October 2010
- September 2010
- August 2010
- June 2010
- May 2010
- October 2009
- July 2009
- May 2009
- March 2009
- February 2009
- January 2009
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
- June 2008
- April 2008
- November 2007
- April 2007
Categories
Meta
Tag Archives: 仿真,债券
金融仿真笔记(3)
先写一段感慨。今天参加一个CFA下面的什么比赛的校内面试,要用口语。自己在读准备的材料的时候,就觉得自己口语实在是太挫了,根本没办法见人,以前还不觉得,自我感觉一般,也不算很屎,今天这方,又让自己大受打击,下定决心要好好练练口语。 记得以前参加欧莱雅的一个比赛的时候,也是要英语交流,当时就觉得自己屎的不行,但后来因为考研,也没怎么去管这件事,今天这个刺激,又让自己痛下决心,不能再失去这个机会了。 刚才还读了下自己准备的材料,读自己是没有太大问题的,但自己能力缺失实在presentation的时候,显然不是读书就行了,关键是要把自己的思想用英文表述出来,在这个方面,自己差了很多,这个按我的理解就是要有一种英文的思维方式,想到的思维元素用英文组织起来,这方面的能力我还是差了不少,而且在这个专业方面的英语能力我也不行,很多专业知识用汉语都说得不顺畅,那还能用英语说好。 最后还是那一句,自己能力不行,要努力,要进步。 书归正传 1.BOLLING(ASSET,SAMPLES,ALPHA,WIDTH),绘制布林线,还有种说法叫压力线,asset就是数据集,simple是计算移动平均的样本数量。 其中如果采用[mav,uband,lband]=BOLLING(ASSET,SAMPLES,ALPHA,WIDTH),可以得到一些列值 2.固定收益的一些列公式 present value:Pv=Pt(1+r%)t future value:Fv=Pt(1+r%)T-t 这里有两个函数:fvfix,pvfix,是求固定期限偿付的远期和现值。 还有变动的,fvvar,pvvar。PVVAR 变动现金流的现值。.PV = pvvar(CF, RATE, DF)。CF是现金流向量,包括为负的初始值。DF可以指定现金流的发生日期。PV 就是这一系列现金流的净现值了。FV就是类似的东西了,就是多了可以指定现金流发生。 IRR 内部收益率:R = IRR(CF),r = irr([-100000 10000 20000 30000 40000 50000]);xirr就是计算变动现金流流发生日期下的内部收益率了。注意这里的第一个值也是负值。 3有个函数直接求债券价格和收益率, [Price, AccruedInt] = bndprice(Yield, CouponRate, Settle, Maturity); Yield … Continue reading