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

RE: [amibroker] Two CSI databases in AB (was Code challenge)



PureBytes Links

Trading Reference Links

Thanks b, that is good news. I'd still prefer numbers only to inactives, but
it does seem that you're right, this'll do.

I'm down to the wire on my QuotesPlus subscription; unless I renew, I think
I'm going to be shut off at the end of the day today, if I'm not already.

In your opinion, is the current version of the CSI tools stable, efficient
and usable? It looked from your earlier msgs like speed was up, and the
missing ticker bug you'd seen was fixed. Do I have that right? I've been
rock solid stable with QP, but without inactives, and my impression is that
you and others think CSI's quality is exceptional.

Dave


> Dave,
>
> The news is good.
>
> The csi number only get appended to stocks if one exports
> inactives. If inactives are exported the csi number gets
> appended to all stocks.
>
> However, I maintain TWO csi databases in AB.
>
> The one for trading only has actives and only has data for
> 1 year. CSI numbers do not clutter up these active tickers.
>
> My "research" database has inactives so that is where I
> need the help sorting stocks.
>
> b
>
> --- Dave Merrill <dmerrill@xxxxxxx> wrote:
> > Is it true that they're appending their ticker number to
> > the end of ALL
> > stocks, not just inactive ones? So none of our tickers
> > match those in use in
> > the "real" world, previous tests, or previous code? I'm
> > not liking the sound
> > of that.
> >
> > It seems like a good way to avoid collisions between
> > active and inactive
> > stocks with the same ticker, but I think I'd much prefer
> > it to happen only
> > for inactive tickers, so current tickers would be
> > unchanged.
> >
> > Please correct me if I'm mishearing this, or
> > misunderstanding the
> > implications, either of their current method or my
> > suggestion.
> >
> > Dave
> >   My AFL code to automatically create watchists no longer
> > works. The
> >   following worked when CSI gave its index ticker names
> > like:
> >
> >   RUT-I
> >
> >   index = StrRight( Name(), 2) == "_i"; //was always at
> > the end.
> >   if(index) CategoryAddSymbol( "", categoryIndex, 1 ) ;
> >
> >   But now CSI has appended its unique ticker number to
> > each ticker - a
> >   good way to make sure active and inactive stocks with
> > the same
> >   symbol will have two distinct and unique tickers when
> > imported into
> >   AB. So RUT-I new ticker in AB is
> >
> >   RUT-I-6754
> >
> >   And my StrRight code will not work. Any ideas on how to
> > change my
> >   code would be appreciated. The "brute force" approach
> > would be
> >   something like the following, but I am hoping to find a
> > more elegant
> >   way to code this.
> >
> >   p4 = StrMid( Name(), 4, 2);
> >   p5 = StrMid( Name(), 5, 2); //brute force
> >   p6 = StrMid( Name(), 5, 2); //brute force
> >   etc.
> >   index = p4 == "-I" OR p5 == "-I" OR p6 == "-I" ;
> >   London = p4 == "-L" OR p5 == "-L" OR p6 == "-L" ;
> >   etc.
> >   if(index) CategoryAddSymbol( "", categoryWatchlist, 6 )
> > ;
> >   if(London) CategoryAddSymbol( "", categoryWatchlist, 7
> > ) ;
> >   etc.



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/GHeqlB/TM
---------------------------------------------------------------------~->

Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/amibroker/

<*> To unsubscribe from this group, send an email to:
     amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/