Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
bmino committed Jul 27, 2019
2 parents c6c627f + e1a33d2 commit cd0f42a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "binance-triangle-arbitrage",
"version": "5.2.1",
"version": "5.2.2",
"repository": {
"type": "git",
"url": "https://github.com/bmino/binance-triangle-arbitrage.git"
Expand All @@ -10,7 +10,7 @@
},
"engines": {
"node": "11.10.1",
"npm": "6.10.0"
"npm": "6.10.2"
},
"scripts": {
"start": "node src/main/Main.js"
Expand Down
2 changes: 2 additions & 0 deletions src/main/CalculationNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ const CalculationNode = {
});

const calculationTime = new Date().getTime() - startTime;
if (CalculationNode.timings.length > 300) CalculationNode.timings.shift();
CalculationNode.timings.push(calculationTime);

CalculationNode.cycleCount++;

return { calculationTime, successCount, errorCount, results };
Expand Down

0 comments on commit cd0f42a

Please sign in to comment.