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

RE: [AmiBroker] Accessing qp2 data with activeX



PureBytes Links

Trading Reference Links




Can 
someone post the QP2FundData.afl as listed in <A 
href="" target=_blank><FONT 
face="Times New Roman" size=3>Message 10043 - AmiBroker 
YahooGroup
<FONT face=Arial color=#0000ff 
size=2> 
Too 
bad Yahoo scrapped the attachments...
<FONT face=Arial color=#0000ff 
size=2> 
<FONT face=Arial color=#0000ff 
size=2>Thanks
<FONT face=Arial color=#0000ff 
size=2> 
Mr 
Valley
<FONT face=Arial color=#0000ff 
size=2> 

  <FONT face=Tahoma 
  size=2>-----Original Message-----From: Mark H 
  [mailto:amibroker@xxxxxxxxxxxxx]Sent: Friday, December 05, 2003 
  11:19 PMTo: amibroker@xxxxxxxxxxxxxxxSubject: Re: 
  [amibroker] Accessing qp2 data with activeX
  I believe that GetExtraData() function provide 
  the following data from QP2. Not sure that's sufficient for your 
  purpose.
  
  
    "AnnDividend" 
    "Shares" 
    "SharesFloat" 
    "IssueType" (string) 
    "SharesOut" 
    "SharesShort" 
    "TTMsales" 
    "Beta" 
    "TTMEps" 
    "HiPERange" 
    "LoPERange" 
    "PEG" 
    "InstHolds" 
    "LTDebtToEq" 
    "CashFlowPerShare" 
    "ROE" 
    "TTMSales" 
    "Yr1EPSGrowth" 
    "Yr5EPSGrowth" 
    "Yr1ProjEPSGrowth" 
    "Yr2ProjEPSGrowth" 
    "Yr3to5ProjEPSGrowth" 
    "BookValuePerShare" 
    "Briefing" (string) 
    "QRS" (array) 
    "HasOptions" 
  <BLOCKQUOTE 
  >
    ----- Original Message ----- 
    <DIV 
    >From: 
    <A title=Yuanjie.Zou@xxxxxxxxxx 
    href="">zouyuanjie 
    To: <A title=amibroker@xxxxxxxxxxxxxxx 
    href="">amibroker@xxxxxxxxxxxxxxx 
    Sent: Saturday, December 06, 2003 1:00 
    AM
    Subject: [amibroker] Accessing qp2 data 
    with activeX
    Hi all,I found the following code pretty useful 
    for accessing qp2 data(such as QuotesPlus.RevEps) with AFL formula. However, 
    I could not find additional information for this functionality. I want to 
    access additional data such as estimated earnings in QP2, do anyone know 
    where I can find such documentation.Thanks in 
    advance!<%try{RevEps = new 
    ActiveXObject("QuotesPlus.RevEps");CInfo = new 
    ActiveXObject("QuotesPlus.CompanyInfo");RevEps.Symbol = 
    AFL("ticker");CInfo.Symbol = AFL("ticker");AFL("RevQtr0") = 
    Number(RevEps.Revenues(0)); // THIS RULES GIVE ERROR// AND SO 
    ... SHOULD CHECK IF DATA IS AVAILABLE OR// THROW AN ERROR 
    ...AFL("RevQtr1") = Number(RevEps.Revenues(-1));AFL("RevQtr2") = 
    Number(RevEps.Revenues(-2));AFL("RevQtr3") = 
    Number(RevEps.Revenues(-3));AFL("RevQtr4") = 
    Number(RevEps.Revenues(-4));AFL("EarQtr0") = 
    Number(RevEps.Earnings(0));AFL("EarQtr1") = 
    Number(RevEps.Earnings(-1));AFL("EarQtr2") = 
    Number(RevEps.Earnings(-2));AFL("EarQtr3") = 
    Number(RevEps.Earnings(-3));}catch( e 
    ){}%>RevFac=1.05; // 10% increase in 
    revenuesEarFac=1.05; // 10% increase in 
    earnings//RevCond=(RevQtr0>RevFac*RevQtr1) AND 
    (RevQtr1>RevFac*RevQtr2) 
    AND(RevQtr2>RevFac*RevQtr3);//EarCond=(EarQtr0>EarFac*EarQtr1) AND 
    (EarQtr1>EarFac*EarQtr2) 
    AND(EarQtr2>EarFac*EarQtr3);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.