All language subtitles for 5. Drawdown function creation

af Afrikaans
ak Akan
sq Albanian
am Amharic
ar Arabic
hy Armenian
az Azerbaijani
eu Basque
be Belarusian
bem Bemba
bn Bengali
bh Bihari
bs Bosnian
br Breton
bg Bulgarian
km Cambodian
ca Catalan
ceb Cebuano
chr Cherokee
ny Chichewa
zh-CN Chinese (Simplified)
zh-TW Chinese (Traditional)
co Corsican
hr Croatian
cs Czech
da Danish
nl Dutch
en English
eo Esperanto
et Estonian
ee Ewe
fo Faroese
tl Filipino
fi Finnish
fy Frisian
gaa Ga
gl Galician
ka Georgian
de German
el Greek
gn Guarani
gu Gujarati
ht Haitian Creole
ha Hausa
haw Hawaiian
iw Hebrew
hi Hindi
hmn Hmong
hu Hungarian
is Icelandic
ig Igbo
id Indonesian
ia Interlingua
ga Irish
it Italian
ja Japanese
jw Javanese
kn Kannada
kk Kazakh
rw Kinyarwanda
rn Kirundi
kg Kongo
ko Korean
kri Krio (Sierra Leone)
ku Kurdish
ckb Kurdish (Soranรฎ)
ky Kyrgyz
lo Laothian
la Latin
lv Latvian
ln Lingala
lt Lithuanian
loz Lozi
lg Luganda
ach Luo
lb Luxembourgish
mk Macedonian
mg Malagasy
ms Malay
ml Malayalam
mt Maltese
mi Maori
mr Marathi
mfe Mauritian Creole
mo Moldavian
mn Mongolian
my Myanmar (Burmese)
sr-ME Montenegrin
ne Nepali
pcm Nigerian Pidgin
nso Northern Sotho
no Norwegian
nn Norwegian (Nynorsk)
oc Occitan
or Oriya
om Oromo
ps Pashto
fa Persian
pl Polish
pt-BR Portuguese (Brazil)
pt Portuguese (Portugal)
pa Punjabi
qu Quechua
ro Romanian
rm Romansh
nyn Runyakitara
ru Russian
sm Samoan
gd Scots Gaelic
sr Serbian
sh Serbo-Croatian
st Sesotho
tn Setswana
crs Seychellois Creole
sn Shona
sd Sindhi
si Sinhalese
sk Slovak
sl Slovenian
so Somali
es Spanish
es-419 Spanish (Latin American)
su Sundanese
sw Swahili
sv Swedish
tg Tajik
ta Tamil
tt Tatar
te Telugu
th Thai
ti Tigrinya
to Tonga
lua Tshiluba
tum Tumbuka
tr Turkish
tk Turkmen
tw Twi
ug Uighur
uk Ukrainian
ur Urdu
uz Uzbek
vi Vietnamese
cy Welsh
wo Wolof
xh Xhosa
yi Yiddish
yo Yoruba
zu Zulu

Original subtitles

I a run and welcome in this new with you.

In this video, we're going to compute the drawdown of our strategy.

The doorman is a very interesting metric because it will allow us to understand the maximum drawdown,

which is the maximum loss of best strategy over a period of time.

And this is allow you to understand if the strategy is risky according to your level of aversion.

So let's get started by creating a function which returns the drawdown.

First, we need to compute the cumulative return.

Of all series, so it can be computer using the cumulative system like what we're going to do actually

or using the cumulative product.

So then we need to compute their running Max.

Jeremy Max is very easy, for example, if you have this vector.

And you apply that running max function.

You will have this

vector in retail.

It means that.

For example, here the MAX number is one.

So the cumulative return is one at this index.

Then we pass to a maximum value of three.

Then we go into a maximum value of five.

But then we decrease the value.

We stay at a maximum value of five.

This five will be replaced only if in this picture there is a no higher than five.

So to do it, we are going to use the maximum accumulate function from Mumbai to.

And now we can compute the drawdown, which is.

The cumulative return dividing by the run in Max minus one.

And now we can use this function to create or draw down.

So, for example.

If I put region Siri into the function and a print this.

Here we can see that we have a little issue in our code.

Which is here.

We want maximum and not running.

Sorry.

So now we can see the drawdown of our strategy in the next video, we're going to see how to create

a graph to highlight much better the drawdown of the strategy and how to compute the maximum drawdown

of a strategy.

Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.