From 02c8714cfd60d22ffa7ca44b14e5038b3f075f39 Mon Sep 17 00:00:00 2001 From: John Colvin Date: Mon, 16 Sep 2019 13:55:13 -0500 Subject: [PATCH] change pnl defaults to use 'Mid' calc type and hide Selected/Total headers --- .../spark/Modules/Trading/PNL/Settings/PNLSettings.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/client/spark/Modules/Trading/PNL/Settings/PNLSettings.cs b/src/client/spark/Modules/Trading/PNL/Settings/PNLSettings.cs index f89f4028c..5dcbf04ab 100644 --- a/src/client/spark/Modules/Trading/PNL/Settings/PNLSettings.cs +++ b/src/client/spark/Modules/Trading/PNL/Settings/PNLSettings.cs @@ -89,8 +89,8 @@ namespace bts.shell.pnl { has_day_trades = new[] { true } }, grid = DefaultGridSettings, - calculation_type = PNLCalculationType.Waterfall, - header_row_display = PNLHeaderRowDisplay.Total, + calculation_type = PNLCalculationType.Mid, + header_row_display = PNLHeaderRowDisplay.None, _anchors = new[] { Columns.Account, Columns.Symbol }, _group_background_colors = BTSColors.PNL.group_alternating_background_colors.Select(c => c.rgb_color()).ToList(), _group_cell_appearance = new PNLCellAppearanceProto { @@ -486,4 +486,4 @@ namespace bts.shell.pnl { public static IReadOnlyList> group_triggers(this PNLSettings settings) => settings.group_header_animations.Select(a => a.to_trigger()).ToList(); public static IReadOnlyList> header_triggers(this PNLSettings settings) => settings.header_row_animations.Select(a => a.to_trigger()).ToList(); } -} +} \ No newline at end of file