Commit 1ebf480c authored by Ahmad Nemati's avatar Ahmad Nemati

git pull

parent db063366
...@@ -1052,7 +1052,7 @@ function run(data, config, risk, forceZero, pfTrade, riskFreeLevel, detail, loss ...@@ -1052,7 +1052,7 @@ function run(data, config, risk, forceZero, pfTrade, riskFreeLevel, detail, loss
} }
if (opt.allDonePer < 400) if (opt.newAllDonePer < 12)
return null return null
// if (opt.allDone <60) // if (opt.allDone <60)
......
...@@ -125,7 +125,7 @@ async function run(root, name, directory, timestamp) { ...@@ -125,7 +125,7 @@ async function run(root, name, directory, timestamp) {
let las = [] let las = []
for (let i = 0; i < last.length; i++) { for (let i = 0; i < last.length; i++) {
if (i < last.length) if (i < last.length)
if (last[i].total < 1 && last[i].pftrade >= 0.000001 && last[i].maxLevel === 0 && last[i].allDonePer >400) { if (last[i].total < 1 && last[i].pftrade >= 0.000001 && last[i].maxLevel === 0 && last[i].newAllDonePer >12) {
delete last[i].durDetailText delete last[i].durDetailText
delete last[i].metaDetailText delete last[i].metaDetailText
let needContinue = false let needContinue = false
......
...@@ -124,7 +124,7 @@ async function run(root,name, directory, timestamp) { ...@@ -124,7 +124,7 @@ async function run(root,name, directory, timestamp) {
let las = [] let las = []
for (let i = 0; i < 200000; i++) { for (let i = 0; i < 200000; i++) {
if (i < last.length && last[i].allDonePer >400) if (i < last.length && last[i].newAllDonePer >12)
las.push(last[i]) las.push(last[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