Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • BackTrack 5 R2
  • Wine 1.4 / 1.5.5
  • Mozilla Firefox 12...
  • Ubuntu 11.04
  • Angry Birds 1.1.2.1
  • Ubuntu 10.04.4 LTS
  • Linux Kernel 3.4
  • Ubuntu Manual 10.10
  • Adobe Flash Player...
  • Pidgin 2.10.4
  • Home > Linux > Programming > Libraries

    Finance::BDT 0.01

    Download button

    No screenshots available
    Downloads: 300  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Sidharth Malhotra | More programs
    GPL / FREE
    October 3rd, 2006, 10:05 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    Finance::BDT description

    A Perl module that implements BDT yield curve model.

    Finance::BDT is a Perl module that implements BDT yield curve model.

    SYNOPSIS

    use Finance::BDT;
    use Data::Dumper
    my @y = (0, 0.0283, 0.029, 0.0322, 0.0401, 0.0435, 0.0464, 0.0508, 0.0512); ## YTM on strips
    my $vol = 0.20; ## constant volatility
    my $epsilon = 0.01;
    my ($r, $d, $A) = Finance::BDT::bdt( -yields => @y, -epsilon => $epsilon, -volatility => $vol );
    print "Short Rates: n", Dumper $r;
    print "Discount Prices: n", Dumper $d;
    print "Asset State Prices: n", Dumper $A;


    ABSTRACT

    Sample implementation of Black-Derman-Toy model.

    Finance::BDT implements a constant volatility Black-Derman-Toy model in Perl. Not that you should be building your curves in perl, but now you can. The current implementation works with constant volatility but I am testing a version which allows you to pass in a term structure of volatilities.

    The input is the zero curve (as observed yields), a constant volatility, and a limit for the numerical solution. The function returns the interest rate tree as a list of lists (first index being the time period, and second being the position with the lowest rate having index 0). Three trees are returned: the short rates at each period, the discount prices and most importantly the state prices.

    The examples directory has an untested sample implementation in C for the brave.

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    BDT yield implementation | curve model implementation | Perl module | Finance | BDT | yield



    HTML code for linking to this page:


    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM