Skip to content

ApiAssociatedDTOv2

stonepy.models.ApiAssociatedDTOv2.ApiAssociatedDTOv2

Bases: ResponseModel

Contains the associated stop and limit orders. An associated order is linked to a net position rather than to specific individual trades.

stop class-attribute instance-attribute

stop: ApiStopLimitOrderDTOv2 | None = Field(
    default=None, alias="Stop"
)

The associated stop order

limit class-attribute instance-attribute

limit: ApiStopLimitOrderDTOv2 | None = Field(
    default=None, alias="Limit"
)

The associated limit order