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

RE: [amibroker] A new version of QP2 fundamental exploration



PureBytes Links

Trading Reference Links

Tomasz,

The new import (at least for QP symbols) is very very fast! Is there a new
import method?

Wow!

Peter Gialames

-----Original Message-----
From: Peter Gialames [mailto:investor@x...]
Sent: Friday, August 03, 2001 4:02 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: RE: [amibroker] A new version of QP2 fundamental exploration


But if I explore a second time, I get the correct values ...

Peter Gialames

-----Original Message-----
From: Peter Gialames [mailto:investor@x...]
Sent: Friday, August 03, 2001 3:53 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: RE: [amibroker] A new version of QP2 fundamental exploration


Hello Tomasz,

I am not getting the error I had before, but I am getting 0 values for the
first tickers on my list.

I know the catch(e) is supposed to find strange values, but I am getting the
same results for multiple lists. I have even closed AmiBroker and restarted
and got the same results (with different lists).

Very nice upgrade though - mouse wheel is a nice touch ... faster imports
also!

Peter Gialames

-----Original Message-----
From: Tomasz Janeczko [mailto:amibroker@x...]
Sent: Friday, August 03, 2001 3:38 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] A new version of QP2 fundamental exploration


Hi,

Here comes a new version of sample exploration script
that uses QP2 to access fundamental data.
If you run it using new v3.65beta it should not give you any errors.
Note: it is still slow due to the QuotesPlus slow initialization,
but it works. A persistent object creation that will solve this
speed issue will be added in some pre-3.7 beta version.

Best regards,
Tomasz Janeczko
===============
AmiBroker - the comprehensive share manager.
http://www.amibroker.com


EnableScript("jscript");

filter = cum( 1 ) == lastvalue( cum( 1 ) );
// this is to show only one entry per stock

ticker = name();
numcolumns = 4;

<%
CInfo = new ActiveXObject("QuotesPlus.CompanyInfo");
CInfo.Symbol = AFL("ticker");

// try-catch block handles the situation when
// QuotesPlus object returns strange values

try
{
AFL("Float") = Number( CInfo.Float() );
AFL("EPS") = Number( CInfo.TTMEPS() );
AFL("ROE") = Number( CInfo.ROE() );
AFL("Dividend") = Number( CInfo.AnnualDividend() );
}
catch( e )
{
AFL("Float") = 0;
AFL("EPS") = 0;
AFL("ROE") = 0;
AFL("Dividend") = 0;

}

%>

column0 = Float;
column0name = "Float";
column1 = EPS;
column1name = "TTM EPS";
column2 = ROE;
column2name = "ROE";
column3 = Dividend;
column3name = "Dividend";








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







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







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