NAME
Finance::GeniusTrader::Analyzers::Process
DESCRIPTION
This module offes all those functions that are needed by the analyzers shell to interactively analyze and test portfolios.
FUNCTIONS
Finance::GeniusTrader::Analyzers::Process->new()
Finance::GeniusTrader::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.
Finance::GeniusTrader::Analyzers::Process->bye()
-
Exits the program after asking if the history should be stored.
Finance::GeniusTrader::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.
Finance::GeniusTrader::Analyzers::Process->set_code( $code )
-
Set the code and do the necessary initialization-stuff.
Finance::GeniusTrader::Analyzers::Process->load( $sys, $dir, $code )
-
Loads $sys from $dir and $code (optional).
Finance::GeniusTrader::Analyzers::Process->save( $sys, $dir )
-
Saves the portfolio with name $sys to directory $dir.
Finance::GeniusTrader::Analyzers::Process->list( $dir )
-
Lists the systems in directory $dir.
Finance::GeniusTrader::Analyzers::Process->btest()
-
start the backtest.
Finance::GeniusTrader::Analyzers::Process->calc($args)
-
Calculates the expression given as argument(s).
Finance::GeniusTrader::Analyzers::Process->calc_array($arg1, $arg2, ...)
-
Calculates each array and prints out/returns a list.
The arry should have the same length.
Finance::GeniusTrader::Analyzers::Process->p($arg)
-
Prints out the string $arg and replaces the variable elements
Finance::GeniusTrader::Analyzers::Process->help()
-
Print the help screen
Finance::GeniusTrader::Analyzers::Process->licence()
-
Print the licence
Finance::GeniusTrader::Analyzers::Process->license()
-
Prints the license
Finance::GeniusTrader::Analyzers::Process->disconnect()
-
Disconnect from database.
Finance::GeniusTrader::Analyzers::Process->info()
-
Prints a small information shown at the start of anashell.
Finance::GeniusTrader::Analyzers::Process->pg_hist()
-
Uncomment this function to plot histograms with pgplot.
Finance::GeniusTrader::Analyzers::Process->r_hist( $array )
-
Plots a histogram using R (www.r-project.org) of the values of $array.
Finance::GeniusTrader::Analyzers::Process->r_bar( $array )
-
Generates a barplot in R by using the values of $array
Finance::GeniusTrader::Analyzers::Process->r_corr( $arr1, $arr2 )
-
Plots the correlation of $arr1 and $arr2 in R.
Finance::GeniusTrader::Analyzers::Process->report( $file )
-
Prints the report of the portfolio using $file as template.