complex-orders

Create Complex Order

Changed on

Create a new complex order (conditional or iceberg).

Provide exactly one of conditional_order_params (TP/SL/STOP) or iceberg_order_params. The body shape determines the complex_order_type.

Returns 202 Accepted with the persisted complex order in PENDING status, enqueued for activation by the appropriate consumer service.

post/v1/complex-orders

Request

  • Base URL
    https://api.rivermarkets.com (the document declares no server; this is the origin it was published from)
  • URL
    https://api.rivermarkets.com/v1/complex-orders
  • Auth
    none declared

Request body

subaccount_idstring uuid required

Subaccount to create the order under

river_idinteger nullable

Instrument ID. Mutually exclusive with generic_asset_id.

generic_asset_idstring uuid nullable

Generic asset basket ID. Mutually exclusive with river_id.

exchangesstring[] nullable

Peg orders on a generic asset only: venues legs may be placed on (e.g. ['KALSHI', 'POLYMARKET_US']). Omit to use every member venue where the subaccount has valid credentials.

Response

Successful Response

complex_order_idstring uuid required

Unique complex order identifier

Changes

    • info

      added the new RFQ_MAKER enum value to the request property ///

    • info

      added the new optional request property