Changing default day start time to 4:30 as a result of new info from dev call

This commit is contained in:
Jake Norbut committed 2018-07-12 13:29:21 -05:00
1 parent 6f39705d4f
commit edcb5a5a24
1 file changed
+1 -1
+1 -1
View File
@@ -29,7 +29,7 @@ namespace mbts.spark {
// since we'll need to create a new PnLCalculator when this changes. (infrequent, if ever)
_selected_pnl_calc_type.Value = (startup_data != null && startup_data.calc_type != pnl_calc_type.none) ? startup_data.calc_type : pnl_calc_type.midpoint;
_selected_pnl_calc_type.Changed += pnl_calc_type_changed;
_start_of_day_ts = (startup_data != null && startup_data.start_of_day_time.HasValue) ? startup_data.start_of_day_time.Value : new TimeSpan(17, 0, 0);
_start_of_day_ts = (startup_data != null && startup_data.start_of_day_time.HasValue) ? startup_data.start_of_day_time.Value : new TimeSpan(16, 30, 0);
var pnl = model.on_pnl_data
.Sample(_POSITION_UPDATE_PERIOD)
.OnDispatcher()