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

Re: [amibroker] String question



PureBytes Links

Trading Reference Links




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
 
 
 
<BLOCKQUOTE 
>
  <DIV 
  >From: 
  Bob Jagow 
  
  To: <A title=amibroker@xxxxxxxxxxxxxxx 
  href="">amibroker@xxxxxxxxxxxxxxx 
  Sent: Tuesday, May 20, 2003 4:36 PM
  Subject: RE: [amibroker] String 
  question
  
  <SPAN 
  class=499482914-20052003>Especially since there are lots of preferred 
  issues [such as CYA] that don't end in " P*".
  <SPAN 
  class=499482914-20052003>Would need to use issuetype to exclude 
  them.
  <SPAN 
  class=499482914-20052003> 
  <SPAN 
  class=499482914-20052003>Bob <FONT face=Arial color=#0000ff 
  size=2>
  
    <FONT face=Tahoma 
    size=2>-----Original Message-----From: <A 
    href="">funnybiz@xxxxxx 
    [mailto:funnybiz@xxxxxx]Sent: Tuesday, May 20, 2003 1:54 
    AMTo: <A 
    href="">amibroker@xxxxxxxxxxxxxxxSubject: 
    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
    <BLOCKQUOTE 
    >
      ----- Original Message ----- 
      <DIV 
      >From: 
      <A title=jcasavant@xxxxxxxxxxxx 
      href="">Jayson 
      To: <A 
      title=amibroker@xxxxxxxxxxxxxxx 
      href="">amibroker@xxxxxxxxxxxxxxx 
      
      Sent: Monday, May 19, 2003 4:40 
      PM
      Subject: RE: [amibroker] String 
      question
      
      <SPAN 
      class=290302014-19052003>Markus,
      <SPAN 
      class=290302014-19052003>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 
      <FONT face=Tahoma 
      size=2>-----Original Message-----From: funnybiz@xxxxxx 
      [mailto:funnybiz@xxxxxx]Sent: Monday, May 19, 2003 5:32 
      AMTo: 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<FONT 
      face="Courier New" color=#6600aa> 
      (StrRight<FONT 
      face="Courier New" color=#6600aa>(<FONT face="Courier New" 
      color=#0000ff>Name<FONT face="Courier New" 
      color=#6600aa>(),<FONT face="Courier New" 
      color=#ff00ff>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<FONT 
      face="Courier New" color=#6600aa>(<FONT face="Courier New" 
      color=#0000ff>Name<FONT face="Courier New" 
      color=#6600aa>(),<FONT face="Courier New" 
      color=#ff00ff>2) != 
      " P"<FONT 
      face="Courier New" color=#6600aa>);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 
      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 
      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 
    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 
  Your use of Yahoo! Groups is subject to the <A 
  href="">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.