[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GT] SVN Commit r585 - in trunk/GT: . DB Systems
Author: thomas
Date: 2008-03-21 05:13:32 +0100 (Fri, 21 Mar 2008)
New Revision: 585
Modified:
trunk/GT/DB/Text.pm
trunk/GT/Prices.pm
trunk/GT/Systems/AlwaysInTheMarket.pm
trunk/GT/Tools.pm
Log:
Update documentation.
Modified: trunk/GT/DB/Text.pm
===================================================================
--- trunk/GT/DB/Text.pm 2008-03-21 03:02:41 UTC (rev 584)
+++ trunk/GT/DB/Text.pm 2008-03-21 04:13:32 UTC (rev 585)
@@ -78,7 +78,7 @@
=head2 new()
-Create a new DB object used to retry quotes from a directory
+Create a new DB object used to retrieve quotes from a directory
full of text files containing prices.
=cut
Modified: trunk/GT/Prices.pm
===================================================================
--- trunk/GT/Prices.pm 2008-03-21 03:02:41 UTC (rev 584)
+++ trunk/GT/Prices.pm 2008-03-21 04:13:32 UTC (rev 585)
@@ -69,6 +69,10 @@
Return true if the object has prices for the corresponding date.
+NOTE: If we test for an item that is larger than the last entry in the
+prices array, then a new empty entry is created (and numerous error messages
+as well).
+
=cut
sub has_date {
my ($self, $date) = @_;
Modified: trunk/GT/Systems/AlwaysInTheMarket.pm
===================================================================
--- trunk/GT/Systems/AlwaysInTheMarket.pm 2008-03-21 03:02:41 UTC (rev 584)
+++ trunk/GT/Systems/AlwaysInTheMarket.pm 2008-03-21 04:13:32 UTC (rev 585)
@@ -21,10 +21,10 @@
=head2 Examples
To set up a Buy And Hold strategy :
---system="AlwaysInTheMarket" --close-strategy="NeverClose" --trade-filter="LongOnly" --trade-filter="OneTrade"
+SY:AlwaysInTheMarket|CS:NeverClose|TF:LongOnly|TF:OneTrade
To set up a Short And Hold strategy :
---system="AlwaysInTheMarket" --close-strategy="NeverClose" --trade-filter="ShortOnly" --trade-filter="OneTrade"
+SY:AlwaysInTheMarket|CS:NeverClose|TF:ShortOnly|TF:OneTrade
=head2 Note
Modified: trunk/GT/Tools.pm
===================================================================
--- trunk/GT/Tools.pm 2008-03-21 03:02:41 UTC (rev 584)
+++ trunk/GT/Tools.pm 2008-03-21 04:13:32 UTC (rev 585)
@@ -12,9 +12,6 @@
require Exporter;
@ISA = qw(Exporter);
-#
-# these are ordered and grouped to correspond with %EXPORT_TAGS
-#
@EXPORT_OK = qw(min max PI sign
extract_object_number
resolve_alias resolve_object_alias long_name short_name