mirror of
https://github.com/StockSharp/StockSharp.git
synced 2026-12-04 08:32:23 +00:00
Strategy.Start/Stop are obsolete in favour of StartAsync/StopAsync. Where the caller was already async it now awaits. Where it is a click handler or a void-returning event delegate it cannot await, so the call follows the pattern BaseOptimizer already uses for the same situation: launch the task and report only its failure, rather than blocking the caller or turning it into async void. SmaServerStopStrategy declared a private OnOrderChanged that hid the virtual hook of the same name, then subscribed to OrderReceived by hand to reach it - so the framework hook sat dead. It is an override now and the manual subscription is gone. The Designer template copy had the same defect. MarketQuotingStrategy is obsolete in favour of QuotingProcessor, which is not a Strategy and so cannot be handed to the sample's strategy editor. The terminal sample gets a small strategy of its own that drives the processor.