Commit 85e595bb authored by Ahmad Nemati's avatar Ahmad Nemati

git pull

parent 5e04ad26
......@@ -5,7 +5,8 @@ const uuid = require('uniqid')
let pair = 'BNB'
let res
let arr = []
let balance =10000
let lastBalance=10000
let balance =lastBalance
init()
//profitLossString
......@@ -53,7 +54,7 @@ async function init() {
console.log('Balance ->',balance)
console.log('Worth ->',arrNew[0])
let worth=arrNew[0].sum
let start=false
let arr2=[]
for (let i=0;i<arr.length;i++)
......@@ -72,7 +73,7 @@ async function init() {
arr2.push(arr[i])
}
balance=10000
balance=lastBalance
for (let i=0;i<arr2.length;i++)
{
balance=balance+arr2[i].profit
......
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