GT::CacheValues - Cache the computed values (of indic/signals) for a single share
This object is designed to be associated with a GT::Prices object. It may contain the computed value of some indicators corresponding to the GT::Prices object.
my $cache = GT::CacheValues->new;Create a new GT::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.