PureBytes Links
Trading Reference Links
|
Dave,
I've just run the following code against my QP data, specifically the !DJI ticker and it returned true.
Filter = 1;
AddColumn( IsIndex(), "IsIndex");
If you right click the ticker in the symbol tree and open the Information dialogue box for the ticker the Index check box should be checked.
Regards,
William Peters
www.amitools.com
-----Original Message-----
From: Dave Merrill [mailto:dmerrill@xxxxxxx]
Sent: Sunday December 28, 2003 11:45 PM
To: AmiBroker list
Subject: [amibroker] IsIndex() not very accurate with QuotesPlus date
A number of things that obviously are indexes return 0 for IsIndex(), at
least with QuotesPlus data. For instance:
!DJI, !SPX, !RUA, !RUT, !VIX
Is this a problem with QuotesPlus data? With the plugin that reads the data?
Something else?
For now, I'll use the leading "!" to tell if something is an index, but it
seems like IsIndex() is for that exact purpose, and if I switch to different
data that prefix may change, so I'd rather Do The Right Thing if possible.
Thanks,
Dave
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/
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/
|