Skip to main content

Import a broker position split across multiple trades on order boundaries

POST 

/api/v1/reconciliation/split-import-position-from-orders

The order-allocation variant of split import (issue #1383): every matched order (from /order-import-suggestion) is assigned to exactly one allocation's strategy. Each resulting trade is anchored on its allocated orders' real fills - no synthetic entry execution. Validity is by construction: every matched order must appear in exactly one allocation's orderIds, with no leftover and no duplicate assignment. A split that needs to divide a single order below its own boundary is not supported here; use the free-quantity POST /split-import-position instead. Alpaca only.

Request​

Responses​

Position split into trades anchored on real broker orders