Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Financial Management For Nonprofit Human Service Organizations

Authors: Raymond Sanchez Mayers

2nd Edition

0398075131, 9780398075132

More Books

Students also viewed these Finance questions

Question

4. Explain how to price managerial and professional jobs.

Answered: 1 week ago