API Flows
OB Created
Taker’s & Maker’s Perspective:
- Subscribed to
rfqWS Channel. - Receives WS message with
kind==ADDED,status==ACTIVE.
OB Expires
Taker’s & Maker’s Perspective:
- Subscribed to
rfqWS Channel. - Receives WS message with
kind==REMOVED,status==EXPIRED.
OB: Quote Created
Taker’s & Maker’s Perspective:
- Subscribed to the
quote,quote_status, andquote_bookWS Channels. - Asynchronously:
- Receives WS messages on
quote_bookWS Channel withkind==ADDEDandstatus==OPEN. - Maker only, receives WS messages on
quoteWS Channel withkind==NEWandstatus==OPEN.
- Receives WS messages on
- Certain order book validations are performed only asynchronously. In the case of a validation error, the error will be returned on the
quote_statuschannel.
OB: Quote Canceled
Taker’s & Maker’s Perspective:
- Subscribed to the
quoteandquote_bookWS Channels. - Asynchronously:
- Receives WS messages on
quote_bookWS Channel withkind==REMOVEDandstatus==CLOSED. - Maker only, receives WS messages on
quoteWS Channel withkind==CANCELEDandstatus==CLOSED.
- Receives WS messages on
- Certain order book validations are performed only asynchronously. In the case of a validation error, the error will be returned on the
quote_statuschannel.
OB: Matched Quote and Order
Taker’s Perspective:
- Subscribed to
quote_book,order,tradeandtrade_tapeWS Channels. - Asynchronously:
- Receives a single WS message on
orderWS Channel withkind==PENDING_FILLandstatus==OPEN. - Receives a WS message on the
quote_bookWS Channel:- If Quote is completely consumed
kind==REMOVED. - If Quote is partially consumed
kind==UPDATED.
- If Quote is completely consumed
- Receives a single WS message on
- Asynchronously:
- If Trade execution is successful at clearing & settlement:
- Receives WS messages on
tradeWS channel withkind==CONFIRMATIONfor each successful trade execution as part of the Order. - Receives WS messages on
trade_tapeWS channel withkind==COMPLETEDfor each successful trade execution through Paradigm.
- Receives WS messages on
- If Trade execution is rejected at clearing & settlement:
- Receives WS messages on
tradeWS channel withkind==REJECTIONfor each rejected trade execution as part of the Order.
- Receives WS messages on
- In the event of Successful/Rejected executions at clearing & settlement:
- Receives WS messages on
orderon WS channel withkind==SUMMARYandstatus==CLOSED.
- Receives WS messages on
- If Trade execution is successful at clearing & settlement:
Maker’s Perspective:
- Subscribed to
quote_book,quote,tradeandtrade_tapeWS Channels. - Asynchronously:
- Receives a single WS message on
quoteWS Channel:- If Quote is completely consumed
kind==PENDING_FILLandstatus==CLOSED.- Also occurs if the Remaining Quantity is below the venue’s enforced “Block Size Minimum”.
- If Quote is partially consumed
kind==PENDING_FILLandstatus==OPEN.
- If Quote is completely consumed
- Receives a WS message on the
quote_bookWS Channel:- If Quote is completely consumed
kind==REMOVED. - If Quote is partially consumed
kind==UPDATED.
- If Quote is completely consumed
- Receives a single WS message on
- Asynchronously:
- If Trade execution is successful at clearing & settlement:
- Receives WS messages on
tradeWS channel withkind==CONFIRMATIONfor each successful trade execution as part of the Order. - Receives WS messages on
trade_tapeWS channel withkind==COMPLETEDfor each successful trade execution through Paradigm. - If a Quote is only partially consumed at execution, meaning there is remaining available quantity:
- Receives a WS message on the
quoteWS Channel withkind==PARTIALLY_FILLEDandstatus==OPEN.
- Receives a WS message on the
- If a Quote is only completely consumed at execution, meaning there is NO remaining available quantity:
- Receives a WS message on the
quoteWS Channel withkind==FILLEDandstatus==OPEN.
- Receives a WS message on the
- Receives WS messages on
- If Trade execution is rejected at clearing & settlement:
- Receives WS messages on
tradeWS channel withkind==REJECTIONfor each rejected trade execution as part of the Order. - Receives a WS message on the
quoteWS Channel withkind==CANCELEDandstatus==CLOSED.
- Receives WS messages on
- If Trade execution is successful at clearing & settlement:
