From 2d0df72f46de754def3983ca53107b93cecc5d4b Mon Sep 17 00:00:00 2001 From: John Colvin Date: Mon, 22 Sep 2025 01:25:18 -0400 Subject: [PATCH] refactor: Pass IMarketDataClient to streams via dependency injection In general, the streams should not instantiate services, etc. themselves. --- .../BlueOrb/MarketData/Live/LiveFuturesContractStream.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DataStreamSuite/SharedStreams/BlueOrb/MarketData/Live/LiveFuturesContractStream.cs b/src/DataStreamSuite/SharedStreams/BlueOrb/MarketData/Live/LiveFuturesContractStream.cs index 07b2d6ffe..df45fa05b 100644 --- a/src/DataStreamSuite/SharedStreams/BlueOrb/MarketData/Live/LiveFuturesContractStream.cs +++ b/src/DataStreamSuite/SharedStreams/BlueOrb/MarketData/Live/LiveFuturesContractStream.cs @@ -5,7 +5,7 @@ using Spark.Api.MarketData; - [DataStreamUserRespresentation("LiveFuturesContractStream")] + [DataStreamUserRespresentation(false)] public class LiveFuturesContractStream : ViewStream { public LiveFuturesContractStream(string target, IMarketDataClient mdClient) { var fc = new ContractUtils.FutureContract(target);