Commit 0f9a6004 authored by Ahmad Nemati's avatar Ahmad Nemati

git pu

parent 45a510c5
...@@ -1072,12 +1072,12 @@ function run(data, config, risk, pfTrade, riskFreeLevel, detail, loss, durs, max ...@@ -1072,12 +1072,12 @@ function run(data, config, risk, pfTrade, riskFreeLevel, detail, loss, durs, max
if (opt.allDonePer <700) if (opt.allDonePer <700)
return null return null
if (opt.allDone <60) // if (opt.allDone <60)
return null // return null
//
//
if (opt.total === 0) // if (opt.total === 0)
return null // return null
if (needPrintData) { if (needPrintData) {
fs.writeFile('detail/' + opt.platform + '-' + 'param' + config.param + 'base' + config.base + 'target' + config.target + '.json', JSON.stringify(saveData, null, 2), 'utf8', function (err) { fs.writeFile('detail/' + opt.platform + '-' + 'param' + config.param + 'base' + config.base + 'target' + config.target + '.json', JSON.stringify(saveData, null, 2), 'utf8', function (err) {
......
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