Commit 61fb62cd authored by Ahmad Nemati's avatar Ahmad Nemati

git pull

parent 9ae470a8
...@@ -965,7 +965,7 @@ function run(data, config, risk, forceZero, pfTrade, riskFreeLevel, detail, loss ...@@ -965,7 +965,7 @@ function run(data, config, risk, forceZero, pfTrade, riskFreeLevel, detail, loss
let sums = 0 let sums = 0
for (let j = i ; j < tt.length - 1; j++) { for (let j = i ; j < tt.length - 1; j++) {
sums = sums + parseFloat(tt[j]) sums = sums + parseFloat(tt[j] ) - 0.1
// console.log(sum,parseFloat(t[j])) // console.log(sum,parseFloat(t[j]))
if (arrNew.length === 0) if (arrNew.length === 0)
arrNew.push({sum: sums, index: i}) arrNew.push({sum: sums, index: i})
......
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