Commit 49e302a6 authored by Ahmad Nemati's avatar Ahmad Nemati

init

parent ad7fd4db
......@@ -38,7 +38,7 @@ function run(data, config, risk, pfTrade, riskFreeLevel,detail) {
}
if (dur <2)
if (dur <1300)
return null
let newP = dur / data.length
......
......@@ -58,7 +58,7 @@ async function check() {
}
let stats = await fs.statSync('allFiles/' + files[i])
if (stats.size < 6) {
if (stats.size < 5000) {
await fs.unlinkSync('allFiles/' + files[i])
continue
......@@ -112,7 +112,7 @@ async function copyAllFiles()
}
let stats = await fs.statSync('files/' + files[i])
if (stats.size < 6) {
if (stats.size < 5000) {
await fs.unlinkSync('files/' + files[i])
continue
......
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