19 using System.Collections.Generic;
50 public string Tag {
get; }
74 return Percent(algorithm, symbol, percent.SafeDecimalCast());
87 return Percent(algorithm, symbol, percent.SafeDecimalCast(), tag: tag);
102 var absolutePercentage = Math.Abs(percent);
115 catch (KeyNotFoundException)
121 if (security.
Price == 0)
123 algorithm.
Error(symbol.GetZeroPriceMessage());
155 var quantity = result.NumberOfLots * lotSize + (returnDeltaQuantity ? 0 : security.
Holdings.
Quantity);