Skip to content

A framework of objects upon which to build Financial Quantitative Analysis code

Notifications You must be signed in to change notification settings

christelleL/perl-Quant-Framework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

perl-Quant-Framework

A framework of objects upon which to build Financial Quantitative Analysis code

This framework contains modules for different market data that will be needed to price a derivative contract. These market-data modules will need an instance of Data::Chronicle::Reader to read data from storage or Data::Chronicle::Writer to write data to storage.

Currently below modules are defined:

  • Quant::Framework::CorporateAction: Represents the corporate actions data of an underlying from database.

To read actions for a company:

my $corp = Quant::Framework::CorporateAction->new(symbol => $symbol,
            chronicle_reader => $reader);
my $actions = $corp->actions;

To save actions for a company:

my $corp = Quant::Framework::CorporateAction
        ->new(symbol => $symbol, 
            chronicle_writer => $writer,
            actions => {
                1234 => {
                    monitor_date => "2014-02-07",
                    type => "ACQUIS",
                    description => "Acquisition",
                    effective_date => "15-Jul-15",
                    flag => "N", #N means new action, U means updated action, D means cancelled action
                }});
$corp->save();

About

A framework of objects upon which to build Financial Quantitative Analysis code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages