diff --git a/src/client/spark/Daemons/MDDaemon.cs b/src/client/spark/Daemons/MDDaemon.cs index 7068f2ed1..619a39853 100644 --- a/src/client/spark/Daemons/MDDaemon.cs +++ b/src/client/spark/Daemons/MDDaemon.cs @@ -135,11 +135,13 @@ namespace bts { if (item is null) { throw new InvalidOperationException("Expected non-null SecurityMetadataItem"); } + var price_display = item.Value.PriceDisplay; + var qty_display = item.Value.QuantityDisplay; exch_secs[smd.id] = new( smd.security, smd.md, - new(item.Value.PriceDisplay), - new(item.Value.QuantityDisplay)); + price_display is null ? null : new(price_display), + qty_display is null ? null : new(qty_display)); } } _bus.post(SparkTags.ServerSecuritiesTag, exch_secs);