ApiStopLimitOrderHistoryDTO¶
stonepy.models.ApiStopLimitOrderHistoryDTO.ApiStopLimitOrderHistoryDTO
¶
Bases: ResponseModel
A stop or limit order from a historical perspective.
order_id
class-attribute
instance-attribute
¶
The order's unique identifier.
market_id
class-attribute
instance-attribute
¶
The markets unique identifier.
market_name
class-attribute
instance-attribute
¶
The market's name.
direction
class-attribute
instance-attribute
¶
The direction, Buy or Sell .
original_quantity
class-attribute
instance-attribute
¶
The quantity of the order when it became a trade / was cancelled etc.
price
class-attribute
instance-attribute
¶
The price / rate that the order was filled at.
trigger_price
class-attribute
instance-attribute
¶
The price / rate that the order was set to trigger at.
trailing_distance
class-attribute
instance-attribute
¶
The stop order's trailing distance. (Used when this is a trailing stop order.)
trading_account_id
class-attribute
instance-attribute
¶
The trading account that the order is on.
type_id
class-attribute
instance-attribute
¶
The type of the order stop, limit or trade. The table of lookup codes can be found at Lookup Values .
order_applicability_id
class-attribute
instance-attribute
¶
The duration that the order was applicable, i.e. good till cancelled (GTC), good for day (GFD), or good till time (GTT).
currency
class-attribute
instance-attribute
¶
The trade currency.
status_id
class-attribute
instance-attribute
¶
The order status. The table of lookup codes can be found at Lookup Values .
last_changed_date_time_utc
class-attribute
instance-attribute
¶
last_changed_date_time_utc: StoneXDateTime | None = Field(
default=None, alias="LastChangedDateTimeUtc"
)
Represents the date and time when the trade/order was last edited. Note: does not include things such as the current market price.
created_date_time_utc
class-attribute
instance-attribute
¶
The creation date and time of the order in UNIX time format.
guaranteed
class-attribute
instance-attribute
¶
Flag to indicate whether this is a guaranteed order.
trade_reference
class-attribute
instance-attribute
¶
Alternative trade reference.
order_reference
class-attribute
instance-attribute
¶
The order reference for this stop / limit.
source
class-attribute
instance-attribute
¶
The source for this stop / limit order i.e. FIX/MT4/G2.