Commit 5beeb135 authored by Ahmad Nemati's avatar Ahmad Nemati

git pull

parent c74eda7b
...@@ -8,6 +8,7 @@ let arr = [] ...@@ -8,6 +8,7 @@ let arr = []
let lastBalance=1000 let lastBalance=1000
let balance =lastBalance let balance =lastBalance
init() init()
let base=0
let com let com
//profitLossString //profitLossString
//drawDownString //drawDownString
...@@ -62,10 +63,12 @@ function run() ...@@ -62,10 +63,12 @@ function run()
} }
arrNew = _.orderBy(arrNew, ['sum']) arrNew = _.orderBy(arrNew, ['sum'])
// console.log(arr) // console.log(arr)
console.log('Balance ->',balance) // console.log('Balance ->',balance)
console.log('Worth ->',arrNew[0]) // console.log('Worth ->',arrNew[0])
let worth=arrNew[0].sum
let worth=arrNew[0].sum
if (worth < base)
console.log(worth)
let start=false let start=false
let arr2=[] let arr2=[]
for (let i=0;i<arr.length;i++) for (let i=0;i<arr.length;i++)
......
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