[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [GT] SVN Commit r595 - trunk/Scripts
More explanation of the latest checkin...
I have added a method in GT::Tools, find_calculator, which sets up the
framework for running evaluations. This is used in almost every script,
but currently slightly different schemes had been used to set up the
framework, resulting in duplication of code and inconsistencies, as
discussed recently.
I have adjusted all scripts to use the new method, and thus portions of
the script have been factored out. I have left in the inconsistent date
handling in this first stage, but it is quite apparent if you examine
the various calls to the find_calculator method:
find_calculator($code, $timeframe, $full, $start, $end, 200);
find_calculator($code, $timeframe, 0, $start, $end);
find_calculator($code, $timeframe, $full, $start, $end);
find_calculator($code, $timeframe, 0, $start, $end, $nb_item,
$max_loaded_items);
But now it is easy to make them consistent, which I will do in the next
step. I will propose a systematic treatment for feedback soon....
Cheers, Th.
> -----Original Message-----
> From: GeniusTrader SVN [mailto:raphael
AT
geniustrader.org]
> Sent: Saturday, March 29, 2008 11:09 PM
> To: devel
AT
geniustrader.org
> Subject: [GT] SVN Commit r595 - trunk/Scripts
>
> Author: thomas
> Date: 2008-03-30 06:09:02 +0200 (Sun, 30 Mar 2008)
> New Revision: 595
>
> Modified:
> trunk/Scripts/backtest.pl
> trunk/Scripts/backtest_many.pl
> trunk/Scripts/display_indicator.pl
> trunk/Scripts/display_signal.pl
> trunk/Scripts/graphic.pl
> trunk/Scripts/scan.pl
> Log:
> Use find_calculator to set up framework. Leave inconsistencies in data
> handling between scripts in place.
>