Commit b3d579cc authored by Ahmad Nemati's avatar Ahmad Nemati

init

parent 0beab47c
......@@ -40,7 +40,7 @@ async function work() {
run('default','compound1000', arr, timestamp)
run('default','compound1000Start', arr, timestamp)
run('default','profitPerMonth1000', arr, timestamp)
generateByDrawDown(timestamp,arr)
// generateByDrawDown(timestamp,arr)
await run('default','profitPerMonth1000Start', arr, timestamp)
......
......@@ -40,7 +40,7 @@ async function work() {
run('default','compound1000', arr, timestamp)
run('default','compound1000Start', arr, timestamp)
run('default','profitPerMonth1000', arr, timestamp)
generateByDrawDown(timestamp,arr)
// generateByDrawDown(timestamp,arr)
await run('default','profitPerMonth1000Start', arr, timestamp)
......
......@@ -75,9 +75,9 @@ async function run() {
await fs.mkdirSync('result/' + csvFile)
await fs.mkdirSync('result/' + csvFile+'/default')
await fs.mkdirSync('result/' + csvFile+'/drawDown30')
await fs.mkdirSync('result/' + csvFile+'/drawdown40')
await fs.mkdirSync('result/' + csvFile+'/drawdown50')
// await fs.mkdirSync('result/' + csvFile+'/drawDown30')
// await fs.mkdirSync('result/' + csvFile+'/drawdown40')
// await fs.mkdirSync('result/' + csvFile+'/drawdown50')
} catch (e) {
}
......@@ -116,8 +116,8 @@ async function run() {
// createfileADV('allocatedReserveCompoundUnder2' , JSON.stringify(arrReservCompoundNew, null, 2))
startAgain(arr, configs.start)
generateBaseDrawDown(arr2)
generateDrawDownBaseStart(arr2,configs.start)
// generateBaseDrawDown(arr2)
// generateDrawDownBaseStart(arr2,configs.start)
console.log('Done')
await makeStatus(directory, '0')
// process.exit(0)
......
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