Commit 68fac1fd authored by Ahmad Nemati's avatar Ahmad Nemati

init

parent 40fdaab4
......@@ -64,7 +64,7 @@ let obj
let d = inlineCheck(money, commision, data[i], profit, lastCom, config.target,riskfree)
if (Math.abs(d.reserve) > Math.abs(maxReserve))
if (d.reserve<0 && Math.abs(d.reserve) > Math.abs(maxReserve))
maxReserve = d.reserve
// console.log(maxAllocatedMoney)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment