Commit a0317f8e authored by Ahmad Nemati's avatar Ahmad Nemati

git pu

parent f48a69c9
...@@ -295,7 +295,7 @@ function run(data, config, risk, pfTrade, riskFreeLevel, detail, loss, durs, max ...@@ -295,7 +295,7 @@ function run(data, config, risk, pfTrade, riskFreeLevel, detail, loss, durs, max
for (let i = 0; i < data.length; i++) { for (let i = 0; i < data.length; i++) {
if (allDonePer<-100) if (allDonePer<-70)
return null return null
if (maxDays > maxTradeDays) if (maxDays > maxTradeDays)
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