Commit fe8368e4 authored by Ahmad Nemati's avatar Ahmad Nemati

init

parent 1c8ae028
......@@ -55,8 +55,8 @@ function run(data, config, risk, pfTrade, riskFreeLevel, detail, loss, durs,maxT
return null
for (let i = 0; i < data.length; i++) {
if (maxDays > maxTradeDays )
return null
// if (maxDays > maxTradeDays )
// return null
let obj
if (step === 0) {
startDays=data[i].openDate
......@@ -130,7 +130,7 @@ function run(data, config, risk, pfTrade, riskFreeLevel, detail, loss, durs,maxT
obj.maxAllocatedMoney = maxAllocatedMoney
obj.maxLevel = maxLevel
obj.step = step
obj.maxDays = maxDays
// obj.maxDays = maxDays
}
......
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