From 6285202c1c93de22e31fbcb3f4a2200d63cdb44e Mon Sep 17 00:00:00 2001 From: Sean Date: Wed, 18 Feb 2026 22:27:21 -0500 Subject: [PATCH] Merge MKDT_STOPLIMIT --- .../Controllers/PortfolioController.cs | 23 ------------------- 1 file changed, 23 deletions(-) diff --git a/MarketDataServer/Controllers/PortfolioController.cs b/MarketDataServer/Controllers/PortfolioController.cs index 56e3308..0adddaa 100755 --- a/MarketDataServer/Controllers/PortfolioController.cs +++ b/MarketDataServer/Controllers/PortfolioController.cs @@ -90,29 +90,6 @@ namespace MarketDataServer.Controllers } } - [Obsolete("This method is obsolete. Use GetSopLimits(String token, String symbol) instead.", false)] - [HttpGet(Name = "GetStopLimit")] - public StopLimit GetStopLimit(String token,String symbol) - { - Profiler profiler = new Profiler(); - try - { - MDTrace.WriteLine(LogLevel.DEBUG,$"Start"); - if(!Authorizations.GetInstance().IsAuthorized(token)) return null; - StopLimit stopLimit=StopLimitDA.GetStopLimit(symbol); - return stopLimit; - } - catch(Exception exception) - { - MDTrace.WriteLine(LogLevel.DEBUG,$"Exception:{exception.ToString()}"); - return null; - } - finally - { - MDTrace.WriteLine(LogLevel.DEBUG,$"Done, total took {profiler.End()} (ms)"); - } - } - [HttpGet(Name = "GetStopLimits")] public StopLimits GetStopLimits(String token,String symbol) {