Commit e96e758a authored by Ahmad Nemati's avatar Ahmad Nemati

git pu

parent 8944fa99
let fs = require('fs') let fs = require('fs')
let _ = require('lodash') let _ = require('lodash')
let year = 2016 let year = 2016
let pair='eos' let pair='btc'
let drawDown = [30, 40, 50] let drawDown = [30, 40, 50]
let sort = 'profitPerMonth' let sort = 'profitPerMonth'
let alocatedReserve = 3 let alocatedReserve = 3
...@@ -32,7 +32,7 @@ async function work() { ...@@ -32,7 +32,7 @@ async function work() {
} }
console.log(arr)
if (arr.length !== 0) { if (arr.length !== 0) {
let timestamp = Date.now() let timestamp = Date.now()
try { try {
...@@ -125,7 +125,7 @@ async function run(root, name, directory, timestamp) { ...@@ -125,7 +125,7 @@ async function run(root, name, directory, timestamp) {
let las = [] let las = []
for (let i = 0; i < last.length; i++) { for (let i = 0; i < last.length; i++) {
if (i < last.length) if (i < last.length)
if (last[i].total < 1 && last[i].pftrade >= 0.000001 && last[i].maxLevel === 0 && last[i].allDonePer >700) { if (last[i].total < 1 && last[i].pftrade >= 0.000001 && last[i].maxLevel === 0 && last[i].allDonePer >400) {
delete last[i].durDetailText delete last[i].durDetailText
delete last[i].metaDetailText delete last[i].metaDetailText
let needContinue = false let needContinue = false
......
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