diff --git a/src/DataStreamSuite/SharedStreams/StreamFactories/BookStreamFactory.cs b/src/DataStreamSuite/SharedStreams/StreamFactories/BookStreamFactory.cs index 8ca2fd702..df2f8e002 100644 --- a/src/DataStreamSuite/SharedStreams/StreamFactories/BookStreamFactory.cs +++ b/src/DataStreamSuite/SharedStreams/StreamFactories/BookStreamFactory.cs @@ -158,7 +158,7 @@ public class BookStreamFactory : DataStreamFactory, IRecursiveDataStreamFactory return compositeFactory.Create("ReplayFutureLiveBBOStream", new (string?, int?, object?)[] { ("contract", 0, sym) }); } var streamParams = new BookStreamParams() { - SecurityType = secType, + Type = secType, Asset = sym, }; return mdClient?.Books(streamParams.GetSecurityFilter()) @@ -172,7 +172,7 @@ public class BookStreamFactory : DataStreamFactory, IRecursiveDataStreamFactory } public ViewStream? Create(BookStreamParams streamParams) { - var secType = streamParams.SecurityType; + var secType = streamParams.Type; if (streamParams.Asset == "ES" && (!secType.HasValue || secType.Value == bts.api.SecurityType.Future) && compositeFactory is not null) { return compositeFactory.Create("ReplayFutureLiveBBOStream", new (string?, int?, object?)[] { ("contract", 0, streamParams.Asset) }); }