Finance::GeniusTrader::CacheValues - Cache the computed values (of indic/signals) for a single share
This object is designed to be associated with a Finance::GeniusTrader::Prices object. It may contain the computed value of some indicators corresponding to the Finance::GeniusTrader::Prices object.
my $cache = Finance::GeniusTrader::CacheValues->new;
Create a new Finance::GeniusTrader::CacheValues that will contain computed values of some indicators or signals.
$cache->get($name, $i)
Return the value of the indicator $name for the day $i.
$cache->set($name, $i, $value)
Store the computed value $value of indicator $name for the day $i.
$cache->is_available($name, $i)
$cache->is_available_interval($name, $first, $last)
Check if the value of indicator $name is available for day $i.
To install Finance::GeniusTrader, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Finance::GeniusTrader
CPAN shell
perl -MCPAN -e shell install Finance::GeniusTrader
For more information on module installation, please visit the detailed CPAN module installation guide.