Commit 5eb7f22d authored by Ahmad Nemati's avatar Ahmad Nemati

init

parent 0a8bca4c
...@@ -117,7 +117,7 @@ function run(data, config,risk) { ...@@ -117,7 +117,7 @@ function run(data, config,risk) {
totalCompound: sum, totalCompound: sum,
profitPerMonth: Math.abs(profitPerMonth), profitPerMonth: Math.abs(profitPerMonth),
compoundPerMonth: compoundPerMonth, compoundPerMonth: compoundPerMonth,
risk:risk,
firstMaxAllocatedMoney:firstMaxAllocatedMoney, firstMaxAllocatedMoney:firstMaxAllocatedMoney,
maxAllocatedMoney: maxAllocatedMoney, maxAllocatedMoney: maxAllocatedMoney,
...@@ -131,6 +131,7 @@ function run(data, config,risk) { ...@@ -131,6 +131,7 @@ function run(data, config,risk) {
avgProfitPerDay: newT, avgProfitPerDay: newT,
allocatedReserve: (maxAllocatedMoney) / Math.abs(maxReserve), allocatedReserve: (maxAllocatedMoney) / Math.abs(maxReserve),
minus: minus, minus: minus,
risk:risk
} }
......
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