Skip to main content

SendOrderArgs

Arguments for SendOrder.

FieldTypeRequiredNullableDefaultDescription
IdempotencyKeystrYesNoClient-provided idempotency key used to de-duplicate requests and enable safe retries.
ReplacesOrderintYesYesOptional live order id to replace (maps to the underlying broker order id).
BrokerAccountIdstrYesNoTarget broker account id to submit the order on.
ExecPlanIdintYesNoLive execution plan id this order belongs to.
QtyMultiplierDecimalYesYesOptional quantity multiplier for entry flows (used to scale leg quantities). May be ignored/validated for non-entry flows.
LegGroupIdintYesNoLeg group id within the execution plan to submit the order for.
LegGroupOrderLegGroupOrderYesNoOrder parameters for the selected leg group (order type, limit/stop prices, leg names, etc.).