leoschmitz / ir-acoes

calculadora de imposto de renda (ações)
0 stars 0 forks source link

Fix incorrect average calculation #5

Closed leoschmitz closed 1 year ago

leoschmitz commented 1 year ago

Whenever a stock is sold, we need to remove that quantity from the next average. The weigth of the quantity affects the average.