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