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

Execution History quick fix.
This commit is contained in:
Luis Fernando Molina authored and GitHub committed 2018-05-02 14:47:49 +02:00
commit d0f35aeca8
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) {