Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:11,240 --> 00:00:17,660
However, and welcoming this new video in this video, we're going to create a backtesting function
2
00:00:18,050 --> 00:00:20,450
to apply it in the next.
3
00:00:24,950 --> 00:00:27,050
Hi, everyone, and welcome in this new video.
4
00:00:27,350 --> 00:00:35,930
In this video, rolling to create a backtesting function to a plate in the next chapter, we are not
5
00:00:35,930 --> 00:00:38,030
going to cut this function together.
6
00:00:38,390 --> 00:00:38,780
Why?
7
00:00:39,260 --> 00:00:45,740
Simply because it is exactly all the code that we have created in this chapter.
8
00:00:46,340 --> 00:00:47,210
So here.
9
00:00:50,030 --> 00:00:58,910
We have compute the drawdown, we have concatenate the salary and the S&P 500, and then we just have
10
00:00:59,060 --> 00:01:09,830
to plot the cumulative return of the S&P 500 and the regional strategy and to plot the drawdown here,
11
00:01:11,300 --> 00:01:21,620
then we need to compute the indicator of the volcano beta alpha exit seven and we can display using
12
00:01:21,620 --> 00:01:22,790
the print function.
13
00:01:23,360 --> 00:01:33,980
So now if I take the Google stock price return as the south as you were, don't we just have to apply
14
00:01:33,980 --> 00:01:38,290
the Baptist function and then to put the region of growth strategy.
15
00:01:41,530 --> 00:01:48,280
And then we can see that we had the same sortino ratio, Beta Alpha XA2.
16
00:01:48,790 --> 00:01:54,070
I just want to warn you about a little update here.
17
00:01:54,640 --> 00:01:58,410
We need to put daily ritual into.
18
00:02:00,150 --> 00:02:14,820
Or backtesting function because we multiply it always by the 252 days on per year.
19
00:02:15,420 --> 00:02:25,200
So for example, if you put monthly data, you need to put 12 here because there are 12 month into one
20
00:02:25,200 --> 00:02:25,570
year.
21
00:02:26,010 --> 00:02:34,170
So I think that it's better if in the next video, I will show you how to change it very easily.
2128
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.