[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GT] Re: Where is the on-line archive?
- To: devel
AT
geniustrader.org
- Subject: [GT] Re: Where is the on-line archive?
- From: "Robert A. Schmied" <ras
AT
acm.org>
- Date: Wed, 04 Nov 2009 13:01:29 -0800
- Dkim-signature: v=1; q=dns/txt; d=flash.net; s=dkim01; i=uwppp
AT
flash.net; a=rsa-sha256; c=relaxed/relaxed; t=1257368492; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:References: Subject:To:MIME-Version:From:Date:Message-ID; bh=Z/1Y2bKYrodoFjDNyU Ng3THTanB4PMaemRYxx/s93QQ=; b=T2JEFrjs5Ok3k/+P6TpgirFQI0iQ0mIQ2eONL zR7VEPxQIyBtOkfbtTecH2srGOmSwfVql989FJ/X34WcfU5kg==
- In-reply-to: <4AF1D8B3.9080109
AT
telus.net>
- Message-id: <4AF1EBA9.4070702@acm.org> (sfid-20091104_221222_468811_16882EF1)
- Reply-to: devel
AT
geniustrader.org
- User-agent: Mozilla/5.0 (X11; U; xxxxx xxxxx; en-US; rv:1.7) Gecko/20060629
jecxz112 wrote:
Bhaskar S. Manda wrote:
On Tue, Nov 3, 2009 at 7:23 PM, jecxz112 <jecxz112
AT
telus.net> wrote:
are the archives searchable in any way?
There's no search capability there. You can always do a Google search as
follows.
site:geniustrader.org <search terms>
Bhaskar -- thanks for that. it should be worked into the web site someplace ...
Thank you for your help; I will use that from now on.
C:\Program Files\GeniusTrader\Scripts>display_indicator.pl I:RSI 13000
Can't locate XML/LibXML.pm in @INC (@INC contains: .. C:\Program
Files\GeniusTra
der C:/Perl/site/lib C:/Perl/lib .) at ../GT/Serializable.pm line 10.
BEGIN failed--compilation aborted at ../GT/Serializable.pm line 10.
You need to install the Perl modules for XML, Serializable, etc. For your
Ubuntu machine, see the section "Install the Dependencies" in the
first_use.html link I mentioned in my earlier reply.
All of those packages were installed on Ubuntu - and I finally by trial
and error found some fonts
that seemed to do the trick.
For the record:
/usr/share/fonts/truetype/freefonts/ FreeSans.ttf - FreeMono.ttf and
FreeSerif.ttf.
so for Ubuntu linux you needed lines something like the following
in your $HOME/.gt/options file?
Path::Font::Arial /usr/share/fonts/truetype/freefonts/FreeSans.ttf
Path::Font::Courier /usr/share/fonts/truetype/freefonts/FreeMono.ttf
Path::Font::Times /usr/share/fonts/truetype/freefonts/FreeSerif.ttf
note the gt wiki page 'The user config file' (gt webpage box upper right)
discusses the $HOME/.gt/options file in some detail and specifically
addresses Ubuntu linux fonts. if these notes are mis-leading or wrong
you can correct them yourself provided you register and login.
Also, FWIW, the page first_use.html shows
$ ./backtest.pl 'TFS[30,7,7]' 13000 | less
As a test. On my machine, I needed to omit the ticks.
the ticks are only *needed* if your shell considers something
in the string being quoted as a shell meta-character.
the culprit in this case are the square brackets (e.g. []),
in other cases it may be the curly brackets (e.g. {}). if you
has embedded spaces they also would need to be escaped ...
of course you can quote (in other words escape) the shell
meta-characters with a leading backslash (e.g. \)
% ./backtest.pl TFS\[30,7,7\] 13000
the csh is one shell that needs both squares and curlys escaped.
here, bash, sh, and ksh don't care about the squares. i didn't
look at the curlys.
the perplexing bit is that you had to remove them for ./backtest.pl
to work. i'm not seeing that here with any of the tested shells. maybe
there's an argument cleanup that removes them internally that is still
missing from the gt trunk version?
you do have the TFS[] alias defined in your $HOME/.gt/options file
something like this?
Aliases::Global::TFS[] SY:TFS #1 #2|CS:SY:TFS #1|CS:Stop:Fixed #3
and you are using the correct quote character (e.g. ')?
ras
Now that I have it going on one system, I may or may not try to make the
Windows system work as well,
but ....
For your Windows
machine, I don't remember how to install dependencies for the Activestate
distribution. However,
perl -MCPAN -e shell
should work at a DOS prompt, and the help in that tool will guide you
through installing the dependent modules listed in the first_use.html.
Note
that I don't know if this is the approved way of doing it for Windows.
I had tried to install the same Perl modules, but IIRC, I could not find
the XML module equivalent in the CPAN list.
As well, there seems to be a XML-LibXML.ppd in the modules subdirectory,
but the error message refers to
XML/LibXML.pm - using the slash rather than the dash as well as the pm
rather than ppd extension.
I'm not that much of a Perl guru to be able to resolve that issue
without a fair bit of digging.