diff options
Diffstat (limited to 'ledger_action.py')
-rw-r--r-- | ledger_action.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ledger_action.py b/ledger_action.py index 952692b..cc0eb83 100644 --- a/ledger_action.py +++ b/ledger_action.py @@ -1,6 +1,7 @@ from dataclasses import dataclass from decimal import Decimal + @dataclass class LedgerAction: """ @@ -8,7 +9,7 @@ class LedgerAction: The `LedgerAction` class encapsulates details of each action recorded in the ledger, whether it's a deposit, trade, or other types of transactions. - + Attributes: type (str): The type of action, e.g., "trade" or "deposit". asset (str): The cryptocurrency or fiat asset associated with the action. |