Commit 0beab47c authored by Ahmad Nemati's avatar Ahmad Nemati

init

parent 7071e881
...@@ -20,7 +20,7 @@ run() ...@@ -20,7 +20,7 @@ run()
async function run() async function run()
{ {
let obj={sort:'profitPerMonthDrawDown',alocatedReserve:3,alocatedReserveCompound:3,risk:0,start:10000,pfTrade:0.1,side:'both'} let obj={sort:'profitPerMonthDrawDown',alocatedReserve:3,alocatedReserveCompound:3,risk:0,start:10000,pfTrade:2,side:'both'}
let all=[] let all=[]
for (let i=0;i<arr.length;i++) for (let i=0;i<arr.length;i++)
all.push(add(arr[i])) all.push(add(arr[i]))
...@@ -78,9 +78,9 @@ async function add(data) ...@@ -78,9 +78,9 @@ async function add(data)
// }) // })
if (data.type !=='plus') if (data.type !=='plus')
{ {
for (let i=100;i<500;i=i+10) for (let i=200;i<201;i=i+10)
{ {
for (let z=30;z<300;z=z+10) for (let z=1;z<101;z=z+1)
arr.push({ arr.push({
type: data.type, type: data.type,
commision: data.commision, commision: data.commision,
......
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