PureBytes Links
Trading Reference Links
|
Hello,
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:
<A
href="">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 Janeczkoamibroker.com
<BLOCKQUOTE
>
----- Original Message -----
<DIV
>From:
dingo
To: <A title=amibroker@xxxxxxxxxxxxxxx
href="">amibroker@xxxxxxxxxxxxxxx
Sent: Tuesday, December 30, 2003 3:38
PM
Subject: RE: [amibroker] Re: Deleting a
Composite from afl?
<FONT face=Arial color=#0000ff
size=2>Well, after all of those ideas: Delete from the database; Delete from a
watchlist; etc. What exactly DID you mean by the word
delete?
<FONT face=Arial color=#0000ff
size=2>
<FONT face=Arial color=#0000ff
size=2>d
<FONT
face=Tahoma size=2>-----Original Message-----From: Herman
vandenBergen [mailto:psytek@xxxxxxxx] Sent: Tuesday, December 30,
2003 1:05 AMTo: <A
href="">amibroker@xxxxxxxxxxxxxxxSubject:
RE: [amibroker] Re: Deleting a Composite from afl?
<FONT face=Arial color=#0000ff
size=2>Thank you DT, another method to try ... it seems i cab't keep
up with trying all the ideas...
<FONT face=Arial color=#0000ff
size=2>
<FONT face=Arial color=#0000ff
size=2>many thanks for the idea!
<FONT face=Arial color=#0000ff
size=2>
<FONT face=Arial color=#0000ff
size=2>herman.
<FONT face=Arial color=#0000ff
size=2>
<FONT face=Tahoma
size=2>-----Original Message-----From: DIMITRIS TSOKAKIS
[mailto:TSOKAKIS@xxxxxxxxx]Sent: December 29, 2003 4:01
PMTo: amibroker@xxxxxxxxxxxxxxxSubject: [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
quotationsAddColumn(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@xxxx]> 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@xxxx]> 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@xxxx]> 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: <A
href="">http://groups.yahoo.com/group/amiquote/messages/)>
--------------------------------------------> Check group FAQ
at:> <A
href="">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:> <A
href="">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: <A
href="">http://groups.yahoo.com/group/amiquote/messages/)>
--------------------------------------------> Check group FAQ
at:> <A
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html>
> Yahoo! Groups Links> > To visit your group on the
web, go to:> <A
href="">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:> <A
href="">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: <A
href="">http://groups.yahoo.com/group/amiquote/messages/)>
--------------------------------------------> Check group FAQ
at:> <A
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html>
> > Yahoo! Groups Links> > To visit your group
on the web, go to:> <A
href="">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:> <A
href="">http://docs.yahoo.com/info/terms/Send
BUG REPORTS to bugs@xxxxxxxxxxxxxSend SUGGESTIONS to
suggest@xxxxxxxxxxxxx-----------------------------------------Post
AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page:
<A
href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check
group FAQ at: <A
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Yahoo! Groups Links
To visit your group on the web, go to:<A
href="">http://groups.yahoo.com/group/amibroker/
To unsubscribe from this group, send an email to:<A
href="">amibroker-unsubscribe@xxxxxxxxxxxxxxx
Your use of Yahoo! Groups is subject to the <A
href="">Yahoo! Terms of Service.
Send BUG REPORTS to
bugs@xxxxxxxxxxxxxSend SUGGESTIONS to
suggest@xxxxxxxxxxxxx-----------------------------------------Post
AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page:
<A
href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check
group FAQ at: <A
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Yahoo! Groups Links
To visit your group on the web, go to:<A
href="">http://groups.yahoo.com/group/amibroker/
To unsubscribe from this group, send an email to:<A
href="">amibroker-unsubscribe@xxxxxxxxxxxxxxx
Your use of Yahoo! Groups is subject to the <A
href="">Yahoo! Terms of Service.
Send BUG REPORTS to
bugs@xxxxxxxxxxxxxSend SUGGESTIONS to
suggest@xxxxxxxxxxxxx-----------------------------------------Post
AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A
href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check
group FAQ at: <A
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Yahoo! Groups Links
To visit your group on the web, go to:<A
href="">http://groups.yahoo.com/group/amibroker/
To unsubscribe from this group, send an email to:<A
href="">amibroker-unsubscribe@xxxxxxxxxxxxxxx
Your use of Yahoo! Groups is subject to the <A
href="">Yahoo! Terms of Service.
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 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.
|