Commit de9de618 authored by Ahmad Nemati's avatar Ahmad Nemati

git pu

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