Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.rivermarkets.com/llms.txt

Use this file to discover all available pages before exploring further.

Order Statuses

Every order on River Markets goes through a lifecycle represented by its status. Understanding these statuses helps you track and manage your orders effectively.
StatusDescription
PENDING_SUBMISSIONLive: order received, awaiting exchange submission.
PROCESSINGLive: being processed by the order consumer.
RESTINGLive: on the exchange order book (may include partially-filled live orders).
EXECUTEDTerminal: fully filled.
PARTIALLY_FILLEDTerminal: cancelled with some quantity filled.
CANCELLEDTerminal: cancelled with no fills.
REJECTEDTerminal: rejected by exchange (see order details for reason).
A resting order that becomes partially filled stays in RESTING until it either fully fills (EXECUTED) or is cancelled (PARTIALLY_FILLED if any qty was filled, otherwise CANCELLED).

Lifecycle

Aggregated Fields

Each order includes computed fields from its fills:
  • traded_qty — Total quantity executed across all fills.
  • average_price — Volume-weighted average fill price.
  • fees_paid — Total fees incurred from fills.