diff --git a/fin_depo/data.py b/fin_depo/data.py index 1203c88..f82d29a 100644 --- a/fin_depo/data.py +++ b/fin_depo/data.py @@ -101,16 +101,26 @@ class TradeOrderDetails: Includes both well-structured data about the order, and unstructured data from the backend. The unstructured data might be needed for tax purposes. + + Fields: + - `input_asset`: Asset that have been sold + - `input_amount`: Amount of asset that has been sold + - `output_asset`: Asset that have been bought + - `output_amount`: Amount of asset that have been bought. + - `fee_asset`: Asset used to pay fee. + - `fee_amount`: Amount of asset that have been used to pay fee. + - `executed_time`: Point in time when order was executed. + - `order_id`: Unique identifier of order. Determined by backend. + - `raw_order_details`: For storing arbitrary unstructured data from backend. """ input_asset: Asset input_amount: Decimal - output_asset: Asset output_amount: Decimal - fee_asset: Asset fee_amount: Decimal + executed_time: datetime.datetime order_id: object raw_order_details: object