Skip to main content

Types

Type reference for order submissions. GraphQL notation: ! means non-null, [...] is a list; a field without ! can be null.

OrderSubmission

FieldTypeDescription
idUUID!Submission id
accountIdUUID!Owning account
marketIds[UUID!]Venues requested at creation
resolvedMarketIds[UUID!]Venues the order actually rests in — the requested set minus what you can't trade. Null when nothing is resting
assetIds[UUID!]Always null on new submissions
assetConfigurationIds[UUID!]The one traded configuration
keyIds[UUID!]Targeted graded/condition keys
externalIdentifiersJSONPlatform ids the submission was created with, normalized to lists
keyScopeJSONKey vocabulary the submission was created with, normalized to lists
directionOrderSubmissionDirection!BUY or SELL
orderTypeOrderSubmissionType!LIMIT or MARKET
timeInForceOrderSubmissionTimeInForce!See enum below
statusOrderSubmissionStatus!See enum below
qtyInt!Units to trade
allInPriceIntFee-inclusive limit price per unit, in cents
minOrderSizeIntSmallest fill accepted (sell side)
minValueCentsIntMinimum value per fill, in cents (sell side)
slippage[SlippageConfig!]!Slippage tolerance for market orders
autoOuttakeBooleanShip filled units automatically after settlement (buy side)
shouldVaultBooleanKeep filled units vaulted (buy side)
fulfillFromVaultBooleanFill from vaulted stock, facility ships to the buyer (sell side)
paymentRailPaymentRailHow fills are paid for (buy side)
paymentTokenIdUUIDPayment token charged on fills (buy side)
originAddressIdUUIDWhere inventory ships from (sell side)
recipientAddressIdUUIDWhere filled units ship (buy side)
expectingFreeShippingBooleanSeller saw free shipping on the quote (sell side)
maxShippingAndHandlingCostsCents[Int!]Acknowledged shipping ceilings, one per expected shipment (buy side) — see Taker-pays shipping
serviceLevelIdUUIDPriority tier: the level a priority bid rests under, or the level of the bid a sell took. Null on standard orders
externalReferenceIdStringYour identifier, echoed back on reads
biddingStrategyIdUUIDSet on a strategy's identity submission; null on ordinary submissions
expiresAtDateTimeOptional hard expiry
createdAtDateTime!Creation time
updatedAtDateTime!Last modification time

Opt-in fields

Populated only when the corresponding include flag is set on the query; empty or null otherwise.

FieldTypeInclude flagDescription
assetConfigurations[AssetConfiguration!]!includeProductDataCatalog rows the submission spans
assets[Asset!]!includeProductDataParent assets of those configurations
keys[Key!]!includeProductDataGraded/condition keys the submission spans
conditionalBids[ConditionalBid!]!includeChildBidOrAskThe resting bid a BUY materialized into
conditionalAsks[ConditionalAsk!]!includeChildBidOrAskThe resting ask a SELL materialized into
isTopOfBookBooleanincludeBookPositionWhether any resting leg holds the best price on its side, ties included. Null means unknown — not false

SlippageConfig

FieldTypeDescription
directionSlippageDirection!UPWARDS or DOWNWARDS
maxBpsInt!Maximum tolerated price movement, in basis points — 50 is half a percent

SlippageConfigInput (create only — slippage is not amendable) has the same fields, validated per entry:

  • Slippage applies to MARKET orders only — setting it on a LIMIT order is rejected (INVALID_SLIPPAGE)
  • maxBps must be greater than zero and at most 10000 (INVALID_SLIPPAGE)
  • At most one entry per directionUPWARDS and DOWNWARDS each at most once, so the whole list is at most two entries

On a BUY, UPWARDS caps how far above the best ask the order will fill; on a SELL, DOWNWARDS caps how far below the best bid. Liquidity priced beyond the cap is not taken — the remainder follows the order's time in force. A direction without an entry is uncapped.

Enums

OrderSubmissionDirection

ValueMeaning
BUYRests bids; fills acquire inventory
SELLRests asks; fills release inventory

OrderSubmissionType

ValueMeaning
LIMITRests at your all-in price until matched, cancelled, or expired
MARKETCrosses immediately against available liquidity, subject to slippage

OrderSubmissionTimeInForce

ValueMeaning
GTCGood till cancelled
DAYRests until the next regular session close, then expires. expiresAt is computed; don't set it
IOCImmediate or cancel — fills what it can instantly, cancels the rest
FOKFill or kill — fills entirely and instantly, or not at all

OrderSubmissionStatus

ValueMeaning
QUEUEDAccepted, not yet resting on any book
EXECUTINGA worker is running this order's match/rest right now — milliseconds, not a business phase
RESTINGUnits on the book, none delivered yet. Working: amendable, cancellable. Some quantity may already be matched and settling — the counters say how much
PARTIALLY_FILLEDUnits on the book and some already delivered. Working: amendable, cancellable — the resting remainder is what an amend reprices or a cancel pulls
SETTLINGNothing left on the book; matched units still moving through settlement. Nothing to amend or cancel. Non-terminal — resolves to FILLED, CANCELLED or EXPIRED
FILLEDEvery unit delivered — the goods are actually yours. Terminal
CANCELLEDNothing on the book and nothing moving, short of a full fill. filledQuantity / settledQuantity may be non-zero. Terminal
EXPIREDNothing on the book and nothing moving; the last resting order ran out its clock. Counters may be non-zero. Terminal