Commit 2ca8337f authored by Ahmad Nemati's avatar Ahmad Nemati

init

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