From d52d3b809f2a4188fe5b4aed2139e21fb8f45187 Mon Sep 17 00:00:00 2001 From: Steve Noel Date: Wed, 8 Jul 2020 10:48:45 -0400 Subject: [PATCH] feat(server): fix wrong date displayed in blotter (ARTP-1157) --- .../TradeExecutionEngine.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/dotNet/Adaptive.ReactiveTrader.Server.TradeExecution/TradeExecutionEngine.cs b/src/server/dotNet/Adaptive.ReactiveTrader.Server.TradeExecution/TradeExecutionEngine.cs index 0792b557bf..0e9532b9b1 100644 --- a/src/server/dotNet/Adaptive.ReactiveTrader.Server.TradeExecution/TradeExecutionEngine.cs +++ b/src/server/dotNet/Adaptive.ReactiveTrader.Server.TradeExecution/TradeExecutionEngine.cs @@ -27,7 +27,7 @@ public void Dispose() public async Task ExecuteAsync(ExecuteTradeRequestDto request, string user) { var id = await _tradeIdProvider.GetNextId(); - var tradeDate = DateTimeOffset.UtcNow.Date; + var tradeDate = DateTimeOffset.UtcNow; DateTimeOffset valueDate; if (!DateTimeOffset.TryParse(request.ValueDate, out valueDate))