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

RE: [amibroker] TimeFrameSet(inweekly)



PureBytes Links

Trading Reference Links

Herman,
The ID will be available if you send all stocks to, say, WL60.
Then,

 Listnum=60;id=0;
list = CategoryGetSymbols( categoryWatchlist, listnum ); 
   for( i = 0; ( sym = StrExtract( list, i ) ) != ""; i++ ) 
{
if(sym==Name())
{id=i;}
}
Filter=1;
AddColumn(id,"ID");
Dimitris Tsokakis
--- In amibroker@xxxxxxxxxxxxxxx, "Herman vandenBergen" <psytek@xxxx> 
wrote:
> Hello,
> 
> Would anybody know if there is a way to assign, or perhaps AB has 
it already
> internally, a permanent numerical ID to stocks?
> 
> What I need is a fast NumericalStockID <-> Symbol conversion 
routine (DLL?).
> Would it be possible to convert a Symbol's ASCII string to a number 
within
> the processing range of AB? I don't like tables because they have 
to be
> maintained, loaded and saved.
> 
> It is so much easier to work with permanent reference numbers as 
they can be
> stored and manipulated in numerical arrays.
> 
> Status("StockNum") doesn't work for me because it changes with the 
watchlist
> or when a stock drops out half-way during an AA operation, I found 
that out
> the hard way :-(
> 
> Are there any rules that govern the creation/issue of stock symbols?
> 
> many thanks for any help you can give,
> herman.


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/