Commit 57d21a7e authored by Ahmad Nemati's avatar Ahmad Nemati

init

parent ac91d1a8
......@@ -114,7 +114,7 @@ let t=name.toLowerCase()
// 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']);
if ( name === 'maxtime1000')
last = _.orderBy(arr2, ['maxRuntime']);
......
......@@ -115,7 +115,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']);
if ( name === 'maxtime1000')
last = _.orderBy(arr2, ['maxRuntime']);
......
......@@ -75,7 +75,7 @@ async function run() {
let arr1000Compound = []
let arrReserv = _.orderBy(arr2, ['percentage'], ['asc']);
let arrCompound = _.orderBy(arr2, ['maxLevel'], ['desc']);
let arrCompound = _.orderBy(arr2, ['maxLevel'], ['asc']);
let arrResrv200 = []
let arr1000Maxtime=[]
let arrReservCompound = []
......
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