Commit 6f1eaa5d authored by Ahmad Nemati's avatar Ahmad Nemati

init

parent 17a01ed9
...@@ -78,7 +78,7 @@ async function run(name, directory, timestamp) { ...@@ -78,7 +78,7 @@ async function run(name, directory, timestamp) {
last = _.orderBy(arr2, ['percentage'], ['asc']); last = _.orderBy(arr2, ['percentage'], ['asc']);
if (name === 'compound1000' || name === 'allocatedReserveCompoundUnder3' || name === 'allocatedReserveCompoundUnder2') if (name === 'compound1000' || name === 'allocatedReserveCompoundUnder3' || name === 'allocatedReserveCompoundUnder2')
last = _.orderBy(arr2, ['compoundPerMonth'], ['desc']); last = _.orderBy(arr2, ['CompoundPerMonthDrawDown'], ['desc']);
if (name === 'allocatedReservePerMonthUnder2' || name === 'allocatedReservePerMonthUnder3') { if (name === 'allocatedReservePerMonthUnder2' || name === 'allocatedReservePerMonthUnder3') {
let arr20Max = [] let arr20Max = []
......
...@@ -78,7 +78,7 @@ async function run(name, directory, timestamp) { ...@@ -78,7 +78,7 @@ async function run(name, directory, timestamp) {
last = _.orderBy(arr2, ['percentage'], ['asc']); last = _.orderBy(arr2, ['percentage'], ['asc']);
if (name === 'compound1000' || name === 'allocatedReserveCompoundUnder3' || name === 'allocatedReserveCompoundUnder2') if (name === 'compound1000' || name === 'allocatedReserveCompoundUnder3' || name === 'allocatedReserveCompoundUnder2')
last = _.orderBy(arr2, ['compoundPerMonth'], ['desc']); last = _.orderBy(arr2, ['CompoundPerMonthDrawDown'], ['desc']);
if (name === 'allocatedReservePerMonthUnder2' || name === 'allocatedReservePerMonthUnder3') { if (name === 'allocatedReservePerMonthUnder2' || name === 'allocatedReservePerMonthUnder3') {
let arr20Max = [] let arr20Max = []
......
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