API Flows
VRFQ Created
- Subscribed to
rfq
WS Channel. - Receives WS message with
kind
==ADDED
,status
==ACTIVE
.
VRFQ Expires
- Subscribed to
rfq
WS Channel. - Receives a WS message with
kind
==REMOVED
,status
==EXPIRED
.
Quote Created
- Subscribed to the
quote
WS Channel. - Maker sends request to create a Quote
- Once quote is created, Maker will asynchronously receive a WS messages on
quote
WS Channel withkind
==NEW
andstatus
==OPEN
.
Quote Canceled
- Subscribed to the
quote
WS Channel. - Maker sends request to cancel a Quote
- Once quote is canceled, Maker will asynchronously receive a WS messages on
quote
WS Channel withkind
==CANCELED
andstatus
==CLOSED
.
Matched Quote and Order
- Subscribed to
quote
andtrade
WS Channels. - Asynchronously the Maker receives a WS message on
quote
WS Channel withkind
==PENDING_FILL
andstatus
==CLOSED
. - Trade is executed:
- If Trade execution is successful at clearing & settlement:
- Asynchronously the Maker receives a WS message on
trade
WS channel withkind
==COMPLETED
andstatus
==COMPLETED
. - Asynchronously the Maker receives a WS message on
quote
WS channel withkind
==FILLED
andstatus
==CLOSED
.
- Asynchronously the Maker receives a WS message on
- If Trade execution is rejected at clearing & settlement:
- Asynchronously the Maker receives WS messages on
trade
WS channel withkind
==REJECTION
andstatus
==REJECTED
. - Asynchronously the Maker receives WS messages on
quote
WS channel withkind
==CANCELED
andstatus
==CLOSED
.
- Asynchronously the Maker receives WS messages on