Commit 78f4dcd0 authored by Ahmad Nemati's avatar Ahmad Nemati

git pull

parent a14288fd
......@@ -70,14 +70,14 @@ async function init() {
}
}
for (let i=0;i<arrNew.length;i++)
{
let det=get(arrNew[i].date)
if (worth ===arrNew[i].sum)
console.log('Worth* ->',arrNew[i].date,'Profits->',arrNew[i].sum,'Count->',det.count,'Longs->',det.longCount,'Shorts->',det.shortCount)
else
console.log(arrNew[i].date,'Profits->',arrNew[i].sum,'Count->',det.count,'Longs->',det.longCount,'Shorts->',det.shortCount)
}
// for (let i=0;i<arrNew.length;i++)
// {
// let det=get(arrNew[i].date)
// if (worth ===arrNew[i].sum)
// console.log('Worth* ->',arrNew[i].date,'Profits->',arrNew[i].sum,'Count->',det.count,'Longs->',det.longCount,'Shorts->',det.shortCount)
// else
// console.log(arrNew[i].date,'Profits->',arrNew[i].sum,'Count->',det.count,'Longs->',det.longCount,'Shorts->',det.shortCount)
// }
// console.log(arrNew)
}
......
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