NAME

  GT::Analyzers::Process


DESCRIPTION

This module offes all those functions that are needed by the analyzers shell to interactively analyze and test portfolios.

FUNCTIONS

GT::Analyzers::Process->new()
GT::Analyzers::Process->parse( $cmd )

This function parses the command $cmd. If the shell is set in expert mod it tries first to map $cmd to an internat command and otherwise evaluates it using eval.

GT::Analyzers::Process->bye()

Exits the program after asking if the history should be stored.

GT::Analyzers::Process->set( [ $key ] )

Set a configuration-parameter. If key is not given, the list of parameters is given. The variable key consits of the real key and the value separated by a space. If you want to set an array, you can either use key[x] to teh xth element or +key to add the value to the array.

GT::Analyzers::Process->set_code( $code )

Set the code and do the necessary initialization-stuff.

GT::Analyzers::Process->load( $sys, $dir, $code )

Loads $sys from $dir and $code (optional).

GT::Analyzers::Process->save( $sys, $dir )

Saves the portfolio with name $sys to directory $dir.

GT::Analyzers::Process->list( $dir )

Lists the systems in directory $dir.

GT::Analyzers::Process->btest()

start the backtest.

GT::Analyzers::Process->calc($args)

Calculates the expression given as argument(s).

GT::Analyzers::Process->calc_array($arg1, $arg2, ...)

Calculates each array and prints out/returns a list.

The arry should have the same length.

GT::Analyzers::Process->p($arg)

Prints out the string $arg and replaces the variable elements

GT::Analyzers::Process->help()

Print the help screen

GT::Analyzers::Process->licence()

Print the licence

GT::Analyzers::Process->license()

Prints the license

GT::Analyzers::Process->disconnect()

Disconnect from database.

GT::Analyzers::Process->info()

Prints a small information shown at the start of anashell.

GT::Analyzers::Process->pg_hist()

Uncomment this function to plot histograms with pgplot.

GT::Analyzers::Process->r_hist( $array )

Plots a histogram using R (www.r-project.org) of the values of $array.

GT::Analyzers::Process->r_bar( $array )

Generates a barplot in R by using the values of $array

GT::Analyzers::Process->r_corr( $arr1, $arr2 )

Plots the correlation of $arr1 and $arr2 in R.

GT::Analyzers::Process->report( $file )

Prints the report of the portfolio using $file as template.