Git Product home page Git Product logo

fixed-income-security's Introduction

Fixed-Income-Security

One factor short-term rates: Vasicek model and CIR model

  1. Assume the dynamics of the short-term interest rate, under the risk-neutral measure, are given by the following SDE (Vasicek model):

       π‘‘π‘Ÿπ‘‘=πœ…(π‘ŸΜ…βˆ’π‘Ÿπ‘‘)𝑑𝑑+πœŽπ‘‘π‘Šπ‘‘
    
       with π‘Ÿ0=5%,𝜎=10%,πœ…=0.82,π‘ŸΜ…=5%
    

(a) Use Monte Carlo Simulation (assume each time step is a day) to find the price of a pure discount bond, with Face Value of $1,000, maturing in 𝑇=0.5 years (at time 𝑑=0)

      𝑃(𝑑,𝑇)=π”Όπ‘‘βˆ—[$1,000βˆ—π‘’π‘₯𝑝(βˆ’βˆ«π‘Ÿ(𝑠)𝑑𝑠𝑇𝑑)]

(b) Use Monte Carlo Simulation to find the price of a coupon paying bond, with Face Value of $1,000, paying semiannual coupons of $30, maturing in 𝑇=4 years where c={30, 30, 30, 30, 30, 30, 30, 1030}, and T={0.5, 1.0, 1.5, 2.0, 2.5, 3.0, 3.5, 4.0}

      𝑃(0,𝐢,𝑇)=𝔼0βˆ—[Σ𝐢𝑖8𝑖=1βˆ—π‘’π‘₯𝑝(βˆ’βˆ«π‘Ÿ(𝑠)𝑑𝑠𝑇𝑖0)]

(c) Use Monte Carlo Simulation to find the price of a European Call option on the pure discount bond in part (a). The option matures in 3 months and has a strike price of 𝐾=$980. Use the explicit formula for the underlying bond price (only for the bond price)

(d) Use Monte Carlo Simulation to find the price of a European Call option on the coupon paying bond in part (b). The option matures in 3 months and has a strike price of 𝐾=$980. Use Monte Carlo simulation for pricing the underlying bond.

(e) Find the price of a European Call option of part (d) by using the explicit formula for the underlying bond price, and reconcile the findings with the ones of part (d).

  1. Assume the dynamics of the short-term interest rate, under the risk-neutral measure, are given by the following SDE (CIR model):

       π‘‘π‘Ÿπ‘‘=πœ…(π‘ŸΜ…βˆ’π‘Ÿπ‘‘)𝑑𝑑+πœŽβˆšπ‘Ÿπ‘‘π‘‘π‘Šπ‘‘
    
       with π‘Ÿ0=5%,𝜎=12%,πœ…=0.92,π‘ŸΜ…=5.5%.
    

(a) Use Monte Carlo Simulation to find at time 𝑑=0 the price 𝑐(𝑑,𝑇,𝑆) of a European Call option, with strike price of 𝐾=$980, maturity of 𝑇=0.5 years on a Pure Discount Bond with Face Value of $1,000, that matures in 𝑆=1 year:

      𝑐(𝑑,𝑇,𝑆)=π”Όπ‘‘βˆ—[𝑒π‘₯𝑝(βˆ’βˆ«π‘Ÿ(𝑒)𝑑𝑒𝑇𝑑)βˆ—max (𝑃(𝑇,𝑆)βˆ’πΎ,0)]

(b) Use the Implicit Finite-Difference Method to find at time 𝑑=0 the price 𝑐(𝑑,𝑇,𝑆) of a European Call option, with strike price of 𝐾=$980, maturity of 𝑇=0.5 years on a Pure Discount Bond with Face Value of $1,000, that matures in 𝑆=1 year. The PDE is given as

      πœ•π‘/πœ•π‘‘+1/2𝜎^2π‘Ÿπœ•^2𝑐/πœ•π‘Ÿ^2+πœ…(π‘ŸΜ…βˆ’π‘Ÿ)πœ•π‘/πœ•π‘Ÿβˆ’π‘Ÿπ‘=0
      
      with 𝑐(𝑇,𝑇,𝑆)=max(𝑃(𝑇,𝑆)βˆ’πΎ,0), and 𝑃(𝑇,𝑆) is computed explicitly.

(c) Compute the price 𝑐(𝑑,𝑇,𝑆) of the European Call option above using the explicit formula, and compare it to your findings in parts (a) and (b) and comment on your findings.

  1. Assume the dynamics of the short-term interest rate, under the risk-neutral measure, are given by the following system of SDE (G2++ model):

       {𝑑π‘₯𝑑=βˆ’π‘Žπ‘₯𝑑𝑑𝑑+πœŽπ‘‘π‘Šπ‘‘1
       {𝑑𝑦𝑑=βˆ’π‘π‘¦π‘‘π‘‘π‘‘+πœ‚π‘‘π‘Šπ‘‘2
       {π‘Ÿπ‘‘=π‘₯𝑑+𝑦𝑑+πœ™π‘‘
       
       π‘₯0=𝑦0=0, πœ™0=π‘Ÿ0=3%, π‘‘π‘Šπ‘‘1π‘‘π‘Šπ‘‘2=πœŒπ‘‘π‘‘,𝜌=0.7, π‘Ž=0.1,𝑏=0.3,𝜎=3%,πœ‚=8%. Assume πœ™π‘‘=π‘π‘œπ‘›π‘ π‘‘=3% for any 𝑑β‰₯0.
    

Use Monte Carlo Simulation to find at time 𝑑=0 the price 𝑝(𝑑,𝑇,𝑆) of a European Put option, with strike price of 𝐾=$950, maturity of 𝑇=0.5 years on a Pure Discount Bond with Face value of $1,000, that matures in 𝑆=1 year. Compare it with the price found by the explicit formula and comment on it.

fixed-income-security's People

Contributors

minghaoyu avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.