Skip to main content

Link an order and its executions to a trade

POST 

/api/v1/reconciliation/link-order

Links an entire order (and all its child executions) to an existing trade in one transaction (#1334) - fills follow their order, so an order can never land half-moved. The order's symbol must match the trade's symbol. Optionally deletes synthetic executions on the target trade before linking. This is the only way to link a fill that carries an orderId; POST /link rejects those.

Request​

Responses​

Order linked to trade