[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GT] Re: Where is the on-line archive?



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.