Commit e269ab2b authored by Ahmad Nemati's avatar Ahmad Nemati

git pull

parent 930bb18b
......@@ -600,7 +600,7 @@ function run(data, config, risk, forceZero, pfTrade, riskFreeLevel, detail, loss
}
if (step === 0) {
dateString = dateString + data[i].openDate.split(' ')[0] + '_'
closeDate = closeDate + data[i].closeDate.split(' ')[0] + '_'
runupString = runupString + data[i].runUp + '_'
sideString = sideString + data[i].side + '_'
}
......@@ -774,6 +774,7 @@ function run(data, config, risk, forceZero, pfTrade, riskFreeLevel, detail, loss
runBefore = false
profitLossString = profitLossString + data[i].profit + '_'
closeDate = closeDate + data[i].closeDate.split(' ')[0] + '_'
if (data[i].profit <= 0.1) {
lossDone++
......
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