internal static string Format(double lotSize, double roundingStepOfPrice, IEnumerable <double> volumes, Quotes quotes) { StringBuilder builder = new StringBuilder(); WriteHeader(volumes, builder); foreach (var element in quotes.Items) { WriteQuote(lotSize, roundingStepOfPrice, volumes, element, quotes.Time, builder); } string result = builder.ToString(); return(result); }
private GraphPart(Quotes quotes) { m_points.Capacity = 1 + quotes.Items.Count; }