private static void SetValues(Position source, PositionViewModel target)
 {
     if (source.Date != target.Date)
     {
         throw new InvalidOperationException();
     }
     target.Value = source.Value;
 }
 public void Update(Position source)
 {
     SetValues(source, this);
 }