Commit 746d6411 authored by Ahmad Nemati's avatar Ahmad Nemati

init

parent bfc8f77f
......@@ -152,11 +152,11 @@ function run(data, config, risk, pfTrade, riskFreeLevel, detail, loss, durs,maxT
}
if (d.done === true) {
let endDays = getMinDiff(startDays, data[i].closeDate)
// console.log(typeof endDays)
//console.log(endDays)
if (endDays > maxDays)
maxDays = endDays
// let endDays = getMinDiff(startDays, data[i].closeDate)
// // console.log(typeof endDays)
// //console.log(endDays)
// if (endDays > maxDays)
// maxDays = endDays
// console.log(maxDays)
levels.push(step)
......
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