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

RE: [amibroker] String question



PureBytes Links

Trading Reference Links

Thanks, Peter.
Would have been useful if TJ had cribbed your dictionary :)

Was interested in your << Once Tomasz releases the vendor plugin development
kit I should be able to filter these out of my
QP data using issuetype. Until then ... it's customized lists.>>

Assuming you found filtration impossible , did you implement removal via a
delete script?

Bob


-----Original Message-----
From: bluesinvestor [mailto:investor@xxxxxxxxxxxxx]
Sent: Tuesday, May 20, 2003 11:00 AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: RE: [amibroker] String question


Bob,

http://groups.yahoo.com/group/amibroker/message/17303

Regards,
Peter

-----Original Message-----
From: Bob Jagow [mailto:bjagow@xxxxxxxxxxx]
Sent: Tuesday, May 20, 2003 12:49 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: RE: [amibroker] String question

Markus,
Filter = GetExtraData("IssueType") == "P"; "worked" but returned
nothing-- your " P" may have been the problem or GetExtraData may have
tired of the game :)
 
Tomasz  said IssueType returns "1 character string [matching] the fields
available in the QP2 MasterRec--whatever they are?
http://groups.yahoo.com/group/amibroker/message/17355
 
I meant that you should use issuetype in a QP scan [see below]
In order see what was happening, I scanned with IssueType Preferred; and
imported the list..
Voila, the critters all returned "1".
Hence Filter = GetExtraData("IssueType") == "1"; got them and  != "1"
should toss 'em out. Note, however, that this way is much slower than
doing it in QP and importing the watcchlist.
Bob
---
I normally use IssueType Common; , but this excludes warrants, closed-
end funds, and ETF. Add them if desired, e.g., IssueType Common,ETF;
Had never tried IssueType != Preferred;, but now see it's unliked.
-----Original Message-----
From: funnybiz@xxxxxx [mailto:funnybiz@xxxxxx]
Sent: Tuesday, May 20, 2003 7:51 AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: Re: [amibroker] String question
Bob,
 
glad you stepped in here.
 
I used the filter=getextradata("issuetype")=="p".
 
Weird enough, AB starts checking, then returns error as below.
 
Would you mind checking if the code is correct (i.e. finds ALL
preferred) plus if you encounter the same error, please????
 
Line 2, Column 40:
Filter= GetExtraData("issuetype")==" p";
---------------------------------------^
 
Error 18.
GetExtraData failed
 
Many thanks
 
Markus
 
 
 
From: Bob Jagow
To: amibroker@xxxxxxxxxxxxxxx
Sent: Tuesday, May 20, 2003 4:36 PM
Subject: RE: [amibroker] String question

Especially since there are lots of preferred issues [such as CYA] that
don't end in " P*".
Would need to use issuetype to exclude them.
 
Bob 
-----Original Message-----
From: funnybiz@xxxxxx [mailto:funnybiz@xxxxxx]
Sent: Tuesday, May 20, 2003 1:54 AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: Re: [amibroker] String question
Jayson,
 
this might be the most efficient way to go.
 
Justwanted to play arount with the string functions to understand them
better.
 
Markus
----- Original Message -----
From: Jayson
To: amibroker@xxxxxxxxxxxxxxx
Sent: Monday, May 19, 2003 4:40 PM
Subject: RE: [amibroker] String question

Markus,
Why not simply do this in QP2 then create a watchlist of your exported
qp2 list? The advantage is that AB does not need to chug through your
whole database checking all your various criteria since every stock in
your watchlist will meet all your criteria.When doing scans and explores
you simply point to this "Universe" of stocks.
 
Regards, 
Jayson
-----Original Message-----
From: funnybiz@xxxxxx [mailto:funnybiz@xxxxxx]
Sent: Monday, May 19, 2003 5:32 AM
To: Amibroker (Yahoo-Forum)
Subject: [amibroker] String question
Hello,
 
I want to exclude all preferred stocks from my scan.
 
In their symbols they either end with " p" (space p) or with " p.."
(space p followed by any other letter).
 
While the first may be excluded by
(StrRight(Name(),2) != " P"
how could exclude latter case since I don´t know which (if at all)
letter might follow??
Thank you for your help
 
Markus
 
 
(StrRight(Name(),2) != " P");


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

Your use of Yahoo! Groups is subject to the 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

Your use of Yahoo! Groups is subject to the 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

Your use of Yahoo! Groups is subject to the 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

Your use of Yahoo! Groups is subject to the 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

Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.


Yahoo! Groups Sponsor
ADVERTISEMENT




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

Your use of Yahoo! Groups is subject to the 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

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get A Free Psychic Reading!
Your Online Answer To Life's Important Questions.
http://us.click.yahoo.com/aM1XQD/od7FAA/uetFAA/GHeqlB/TM
---------------------------------------------------------------------~->

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 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/