Skip to main content

Import a broker position as a single trade anchored on real broker orders

POST 

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

Re-verifies the exact-match bar (see /order-import-suggestion) at confirm time, materialises the matched broker orders as UTM Order rows, ingests their real fills, and creates one trade anchored on them - no synthetic entry execution. Alpaca only. Returns 409 ORDER_BACKED_IMPORT_UNAVAILABLE if the suggestion is no longer available (the position changed since it was offered); the caller should fall back to POST /import-position. Returns 409 ORDER_BACKED_IMPORT_RATE_LIMITED if the broker rate-limited the order-history or real-fills fetch instead - a transient condition, not a settled non-match, so the caller should retry rather than fall back to the snapshot import.

Request​

Responses​

Position imported as a new trade anchored on real broker orders