Python for Finance: Historical Volatility & Risk-Return Ratios

  Рет қаралды 13,495

QuantPy

QuantPy

Күн бұрын

Пікірлер: 22
@marjanulislam4553
@marjanulislam4553 3 жыл бұрын
One of the great Chanel I discovered for Quant. Clearly explained
@anuragbisht1200
@anuragbisht1200 2 жыл бұрын
great work ! this channel is valuable than gold+platinum combined.
@amanmanamanman
@amanmanamanman Жыл бұрын
I think you need to multiply by np.sqrt(TRADING_DAYS) while computing the sharpe ratio and sortino ratio because volatility for a day = volatility for the rolling window/sqrt(trading days)
@davidlia1102
@davidlia1102 2 жыл бұрын
Well explained!
@QuantApplicantMattKulis
@QuantApplicantMattKulis Жыл бұрын
great stuff thanks
@camkrik5812
@camkrik5812 2 жыл бұрын
Great channel! Much appreciated. Just wondering about your way of calculating log returns. The formula I know is log(pct_change+1). Your calcs don't seem to tally to the cumulative return with np.exp(log_returns['CBA.AX'].sum())-1
@konturgestalter
@konturgestalter 3 жыл бұрын
nice one
@QuantPy
@QuantPy 3 жыл бұрын
Thanks, do you have any requests for future videos?
@konturgestalter
@konturgestalter 3 жыл бұрын
@@QuantPy definitely the direction you have now. many only focus on basics like what is vola. I ld love to see more indepth quant analysis of portfolios for sure
@srcheekychappy
@srcheekychappy 3 жыл бұрын
I only wish I had your skills.
@_el_yeyo
@_el_yeyo 2 жыл бұрын
Is there a specific place where you would recommend learning Python? Books or courses?
@QuantPy
@QuantPy 2 жыл бұрын
Set yourself a project, and then I recommend using KZbin / googling / stack exchange to solve all your problems. Best way to get going is to set yourself a goal of building something. Good luck
@user-hk1wd1uv9p
@user-hk1wd1uv9p 2 жыл бұрын
Hi, I am in Brisbane. I remembered that you said you did your MFM in UQ. I am not sure whether you are in Brisbane, lol! I am currently studying PhD in finance at UQ focusing on quant finance research! What a coincidence!
@avinashdas8272
@avinashdas8272 3 жыл бұрын
Can I ask a question - the way your initial dataset was structured, it was easy to calculate log returns and then calculate the std dev for each column since your stocks are in different columns. What if all stocks were in one column with the date index repeating from start time to end time for each stock? And also if the number of days for which you have data for each stock isn't always the same - implying you can't use a rolling window to calculate std dev? I actually do have such a dataset and unable to handle that aspect of it. I tried using pivot() to stack the unique tickers into different columns, but i'm getting an error. Any help would be appreciated
@aarondelarosa3146
@aarondelarosa3146 Жыл бұрын
What's the best platform to run python? What platform are you using?
@QuantApplicantMattKulis
@QuantApplicantMattKulis Жыл бұрын
jupyter and vs code... replit too all great places to begin
@dennissawyers9916
@dennissawyers9916 2 жыл бұрын
Is this relevant to options as well to stocks?
@alexanderfiner7552
@alexanderfiner7552 2 жыл бұрын
is .AX only for Australian stock? in yahoo finance
@QuantPy
@QuantPy 2 жыл бұрын
Yes, you'll have to go to Yahoo Finance and use the serach funciton to find how tickers are represented in the market you are interested in!
@DeejayGabin
@DeejayGabin Жыл бұрын
Why did you divide your risk-free rate by 252? Is it for annualized rate? I mean, for example, US treasury bond rates or T-Bill are already annualized
@sharangkulkarni1759
@sharangkulkarni1759 Жыл бұрын
they call me chicken little, they call me bubble boy, I go long on stock which shows highest positive values on anti sortini, this is my sortini but for positive volitily, I buy them i see them down, its just like climbing steadily over mountain. ahahaha!
@sharangkulkarni1759
@sharangkulkarni1759 Жыл бұрын
they call me chicken little , they call be bubble buster, i short sell the stock which shows highest negative values in sortino all the time, i short them instantly i see them up. its just means falling like slow river, slow waterfall ahahahaha !!!!
Portfolio Beta Weighting with Python
37:22
QuantPy
Рет қаралды 8 М.
Python for Finance: Are stock returns normally distributed?
24:57
Touching Act of Kindness Brings Hope to the Homeless #shorts
00:18
Fabiosa Best Lifehacks
Рет қаралды 18 МЛН
POV: Your kids ask to play the claw machine
00:20
Hungry FAM
Рет қаралды 9 МЛН
Whoa
01:00
Justin Flom
Рет қаралды 56 МЛН
هذه الحلوى قد تقتلني 😱🍬
00:22
Cool Tool SHORTS Arabic
Рет қаралды 94 МЛН
Historical Value at Risk (VaR) with Python
23:03
QuantPy
Рет қаралды 19 М.
Implied Volatility & Standard Deviation Explained
16:48
tastylive
Рет қаралды 130 М.
7 Python Data Visualization Libraries in 15 minutes
15:03
Rob Mulla
Рет қаралды 77 М.
The Sharpe Ratio
5:47
Edspira
Рет қаралды 136 М.
FRM: How to calculate (simple) historical volatlity
7:11
Bionic Turtle
Рет қаралды 105 М.
Option Implied Volatility using Newton's Method in Python
14:05
Portfolio Optimization in Python | Calculating the Sharpe Ratio
27:41
Stop making investment decisions using this metric!
19:47
QuantPy
Рет қаралды 8 М.
Touching Act of Kindness Brings Hope to the Homeless #shorts
00:18
Fabiosa Best Lifehacks
Рет қаралды 18 МЛН