Skip to content

ApiActiveStopLimitOrderDTOv2

stonepy.models.ApiActiveStopLimitOrderDTOv2.ApiActiveStopLimitOrderDTOv2

Bases: ResponseModel

Information about active stop limit order.

order_id class-attribute instance-attribute

order_id: int | None = Field(default=None, alias='OrderId')

Order identifier

parent_order_id class-attribute instance-attribute

parent_order_id: int | None = Field(
    default=None, alias="ParentOrderId"
)

Parent order identifier

market_id class-attribute instance-attribute

market_id: int | None = Field(
    default=None, alias="MarketId"
)

Market identifier

market_name class-attribute instance-attribute

market_name: str | None = Field(
    default=None, alias="MarketName"
)

Market name

direction class-attribute instance-attribute

direction: str | None = Field(
    default=None, alias="Direction"
)

The direction, Buy or Sell

qauantity class-attribute instance-attribute

qauantity: Decimal | None = Field(
    default=None, alias="Qauantity"
)

The quantity of the product

trigger_price class-attribute instance-attribute

trigger_price: Decimal | None = Field(
    default=None, alias="TriggerPrice"
)

The marked to market price at which the order will trigger at

trading_account_id class-attribute instance-attribute

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

Trading account identifier

type class-attribute instance-attribute

type: int | None = Field(default=None, alias='Type')

The type of order, i.e. stop or limit

applicability class-attribute instance-attribute

applicability: int | None = Field(
    default=None, alias="Applicability"
)

The time period that the order remains in force Good Till Date (GTD) 1 Good Till Cancelled (GTC) 2 Good For Day (GFD) 3

expiry_date_time_utc class-attribute instance-attribute

expiry_date_time_utc: StoneXDateTime | None = Field(
    default=None, alias="ExpiryDateTimeUTC"
)

The associated expiry DateTime in UNIX time format

currency class-attribute instance-attribute

currency: str | None = Field(default=None, alias="Currency")

The trade currency

status class-attribute instance-attribute

status: int | None = Field(default=None, alias='Status')

The order status. The table of lookup codes can be found at Lookup Values

stop_order class-attribute instance-attribute

stop_order: ApiBasicStopLimitOrderDTO | None = Field(
    default=None, alias="StopOrder"
)

The if / done limit order

limit_order class-attribute instance-attribute

limit_order: ApiBasicStopLimitOrderDTO | None = Field(
    default=None, alias="LimitOrder"
)

The if / done limit order

oco_order class-attribute instance-attribute

oco_order: ApiBasicStopLimitOrderDTO | None = Field(
    default=None, alias="OcoOrder"
)

The order on the other side of a One Cancels the Other relationship

created_date_time_utc class-attribute instance-attribute

created_date_time_utc: StoneXDateTime | None = Field(
    default=None, alias="CreatedDateTimeUTC"
)

The date and time the order was created using UNIX time format

auto_rollover class-attribute instance-attribute

auto_rollover: bool | None = Field(
    default=None, alias="AutoRollover"
)

Flag to indicate whether the trade will automatically roll into the next contract when the current contract expires. Only applies to markets where the underlying is a futures contract.

guaranteed class-attribute instance-attribute

guaranteed: bool | None = Field(
    default=None, alias="Guaranteed"
)

Flag indicating whether the order is a guaranteed order

trade_reference class-attribute instance-attribute

trade_reference: str | None = Field(
    default=None, alias="TradeReference"
)

Alternative trade reference identifier

allocation_profile_id class-attribute instance-attribute

allocation_profile_id: int | None = Field(
    default=None, alias="AllocationProfileId"
)

The identifier of the allocation profile that was used to create the order, where applicable. (Used by Trade Advisor accounts)

allocation_profile_name class-attribute instance-attribute

allocation_profile_name: str | None = Field(
    default=None, alias="AllocationProfileName"
)

The name of the allocation profile that was used to create the order, where applicable. (Used by Trade Advisor accounts)

associated class-attribute instance-attribute

associated: bool | None = Field(
    default=None, alias="Associated"
)

Flag to indicated whether this is an associated order. An associated order is linked to a net position rather than to specific individual trades

position_method_id class-attribute instance-attribute

position_method_id: int | None = Field(
    default=None, alias="PositionMethodId"
)

Position method identifier