Jason Ward wrote:
> Hmmm, OK, just to demonstrate my level of ignorance, your reply made
> me realise several things.
rtfm where r means READ
yep -- the install and setup is lousy, not automated, could be better,
the documentation is lousy, confusing, could be better. but gt isn't
a trivial application, it's not something you can just unwrap and start
using without doing a lot of other work including serious study of what
it does and how it does it. never-the-less gt and its documentation has
been around like this since well 2003-4 and everyone that contributes to
it has the handicap of knowing too much about it to write better step by
step recipes for the initial install and setup ...
i'll review your input documentation in due course ...
then there's the problem of so many different linuxes and packaging forms.
as someone on an odd-ball platform, having been weened on the command line
none of these myriad different prerequisites are a big deal to me, provided
they are all build-able on my odd-ball platform ...
to work-around the missing 'today' data you can just run the command with
--end set to 'yesterday' or do % beancounter update and then rerun ./graphic.pl
> The first one was that "Screenshot 1.png" was getting created and I
> had just assumed with the errors I was getting that it was not.
humm -- maybe, just maybe i should add this simplest of ./graphic.pl commands
to the first use tutorial and add --end yesterday just to avoid this
particular problem ...
> The second thing, was that I took the command "gt@...
> geniustrader/Scripts$ ./graphic.pl --file screenshot_1.gconf --out
> 'Screenshot 1.png' IBM" straight out of the documentation, and when I
> did I didn't realise that "screenshot_1.gconf" was a configuration
> file, so such a file does not exist on my system.
> As you can see, output is generated, but it doesn't look very much
> like yours and as you can see in IBMDailyError.log I'm still getting a
> lot of errors even when using the simpler command you gave me.
when gt gets price data objects with invalid/missing values all hell breaks loose.
i'm gonna guess you just have missing data in your database.
you can explore it directly with mysql(1) and or with gt and display_indicator.pl
for raw price info you want to use a command like:
display_indicator.pl --start 'yyyy-mm-dd' --end 'yyyy-mm-dd' I:Price SYMBOL PRICE_POINT
where PRICE_POINT is one of HIGH, LOW, OPEN, CLOSE, DATE, or VOLUME.
the default PRICE_POINT is CLOSE.
--end defaults to 'today', --start to '6 months ago' if i recall correctly
you've pretty much done these based on the attached files in other message.
ok -- i've come across that 'bad' bar problem before, but my solutions
are both ugly and involve an unsupported beancounter hack. the first
is easier to share (see the attached version of GT/DB/bean.pm), but it
isn't the complete solution. my beancounter hack will do an automatic
database check of data of prior day and correct any missing or incorrect
data by doing a specific prior day backpop of that symbol. i'm not sure
if dirk eddelbuettel would be interested in this 'feature' but it would
be time-consuming to extract just it from my bc hack without cherry-picking
it from an scm branched repo. but last i knew dirk wasn't too interested
in a branched scm, and i don't think distributing a ras hack beancounter
is good 'netiquette.
hope this helps some
ps -- still nothing from the sourceforge devel mailing list. so i'm gonna
have to open another support ticket and see if i can get some attention
and get it fixed -- ras
> FYI, and to let you know my skill levels, I was a full time developer
> up until around 7 years ago, and so procedural languages are my
> strength, Ooops and newer languages are something I never got to grips
> with, however, my SQL programming skills and general database design
> skills are strong to this day. for about 1 year, and up till about 1
> year ago I was doing some freelance programming in TradeStation. My
> Linux skills are limited, having grown up on Windows and only recently
> having transfered to Linux, however if you want to know about IP
> networks, routing etc, I have develop my skills to quite a senior
> level. I have never done any programming with Perl.