Commit 88f35295 authored by Ahmad Nemati's avatar Ahmad Nemati

git pull

parent 00c5724e
......@@ -8,7 +8,7 @@ let arr = []
let lastBalance=10000
let balance =lastBalance
init()
let base=-10000000
let base=1
let com
//profitLossString
//drawDownString
......@@ -66,10 +66,10 @@ function run()
// console.log('Balance ->',balance)
// console.log('Worth ->',arrNew[0])
let worth=arrNew[0].sum
let worth=balance/arrNew[0].sum
if (worth > base) {
base=worth
console.log(worth,balance,(balance/worth))
console.log((balance/worth))
}
// let start=false
// let arr2=[]
......
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