I have a question. What would be a formula to calculate the cost of equity and cost of debt when assuming the prrsence of default risk (Merton Model) ?
@muks09514 күн бұрын
sir i would like to thankyou from botem of my heart that you made these videos about greeks .. just today i happned to stumble upon them..and funny part is i was searching to where should i learn these greeks in detail..well i had just the surface in my mind but these are in much detail.. thankyou very much..i did'nt watch properly just yet but i guess these are what i need .
@BrianByrneFinance14 күн бұрын
@@muks095 Glad you some value out of these. Thanks for kind remarks.
@shanksingh761316 күн бұрын
Hi can you 1 more video on Bert
@BrianByrneFinance15 күн бұрын
Plan to revisit Bert again and showcase some R Finance libraries. Excel however will soon be more integrated with python. See announcement from Microsoft support.microsoft.com/en-us/office/get-started-with-python-in-excel-a33fbcbe-065b-41d3-82cf-23d05397f53d and Google Colab (using gspread) may be come a sort of back engine for Googlesheets saturncloud.io/blog/how-to-read-data-from-google-sheets-using-colaboratory-google/ Javascript in googlesheets is not well suited for numerically intensive estimations but coupled with Google Colab googlesheets can become very powerful and I hope to move a bit in that direction i.e. get the most out of googlesheets by using google colab high end mathematical libraries with access to gpu and tpu. That would mean we should be able to fire up a tonne of processing power in the cloud. It also means means that R libraries run on Google Colab can be integrated into googlesheets sites.google.com/view/vinegarhill-datalabs/data-transformation-and-visualization/tidyverse-r#h.yhlp738t1ddy
@shanksingh761315 күн бұрын
@BrianByrneFinance hi manymany thanks for informative reply and bert is not running as i think it's dead
@alvly856016 күн бұрын
Thanks Bryan! Very useful code and videos
@ccuny119 күн бұрын
Much appreciated Brian. I used to to give examples of early intuitions in finance in my courses. Mostly for forwards and futures, though of course I also used Bachelier for options. I never came across De La Vega. Fascinating stuff and as always, thank you for the Python code.
@BrianByrneFinance19 күн бұрын
Thanks for the kind words! It's great to hear that you're incorporating those early financial intuitions into your courses. Bachelier is a classic for options, but De La Vega adds such an interesting historical layer, especially with his insights on speculative behavior. Glad you found the Python code useful-you might also find this short paper from Herve Dumez a palatable read for finance students annales.org/gc/GC-english-language-online-edition/2015/DUMEZ.pdf . Also another historical account of option trading that makes reference to the Dutch www.sfu.ca/~poitras/heinz_%24%24.pdf Confusions of Confusions can be found here archive.org/details/ned-kbn-all-00002508-001/mode/2up best, Brian
@ccuny115 күн бұрын
@@BrianByrneFinance I only taught for a few years part-time. Way retired now but I try to keep in touch and I really love your videos and resources. I am just astounded that you don't have a bigger following on YT: your material is in my opinion the best I have come across on this platform, especially as the additional resources are really generous. I think I once told you in another comment that a good portion of the material is beyond my grasp, but I always learn something useful. So thank you for extra references above. I have already downloaded Confusions of Confusions. I'll have a look at the others. Thank you again Brian.
@quantarrow22 күн бұрын
Don't simply retire from something; have something to retire to. Start saving, keep saving, and stick to investments. Building wealth involves establishing routines, like consistently setting aside funds at regular intervals for smart investments.
@IshrakHossain-rt8is22 күн бұрын
It’s really heartbreaking to see how inflation and recession impact low-income families. The cost of living keeps rising, and many struggle just to meet basic needs, let alone save or invest. It’s a reminder of the importance of finding ways to create financial opportunities. You've helped me a lot sir Robert! Imagine i invested $50,000 and received $190,500 after 14 days
@mfmcintyre22 күн бұрын
Absolutely! Profits are possible, especially now, but complex transactions should be handled by experienced market professionals.
@JasperMaartenHoutman22 күн бұрын
Some persons think inves'tin is all about buying stocks; I think going into the stock market without a good experience is a big risk, that's why I'm lucky to have seen someone like mr Robert L Cox.
@grizbaseball22 күн бұрын
Finding yourself a good broker is as same as finding a good wife, which you go less stress, you get just enough with so much little effort at things
@FannyMontage-xu8id22 күн бұрын
Cox demonstrates an excellent understanding of market trends, making well informed decisions that leads to consistent profit
@vegahedge263522 күн бұрын
Do you work as a Quant? Nice Videos !
@BrianByrneFinance19 күн бұрын
Thanks Vega, In education and building learning tools for professionals in the finance sector. best, Brian
@vinaymanchanda652622 күн бұрын
Can you also show how to use rust to read market feed .
@BrianByrneFinance19 күн бұрын
Thanks for your question! I haven’t broken into using Rust for market feeds yet, but it’s definitely a promising technology I plan to explore in the future. Rust’s speed, memory safety, and strong support for asynchronous programming make it ideal for handling real-time market data. I hope to come up to speed on it soon and share insights as I learn.
@MichaelFlynn022 күн бұрын
can i run google collab from a smart tv
@BrianByrneFinance22 күн бұрын
@@MichaelFlynn0 I believe you can Michael. I have run colab from smart phones. All the processing is in the cloud.
@ranjithramachandran8009Ай бұрын
Very informative. I was wondering if it is possible to further enhance the execution time for the baseline code using JAX. Can that be implemented ? I do understand that it is ideal for large computations (GPU) and may not perform well (can become slow) in comparison to Numpy. JAX with lax.scan for iterative computations like option pricing. However it is questionable if JAX can beat the Numba execution time.
@BrianByrneFinanceАй бұрын
Hi @ranjithramachandran8009, Thank you for the great suggestion! JAX with lax.scan could be an interesting approach for iterative computations like option pricing, especially with GPU acceleration. As you noted, JAX may not always outperform Numba on CPU-bound tasks, but it’s worth testing. I’ll consider exploring this comparison in a future video-thanks again for your thoughtful input! best, Brian
@laurentbouchard144819 күн бұрын
Numba can be set up to use GPUs; you get the speedup benefits if you have to value lots of contracts is my understanding. I'v been running this code with the Intel SVML/fastmath=true Numba parameters and the speed is ridiculously fast. It really is amazing.
@BrianByrneFinance19 күн бұрын
@@laurentbouchard1448 Dear Laurent, Do you have a colab link to that? If so could you share? best, Brian
@timothycheung22832 ай бұрын
Hi Brian, I managed to find the second part of the video. In following the steps in implementing the VBA in excel, after calling up "=Dyn_Trun_HWBL(" and press fx tab, the function argument table failed to show up. Can you help?
@BrianByrneFinance2 ай бұрын
Make sure vba code is in the same excel spreadsheet
@timothycheung22832 ай бұрын
@@BrianByrneFinance I found a way round by inserting the inputing the figures (from stock price to the number of runs) in the bracket of the 'equation' separated by commas. Now I simply have a tabulated format and refer the cells in the 'equation'. Many thanks for the VBA and the series of videos.
@timothycheung22832 ай бұрын
Hi Brian, thank you for your video. However, what happen to the rest of the video as it terminates suddenly during the implementation of the VBA in excel. I am not familiar with VBA so I tried to follow your process. Please guide me to the rest of the video. Many thanks in advance.
@timothycheung22832 ай бұрын
Brian, please ignore the above message as I found the second video
@BrianByrneFinance2 ай бұрын
Second video is on the vinegar hill portal
@aarondelarosa31462 ай бұрын
I need your help. How can you read a file.txt in C++ using Visual Studio 2022?
@aarondelarosa31462 ай бұрын
Hello Brian! Finally! It's about time! Where were you?
@BrianByrneFinance2 ай бұрын
More to come!
@aarondelarosa31462 ай бұрын
@@BrianByrneFinance I can't wait!
@TcePhone2 ай бұрын
Thank You! I hope you continue the option series using the Colab, Maybe something on valuing and selecting options based on fundamental and technical criteria would be cool.
@BrianByrneFinance2 ай бұрын
Great suggestion!
@abdullahaminkhan51103 ай бұрын
Sir, I am unable to access to the book and related online resources. Could you please suggest me how to access.
Thank you. It is insane this video doesn't have more likes.
@BrianByrneFinance2 ай бұрын
Glad you liked it!
@guyredaresАй бұрын
are you trading calendars?
@aarondelarosa31463 ай бұрын
Hi Brian. I can't run the C++ code for Bjerksund and Stensland.
@BrianByrneFinance2 ай бұрын
What happened?
@aarondelarosa31463 ай бұрын
Hello Brian. I need your help. I can't run Bjerksund and Stensland Approximation for American Option in C++.
@user-cr3vw7gj2i4 ай бұрын
Great video, and awesome website. Thank you from 3 years in the future.
@BrianByrneFinance2 ай бұрын
Glad you enjoyed it!
@aarondelarosa31464 ай бұрын
Hello Brian. Do you know how to install Boost Libraries on Visual Studio 2022?
@BrianByrneFinance4 ай бұрын
No unfortunately and if you get a good source can you post. I think there is a bit of interest in that. The numpy library in python has become extremely optimised for multi dimensional arrays.
@aarondelarosa31464 ай бұрын
By the way, do you know what happened to Volopta? It seems that it doesn´t exist anymore.
@BrianByrneFinance4 ай бұрын
The owner passed away. But his vba book is still published by Wiley.
@aarondelarosa31464 ай бұрын
@@BrianByrneFinance What happened to his repositories or codes on volopta? They were really good!.
@aarondelarosa31464 ай бұрын
@@BrianByrneFinance What´s the name of his VBA Book?
Hello Brian. I need your help. I've got some C++ codes to fix. I'm trying to replicate C++ models from this book: "Modeling Derivatives Applications in Matlab, C++ and Excel". By Justin London. However, hos models are very difficult to replicate. There´s another book "Modeling Derivatives in C++ By Justin London. His models are imposible to replicate too. Can you explore these books and try to run C++ codes?
@BrianByrneFinance4 ай бұрын
you could try run code snippets in google colab kzbin.info/www/bejne/aWiolaiklKt2oZo then troubleshoot through chatgpt line by line
@aarondelarosa31464 ай бұрын
@@BrianByrneFinance How do you install QuantLib in C++?
@aarondelarosa31464 ай бұрын
@@BrianByrneFinance I'm trying to install QuantLib in Visual Studio 2022. But, it doesn't work.
@kummertkein86505 ай бұрын
What type of options are these, European, American (or both or something else)? Is there a way to get only the data for, say, European options?
@BrianByrneFinance5 ай бұрын
Owners of American options may exercise at any time before the option expires. European options can only be exercised at expiration. Most equity options are American-style options, but many broad-based equity indices have actively traded European-style options, including the S&P 500. Short dated American options will have values close to European. The advantage of early exercise in greater for longer dated instruments
@kummertkein86505 ай бұрын
@@BrianByrneFinance Thanks a lot!
@aarondelarosa31465 ай бұрын
What happened to Volopta? Where's it?
@BrianByrneFinance5 ай бұрын
The owner passed away and the host dropped the content a year or two later. Tragic every which way
@cliffkwok5 ай бұрын
This video should have million of view
@FolaAkinbowale5 ай бұрын
Thank you for sharing. This has been very helpful !
@hasanshahriyer455 ай бұрын
@hasanshahriyer456 ай бұрын
@PurohitAnkit7 ай бұрын
Hi Brian. Thank you for making this video available to us. Are you aware of any library that does this computation in vectorized format, i.e. for multiple stocks simultaneously?
@BrianByrneFinance7 ай бұрын
No but in the Espen Haug text book there is a monte carlo approach used to model the value of a financial contract based on multiple underlying. This would be not be a lattice approach.
@PurohitAnkit7 ай бұрын
Thank you for letting me know. I had glanced at Espen Haug's book a while back. Seemed quite useful then.
@jbond58347 ай бұрын
how about scrab data from page directly instead of using yfinace?
@BrianByrneFinance7 ай бұрын
Could use the source code for yfinance if you wanted a bit more control
@2mj7 ай бұрын
Thank you for posting this Brian! Does this work for an arbitrary date? For example September 29, 2008?
@BrianByrneFinance7 ай бұрын
No - only for contemporaneous data.
@maumm51887 ай бұрын
Dónde puedo descargar el dataset??
@naveenkumar-om2pj8 ай бұрын
Thanx
@naveenkumar-om2pj8 ай бұрын
❤india
@saeedseen58219 ай бұрын
ممنونم خیلی خوب و آموزنده بود
@ashihtaka9 ай бұрын
I had no clue you could use Python scripts in Google
@BrianByrneFinance9 ай бұрын
It seems to be one of the better python notebooks
@srishtyparas9 ай бұрын
Hi Brian, amazing video, but an error shows saying no module named wooldridge in line 5
@BrianByrneFinance9 ай бұрын
You may need to pip install wooldridge
@mjollnirboy9 ай бұрын
Have you used panda profiling?
@BrianByrneFinance9 ай бұрын
pip install pandas-profiling thank you for suggestion
@saumyajoshi72959 ай бұрын
Can you please share this dataset.
@BrianByrneFinance9 ай бұрын
www-2.rotman.utoronto.ca/~hull/ofod/index.html. Please check this website
@saumyajoshi72959 ай бұрын
@@BrianByrneFinance Thanks a ton for sharing this!
how to do it without using volatilty? Putting zero is an error obviously
@BrianByrneFinance10 ай бұрын
The model needs a volatility input but you could use 0.00001 perhaps
@lethiminhhuong858910 ай бұрын
Thank so much, professor. can you help me write command for extract result of GARCH in R to csv???
@K365-pl11 ай бұрын
I was looking for that kind of content all day long. I am happy that I found you channel.
@BrianByrneFinance11 ай бұрын
Glad you enjoy it!
@WaelBENNASR-i1k11 ай бұрын
Hello Mr. Brian, i appreciate your work, but i have to ask, in this line where you calculated d1 : EuroPrice = CBlackScholes::BSPrice(Spot,K,r,q,v,T,'P'); d1 = (log(Sx/K) + (r-q+v*v/2.0))/v/sqrt(T); why havent you multiplied (r - q + 0.5v²) by T as in the original paper of Barone Adesi and Whaley ?
@BrianByrneFinance11 ай бұрын
If you look closer you do find that formula works out the same. You divide and divide again which is like multiplying.
@WaelBENNASR-i1k11 ай бұрын
@@BrianByrneFinance makes sense, thank you
@gds23111 ай бұрын
Hii I wanted to create a same model based on indian dataset which I have create, I wanted to compare Random forest, knn, xgboost and lstm and I dont have any reference for creating that can you help
@BrianByrneFinance11 ай бұрын
You might try to use chatgpt to write the code. Feed it a sample of your data with labels and ask it to generate code for classification.
@gds23111 ай бұрын
@@BrianByrneFinance will try that, And also do we have to normalize the data with the code or manually in the dataset
@BrianByrneFinance11 ай бұрын
yes normalize@@gds231
@gds23111 ай бұрын
@@BrianByrneFinance how??
@BrianByrneFinance11 ай бұрын
subtract mean and divide by standard deviation or use sklearn@@gds231