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

[amibroker] Re: Deleting a Composite from afl?



PureBytes Links

Trading Reference Links

Dingo,
You posted
http://groups.yahoo.com/group/amibroker/message/55607
and, at the end
NOTE: I HAVE NOT TRIED THIS
Just for the fair discussion, is it possible to see a solution that 
works ?
[for us, the poor non-jscript users]
Dimitris Tsokakis
--- In amibroker@xxxxxxxxxxxxxxx, "dingo" <dingo@xxxx> wrote:
> If that was for me - I do understand what you're saying and I did 
offer
> H a jscript "solution" but then others suggested removing from
> watchlist, etc and I got confoosed with what H was after.  Just 
wanted
> his definition to see how close I was.
>  
> Thanks for the clarification.
>  
> d
> 
> -----Original Message-----
> From: Tomasz Janeczko [mailto:amibroker@x...] 
> Sent: Tuesday, December 30, 2003 9:46 AM
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: Re: [amibroker] Re: Deleting a Composite from afl?
> 
> 
> 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:
> http://www.amibroker.com/guide/afl/afl_view.php?
name=CATEGORYREMOVESYMBO
> L
>  
> 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 <mailto:dingo@x...>  
> 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
> 
> 
> *	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
> <mailto:amibroker-unsubscribe@xxxxxxxxxxxxxxx?subject=Unsubscribe> 
>   
> 
> *	Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> Service <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
> <mailto:amibroker-unsubscribe@xxxxxxxxxxxxxxx?subject=Unsubscribe> 
>   
> 
> *	Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> Service <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
> <mailto:amibroker-unsubscribe@xxxxxxxxxxxxxxx?subject=Unsubscribe> 
>   
> 
> *	Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> Service <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 Sponsor	
> 
> ADVERTISEMENT
>  
> 
<http://rd.yahoo.com/SIG=12cd0doi1/M=243273.4326031.5516772.1261774/D=
eg
> 
roupweb/S=1705632198:HM/EXP=1072881991/A=1750744/R=0/*http://servedby.
ad
> vertising.com/click/site=552006/bnum=1072795591583110> Click to 
learn
> more... 	
>  
> <http://us.adserver.yahoo.com/l?
M=243273.4326031.5516772.1261774/D=egrou
> pmail/S=:HM/A=1750744/rand=848495656> 	
> 
> 
>   _____  
> 
> 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
> <mailto:amibroker-unsubscribe@xxxxxxxxxxxxxxx?subject=Unsubscribe> 
>   
> 
> *	Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> Service <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 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
---------------------------------------------------------------------~->

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/