PureBytes Links
Trading Reference Links
|
Tomasz,
In one way or another, the best solution would be a
CategoryDeleteSymbol() new function, if, of course, technically
possible...
Dimitris Tsokakis
--- In amibroker@xxxxxxxxxxxxxxx, "Tomasz Janeczko" <amibroker@xxxx>
wrote:
> Dimitris,
>
> > Hermans question was posted at
> > http://groups.yahoo.com/group/amibroker/message/55602
> > Since then I have not seen any reply of yours for this specific
> > question.
> > Your last message
> > http://groups.yahoo.com/group/amibroker/message/55576
> > was referring to the Resetting a composite.
>
> I probably did not expressed myself in detail.
> my 'resetting' code has been modified by Dingo
> http://groups.yahoo.com/group/amibroker/message/55607
> to actually delete the symbol.
>
> (note that () parentheses are needed after 'Remove' function name
in Dingo's code)
>
> So I was thinking that the problem has been solved for Herman.
>
> Best regards,
> Tomasz Janeczko
> amibroker.com
> ----- Original Message -----
> From: "DIMITRIS TSOKAKIS" <TSOKAKIS@xxxx>
> To: <amibroker@xxxxxxxxxxxxxxx>
> Sent: Tuesday, December 30, 2003 5:26 PM
> Subject: [amibroker] Re: Deleting a Composite from afl?
>
>
>
> > Dimitris Tsokakis
> > --- In amibroker@xxxxxxxxxxxxxxx, "Tomasz Janeczko"
<amibroker@xxxx>
> > wrote:
> > > MessageHello,
> > >
> > > I am using (or trying to use) the following convention in the
user
> > interface, docs and function names:
> > > DELETE (symbol) - means permantent deletion from the database
> > > REMOVE (symbol from watch list/group) - remove assignment to
given
> > watch list/group without deleting the symbol from the database
> > >
> > > So CategoryRemoveSymbol does NOT delete the symbol from the
> > database, it just removes symbol from given category
> > > as described in the User's Guide:
> > > http://www.amibroker.com/guide/afl/afl_view.php?
> > name=CATEGORYREMOVESYMBOL
> > >
> > > The only way to actually DELETE stock programatically is to use
> > JScript code I have provided in one of my previous responses
> > > to original Herman's e-mail.
> > >
> > > Best regards,
> > > Tomasz Janeczko
> > > amibroker.com
> > > ----- Original Message -----
> > > From: dingo
> > > To: amibroker@xxxxxxxxxxxxxxx
> > > Sent: Tuesday, December 30, 2003 3:38 PM
> > > Subject: RE: [amibroker] Re: Deleting a Composite from afl?
> > >
> > >
> > > Well, after all of those ideas: Delete from the database;
Delete
> > from a watchlist; etc. What exactly DID you mean by the word
delete?
> > >
> > > d
> > > -----Original Message-----
> > > From: Herman vandenBergen [mailto:psytek@x...]
> > > Sent: Tuesday, December 30, 2003 1:05 AM
> > > To: amibroker@xxxxxxxxxxxxxxx
> > > Subject: RE: [amibroker] Re: Deleting a Composite from afl?
> > >
> > >
> > > Thank you DT, another method to try ... it seems i cab't
keep
> > up with trying all the ideas...
> > >
> > > many thanks for the idea!
> > >
> > > herman.
> > >
> > > -----Original Message-----
> > > From: DIMITRIS TSOKAKIS [mailto:TSOKAKIS@x...]
> > > Sent: December 29, 2003 4:01 PM
> > > To: amibroker@xxxxxxxxxxxxxxx
> > > Subject: [amibroker] Re: Deleting a Composite from afl?
> > >
> > >
> > > Herman,
> > > I do not know how to delete the ~tickers.
> > > I will translate your request "delete" into "delete from
any
> > Group"
> > > The ~tickers go to Group253.
> > > The following code will not exactly delete the ~tickers,
but,
> > after
> > > the exploration there will be no group including any
~ticker.
> > [they
> > > all go to some MarketXXX]
> > >
> > > ORigin=253;destination=-1;
> > > List=CategoryGetSymbols(categoryGroup,ORigin);
> > > for(i=0;(sym=StrExtract(List,i))!="";i++)
> > > {
> > > CategoryRemoveSymbol(sym, categoryGroup, ORigin );
> > > CategoryAddSymbol(sym, categoryGroup,
> > > destination );
> > > }
> > > Filter=1;// any current stock for the n=1 last quotations
> > > AddColumn(C,"");
> > > //View->RefreshAll
> > >
> > > [The blind Remove [without Add] will just put all of them
> > into
> > > Group0]
> > > Dimitris Tsokakis
> > > --- In amibroker@xxxxxxxxxxxxxxx, "Herman vandenBergen"
> > <psytek@xxxx>
> > > wrote:
> > > > OOPS! Remove is not delete, it just moves it to the ALL
> > category.
> > > Shows you
> > > > i have to read the manual not only more often but also
more
> > > thorough :-)
> > > >
> > > > herman
> > > >
> > > > -----Original Message-----
> > > > From: Herman vandenBergen [mailto:psytek@x...]
> > > > Sent: December 29, 2003 2:28 PM
> > > > To: amibroker@xxxxxxxxxxxxxxx
> > > > Subject: RE: [amibroker] Deleting a Composite from afl?
> > > >
> > > >
> > > > Thanks Dale and William,
> > > >
> > > > but look what I found in the afl help:
> > > >
> > > > CategoryRemoveSymbol( "~MyComposite",
categoryGroup,
> > 253 ) ;
> > > >
> > > > Shows you we got to read the manual more often :-)
> > > >
> > > > herman
> > > >
> > > > -----Original Message-----
> > > > From: William Peters [mailto:williampeters@x...]
> > > > Sent: December 29, 2003 11:15 AM
> > > > To: amibroker@xxxxxxxxxxxxxxx
> > > > Subject: RE: [amibroker] Deleting a Composite from afl?
> > > >
> > > >
> > > > Herman,
> > > >
> > > > Probably something along these lines.
> > > > Variables to change are "filename" and "filepath"
> > > > This should paste directly into AA without any problems.
> > > >
> > > > fso = CreateStaticObject("Scripting.FileSystemObject");
> > > > filename = "~YourFile";
> > > > filepath = "D:\\" + GetDatabaseName() + "\\_\\";
> > > > if ( fso.FileExists( filepath + filename ) )
> > > > {
> > > > fso.DeleteFile( filepath + filename );
> > > > }
> > > > Filter = 1;
> > > > AddTextColumn( filepath + filename, "Full File Path");
> > > >
> > > > Regards,
> > > > William Peters
> > > > www.amitools.com
> > > >
> > > > -----Original Message-----
> > > > From: Herman vandenBergen [mailto:psytek@x...]
> > > > Sent: Sunday December 28, 2003 7:15 PM
> > > > To: amibroker@xxxxxxxxxxxxxxx
> > > > Subject: [amibroker] Deleting a Composite from afl?
> > > >
> > > >
> > > > Hello,
> > > >
> > > > since i get such excellen help from the list, one more
> > question: is
> > > it
> > > > possible to delete Composites from afl?
> > > >
> > > > many thanks,
> > > > herman
> > > >
> > > >
> > > > Send BUG REPORTS to bugs@xxxx
> > > > Send SUGGESTIONS to suggest@xxxx
> > > > -----------------------------------------
> > > > 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 Sponsor
> > > > ADVERTISEMENT
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > 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 the Yahoo!
Terms of
> > Service.
> > > >
> > > >
> > > > Send BUG REPORTS to bugs@xxxx
> > > > Send SUGGESTIONS to suggest@xxxx
> > > > -----------------------------------------
> > > > 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/
> > > >
> > > >
> > > >
> > > >
> > > > Send BUG REPORTS to bugs@xxxx
> > > > Send SUGGESTIONS to suggest@xxxx
> > > > -----------------------------------------
> > > > 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/
> > >
> > >
> > >
> > > Send BUG REPORTS to bugs@xxxx
> > > Send SUGGESTIONS to suggest@xxxx
> > > -----------------------------------------
> > > 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
> > >
> > > a.. To visit your group on the web, go to:
> > > http://groups.yahoo.com/group/amibroker/
> > >
> > > b.. To unsubscribe from this group, send an email to:
> > > amibroker-unsubscribe@xxxxxxxxxxxxxxx
> > >
> > > c.. Your use of Yahoo! Groups is subject to the Yahoo!
> > Terms of Service.
> > >
> > >
> > >
> > >
> > > Send BUG REPORTS to bugs@xxxx
> > > Send SUGGESTIONS to suggest@xxxx
> > > -----------------------------------------
> > > 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
> > >
> > > a.. To visit your group on the web, go to:
> > > http://groups.yahoo.com/group/amibroker/
> > >
> > > b.. To unsubscribe from this group, send an email to:
> > > amibroker-unsubscribe@xxxxxxxxxxxxxxx
> > >
> > > c.. Your use of Yahoo! Groups is subject to the Yahoo!
Terms
> > of Service.
> > >
> > >
> > >
> > >
> > > Send BUG REPORTS to bugs@xxxx
> > > Send SUGGESTIONS to suggest@xxxx
> > > -----------------------------------------
> > > 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
> > >
> > > a.. To visit your group on the web, go to:
> > > http://groups.yahoo.com/group/amibroker/
> > >
> > > b.. To unsubscribe from this group, send an email to:
> > > amibroker-unsubscribe@xxxxxxxxxxxxxxx
> > >
> > > c.. Your use of Yahoo! Groups is subject to the Yahoo!
Terms of
> > Service.
> >
> >
> > Send BUG REPORTS to bugs@xxxx
> > Send SUGGESTIONS to suggest@xxxx
> > -----------------------------------------
> > 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/
> >
> >
> >
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/
|