Create a new complex order.
Currently supports conditional orders (TP, SL, STOP). The order is persisted
immediately with PENDING status and queued for activation.
Conditional Order Types:
TP: Take-profit attached to a parent order. Requires
parent_river_order_id or parent_complex_order_id.SL: Stop-loss attached to a parent order. Requires
parent_river_order_id or parent_complex_order_id.STOP: Standalone stop order triggered by market price.Response:
Returns 202 Accepted with the complex order in PENDING status.
API key for programmatic access. Generate one at app.rivermarkets.com under Settings → API Keys.
Request body for creating a complex order (conditional order).
Subaccount to create the order under
Instrument ID. Mutually exclusive with custom_asset_id.
Custom asset basket ID. Mutually exclusive with river_id.
Conditional order parameters
Successful Response
Schema for a complex order response (unified across all complex order types).
Unique complex order identifier