Question: In-class assignment for Programming in Finance Part 1 Libraries needed: quantmod, Performance Analytics, fBasics. Use close prices in all calculations. 1. Calculate simple and log-returns

 In-class assignment for Programming in Finance Part 1 Libraries needed: quantmod,

In-class assignment for Programming in Finance Part 1 Libraries needed: quantmod, Performance Analytics, fBasics. Use close prices in all calculations. 1. Calculate simple and log-returns on stock close prices. Fill in the sentences below (put a number or ticker). Round the results to 1 bp (base point = 0.01 pp) if necessary: a. The most number of positive returns ("bull weeks") among stocks is observed for (ticker) and the number of "bull weeks" is (an integer number). (2) b. Average simple return in weekly terms on AAL for the sample period is ......... %. (2) The biggest total market risk is observed for ......... (ticker). Standard deviation of logarithmic returns is ......... pp weekly, which in annual terms (50 weeks) is ........ pp. (round results to 1 bp) (3) d. Weekly log-returns on stocks ......... (ticker) and ......... (ticker) are the most leptokurtic. (2) Upload the Word/pdf file with all the lines of codes you used for these calculations. (5) C. In-class assignment for Programming in Finance Part 1 Libraries needed: quantmod, Performance Analytics, fBasics. Use close prices in all calculations. 1. Calculate simple and log-returns on stock close prices. Fill in the sentences below (put a number or ticker). Round the results to 1 bp (base point = 0.01 pp) if necessary: a. The most number of positive returns ("bull weeks") among stocks is observed for (ticker) and the number of "bull weeks" is (an integer number). (2) b. Average simple return in weekly terms on AAL for the sample period is ......... %. (2) The biggest total market risk is observed for ......... (ticker). Standard deviation of logarithmic returns is ......... pp weekly, which in annual terms (50 weeks) is ........ pp. (round results to 1 bp) (3) d. Weekly log-returns on stocks ......... (ticker) and ......... (ticker) are the most leptokurtic. (2) Upload the Word/pdf file with all the lines of codes you used for these calculations. (5) C

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Finance Questions!