Commit 737dc670 authored by Ahmad Nemati's avatar Ahmad Nemati

init

parent ca0fc0e5
......@@ -49,6 +49,7 @@ function run(data, config, risk, pfTrade, riskFreeLevel, detail, loss, durs, max
let maxLevel = 0
let maxRuntime = 0
let realProfit = 0
let dateString=''
// console.log(data)
......@@ -172,6 +173,8 @@ function run(data, config, risk, pfTrade, riskFreeLevel, detail, loss, durs, max
if (runBefore ===false)
continue
if (step ===0)
dateString=dateString+data[i].openDate+'-'
canCreateRunupPercent=false
runBefore = true
let obj
......
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