Merge pull request #1 from matbenitez/execution-history-fix

Execution History quick fix.
This commit is contained in:
matbenitez authored and GitHub committed 2018-05-06 13:29:52 -03:00
commit f298d91252
1 file changed
-3
-3
View File
@@ -245,9 +245,6 @@
thisObject.newHistoryRecord.buyAvgRate = thisObject.executionHistory[thisObject.executionHistory.length-1][1];
thisObject.newHistoryRecord.sellAvgRate = thisObject.executionHistory[thisObject.executionHistory.length - 1][2];
thisObject.newHistoryRecord.buyAvgRate = thisObject.executionHistory[1];
thisObject.newHistoryRecord.sellAvgRate = thisObject.executionHistory[2];
getExecutionContext(callBack);
} catch (err) {