Quant::Framework::Spot::Tick
my $tick = Quant::Framework::Spot::Tick->new({ symbol => 'frxRMBMNT', epoch => 1340871449, bid => 2.01, ask => 2.03, quote => 2.02, });
This class represents tick data
represent time in epoch of a tick
underlying symbol
represents the quote price
represents the bid price
represents the ask price
Returns quote, for backward compatibility
Invert quote, ask, and bid values
Returns tick as a hash
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.