Commit 932948f6 authored by Ahmad Nemati's avatar Ahmad Nemati

git pull

parent 145bd187
......@@ -239,8 +239,8 @@ function run(data, config, risk, forceZero, pfTrade, riskFreeLevel, detail, loss
}
if (dur < durs)
return null
// if (dur < durs)
// return null
let newP = dur / data.length
// console.log(data.length)
......@@ -261,10 +261,10 @@ function run(data, config, risk, forceZero, pfTrade, riskFreeLevel, detail, loss
for (let i = 0; i < data.length; i++) {
if (allDonePer < -50)
return null
if (maxDays > maxTradeDays)
return null
// if (allDonePer < -50)
// return null
// if (maxDays > maxTradeDays)
// return null
if (runBefore === false) {
if (usage === 'fft') {
......@@ -1052,11 +1052,11 @@ 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
// if (ff > opt.allDone)
// return null
//
// if (opt.newAllDonePer < 10)
// 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