Commit 3f02fbad authored by Ahmad Nemati's avatar Ahmad Nemati

git pu

parent 65e4242f
...@@ -20,21 +20,21 @@ function run(data, config, risk,forceZero, pfTrade, riskFreeLevel, detail, loss, ...@@ -20,21 +20,21 @@ function run(data, config, risk,forceZero, pfTrade, riskFreeLevel, detail, loss,
let data2 = [] let data2 = []
for (let i = 0; i < data.length; i++) { for (let i = 0; i < data.length; i++) {
let ft = data[i].openDate.split('-') let ft = data[i].openDate.split('-')
// let y = parseFloat(ft[0]) let y = parseFloat(ft[0])
// let m = parseFloat(ft[1]) let m = parseFloat(ft[1])
// if (y < 2017) if (y < 1990)
// continue continue
//
// if (y > 2017) { if (y > 1990) {
// data2.push(data[i]) data2.push(data[i])
// continue continue
// } }
// if (y === 2017) { if (y === 1990) {
// if (m < 9) if (m < 9)
// continue continue
// else else
data2.push(data[i]) data2.push(data[i])
// } }
} }
data = data2 data = data2
......
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