[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GT] bug report: Web example missing an entry in 'options'
I was piqued to re-start from a svn checkout, and see what
does not work.
It appears, on a Linux system, that the instructions at:
http://www.geniustrader.org/first_use.html
need the addition of the 'outfile' directory, to the config
'options' file for the two text datafile mode backtest
examples at the bottom of that page to work, along the lines
of:
BackTest::Directory /home/herrold/svn/GeniusTrader/backtest
Failing adding that line (and making that needed firectory
path), one gets an error like this (my test ./README file
recreates per the sample a needed but missing 'options' file
with local site changes made):
[herrold
AT
centos-5 GeniusTrader]$ rm -f ~/.gt/options
[herrold
AT
centos-5 GeniusTrader]$ ./README
Checked out revision 622.
Checked out revision 622.
Starting scripts
display indicator test ... summarized
502
prior should be 502 lines
first backtest example:
The directory '' doesn't exist !
second backtest example
The directory '' doesn't exist !
[herrold
AT
centos-5 GeniusTrader]$
[herrold
AT
centos-5 GeniusTrader]$ grep BackTest ~/.gt/options
## BackTest::Directory /home/herrold/svn/GeniusTrader/backtest
[herrold
AT
centos-5 GeniusTrader]$ sed -i -e 's/^## //' ~/.gt/options
[herrold
AT
centos-5 GeniusTrader]$
[herrold
AT
centos-5 GeniusTrader]$ ./README
Checked out revision 622.
Checked out revision 622.
Starting scripts
display indicator test ... summarized
502
prior should be 502 lines
first backtest example:
## Analysis of SY:TFS 50 10|CS:SY:TFS 50|MM:Basic
History of the portfolio :
--------------------------
Long position (0) on 13000
2000-12-07 Buy 141 at 68.9000
2000-12-20 Sell 141 at 64.5500
...
that is, I commented the needed entry out in my test script,
and then on the second test removed the commenting via 'sed'.
-- Russ herrold