Commit afc0d883 authored by Ahmad Nemati's avatar Ahmad Nemati

git pu

parent 8e9c5871
...@@ -18,10 +18,10 @@ function run(data, config, risk,forceZero, pfTrade, riskFreeLevel, detail, loss, ...@@ -18,10 +18,10 @@ function run(data, config, risk,forceZero, pfTrade, riskFreeLevel, detail, loss,
, ProfitRunupZeroDrawDown, ProfitRunupZeroProfit, ProfitRunupZeroProfitDrawDown, ProfitRunupZeroProfitRunup, ProfitRunupZeroRunupDrawDown, usage) { , ProfitRunupZeroDrawDown, ProfitRunupZeroProfit, ProfitRunupZeroProfitDrawDown, ProfitRunupZeroProfitRunup, ProfitRunupZeroRunupDrawDown, usage) {
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 < 2017)
// continue // continue
// //
...@@ -33,11 +33,11 @@ function run(data, config, risk,forceZero, pfTrade, riskFreeLevel, detail, loss, ...@@ -33,11 +33,11 @@ function run(data, config, risk,forceZero, pfTrade, riskFreeLevel, detail, loss,
// if (m < 9) // if (m < 9)
// continue // continue
// else // else
// data2.push(data[i]) data2.push(data[i])
// } }
//
// } }
// data = data2 data = data2
let type = config.type + ' param:' + config.param + ' base:' + config.base + ' target:' + config.target + ' targetPercentage:' + targetPercentage.enable let type = config.type + ' param:' + config.param + ' base:' + config.base + ' target:' + config.target + ' targetPercentage:' + targetPercentage.enable
......
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