Commit ad6db025 authored by Ahmad Nemati's avatar Ahmad Nemati

git pull

parent e3415336
...@@ -8,7 +8,7 @@ let arr = [] ...@@ -8,7 +8,7 @@ let arr = []
let lastBalance=1000 let lastBalance=1000
let balance =lastBalance let balance =lastBalance
init() init()
let base=-1 let base=-10000000
let com let com
//profitLossString //profitLossString
//drawDownString //drawDownString
...@@ -67,7 +67,7 @@ function run() ...@@ -67,7 +67,7 @@ function run()
// console.log('Worth ->',arrNew[0]) // console.log('Worth ->',arrNew[0])
let worth=arrNew[0].sum let worth=arrNew[0].sum
if (worth < base) { if (worth > base) {
base=worth base=worth
console.log(worth) console.log(worth)
} }
......
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