Project II
Bank A and Bank B enter into a five-year plain vanilla, fixed for floating interest rate swap on today 12/01/2020 on a notional amount of $10 million. floating at three-month London Interbank Offered Rate (LIBOR). The market swap rate today is (see picture)
Once you decide the deal, please use HW 1 factor model to simulate 1000 path of interest term structure for LIBOR swap rates, then plot the price distribution of the swap on 12/01/2021.
(Bonus: calibration is not required but could be bonus, you need to download the swaption data from Bloomberg)
Step 1: Using the swap rates observed in the market to build the swap rate curve
Choice one: Using the excel do the bootstrapping manually to build the t0 swap rate curve
Choice two: Using Qunatlib tool to build the t0 swap rate curve
The t0 swap rate curve can be t0 discounting curve ( or spot rate curve) that will be used for late steps for discounting purpose
Step 2: Since the NPV for the swap deal at the beginning must be zero. The floating leg NPV must be equal to the fixed leg NPV. The float leg payment and cashflow will be dependent on the 3-Month forward rate indicated in the t0 swap rate curve (you should be able to calculate 3-M forward rate for every three months in the future). The fixed leg cashflow will be unknow fixed coupon rate multiplied by notional every 6 month in the future. Discounting the future cashflow back to t0 based on the t0 discounting curve. Then solve the equation (fixed leg NPV = floating leg NPV) to get the fixed leg defined coupon rate.
Step 3: Using HW1 factor model to simulate the short rate move for one year path, you will get the t1 (year 1) short rate. Based on the t1 short rate, you can calculate the zero coupon price for any maturity zero coupon bond (with $1 as face value) based on the formula in HW1 model, those prices can be translated into the spot rate for any tenor as if you are at t1. By doing that, you can essentially build the t1 spot rate curve, and you can also translate the spot rate curve into t1 discounting curve. (this step can be done by Quantlib, refer to the blog or weblink below)
Step 4: at t1, the swap still have 4 years left until maturity. You need to calculate all the future cashflow from the floating leg and fixed leg as if you are at t1 . (Again, the floating leg 3M forward rates for the rest of the 4 year will be indicated from the t1 spot rate curve). Discounting both leg’s future cashflow to the t1 based on the t1 discounting curve. Net the NPV of two legs, you will get the swap price at t1.
Step5 : repeat step 3, and step 4 with different HW1 factor short interest rate path, maybe 100 times, you will get the distribution of the swap price at t1. Draw the distribution and find the most likely the price and 5% tail of the worse price.
http://mikejuniperhill.blogspot.com/2018/12/quantlib-python-term-structure.html
http://gouthamanbalaraman.com/blog/hull-white-simulation-quantlib-python.html
https://clinthoward.github.io/portfolio/2017/08/19/Rates-Simulations/
Abertpoelm says:
скільки ще буде тривати війна в україні коли закінчиться війна в україні коли закінчиться війна в україні передбачення
Abrtpoelm says:
Гравитация
Travisfliva says:
what happens if women take viagra does viagra make you horny viagra side effects blood pressure
Artrunusa says:
viagar vs cialis cheap brand cialis 20 mg roman cialis
Artrunusa says:
brand cialis on line new cialis commercial 2010 how much does cialis cost with insurance
Strokepay says:
ivermectin american journal of therapeutics ivermectin for sarcoptic mange ivermectin autoimmune
Strokepay says:
ivermectin pediatric dose stromectol 3mg ivermectin dose for rabbits
Edwardgof says:
cheap cialis 20 mg canadian pharmacy non rx cialis cialis price at walmart
Edwardgof says:
generic cialis with dapoxetine cialis soft tabs 20mg how long can you keep cialis
FrankEvons says:
cheap clomid for sale uk clomid steroids clomid generic cost
FrankEvons says:
prednisone brand name in usa buying prednisone on line prednisone daily use
FrankEvons says:
amoxicillin 500 mg for sale where to buy amoxicillin 500mg without prescription amoxicillin 500mg capsules price
FrankEvons says:
clomid tablet price india clomid nz prescription clomid 50mg price
FrankEvons says:
where can i get clomid buy clomid online buy clomid online safely uk
FrankEvons says:
doxycycline 40mg capsules buy doxycycline india doxycycline order canada
FrankEvons says:
ed pills that work drugs to treat ed buy medication online
HaroldSof says:
prescription without a doctor’s prescription viagra without a doctor prescription ed treatment pills
HaroldSof says:
drugs for ed best non prescription ed pills viagra without doctor prescription amazon
HaroldSof says:
erectile dysfunction pills natural treatments for ed ed treatment natural
HaroldSof says:
best pharmacy online best ed pills online natural herbs for ed
HaroldSof says:
best drug for ed do i have ed drug prices
StacyIdeop says:
price of cialis brand cialis us what is the cost of cialis
StacyIdeop says:
ivermectin dogs dosage ivermectin half life can you use ivermectin on cats
StacyIdeop says:
ivermectin horse paste ingredients tractor supply ivermectin pour on ivermectin 4
StacyIdeop says:
stromectol coupon ivermectin vs moxidectin worming chickens with ivermectin
StacyIdeop says:
generic ivermectin for dogs buy ivermectin for humans online topical ivermectin for ear mites in cats
CharlesDaw says:
ivermectin manufacturers in usa stromectol and alcohol
Jeffreyedums says:
ivermectin and collies ivermectin dispersible tablets ivermectin treatment for covid
RogerPhync says:
buy propecia online propecia generic cheap propecia generic
NormanFag says:
buy prescription online from india buy medication online from india buy medication online from india
NormanFag says:
generic drugs without doctor’s prescription buying from canadian online pharmacies pharmacy without dr prescriptions