pub struct AccumulatedAccountState {
pub balance: Option<Decimal>,
pub pl: Option<Decimal>,
pub resettable_pl: Option<Decimal>,
pub financing: Option<Decimal>,
pub commission: Option<Decimal>,
pub dividend_adjustment: Option<Decimal>,
pub guaranteed_execution_fees: Option<Decimal>,
pub margin_call_enter_time: Option<Timestamp>,
pub margin_call_extension_count: Option<i64>,
pub last_margin_call_extension_time: Option<Timestamp>,
}Expand description
The mutable state of a client’s Account.
Fields§
§balance: Option<Decimal>The current balance of the account.
pl: Option<Decimal>The total profit/loss realized over the lifetime of the Account.
resettable_pl: Option<Decimal>The total realized profit/loss for the account since it was last reset by the client.
financing: Option<Decimal>The total amount of financing paid/collected over the lifetime of the account.
commission: Option<Decimal>The total amount of commission paid over the lifetime of the Account.
dividend_adjustment: Option<Decimal>The total amount of dividend adjustment paid over the lifetime of the Account in the Account’s home currency.
guaranteed_execution_fees: Option<Decimal>The total amount of fees charged over the lifetime of the Account for the execution of guaranteed Stop Loss Orders.
margin_call_enter_time: Option<Timestamp>The date/time when the Account entered a margin call state. Only provided if the Account is in a margin call.
margin_call_extension_count: Option<i64>The number of times that the Account’s current margin call was extended.
last_margin_call_extension_time: Option<Timestamp>The date/time of the Account’s last margin call extension.