Skip to content

UpdateTradeOrderRequestDTO

stonepy.models.UpdateTradeOrderRequestDTO.UpdateTradeOrderRequestDTO

Bases: RequestModel

A request to add a closing order to an open position, or update an existing closing order attached to an open position.

order_id class-attribute instance-attribute

order_id: int = Field(alias='OrderId')

The identifier of the order to update.

close_by_order_id class-attribute instance-attribute

close_by_order_id: int = Field(alias='CloseByOrderId')

The identifier used to close this given order.