26 [ProtoContract(SkipConstructor =
true)]
36 set {
Value = value; }
65 public Dividend(
Symbol symbol, DateTime date, decimal distribution, decimal referencePrice)
82 public static Dividend Create(
Symbol symbol, DateTime date, decimal referencePrice, decimal priceFactorRatio,
int decimalPlaces = 2)
85 return new Dividend(symbol, date, distribution, referencePrice);
97 return Math.Round(close - close * priceFactorRatio, decimalPlaces);
112 throw new NotImplementedException(
"This method is not supposed to be called on the Dividend type.");
155 return Invariant($
"Dividend: {Symbol}: {Distribution} | {ReferencePrice}");