Commit aa2a9d85 authored by Ahmad Nemati's avatar Ahmad Nemati

git pull

parent a51eaf11
......@@ -261,8 +261,8 @@ function run(data, config, risk, forceZero, pfTrade, riskFreeLevel, detail, loss
for (let i = 0; i < data.length; i++) {
// if (allDonePer < -50)
// return null
if (allDonePer < -50)
return null
// if (maxDays > maxTradeDays)
// return null
if (runBefore === false) {
......@@ -1052,12 +1052,12 @@ function run(data, config, risk, forceZero, pfTrade, riskFreeLevel, detail, loss
}
let ff=dur/7
// if (ff > opt.allDone)
// return null
//
// if (opt.newAllDonePer < 10)
// return null
let ff=dur/10
if (ff > opt.allDone)
return null
if (opt.newAllDonePer < 0)
return null
// if (opt.allDone <60)
// return null
......
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