I do not understand how the returns are calculated
Mostra commenti meno recenti
Good morning everyone
I can not understand how they are calculated returns in this part of the code. r4 is the total return vector
series = prices
title(['Final Return = ',num2str(sum(r4),3),' (',num2str(sum(r4)/mean(series2(1,:))*100,3),'%)'])
specifically I do not understand what is the percentage
(',num2str(sum(r4)/mean(series2(1,:))*100,3),'%)'])
thank you so much for your time and cooperation
regards
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Financial Toolbox in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!