Finance::BDT 0.01
Sponsored Links
Finance::BDT 0.01 Ranking & Summary
File size:
0.004 MB
Platform:
Any Platform
License:
GPL (GNU General Public License)
Price:
Downloads:
1122
Date added:
2006-10-03
Publisher:
Sidharth Malhotra
Finance::BDT 0.01 description
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.
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.
Finance::BDT 0.01 Screenshot
Finance::BDT 0.01 Keywords
BDT
BDT 0.01
Yield curve
Perl module
Perl
model
curve
0.01
implements
yield
Finance::BDT
FinanceBDT
Finance::BDT 0.01
Libraries
Programming
Bookmark Finance::BDT 0.01
Finance::BDT 0.01 Copyright
WareSeeker periodically updates pricing and software information of Finance::BDT 0.01 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Finance::BDT 0.01 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
inverted yield curve
perl modules
treasury yield curve
install perl module
yield curve analysis
models sporting goods
current yield curve
americau0027s next top model
installing perl module
bond yield curve
yield curve graphs
model ships
yield curves
xml parser perl module
modells
perlane
flat yield curve
model railroader
Related Software
Finance::YahooChart is a Perl module to get a chart from Yahoo! Finance. Free Download
XML::LibXML::Enhanced is a Perl module that adds convenience methods to XML::LibXML and LibXSLT. Free Download
Finance::YahooQuote is a Perl module that can get stock quotes from Yahoo! Finance. Free Download
WWW::NanoRef is a Perl module that uses the API published by nanoref.com to produce shortened URLs. Free Download
Finance::Bank::NL::CLIEOP03 is a Perl module that can generate CLIEOP03 files for Dutch banks. Free Download
Finance::Quote::ASX is a Perl module that can obtain quotes from the Australian Stock Exchange. Free Download
Lingua::ZH::DateTime is a Perl module to convert time to chinese format. Free Download
Nokia::File::NFB is a Perl module to create, read and rrite Nokia nfb/nfc phone backup files. Free Download
Latest Software
Popular Software
Favourite Software