Commit babf50ba authored by Ahmad Nemati's avatar Ahmad Nemati

git pull

parent 477e09b1
...@@ -16,13 +16,14 @@ async function init() { ...@@ -16,13 +16,14 @@ async function init() {
com = await fs.readFileSync('t.json', 'utf8'); com = await fs.readFileSync('t.json', 'utf8');
com = JSON.parse(com) com = JSON.parse(com)
com=_.shuffle(com)
run()
} }
function run() function run()
{ {
com=_.shuffle(com)
for (let i = 0; i < 10; i++) { for (let i = 0; i < 10; i++) {
let closeDate = com[i].closeDate.split('_') let closeDate = com[i].closeDate.split('_')
let profits = com[i].profitLossString.split('_') let profits = com[i].profitLossString.split('_')
......
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