Commit bb32c1d2 authored by Ahmad Nemati's avatar Ahmad Nemati

git pull

parent a1215c6c
......@@ -157,7 +157,7 @@ async function run() {
for (let i = 0; i < dates.length; i++)
if (dates[i].profit < 0)
allMonthLoss = allMonthLoss + dates[i].profit
let worth = balance-lastBalance-allMonthLoss
let worth = balance-lastBalance+allMonthLoss
if ( worth > base) {
base = 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