diff --git a/src/client/spark/view/Spark/PAndL/PnLCalculator.cs b/src/client/spark/view/Spark/PAndL/PnLCalculator.cs index f0fb40328..0966c538d 100644 --- a/src/client/spark/view/Spark/PAndL/PnLCalculator.cs +++ b/src/client/spark/view/Spark/PAndL/PnLCalculator.cs @@ -53,7 +53,7 @@ namespace mbts.spark { } // DateTime? used here b/c we can't set a default parameter with DateTime.Now - // since it's now + // since it's not a compile-time constant public static DateTime get_start_of_trading_day(DateTime? target_datetime = null, DateTimeKind dtk = DateTimeKind.Local ) { if (target_datetime == null) target_datetime = DateTime.Now; var dst_adjusted_central_sod = new DateTimeOffset(