[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [GT] scan.pl error
I am rewriting DB::Text to allow a choice between using Date::Manip,
Date::Calc, and GT format. This flexibility was possible before (well
excluding Date::Manip) the recent change, and should be restored.
The recent rewrite of DB::Text is excruciatingly slow compared to what
was there before. For those of us who use textual data it is not
feasible to rely on the current version.
Note further that the flexibility afforded by Date::Manip is not needed
for dealing with market data.
So I will restore the options we had before, and also provide
Date::Manip::UnixDate as an alternative. This will be set in the conf
file as it was before the recent rewrite.
It will be transparent to users that do not need the faster data
loading.
Th.
> -----Original Message-----
> From: Robert A. Schmied [mailto:ras
AT
acm.org]
> Sent: Saturday, March 22, 2008 1:31 PM
> To: devel
AT
geniustrader.org
> Subject: Re: [GT] scan.pl error
>
> Todd Turner wrote:
> > I just checked...I do not have Date::Manip installed.
>
> aloha todd
>
> thanks for that reply -- this is interesting; thought you wrote
> you're using beancounter? i'm seeing both beancounter and
BeanCounter.pm
> using Date::Manip as far back as beancounter-0.6.3 ???
>
>
> todd and all other newer gt users -- don't know what platform you're
> using so don't know if it's a big deal or worse to install perl
modules.
> but i believe if you find gt useful, you'll really like the date entry
> flexibility the stems by adding Date::Manip to you're perl install.
>
> as an example
> % scan.pl --timeframe day --start '6 months ago' --end 'last friday' \
> scan_symbol2 'last friday' scan_signal
> instead of
> % scan.pl --timeframe day --start 'heck -- you do the date math!
>
>
>
>
> -- fellow hackers this suggests we cannot presume Date::Manip will
> be available even for those users using beancounter. the only gt
> module i know requires it is the new GT::DB:Text. but GT::Tools
> will use it if available.
>
> ras
>
>
> >
> > Todd
> >
> > On Fri, Mar 21, 2008 at 11:40 PM, Robert A. Schmied <ras
AT
acm.org>
wrote:
> >
> >>Todd Turner wrote:
> >> > Hi Robert,
> >> >
> >> > Your modified scan.pl works. Thanks!
> >>
> >> more correctly, my corrected scan.pl works.
> >>
> >> good to hear! again sorry for the screwup -- seems you
> >> may have been the guinea pig for that one.
> >>
> >> a question if you don't mind:
> >>
> >> do you have perl module Date::Manip installed?
> >> try perl -M"Date::Manip 99" -e 'exit;'
> >> you'll get something like
> >> Date::Manip version 99 required--this is only version 5.44.
> >> BEGIN failed--compilation aborted.
> >> if you do, and something like
> >> Can't locate Date/Manip.pm in @INC (@INC contains: /usr/perl5....
> >> if you do not.
> >>
> >> aloha
> >>
> >> ras
>
> << snip >>
- References:
- [GT] scan.pl error, Todd Turner (2008/03/21)
- Re: [GT] scan.pl error, Robert A. Schmied (2008/03/21)
- Re: [GT] scan.pl error, Todd Turner (2008/03/21)
- Re: [GT] scan.pl error, Robert A. Schmied (2008/03/22)
- Re: [GT] scan.pl error, Todd Turner (2008/03/22)
- Re: [GT] scan.pl error, Robert A. Schmied (2008/03/22)
- Re: [GT] scan.pl error, Robert A. Schmied (2008/03/22)
- Re: [GT] scan.pl error, Todd Turner (2008/03/22)
- Re: [GT] scan.pl error, Robert A. Schmied (2008/03/22)
- Re: [GT] scan.pl error, Todd Turner (2008/03/22)
- Re: [GT] scan.pl error, Robert A. Schmied (2008/03/22)