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

init

parent da8baf9b
......@@ -58,11 +58,11 @@ async function work() {
}
run('default','compound1000', arr, timestamp)
run('default','compound1000Start', arr, timestamp)
run('default','profitPerMonth1000', arr, timestamp)
await run('default','compound1000', arr, timestamp)
// run('default','compound1000Start', arr, timestamp)
// run('default','profitPerMonth1000', arr, timestamp)
// generateByDrawDown(timestamp,arr)
await run('default','profitPerMonth1000Start', arr, timestamp)
// await run('default','profitPerMonth1000Start', arr, timestamp)
......@@ -114,7 +114,7 @@ async function run(root,name, directory, timestamp) {
// last = _.orderBy(arr2, ['percentage'], ['asc']);
if (t.includes('compound') || name === 'compound1000' || name === 'allocatedReserveCompoundUnder3' || name === 'allocatedReserveCompoundUnder2' || name === 'compound1000Start')
last = _.orderBy(arr2, ['CompoundPerMonthDrawDown'], ['desc']);
last = _.orderBy(arr2, ['maxLevel'], ['asc']);
......
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