diff --git a/src/client/spark/Modules/Trading/Ladder/View/LadderRender.cs b/src/client/spark/Modules/Trading/Ladder/View/LadderRender.cs index fc60056b0..ce0be11e4 100644 --- a/src/client/spark/Modules/Trading/Ladder/View/LadderRender.cs +++ b/src/client/spark/Modules/Trading/Ladder/View/LadderRender.cs @@ -95,23 +95,6 @@ namespace mbts.spark { settings.font_size, settings.width, row_height, HorizontalAlignment.Right, -4, VerticalAlignment.Center, row * row_height, true); - public static IList gen_prices(double mid, int row_count, ContractSpecificationImmutable spec) { - bool is_odd = row_count % 2 == 1; - var result = new double[row_count]; - int range = row_count / 2; - int middle = row_count / 2; - result[middle] = mid; - double up = mid, down = mid; - // Starting from the middle iterate out to the edges - for (int x = 1; x <= range; ++x) { - up = spec.tickup(up); - down = spec.tickdown(down); - result[middle - x] = up; - result[middle + x] = down; - } - return result; - } - public static GlyphRun[] format_prices(IList prices, double reference_price, bool format_in_tick_terms, double row_height, LadderColumnSettings settings, GlyphContext glyph_context, ContractSpecificationImmutable spec) { var result = new GlyphRun[prices.Count]; Parallel.For(0, prices.Count, i =>