The "OpenedPositions" tables (the tabs "Renda Variável", "Renda Fixa" and "Tesouro Direto") are not showing correctly the partial operations.
For example: if you create a sequence of buying 35 stocks of CPTS11 and selling 9 stocks of CPTS11, then the application is showing the total of 35 stocks instead of 29.
To Reproduce
Steps to reproduce the behavior:
Run the 'main.py' from the 'main' branch
Click on 'Arquivo -> Abrir Extrato' and select the attached 'TesteCPTS11.xlsx' file
Select the 'Renda Variável' tab and see the column 'Quantidade=35'
Expected behavior
The application should show the column 'Quantidade=26', not 'Quantidade=35'
Screenshots
Desktop (please complete the following information):
Describe the bug
The "OpenedPositions" tables (the tabs "Renda Variável", "Renda Fixa" and "Tesouro Direto") are not showing correctly the partial operations.
For example: if you create a sequence of buying 35 stocks of CPTS11 and selling 9 stocks of CPTS11, then the application is showing the total of 35 stocks instead of 29.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The application should show the column 'Quantidade=26', not 'Quantidade=35'
Screenshots
Desktop (please complete the following information):
N/A
Additional context
N/A
TesteCPTS11.xlsx