Skip to content

ApiUsernameResponseDTO

stonepy.models.ApiUsernameResponseDTO.ApiUsernameResponseDTO

Bases: ResponseModel

Response to an Account Information service GetUsername call. Contains the username and trading account code for the associated trading account ID supplied as a parameter in the call.

trading_account_code class-attribute instance-attribute

trading_account_code: str | None = Field(
    default=None, alias="TradingAccountCode"
)

The trading account code.

username class-attribute instance-attribute

username: str | None = Field(default=None, alias="Username")

The username for the account.