From 091dfdc028edf09f8c4ec7c2cba1c8284d6f6246 Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Tue, 27 Feb 2018 15:48:30 +0100 Subject: [PATCH] Rate was missing at history --- Trading-Process/Interval.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Trading-Process/Interval.js b/Trading-Process/Interval.js index daf013367..55966fa87 100644 --- a/Trading-Process/Interval.js +++ b/Trading-Process/Interval.js @@ -1337,6 +1337,7 @@ executionContext.transactions.push(newTransaction); newHistoryRecord.newPositions++; + newHistoryRecord.rate = pRate; callBackFunction(); } @@ -1470,6 +1471,7 @@ executionContext.transactions.push(newTransaction); newHistoryRecord.movedPositions++; + newHistoryRecord.rate = pNewRate; callBackFunction(); }