4.7 Sharpe Ratio - YouTube

Channel: unknown

[0]
In this lecture we're going to be talking about this operation.
[3]
So what does the sharp rise in the definition here for a sharp ratio.
[6]
Straight from Wikipedia.
[8]
Is that in finance.
[10]
The Sharpe ratio is a way to examine the performance of an investment by adjusting for its risk.
[16]
The ratio measures the excess return per unit of deviation an investment asset or trading strategy typically
[23]
referred to as risk.
[24]
Named after William F. sharp so the Sharpe Ratio basically permits us to know how much money we're making.
[33]
What is the returns that we're making for each unit of risk that we've taken.
[37]
Because like we've said you don't the objective here is not only look at returns but look at return
[43]
versus risk.
[44]
It's very important.
[45]
How much risk worth taking.
[47]
Now initially when the Sharpe ratio was I guess invented and used was to compare different mutual funds.
[53]
You had a bunch of funds.
[54]
Let's say you had one fund let's call it fund a.
[58]
And then you had another fund fund.
[61]
B that gave you a different performance for the year.
[67]
So as an investor you don't always know which fund you should invest in.
[73]
Right.
[74]
For example let's say the first fund here gave us at the end of the year
[84]
give us maybe I don't know let's say 50 percent return
[91]
rate and then you had to fund B that give us maybe 20 percent return.
[103]
So fund a versus fund B now which portfolio or which fund should you invest in.
[111]
You know if you just look at them like this maybe somebody's going to be like hey I want to invest into
[114]
one that was able to generate 50 percent prefer but the problem here is that this fund took on a lot
[122]
of risk.
[123]
You see all these drops here.
[125]
Imagine this fund had drops of 40 percent rates huge drops.
[132]
Well the problem with a fund like that is if you invest at the wrong time imagine you invested here.
[136]
Well you'd have lost a lot of money.
[138]
Right.
[139]
And the potential for you to invest in dropping a lot is high because it does it is very volatile.
[146]
But this fund for example maybe the drops that it had was were very small so yeah even though it gave
[152]
you less return it was taking on so much less risk that that return is actually amazing compared to
[160]
the risk that it's taking.
[162]
For example imagine imagine this one has a volatility level because this is where volatility comes in
[170]
one to not only look at the the end result but the deviation of the returns throughout time.
[179]
So how volatile are these returns.
[181]
And we already learned what we use for volatility rates.
[186]
We use the standard deviation so imagine that the standard deviation in this fund when we compute it
[193]
it gives us something like let's say 40 percent so the Sharpe ratio is going to be calculated by looking
[201]
at the return divided by the standard deviation.
[207]
So if this one gave us 50 percent return.
[209]
But the standard deviation of the returns is 40 percent.
[212]
Then it gives us a sharper ratio of one point twenty five.
[218]
Now this one imagine the Sharpe ratio here is while the return was 20 percent divided by the standard
[228]
deviation maybe the standard deviation here is only optimal for so 20 divided by four.
[235]
That gives us five a sharp ratio of five.
[237]
What does that mean.
[238]
That means that this fund for every because it's five over one rate we removed the one because it's
[246]
one.
[247]
This This means that this one is giving us five percent return for every unit of risk that it's taking
[254]
every 1 units and this one is giving us one point twenty five percent return for every unit of risk
[259]
that it's taking.
[260]
So this one for the same amount of risk.
[263]
This one is giving us way much more return.
[266]
So this is the one we should invest in right.
[268]
Because we are smart investors trader we look at risk because risk materializes.
[274]
Don't ever forget that that risk materializes.
[277]
People tell you take risks but you have to understand that in trading risks will happen because you're
[283]
trading often.
[285]
So you don't want to take unnecessary risk.
[286]
So this is where you would invest in this.
[290]
This is how people used the Sharpe ratio for mutual funds right.
[294]
They had a bunch of different mutual funds and by looking under Sharpe Ratios they would be able to
[298]
know which in which they would be able to compare funds with one another.
[303]
OK.
[304]
Now where the actual function of the Sharpe ratio they usually remove the risk free rate here but we're
[311]
not going to do that because we're trading and in trading we don't care about the risk free rate is
[314]
so it's so minuscule that it's not worth it.
[317]
But we do it a bit difficult so let's come back here and look at the Excel sheet that we've had before.
[326]
OK.
[327]
We've had this now what I would like to do is actually calculate the sharp ratio for these strategies.
[336]
Right.
[336]
I want to know what the Sharpe ratio is to know which strategy is better.
[339]
Well how would I do that first.
[340]
I have to look at the average daily return average daily return.
[345]
OK well let's check it out.
[348]
Average I can just average these.
[351]
I can already tell that the average is going to be two point one percent because the total return is
[358]
21 percent.
[358]
And we have 10 trades so it's two point one twenty one divided by 10.
[362]
And here the average return is going to be the same thing.
[365]
Now what I want to do is now already I see that destroy strategies give me exact same returns but the
[371]
volatility is not the same.
[373]
We know that this one is way more volatile because of these two the two only different trades are these
[378]
ones where these ones are way more volatile even though that these two trades together minus one plus
[383]
to give us 1 percent and minus twenty one plus twenty two gives us the same thing 1 percent.
[389]
So even though the return is the team there were more volatile more risky.
[393]
So we need to calculate the standard deviation and this when you just use the function standard deviation
[402]
for a sample and we just selects these data points.
[407]
And here we go.
[408]
We have a standard deviation of six point four five percent.
[415]
And here the 10 divisions are obviously going to be higher.
[418]
Here we go almost twelve percent.
[420]
So way higher.
[422]
So now what we want to do is calculate the Sharpe Ratio.
[426]
So the Sharpe ratio is going to be the leader turn divided by standard deviation times since earlier.
[434]
And you know the Sharpe ratio was used to.
[439]
It was used for yearly that you looked at a year's worth of data you looked at the return and the Center
[444]
edition for each year.
[446]
Now since we're looking at daily data what we need to do is annualized those returns.
[451]
Now if you're trading stocks you have to multiply by the square roots and we don't need to get into
[456]
the math the square root of two hundred fifty two because that's number of trading days in a year.
[464]
But since we're trading crypto currencies and true crypto currencies trade every day of the year we
[470]
annualized by multiplying times the square root of 365.
[475]
And here we go.
[475]
We have a sharp ratio here of six point two.
[481]
And here you guys can guess the sharp ratio is going to be less since the standard deviation is bigger
[487]
than the same number divided by something bigger than any of us a smaller number which is three point
[492]
three.
[493]
So I have a sharp ratio that is way better for district.
[500]
That means that this strategy generates for me you know a bigger amount of return for one unit of risk
[508]
than this one does.
[509]
So I would choose this strategy to run because you have to understand that when you're comparing strategies
[517]
OK we're even traders.
[519]
You want to look at the whole picture.
[521]
So for example I've had a bunch of people when they used apply to empty due to trades and some people
[526]
would send me the results will be like hey I made a hundred percent return and the last you know whatever
[531]
few months.
[532]
I'm like Okay well what is your Sharpe ratio.
[535]
I didn't know about it.
[536]
And when somebody doesn't know about sharpish I don't even continue with the conversation because I
[539]
know that they don't understand risk correctly.
[542]
So for each firm that I've ever worked at we always looked at the sharp ratio and because a firm would
[548]
always prefer something like this that something like that because imagine this imagine I think this
[553]
guy if I have two people who who showed me these results for their historical trades 100 percent of
[560]
the time I would choose this guy.
[562]
Why because I can give this guy three times more money or let's say two and a half times more money
[567]
and he would be able to make the same 50 the same amount of money as this guy.
[573]
Right.
[573]
I could just kill him and give him more capital and he would make the same amount of money but his standard
[581]
deviation or his risk would still be lower than this guy who is so volatile.
[587]
So we always look at that professionally in any firm you're going to look at that and it's for a reason.
[593]
So with the Sharpe Ratio you're going to be able to compare different strategies with each other see
[598]
what strategy you should not trying at all which strategy you should put more capital and funding more.
[604]
Which strategies you should just paper trade until they have a good enough Sharpe ratio to be implemented.
[610]
And yes that's it.
[611]
So in the next lecture is going to look at historical trades and how to actually get these numbers for
[615]
yourself from your historical trades.
[617]
So two guys in the next lecture.