All language subtitles for 5. Drawdown function creation

af Afrikaans
sq Albanian
am Amharic
ar Arabic
hy Armenian
az Azerbaijani
eu Basque
be Belarusian
bn Bengali
bs Bosnian
bg Bulgarian
ca Catalan
ceb Cebuano
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
tl Filipino
fi Finnish
fr French Download
fy Frisian
gl Galician
ka Georgian
de German
el Greek
gu Gujarati
ht Haitian Creole
ha Hausa
haw Hawaiian
iw Hebrew
hi Hindi
hmn Hmong
hu Hungarian
is Icelandic
ig Igbo
id Indonesian
ga Irish
it Italian
ja Japanese
jw Javanese
kn Kannada
kk Kazakh
km Khmer
ko Korean
ku Kurdish (Kurmanji)
ky Kyrgyz
lo Lao
la Latin
lv Latvian
lt Lithuanian
lb Luxembourgish
mk Macedonian
mg Malagasy
ms Malay
ml Malayalam
mt Maltese
mi Maori
mr Marathi
mn Mongolian
my Myanmar (Burmese)
ne Nepali
no Norwegian
ps Pashto
fa Persian
pl Polish
pt Portuguese
pa Punjabi
ro Romanian
ru Russian
sm Samoan
gd Scots Gaelic
sr Serbian
st Sesotho
sn Shona
sd Sindhi
si Sinhala
sk Slovak
sl Slovenian
so Somali
es Spanish
su Sundanese
sw Swahili
sv Swedish
tg Tajik
ta Tamil
te Telugu
th Thai
tr Turkish
uk Ukrainian
ur Urdu
uz Uzbek
vi Vietnamese
cy Welsh
xh Xhosa
yi Yiddish
yo Yoruba
zu Zulu
or Odia (Oriya)
rw Kinyarwanda
tk Turkmen
tt Tatar
ug Uyghur
Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated: 1 00:00:11,480 --> 00:00:13,490 I a run and welcome in this new with you. 2 00:00:13,880 --> 00:00:18,230 In this video, we're going to compute the drawdown of our strategy. 3 00:00:18,860 --> 00:00:26,870 The doorman is a very interesting metric because it will allow us to understand the maximum drawdown, 4 00:00:26,990 --> 00:00:34,100 which is the maximum loss of best strategy over a period of time. 5 00:00:34,580 --> 00:00:41,660 And this is allow you to understand if the strategy is risky according to your level of aversion. 6 00:00:42,650 --> 00:00:48,080 So let's get started by creating a function which returns the drawdown. 7 00:00:51,680 --> 00:00:56,210 First, we need to compute the cumulative return. 8 00:01:00,800 --> 00:01:10,550 Of all series, so it can be computer using the cumulative system like what we're going to do actually 9 00:01:11,240 --> 00:01:14,090 or using the cumulative product. 10 00:01:18,680 --> 00:01:22,390 So then we need to compute their running Max. 11 00:01:22,820 --> 00:01:28,280 Jeremy Max is very easy, for example, if you have this vector. 12 00:01:33,960 --> 00:01:36,360 And you apply that running max function. 13 00:01:36,630 --> 00:01:38,070 You will have this 14 00:01:40,710 --> 00:01:41,940 vector in retail. 15 00:01:42,210 --> 00:01:43,050 It means that. 16 00:01:46,630 --> 00:01:49,300 For example, here the MAX number is one. 17 00:01:49,420 --> 00:01:53,260 So the cumulative return is one at this index. 18 00:01:53,800 --> 00:01:59,590 Then we pass to a maximum value of three. 19 00:02:00,850 --> 00:02:03,910 Then we go into a maximum value of five. 20 00:02:04,330 --> 00:02:08,410 But then we decrease the value. 21 00:02:08,950 --> 00:02:12,430 We stay at a maximum value of five. 22 00:02:13,000 --> 00:02:25,600 This five will be replaced only if in this picture there is a no higher than five. 23 00:02:31,460 --> 00:02:40,580 So to do it, we are going to use the maximum accumulate function from Mumbai to. 24 00:02:48,660 --> 00:02:51,990 And now we can compute the drawdown, which is. 25 00:02:55,520 --> 00:03:02,480 The cumulative return dividing by the run in Max minus one. 26 00:03:20,690 --> 00:03:27,590 And now we can use this function to create or draw down. 27 00:03:27,770 --> 00:03:30,200 So, for example. 28 00:03:36,260 --> 00:03:44,270 If I put region Siri into the function and a print this. 29 00:03:49,170 --> 00:03:53,460 Here we can see that we have a little issue in our code. 30 00:03:56,770 --> 00:03:57,940 Which is here. 31 00:03:58,540 --> 00:04:01,070 We want maximum and not running. 32 00:04:01,090 --> 00:04:01,480 Sorry. 33 00:04:04,080 --> 00:04:15,030 So now we can see the drawdown of our strategy in the next video, we're going to see how to create 34 00:04:15,030 --> 00:04:22,320 a graph to highlight much better the drawdown of the strategy and how to compute the maximum drawdown 35 00:04:22,350 --> 00:04:23,220 of a strategy. 3122

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