Hi Joe, Hope that helped. I am having problems programming in VS2005 Standard Edition crashing with the QP COM, so I am actually still using VS2003. This is kind of a bummer since 2005 simplifies a lot of C++ code (for example concatenating strings) versus the 2003 version. I just bought 2005 but can't use it! I know 2003 always works Microsoft is looking into the problem at their end and I am trying to see if QP can look into. Also be sure to use the Price2Class for price data not the PriceClass. The Price2Class is up to date and works properly: this is not necessarily true for the PriceClass. I am not sure the data is up to date and entered properly with this class. I spoke to Gary, QuotesPlus owner and developer, about this last year so this is from the "horse's mouth". All the methods listed in the DJ manual for the Price class apply to Price2. Sincerely, John
________________________________ From: [email protected] on behalf of joe_global_2005 Sent: Fri 6/9/2006 9:23 AM To: [email protected] Subject: [quotes-plus] Re: historical fundamental data in QP database? John, Thanks for making it clear to the newbies to QP. Joe --- In [email protected] <mailto:quotes-plus%40yahoogroups.com> , "John Haworth" <[EMAIL PROTECTED]> wrote: > > What I pasted in below is from QP help files for their proprietary language. The database holds quarterly earnings and revenues back 12 quarters ( 0 to -11). So you can use the COM object in say VB or C++ to get at this data as I showed in my earlier e-mail this morning. > > As mentioned you would use the RevEpsClass and create an instance of it and then say to get data 12 quarters back you could write > > in C+: double dbl_EarningsBack12 = Convert::ToDouble(m_Earnings- >Earnings(-11)) where m_Earnings is an instance of the RevEpsClass > > in VB.Net: Dim dbl_Earnings# = m_Earnings.Earnings(-11); > > John > > ********************************************************************** ************************************************************ > > QTREPS(quarter#) > > Returns the earnings per share, in dollars, for the specified quarter. Data on the 12 most recent quarters are kept in the database. > > QTREPS(0) specified the most recent quarter; > > QTREPS(-1) is the quarter before the most recent; > > QTREPS(-11) is the oldest quarter available. > > Example > > Output = "mylist"; > > if QTREPS(0) > 3.0 then > > println symbol; > > endif; > > > ________________________________ > > From: [email protected] <mailto:quotes-plus%40yahoogroups.com> on > behalf of vjsworld > Sent: Fri 6/9/2006 6:01 AM > To: [email protected] <mailto:quotes-plus%40yahoogroups.com> > Subject: [quotes-plus] Re: historical fundamental data in QP database? > > > > OK, I see that in the DJtraders guide, but it only says it 0, -1, - > 2, -3 quarters... So does this mean it only goes back up to 4 > quarters (one year)? Or does it go back for years and this is just > not outlined in the guide? > > Thanks in advance, > Van > > --- In [email protected] <mailto:quotes-plus%40yahoogroups.com> > <mailto:quotes-plus% 40yahoogroups.com> , "John Haworth" <john@> wrote: > > > > > > > > You would use the RevEpsClass in the COM object. Earnings and > Revenues can be extracted back to I forget how many quarters but if > you wanted the earnings 1quarter back in VC++>Net you might write > > > > double dbl_EarningsBack1 = Convert::ToDouble(m_Earnings->Earnings (- > 1)) where m_Earnings is an instance you earlier created of the > RevEpsClass. > > > > So in summary Earnings and Revenues are not called by trading days > back in the database but by quarter. > > > > John > > > > ________________________________ > > > > From: [email protected] <mailto:quotes-plus%40yahoogroups.com> > > <mailto:quotes-plus% 40yahoogroups.com> on behalf of vjsworld > > Sent: Thu 6/8/2006 7:34 PM > > To: [email protected] <mailto:quotes-plus%40yahoogroups.com> > > <mailto:quotes-plus% 40yahoogroups.com> > > Subject: [quotes-plus] historical fundamental data in QP database? > > > > > > > > Can you access historical fundamental data from the QP database > via > > the API? I see how to get the price data out (for charting), but I > am > > trying to get fundamental data out so that I can chart EPS under > Price > > (as an indicator, or something I can create indicators with) in my > > charting program. > > > > The reason I ask this, is I see in the DJtraders guide that when > you > > call the price function, you need to tell it how many days back to > > load, but looking at the fundamental functions (EPS, etc), it > doesn't > > ask how many days to load....... > > > > Anybody have any experience here? > > > > > > > > > > > > > > [Non-text portions of this message have been removed] > > > > > > > > > [Non-text portions of this message have been removed] > [Non-text portions of this message have been removed] ------------------------ Yahoo! Groups Sponsor --------------------~--> Get to your groups with one click. Know instantly when new email arrives http://us.click.yahoo.com/.7bhrC/MGxNAA/yQLSAA/GHeqlB/TM --------------------------------------------------------------------~-> Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/quotes-plus/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
