Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I am struggling to calculate the weekly returns, I need a functioning that will be able to calculate this in excel. Example The date is

I am struggling to calculate the weekly returns, I need a functioning that will be able to calculate this in excel.

Example

The date is (dd/mm/yy) format and "," is decimal separator. This would be done by using this formula: (Price for last weekday - Price for first weekday)/(Price for first weekday). For example the return for the first week is (2,7391 - 2,7587)/2,7587 = -0,007 and for the second is (2,7619 - 2,7288)/2,7288 = 0,012.

But I am struggling to come up a with a function in excel because I am working with a very big data, so a function will do

Or perhaps if also you can assist with python code to calculate the weekly returns

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

Managerial Accounting

Authors: Kurt Heisinger, Joe Ben Hoyle

1st Edition

1453345299, 9781453345290

More Books

Students also viewed these Accounting questions