Skip to main content

Create a trade from unlinked executions

POST 

/api/v1/reconciliation/create-trade

Creates a new trade record and links the specified executions to it. All executions must be currently unlinked and must share the same symbol. Optionally assigns a strategy to the new trade. Fills follow their order (#1334) - when a selected execution carries an orderId, every one of that order's pending_review executions must be included, or the request is rejected naming the order - a trade can never be created from a strict subset of one order's fills. The order is linked to the new trade atomically with its executions.

Request​

Responses​

Trade created and executions linked