Commit 0bbc9f9b authored by Ahmad Nemati's avatar Ahmad Nemati

init

parent 1a052938
......@@ -198,11 +198,11 @@ function run(data, config, risk, pfTrade, riskFreeLevel, detail, loss, durs,maxT
saveData.push(obj)
}
let s=0
for (let i=0;i<listDays;i++)
for (let i=0;i<listDays.length;i++)
{
s=s+listDays[i]
}
s=s/listDays.length
s=s/(listDays.length)
let newReserv = maxReserve
......
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