@@ -25,17 +25,24 @@ class Report:
2525 """Total selling prices, total capital gains, and total capital losses
2626 calculated from the CSV files.
2727
28+ When calculating the amount of profit or loss, you can deduct the deemed
29+ acquisition cost from the selling price of the shares, instead of deducting
30+ the purchase price of the shares as well as the expenses incurred in
31+ making a profit.
32+
2833 Args:
29- file (Iterable[bytes]): The input file in CSV format
30- report_currency (str): The currency used in the output
31- use_deemed_acquisition_cost (bool): Whether to use acquisition cost
34+ file (Iterable[bytes]): The input file in CSV format.
35+ report_currency (str): The currency used in the output.
36+ use_deemed_acquisition_cost (bool): Whether to use the deemed acquisition cost
37+ if it benefits you.
3238
3339 Attributes:
34- prices (Decimal): Total selling prices
35- gains (Decimal): Total capital gains
36- losses (Decimal): Total capital losses
37- details(List): Details from trades such as dates and quantities
38- options (ReportOptions): Whether to use acquisition cost, report currency
40+ prices (Decimal): Total selling prices.
41+ gains (Decimal): Total capital gains.
42+ losses (Decimal): Total capital losses.
43+ details(List): Details from trades such as dates and quantities.
44+ options (ReportOptions): Report currency, whether to use the deemed
45+ acquisition cost.
3946 """
4047
4148 prices : Decimal = Decimal (0 )
0 commit comments