Skip to content

AllocationProfileDTO

stonepy.models.AllocationProfileDTO.AllocationProfileDTO

Bases: ResponseModel

A Trading Advisor allocation profile.

id class-attribute instance-attribute

id: int | None = Field(default=None, alias='Id')

The identifier for the allocation profile.

trading_account_id class-attribute instance-attribute

trading_account_id: int | None = Field(
    default=None, alias="TradingAccountId"
)

The identifier for the Trading Advisor trading account to which the allocation profile belongs.

trading_account_code class-attribute instance-attribute

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

The code of the Trading Advisor trading account to which the allocation profile belongs.

name class-attribute instance-attribute

name: str | None = Field(default=None, alias='Name')

The descriptive name of the allocation profile.

type_id class-attribute instance-attribute

type_id: int | None = Field(default=None, alias='TypeId')

The type identifier for the allocation method to use: 1 - Net Asset Value (NAV), 2 - Assisted Trading.

is_default class-attribute instance-attribute

is_default: bool | None = Field(
    default=None, alias="IsDefault"
)

Boolean true or false value indicating if this allocation profile is the default for the trading account.

entries class-attribute instance-attribute

entries: list[AllocationProfileEntryDTO] | None = Field(
    default=None, alias="Entries"
)

The individual entries for the client trading accounts and related settings belonging to this allocation profile.