Commit d19de83e authored by Ahmad Nemati's avatar Ahmad Nemati

git pu

parent 3b6dd61d
......@@ -939,8 +939,14 @@ function run(data, config, risk, pfTrade, riskFreeLevel, detail, loss, durs, max
type: type,
total: total,
allTotal: allTotal,
allDone: allDone,
allDonePer: allDonePer,
allDone: allDone,
countOfTrade: data.length,
pftrade: newP,
maxReseve: baseDrawDown,
maxMeta: baseMeta,
dur: dur,
allLongDone: allLongDone,
allLongDonePer: allLongDonePer,
allShortDone: allShortDone,
......@@ -957,7 +963,7 @@ function run(data, config, risk, pfTrade, riskFreeLevel, detail, loss, durs, max
lossShortDonePer: lossShortDonePer,
avgLevel: maxLevel / total,
maxLevel: maxLevel,
dur: dur,
maxDays: maxDays,
avgDays: s,
maxRuntime: (maxRuntime) / 60,
......@@ -977,8 +983,6 @@ function run(data, config, risk, pfTrade, riskFreeLevel, detail, loss, durs, max
drawDown: drawDown,
CompoundPerMonthDrawDown: compoundPerMonth / drawDown,
profitPerMonthDrawDown: Math.abs(profitPerMonth) / drawDown,
maxReseve: baseDrawDown,
maxMeta: baseMeta,
avgReserve: maxReserve / total,
percentage: percentage,
avgProfitPerDay: newT,
......@@ -988,7 +992,7 @@ function run(data, config, risk, pfTrade, riskFreeLevel, detail, loss, durs, max
minus: minus,
risk: risk,
levels: newLevelText,
pftrade: newP,
countOfTrade: data.length
......
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