Commit da8baf9b authored by Ahmad Nemati's avatar Ahmad Nemati

init

parent 57d21a7e
......@@ -39,12 +39,12 @@ async function work() {
}
run('default','compound1000', arr, timestamp)
run('default','compound1000Start', arr, timestamp)
run('default','profitPerMonth1000', arr, timestamp)
run('default','maxtime1000', arr, timestamp)
await run('default','compound1000', arr, timestamp)
// run('default','compound1000Start', arr, timestamp)
// run('default','profitPerMonth1000', arr, timestamp)
// run('default','maxtime1000', arr, timestamp)
// generateByDrawDown(timestamp,arr)
await run('default','profitPerMonth1000Start', arr, timestamp)
// await run('default','profitPerMonth1000Start', arr, timestamp)
......
......@@ -39,13 +39,13 @@ async function work() {
}
run('default','compound1000', arr, timestamp)
run('default','compound1000Start', arr, timestamp)
run('default','profitPerMonth1000', arr, timestamp)
run('default','maxtime1000', arr, timestamp)
await run('default','compound1000', arr, timestamp)
// run('default','compound1000Start', arr, timestamp)
// run('default','profitPerMonth1000', arr, timestamp)
// run('default','maxtime1000', arr, timestamp)
// generateByDrawDown(timestamp,arr)
await run('default','profitPerMonth1000Start', arr, timestamp)
// await run('default','profitPerMonth1000Start', arr, timestamp)
......
......@@ -119,12 +119,10 @@ async function run() {
await fs.unlinkSync('work/'+directory + '/' + csvFile)
// createfileADV('allDataSortedByProfit', JSON.stringify(arr2, null, 2))
createfileADV('default', 'profitPerMonth1000', JSON.stringify(arr3, null, 2))
// createfileADV('percentage1000', JSON.stringify(arrResrv200, null, 2))
// createfileADV('default', 'profitPerMonth1000', JSON.stringify(arr3, null, 2))
createfileADV('default', 'compound1000', JSON.stringify(arr1000Compound, null, 2))
createfileADV('default', 'maxtime1000', JSON.stringify(arr1000Maxtime, null, 2))
// createfileADV('allocatedReservePerMonthUnder3', JSON.stringify(arr20MaxNew, null, 2))
// createfileADV('allocatedReserveCompoundUnder3' , JSON.stringify(arrReservCompoundNew, null, 2))
// createfileADV('default', 'maxtime1000', JSON.stringify(arr1000Maxtime, null, 2))
arr20Max = []
for (let i = 0; i < arr2.length; i++) {
......@@ -151,7 +149,7 @@ async function run() {
// createfileADV('allocatedReservePerMonthUnder2', JSON.stringify(arr20MaxNew, null, 2))
// createfileADV('allocatedReserveCompoundUnder2' , JSON.stringify(arrReservCompoundNew, null, 2))
startAgain(arr, configs.start, configs.level)
// startAgain(arr, configs.start, configs.level)
// generateBaseDrawDown(arr2)
// generateDrawDownBaseStart(arr2,configs.start)
console.log('Done')
......
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