diff --git a/src/Trading.Application/Trading.Application/UserInputPipeline/PipelineSteps/CreateOrderStep.cs b/src/Trading.Application/Trading.Application/UserInputPipeline/PipelineSteps/CreateOrderStep.cs index 8ecdb8b..09bb500 100644 --- a/src/Trading.Application/Trading.Application/UserInputPipeline/PipelineSteps/CreateOrderStep.cs +++ b/src/Trading.Application/Trading.Application/UserInputPipeline/PipelineSteps/CreateOrderStep.cs @@ -17,7 +17,6 @@ public bool Execute(string input) { Direction = userContext.OrderData.Direction.ToString(), Size = userContext.OrderData.Size, Level = userContext.OrderData.Level, - //GuaranteedStop = userContext.OrderData.StopLoss != 0 || userContext.OrderData.TakeProfit != 0, StopLevel = userContext.OrderData.StopLoss, ProfitLevel = userContext.OrderData.TakeProfit, Type = Types.LIMIT diff --git a/src/Trading.Application/Trading.Application/UserInputPipeline/PipelineSteps/CreatePositionStep.cs b/src/Trading.Application/Trading.Application/UserInputPipeline/PipelineSteps/CreatePositionStep.cs index b2ff833..9c788e9 100644 --- a/src/Trading.Application/Trading.Application/UserInputPipeline/PipelineSteps/CreatePositionStep.cs +++ b/src/Trading.Application/Trading.Application/UserInputPipeline/PipelineSteps/CreatePositionStep.cs @@ -16,7 +16,6 @@ public bool Execute(string input) { Epic = userContext.OrderData.Epic, Direction = userContext.OrderData.Direction.ToString(), Size = userContext.OrderData.Size, - //GuaranteedStop = userContext.OrderData.StopLoss != 0 || userContext.OrderData.TakeProfit != 0, StopLevel = userContext.OrderData.StopLoss, ProfitLevel = userContext.OrderData.TakeProfit }; diff --git a/src/Trading.Application/Trading.Application/UserInputPipeline/PipelineSteps/UpdateOrderStep.cs b/src/Trading.Application/Trading.Application/UserInputPipeline/PipelineSteps/UpdateOrderStep.cs index 013d23a..3081e3c 100644 --- a/src/Trading.Application/Trading.Application/UserInputPipeline/PipelineSteps/UpdateOrderStep.cs +++ b/src/Trading.Application/Trading.Application/UserInputPipeline/PipelineSteps/UpdateOrderStep.cs @@ -17,7 +17,6 @@ public bool Execute(string input) Level = (decimal)userContext.OrderData.Level, StopLevel = userContext.OrderData.StopLoss, ProfitLevel = userContext.OrderData.TakeProfit, - //GuaranteedStop = userContext.OrderData.StopLoss != 0 || userContext.OrderData.TakeProfit != 0 }; return capitalClient.UpdateOrder(userContext.InputCallback, position).Result; diff --git a/src/Trading.Application/Trading.Application/UserInputPipeline/PipelineSteps/UpdatePositionStep.cs b/src/Trading.Application/Trading.Application/UserInputPipeline/PipelineSteps/UpdatePositionStep.cs index fad0e0d..fbce151 100644 --- a/src/Trading.Application/Trading.Application/UserInputPipeline/PipelineSteps/UpdatePositionStep.cs +++ b/src/Trading.Application/Trading.Application/UserInputPipeline/PipelineSteps/UpdatePositionStep.cs @@ -16,7 +16,6 @@ public bool Execute(string input) var position = new CreatePositionEntity() { StopLevel = userContext.OrderData.StopLoss, ProfitLevel = userContext.OrderData.TakeProfit, - //GuaranteedStop = userContext.OrderData.StopLoss != 0 || userContext.OrderData.TakeProfit != 0 }; return capitalClient.UpdatePosition(userContext.InputCallback, position).Result;