Commit 45feb669 authored by Ahmad Nemati's avatar Ahmad Nemati

init

parent 31288bf3
......@@ -72,7 +72,8 @@ function run(data, config, risk, pfTrade, riskFreeLevel, detail, loss) {
if (curDrawDown <= 0)
money = lastMoney
else {
money = lastMoney * (config.param +(curDrawDown/10))
let b=curDrawDown/10
money = lastMoney * (config.param +b)
}
}
}
......
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