[Quantproject-developers] QuantProject/b4_Business/a1_Financial/a4_Fundamentals/FairValueProviders
Brought to you by:
glauco_1
|
From: Marco M. <mi...@us...> - 2011-08-21 13:13:49
|
Update of /cvsroot/quantproject/QuantProject/b4_Business/a1_Financial/a4_Fundamentals/FairValueProviders
In directory vz-cvs-3.sog:/tmp/cvs-serv15972/a4_Fundamentals/FairValueProviders
Modified Files:
PEGRatioFairValueProvider.cs
Log Message:
Updated the implementation of the interface
Index: PEGRatioFairValueProvider.cs
===================================================================
RCS file: /cvsroot/quantproject/QuantProject/b4_Business/a1_Financial/a4_Fundamentals/FairValueProviders/PEGRatioFairValueProvider.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** PEGRatioFairValueProvider.cs 16 Jan 2011 18:42:37 -0000 1.1
--- PEGRatioFairValueProvider.cs 21 Aug 2011 13:13:47 -0000 1.2
***************
*** 52,56 ****
}
! private double getPEGRatio(string ticker , DateTime firstDateForFundamentals,
DateTime dateOfFairValueComputation)
{
--- 52,56 ----
}
! private double getPEGRatio(string ticker ,
DateTime dateOfFairValueComputation)
{
***************
*** 68,72 ****
}
! public double GetFairValue( string ticker , DateTime firstDateForFundamentals,
DateTime dateOfFairValueComputation )
{
--- 68,85 ----
}
! public void Run(DateTime dateTime)
! {
! ;
! }
!
! public string Description
! {
! get
! {
! return "PEGRatioFairValueProvider";
! }
! }
!
! public double GetFairValue( string ticker ,
DateTime dateOfFairValueComputation )
{
***************
*** 76,81 ****
dateOfFairValueComputation);
returnValue = priceAtDateOfFairValueComputation * this.fairPEGRatioLevel /
! this.getPEGRatio(ticker,
! firstDateForFundamentals,
dateOfFairValueComputation);
--- 89,93 ----
dateOfFairValueComputation);
returnValue = priceAtDateOfFairValueComputation * this.fairPEGRatioLevel /
! this.getPEGRatio(ticker,
dateOfFairValueComputation);
|