StopOrder
A stop order in Vega
type StopOrder {
id: ID!
ocoLinkId: ID
expiresAt: Timestamp
expiryStrategy: StopOrderExpiryStrategy
triggerDirection: StopOrderTriggerDirection!
status: StopOrderStatus!
createdAt: Timestamp!
updatedAt: Timestamp
partyId: ID!
marketId: ID!
trigger: StopOrderTrigger!
submission: OrderSubmission!
order: Order
}
Fields
StopOrder.id ● ID! non-null scalar
Hash of the stop order data
StopOrder.ocoLinkId ● ID scalar
If OCO (one-cancels-other) order, the ID of the associated order.
StopOrder.expiresAt ● Timestamp scalar
Time at which the order will expire if an expiry time is set.
StopOrder.expiryStrategy ● StopOrderExpiryStrategy enum
If an expiry is set, what should the stop order do when it expires.
StopOrder.triggerDirection ● StopOrderTriggerDirection! non-null enum
Direction the price is moving to trigger the stop order.
StopOrder.status ● StopOrderStatus! non-null enum
Status of the stop order
StopOrder.createdAt ● Timestamp! non-null scalar
Time the stop order was created.
StopOrder.updatedAt ● Timestamp scalar
Time the stop order was last updated.
StopOrder.partyId ● ID! non-null scalar
Party that submitted the stop order.
StopOrder.marketId ● ID! non-null scalar
Market the stop order is for.
StopOrder.trigger ● StopOrderTrigger! non-null union
Price movement that will trigger the stop order
StopOrder.submission ● OrderSubmission! non-null object
Order to submit when the stop order is triggered.
StopOrder.order ● Order object
The order that was created when triggered.
Returned by
stopOrder query
Member of
StopOrderEdge object