SendOrderArgs
Arguments for submitting or replacing an order on the Control Hub endpoint.
| Field | Type | Required | Nullable | Default | Description |
|---|---|---|---|---|---|
IdempotencyKey | str | Yes | No | Client-provided idempotency key used to de-duplicate requests and enable safe retries. | |
ReplacesOrder | int | Yes | Yes | Existing live order id to replace; null submits a new order. | |
BrokerAccountId | str | Yes | No | Broker account id where the order should be submitted. | |
ExecPlanId | int | Yes | No | Live execution plan id produced by a preparation job. | |
QtyMultiplier | Decimal | Yes | Yes | Quantity multiplier for AddPosition/AddLegs orders. Positive and required for entry/add-leg plans; it may override the prepared multiplier only before execution starts, then must match the locked multiplier. Must be null for exits, removals, and moves. | |
LegGroupId | int | Yes | No | Execution-plan leg group id being ordered. | |
LegGroupOrder | LegGroupOrder | Yes | No | Order parameters and execution-plan leg ids for the selected leg group. |