Closed CodeShikra closed 3 years ago
fix being tested in #47
Can you please try testing with the pre-release version 0.5.2b1
?
pip install casparser==0.5.2b1
The issue is resolved and I can see the Capital Gains Statement table being printed on the console
fixed in #7 & v0.5.2 will be released today
Getting the following error
File "\lib\site-packages\casparser\analysis\gains.py", line 192, in merge_transactions merged_transactions[dt].units += txn["units"] TypeError: unsupported operand type(s) for +=: 'decimal.Decimal' and 'NoneType'
Dividend payout transactions have nothing in the "Units" column as shown in screenshot below (Only "Amount" column)