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

Re: [amibroker] Re: Deleting Option tickers from the data base



PureBytes Links

Trading Reference Links

Hello,

You can adopt the ASX script I just have sent.
Go to the line number 43:
if( oTicker.length > 3 )

and replace it by
if( oStock.GroupID == 10 )

and that's it.

Best regards,
Tomasz Janeczko
amibroker.com

----- Original Message -----
From: "DIMITRIS TSOKAKIS" <TSOKAKIS@xxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: 25 July, 2001 11:47
Subject: [amibroker] Re: Deleting Option tickers from the data base


Dear Tomasz,
Sorry, I misunderstood your "it scans the database" and thought it
works in AA.
So, I repeat my question:
How can I delete all stocks from my Group 10 ?
An undesirable mix of Athens SE and AMEX occurred in the same
database and I want to get rid of AMEX, if it is possible.
Best Regards
Dimitris Tsokakis
--- In amibroker@xxxx, "DIMITRIS TSOKAKIS" <TSOKAKIS@xxxx> wrote:
> Dear Tomasz,
> I downloaded the attachment.
> Opening the file in AA, I read a single /
> Opening the file itself, I have an error
> Line 1
> Character 2
> Expected a ´/´
> Code 800A03F4
>
> Am I missing something ?
> I want to delete all stocks from group 10.
>
> Best regards
> Dimitris Tsokakis
> --- In amibroker@xxxx, "Tomasz Janeczko" <amibroker@xxxx> wrote:
> > Hello Fred,
> >
> > I have prepared a special script for ASX that
> > REMOVES all tickers that have the length > 3.
> >
> > By default it scans the database and finally gives
> > you the number of such tickers and ask if you want to delete them
> ALL or not.
> >
> > It can be modifed however to ask for EVERY SINGLE ticker
> > - just change AskUser = false line to:
> > AskUser = true;
> >
> > No need to work manually :-) Just run AmiBroekr and double click
on
> the script.
> >
> > Best regards,
> > Tomasz Janeczko
> > ===============
> > AmiBroker - the comprehensive share manager.
> > http://www.amibroker.com
> >
> >
> >
> > ----- Original Message -----
> > From: "rbf" <rbf@xxxx>
> > To: <amibroker@xxxx>
> > Sent: Wednesday, July 25, 2001 3:35 AM
> > Subject: [amibroker] Deleting Option tickers from the data base
> >
> >
> > >
> > >
> > > > > Q2] My ascii files contain hundreds of six-letter tickers
> denoting
> > > > > stock options. How do I prevent them from entering the data
> base at
> > > > > all ?
> > >
> > > > Currently there is no easy way to prevent them from being
> imported
> > > > IF they are all in single ASCII file.
> > > > You can create a scan like this:
> > > > buy = name()==6;
> > > > and move the results to a separate group so you can omit these
> > > > tickers during back-testing.
> > > >
> > > > Best regards,
> > > > Tomasz Janeczko
> > >
> > > Hello Tomasz
> > >
> > > I'll pre-process the daily data file to eliminate all tickers
of
> length > 3
> > > (after renaming CMLC to CM2 and renaming CMLDA to CM1). That
> will fix 'the
> > > problem' for future data .
> > > (we're talking about a thousand+ bits of rubbish (Options &
> Warrants
> > > tickers) whose numbers grow 'daily' unless I stop it from doing
> so !)
> > >
> > > Using your scan idea (as corrected :-) ) how do you
> > > Q1] MOVE the results from the scan list into a Group (say Group
> 200, rather
> > > than a Watch List) in 'one operation' ? and then
> > > Q2] DELETE from the database all the stocks in that Group
in 'one
> operation'
> > > ?
> > > - given the disk space these unwanted files take up it is
better
> to delete
> > > them rather than just omit them when back-testing.
> > >
> > > Best Regards
> > >
> > > Fred Browne
> > >
> > >
> > >
> > >
> > >
> > > Your use of Yahoo! Groups is subject to
> http://docs.yahoo.com/info/terms/
> > >
> > >
> > >





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