Commit f525046d authored by Ahmad Nemati's avatar Ahmad Nemati

git pu

parent f39be2ab
......@@ -766,7 +766,6 @@ function run(data, config, risk, pfTrade, riskFreeLevel, detail, loss, durs, max
continue
}
profitLossString = profitLossString + data[i].profit + '_'
if (d.done === true) {
runBefore = false
......@@ -823,7 +822,7 @@ function run(data, config, risk, pfTrade, riskFreeLevel, detail, loss, durs, max
} else {
profitLossString = profitLossString + data[i].profit + '_'
lossDone++
lossDonePer=lossDonePer+data[i].profit-0.1
allDonePer=allDonePer+data[i].profit-0.1
......@@ -1003,7 +1002,7 @@ function run(data, config, risk, pfTrade, riskFreeLevel, detail, loss, durs, max
dateString: dateString,
runupString: runupString,
sideString: sideString,
profitString:profitLossString,
profitLossString:profitLossString,
firstMaxAllocatedMoney: firstMaxAllocatedMoney,
maxAllocatedMoney: maxAllocatedMoney,
avgAllocatedMoney: maxAllocatedMoney / total,
......
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