Skip to main content

Bulk-import trades (open positions + historical closed deals) into accounts

POST 

/api/v1/import_export/import/trades

Upload the trades CSV template. Rows with close_price+close_time become historical CLOSED deals (track record, no live margin); rows without become OPEN positions routed through the normal order create path so the engine tracks them. Each committed row emits a NATS event + operation-log entry. Supports dry_run.

Request

Responses

Per-row import report