Quant::Framework::Spot::OHLC
my $ohlc = Quant::Framework::Spot::OHLC->new({ epoch => 1340871449, open => 2.1, high => 2.2, low => 2.1, close => 2.2, });
This class represents OHLC data
represent starting time in epoch of the OHLC interval
represents the value of the underying at the open of the interval
represents the highest value of the underying in interval
represents the lowest value of the underying in interval
represents the value of the underying at the close of the interval
Invert values of OHL and C in-place.
To install Quant::Framework, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Quant::Framework
CPAN shell
perl -MCPAN -e shell install Quant::Framework
For more information on module installation, please visit the detailed CPAN module installation guide.