Finance::GeniusTrader::TradeFilters - Filters to accept or refuse trades
Trade filters are used to decide whether or not a trade is accepted. It can for example refuse trade going against the current trend. You can use several trade filters simultaneously.
$filter->accept_trade($order, $i, $calc, $portfolio)
$system->precalculate_all($calc)
$system->precalculate_interval($calc, $first, $last)
If you run a system on a long period of time you may want to precalculate all the indicators in order to benefit of possible optimizations. This is the role of those 2 functions.
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.