diff --git a/src/client/spark/Risk/TradeLogRow.cs b/src/client/spark/Risk/TradeLogRow.cs index 4664b1ef8..32e5699aa 100644 --- a/src/client/spark/Risk/TradeLogRow.cs +++ b/src/client/spark/Risk/TradeLogRow.cs @@ -27,7 +27,7 @@ namespace mbts { theo = price; account = m_fill.AccountName; is_day_trade = true; - time_entered = m_fill.Timestamp.ToDateTime(); + time_entered = m_fill.Timestamp?.ToDateTime() ?? DateTime.MinValue; security_expiration = new SecurityExpiration(sec.Exchange, security_type, symbol, expiration.HasValue ? expiration.Value : DateTime.MinValue);