Skip to content

ClientAccountMarginResponseDTO

stonepy.models.ClientAccountMarginResponseDTO.ClientAccountMarginResponseDTO

Bases: ResponseModel

The current margin and other account balance data for a specific client account used in the ClientAccountMargin stream.

cash class-attribute instance-attribute

cash: Decimal | None = Field(default=None, alias='Cash')

The cash balance expressed in the client account base currency

margin class-attribute instance-attribute

margin: Decimal | None = Field(default=None, alias="Margin")

The client account total margin requirement expressed in base currency

margin_indicator class-attribute instance-attribute

margin_indicator: Decimal | None = Field(
    default=None, alias="MarginIndicator"
)

The margin indicator expressed as a percentage

net_equity class-attribute instance-attribute

net_equity: Decimal | None = Field(
    default=None, alias="NetEquity"
)

The net equity expressed in the client account base currency

open_trade_equity class-attribute instance-attribute

open_trade_equity: Decimal | None = Field(
    default=None, alias="OpenTradeEquity"
)

The open trade equity (open or unrealised P&L) expressed in the client account base currency

tradable_funds class-attribute instance-attribute

tradable_funds: Decimal | None = Field(
    default=None, alias="TradableFunds"
)

The tradable funds in the client account base currency

pending_funds class-attribute instance-attribute

pending_funds: Decimal | None = Field(
    default=None, alias="PendingFunds"
)

The amount in base currency that is still being processed for addition to the funds in the account

trading_resource class-attribute instance-attribute

trading_resource: Decimal | None = Field(
    default=None, alias="TradingResource"
)

The trading resource expressed in the client account base currency

total_margin_requirement class-attribute instance-attribute

total_margin_requirement: Decimal | None = Field(
    default=None, alias="TotalMarginRequirement"
)

The total margin requirement expressed in the client account base currency

currency_id class-attribute instance-attribute

currency_id: int | None = Field(
    default=None, alias="CurrencyId"
)

The ID code for the client account base currency. The table of lookup codes can be found at Lookup Values

currency_iso_code class-attribute instance-attribute

currency_iso_code: str | None = Field(
    default=None, alias="CurrencyIsoCode"
)

The base currency ISO code