Minor detail

This commit is contained in:
Luis Fernando Molina committed 2018-07-09 22:06:49 +02:00
1 parent 920f4b6d98
commit fe42ca0f3e
1 file changed
+1 -1
+1 -1
View File
@@ -1107,7 +1107,7 @@
if (global.LOG_CONTROL[MODULE_NAME].logInfo === true) { logger.write(MODULE_NAME, "[INFO] movePosition -> pNewRate = " + pNewRate); }
/* Removing extra decimals. */
pNewRate = Number(parseFloat(pNewRate).toFixed(8));
pNewRate = parseFloat(pNewRate).toFixed(8);
let newAmountB;
if (pPosition.type === "buy") {