Commit 9845f5be authored by Ahmad Nemati's avatar Ahmad Nemati

git pu

parent 11748627
...@@ -972,8 +972,9 @@ function run(data, config, risk, pfTrade, riskFreeLevel, detail, loss, durs, max ...@@ -972,8 +972,9 @@ function run(data, config, risk, pfTrade, riskFreeLevel, detail, loss, durs, max
totalFinal: oldTotalFinal, totalFinal: oldTotalFinal,
totalPlus: totalPlus, totalPlus: totalPlus,
totalCompound: baseCompund, totalCompound: baseCompund,
profitPerMonth: Math.abs(profitPerMonth),
compoundPerMonth: (baseCompund / dur) * 30, compoundPerMonth: (baseCompund / dur) * 30,
profitPerMonth: Math.abs(profitPerMonth),
dateString: dateString, dateString: dateString,
runupString: runupString, runupString: runupString,
sideString: sideString, sideString: sideString,
......
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