Commit 686e23c5 authored by Ahmad Nemati's avatar Ahmad Nemati

init

parent e4172f2b
......@@ -67,7 +67,7 @@ async function check() {
if (worker !== null) {
await fs.renameSync('allFiles/' + files[i], worker + '/' + files[i])
await makeStatusNew(worker, '1')
console.log('node run.js ' + worker +' '+configFileName)
//console.log('node run.js ' + worker +' '+configFileName)
shell.exec('node run.js ' + worker +' '+configFileName, {async: true});
}
......
......@@ -104,7 +104,7 @@ function initData(data, config, name, risk, pfTrade, side, riskFreeLevel) {
}
}
arr = _.sortBy(arr, function(o) { return new moment(o.openDate).format('YYYY.MM.DD HH:mm:ss'); });
//arr = _.sortBy(arr, function(o) { return new moment(o.openDate).format('YYYY.MM.DD HH:mm:ss'); });
// console.log(arr)
......
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