BookStreamFactory.cs

This commit is contained in:
John Colvin committed 2025-11-19 14:56:22 -05:00
1 parent 04b04e9e40
commit a75b8172db
1 file changed
+1 -1
@@ -173,7 +173,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) });
}