Тёмный
Kevin Mooney
Kevin Mooney
Kevin Mooney
Подписаться
2d Interpolation in Python
0:40
3 месяца назад
Calculation of the Hurst Exponent
8:36
11 месяцев назад
Implementing Cubic Splines
12:33
Год назад
Pricing of Futures Options
9:01
2 года назад
Answer to a Viewer Question
8:01
2 года назад
Maximum Likelihood Estimation (Part 1)
16:27
3 года назад
What is a Pairs Trade?
11:38
3 года назад
Taylor Series and Option Greeks
15:29
3 года назад
Комментарии
@NurbolBekbossin
@NurbolBekbossin 21 день назад
Have you tried doing the sparse matrix method of this problem ? Couldn't find it on your channel
@kpmooney
@kpmooney 20 дней назад
Not in the channel. There is a recent video on sparse matrices and Jacibians for the 1d case though.
@NurbolBekbossin
@NurbolBekbossin 21 день назад
I over coded my simple 2D homogeneous diffusion model with one injector and producer wells using insane amount of for loops. Where was this when I was struggling :D
@baijuthomas3716
@baijuthomas3716 21 день назад
Great Video. Is it possible to also discuss how the greeks and the PnL are calculated intra-day . is this a approximation instead of a recalculation as calculating as eaxh market data ticks come in can be system intense so wondering what techniques are used intra-day.
@deepankarsachdeva8589
@deepankarsachdeva8589 29 дней назад
Hi. can you share the notebooks?
@kpmooney
@kpmooney 13 часов назад
The notebook is at: ru-vid.com?event=video_description&redir_token=QUFFLUhqbndQblgtTFJUNV9vYl92SWg5X0JhUEFQa2RzUXxBQ3Jtc0tsWDM1LTJIckZuVkRvZlJiNm0zQldFYkNLRktUbW5QRXhPOHJ6WGtNUkRYaGxjU1dKWGszUUpTUTZkUWlWdGpicU44RzFVNnJ3bVM2Tnl1dlhMX1BWaFVvNVhaSDI3eDVPVERxZGktTmx3bHNkN2owTQ&q=https%3A%2F%2Fgithub.com%2Fkpmooney%2Fnumerical_methods_youtube%2Fblob%2Fmaster%2Fbinomial_model%2FBinomial%2520Model.ipynb&v=W_f3UL8xHDw
@khaled-dz8357
@khaled-dz8357 Месяц назад
Thank you
@amolgupta8894
@amolgupta8894 2 месяца назад
please share the the title of the book
@kpmooney
@kpmooney 2 месяца назад
Optimal Mean Reversion Trading: Mathematical Analysis And Practical Applications by Tim Siu-tang Leung, Xin Li.
@ek_minute_
@ek_minute_ 2 месяца назад
That's real nice explanation, but I realized that this is working for any guess of initial slope, is it the equation or any kind of flaw in shooting method? If you're there, a reply would greatly help. thanks
@kpmooney
@kpmooney 2 месяца назад
I am not 100% sure what you mean. The shooting method general requires you know something about the solution you are looking for.
@mohamedkane8820
@mohamedkane8820 2 месяца назад
Great stuff Kevin
@renatoamadori4125
@renatoamadori4125 2 месяца назад
Discretization by the method of lines, There are 2 books (by Schiesser) about it: "The Numerical Method of Lines"; and "Adaptive Method of Lines"
@dineshjoshi8238
@dineshjoshi8238 2 месяца назад
Why vol value take 0.5 plz explan?
@kpmooney
@kpmooney 2 месяца назад
The algorithm needs a number to start. 0.5 is just an initial guess. The code the adjusts the guess until it converges to the correct answer.
@dineshjoshi8238
@dineshjoshi8238 2 месяца назад
Why volatility consider 0.5 plz explain?
@kpmooney
@kpmooney 13 часов назад
It needs an initial guess to start the calculation. 0.5 was just the value I chose. In principle, it doesn't matter, though the algorithm works better if the first guess to close to the real value.
@ampiciline
@ampiciline 2 месяца назад
I am a pharmacist and I feel so stupid compared to the knowledge that you have shown here . Pharmacy school was sooooooo much easier than what you have done here .
@fizixx
@fizixx 3 месяца назад
😎
@myescape607
@myescape607 3 месяца назад
lets goooooo
@Hawiyah_galery71532
@Hawiyah_galery71532 4 месяца назад
Where the source?
@kpmooney
@kpmooney 4 месяца назад
The link to the source code is in the video description.
@visunashokkumar1782
@visunashokkumar1782 5 месяцев назад
Gold mine
@jasonerlenbeck9043
@jasonerlenbeck9043 5 месяцев назад
Thanks!
@prathameshsirmalla8324
@prathameshsirmalla8324 5 месяцев назад
This video is very helpful. Thank you!
@Sakhipath
@Sakhipath 5 месяцев назад
can you send link of the video in which you have explained 1 D diffusion problem?
@kpmooney
@kpmooney 5 месяцев назад
ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-qo-WzsVnXGE.htmlsi=5zZu78-z_jVBLbjY
@kanishs3452
@kanishs3452 5 месяцев назад
Hi Kevin, Thanks for the explanation that's great. I have done a customized version of bisection in my code, in which I will be setting the low to 0 and high to 40 assuming that IV lies around the range of VIX value (maybe 25) if the method exceeds the lower limit (0) I will return 0 and if exceeds upper limit then I will return upper limit (40)
@rcytpge
@rcytpge 6 месяцев назад
Let him cook
@mixaqi2122
@mixaqi2122 6 месяцев назад
how can we handle boundary conditiions like for example x(0) = x(2pi), x'(0) = x'(2pi)?
@srkjain2000
@srkjain2000 6 месяцев назад
Thanks ! can you please add vega also ?
@kpmooney
@kpmooney 6 месяцев назад
vega = K*exp(-r*t)*phi(d_2) & sqrt(t) where phi is the normal density function. It's covered in a video on option greeks.
@optired5550
@optired5550 6 месяцев назад
Hi Kevin, can the calculation be done on a Google Spreadsheet too?
@kpmooney
@kpmooney 6 месяцев назад
Yes, pretty easily.
@artbag4502
@artbag4502 7 месяцев назад
Hey great video! There is a single thing that doesn't quite add up for me, and that is the np.sqrt of the standard deviations in the code, but the relationship actually talked about the variance, so shouldn't we really take the square instead?
@kpmooney
@kpmooney 7 месяцев назад
You're right in that it is a very clumsy way to do it. You can drop the sqrt, and replace std with var. the slope would then be 2*H so instead of multiplying by two in the return statement, you'd have to divide by two. It was written clumsily unless there is something I am missing.
@hernanmadariaga480
@hernanmadariaga480 7 месяцев назад
Great stuff! Very informative, precise and simple. Just what I was looking for. Keep up the good work!
@aadityasinha8184
@aadityasinha8184 7 месяцев назад
Hi Kevin, I am looking for help. I am doing a project for fractal analysis using Hurst Coefficient. Can we connect for the same?
@kpmooney
@kpmooney 7 месяцев назад
I an not sure how I can help you. Beyond this simple way of calculating it, I am not knowledgeable on this topic.
@GingerAle-j8q
@GingerAle-j8q Месяц назад
Hello @aadityasinha. We have the same project. Can we connect?
@kirbyfpp1080
@kirbyfpp1080 8 месяцев назад
Hi, very interesting video. I am trying to do a similar fit with data of cyclic voltamperometries in fuel cells, however I have tried to use the assimulo package with RungeKutta4 but when I print my results I just get the initial value repeated over the whole array of results. Would you recommend using another method of assimulo package of Implicit type or try to change the parameters of the method (for example the step size, time of simulation, etc.) I hope you can help me with this, thank you a lot .
@kpmooney
@kpmooney 7 месяцев назад
It's hard to say if another solver would do a better job without seeing and playing with the code. Can you integrate the system with some parameters you know are close to the correct values? Are the parameters being fitted scaled so they are roughly the same order of magnitude? Are any parameters in an exponential function and are causing the system to explode to infinity or move wildly when adjusted? Those are some places to start looking.
@sachidanandsadhguru3703
@sachidanandsadhguru3703 8 месяцев назад
Hi Kevin, you must have downloaded Close Price for 300 days data of some stock like Apple and shown. Even Data can be easily available in Google sheets using GOOGLEFINANCE function. I would love if you would use Google sheets and shown from actual past 300 Close price as to what is Probability of Apple Stock's price going up by 20% in coming year.
@mathoph26
@mathoph26 8 месяцев назад
Very didactical, thanks sir
@bryanleekw123
@bryanleekw123 8 месяцев назад
Thanks! Kevin~~ really appreciate it
@amarnagrare7270
@amarnagrare7270 8 месяцев назад
Sir pls tell to me the value of P which I have to follow in theta of Put option.
@kpmooney
@kpmooney 8 месяцев назад
In the Python code? It is just a flag to tell the code to use the formula for a put.
@wbotti
@wbotti 9 месяцев назад
Fantastic
@lapapanitel.7995
@lapapanitel.7995 9 месяцев назад
Hi how can we get the notebook?
@kpmooney
@kpmooney 9 месяцев назад
There's a link in the description to the notebook on Github.
@freepluralism6652
@freepluralism6652 9 месяцев назад
Happy new year! Wanted to say thank you for all the videos. Really impressive stuff
@franciscoxaviergonzalezrom4648
@franciscoxaviergonzalezrom4648 10 месяцев назад
Thank you!
@tvryoda6699
@tvryoda6699 10 месяцев назад
does the initial guess for the implied volatility matter? would it change the result for the final volatility?
@kpmooney
@kpmooney 10 месяцев назад
In principle, no, but in reality poor guesses can cause either poor performance or lack of convergence. All choices of initial values will give a slightly different result, but the difference is small since we set the tolerance.
@tvryoda6699
@tvryoda6699 10 месяцев назад
I see thank you@@kpmooney
@GeorgVeile
@GeorgVeile 10 месяцев назад
and your video just solved my problem. Thank you very much!
@gouki1001
@gouki1001 11 месяцев назад
You said that this is a "computationally inefficient" way to do this. Do you have a decent/standard way to find the dollar value of the weights?
@AI_BotBuilder
@AI_BotBuilder 11 месяцев назад
I was the once who asked! Thankyou so much! Great to see you here again! Looking forward to more videos
@fizixx
@fizixx 11 месяцев назад
👍
@xthesayuri5756
@xthesayuri5756 11 месяцев назад
Great you are back. Also, nice haircut, looks clean.
@optionsunleashed6486
@optionsunleashed6486 11 месяцев назад
This is awesome, I'm finding that option APIs which return greeks won't do this calculation for you and we probably dont want it anyway. Question: can you use the underlying beta value if you downloaded it as opposed to calculating it? I'm thinking they would be similar enough. Also do you use the fast beta calc or the standard one in the platform? thanks - great video! It took me about 3 years to figure out that I needed a beta weighted portfolio! Esp with UVXY and other inverse ETFS!
@kpmooney
@kpmooney 11 месяцев назад
Yes, plugging in a downloaded beta should work.
@holyshit922
@holyshit922 11 месяцев назад
I played with them three ways 1) using recurrence relation 2) using ordinary differential equation 3) by orthogonalisation of basis {1,x,x^2,...,x^n} with inner product
@zwitter689
@zwitter689 11 месяцев назад
In the middle it seemed to jumpa around alot. I tried to replicate what you've done but my SPX plots look nothing like yours
@IStillHaveDialUp
@IStillHaveDialUp Год назад
This channel pops up every time I’m searching for useful info. Great work!
@DeviantFox
@DeviantFox Год назад
It's been awhile since you've posted a new video. I'd love for you to continue your content. It's great. I tried to check for other socials to make the same comment but I didn't see any. Hope you come back and provide more future content
@kpmooney
@kpmooney Год назад
Mainly no time these days. That, and I have already covered most of the low-hanging fruit that I can do with fairly minimal prep.
@DeviantFox
@DeviantFox Год назад
@@kpmooneyYou've done a good amount of IV. What about IV for the entire option chain? You can then show term structure. material prep from the Vix White Paper. I love watching and sharing the videos as an engineer who is in finance now you bridge both my passions so well haha.
@PaytonWoods-m2l
@PaytonWoods-m2l Год назад
You're the GOAT! Really appreciate this, instantly subbed
@erikanderson1402
@erikanderson1402 Год назад
I tried changing the boundary conditions and I don’t see anything changing in the output. Am I doing something wrong?
@kpmooney
@kpmooney Год назад
Where are you handling the boundary conditions. They should be set in the function equations.
@erikanderson1402
@erikanderson1402 Год назад
I do the 'zero' thing all the time...