Commit 43f717e9 authored by Ahmad Nemati's avatar Ahmad Nemati

git pull

parent 12ef66e3
......@@ -59,7 +59,7 @@ function add(date, profit,side) {
for (let i = 0; i < arr.length; i++)
if (arr[i].date === date) {
arr[i].profit = arr[i].profit + profit
arr[i].count++
if ( side ==='LONG')
arr[i].longCount++
else
......
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