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

git pull

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