ApiManagedTradeHistoryDTO¶
stonepy.models.ApiManagedTradeHistoryDTO.ApiManagedTradeHistoryDTO
¶
Bases: ResponseModel
Details of a previous trade within a Trading Advisor managed client account for use in the Trade History.
order_id
class-attribute
instance-attribute
¶
The unique identifier for the order.
opening_order_ids
class-attribute
instance-attribute
¶
The list of order identifiers for the opening orders that are being closed or part closed by this closing order.
trading_account_id
class-attribute
instance-attribute
¶
The unique identifier for the managed trading account that the order is being placed on.
trading_account_code
class-attribute
instance-attribute
¶
The code of the managed trading account that the order is being placed on.
trading_account_name
class-attribute
instance-attribute
¶
The name of the managed trading account that the order is being placed on.
original_quantity
class-attribute
instance-attribute
¶
The original order size or amount before partial closures.
quantity
class-attribute
instance-attribute
¶
The current order size or amount.
realised_pnl
class-attribute
instance-attribute
¶
The realised profit and loss.
realised_pnl_currency
class-attribute
instance-attribute
¶
The currency of the realised profit and loss.
last_changed_date_time_utc
class-attribute
instance-attribute
¶
last_changed_date_time_utc: StoneXDateTime | None = Field(
default=None, alias="LastChangedDateTimeUTC"
)
Represents the date and time when the order was last changed. Note: does not include things such as the current market price.
executed_date_time_utc
class-attribute
instance-attribute
¶
Represents the date and time when the order was executed.