[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:12:40
|
Update of /cvsroot/quantproject/QuantProject/b4_Business/a1_Financial/a4_Fundamentals/FairValueProviders
In directory vz-cvs-3.sog:/tmp/cvs-serv15943/a4_Fundamentals/FairValueProviders
Modified Files:
IFairValueProvider.cs
Log Message:
Objects implementing this interface have to implement also ILogDescriptor.
Added Run method to the interface
Index: IFairValueProvider.cs
===================================================================
RCS file: /cvsroot/quantproject/QuantProject/b4_Business/a1_Financial/a4_Fundamentals/FairValueProviders/IFairValueProvider.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** IFairValueProvider.cs 16 Jan 2011 18:42:37 -0000 1.1
--- IFairValueProvider.cs 21 Aug 2011 13:12:38 -0000 1.2
***************
*** 21,24 ****
--- 21,25 ----
using System;
+ using QuantProject.Business.Strategies.Logging;
namespace QuantProject.Business.Financial.Fundamentals.FairValueProviders
***************
*** 29,35 ****
/// available fundamental data since another previous date
/// </summary>
! public interface IFairValueProvider
{
! double GetFairValue( string ticker , DateTime firstDateForFundamentals,
DateTime dateOfFairValueComputation );
}
--- 30,41 ----
/// available fundamental data since another previous date
/// </summary>
! public interface IFairValueProvider : ILogDescriptor
{
! void Run(DateTime dateOfFairValueComputation);
! //for IFairValueProvider objects of some complexity,
! //a run method may be required before
! //calling GetFairValue, for providing
! //the actual computation of the fair value
! double GetFairValue( string ticker ,
DateTime dateOfFairValueComputation );
}
|