Commit 32594ab7 authored by Ahmad Nemati's avatar Ahmad Nemati

git pu

parent eb67c49e
......@@ -529,6 +529,9 @@ function run(data, config, risk, pfTrade, riskFreeLevel, detail, loss, durs, max
}
if (opt.total ===0)
return null
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) {
......
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