RFQ
RFQ trading API
Last updated
RFQ trading API
Last updated
Connecting to the WS endpoint wss://trade.finerymarkets.com/ws/rfq
Authorize (if authorization headers were not provided in step 1).
Send the RFQ session request
event to create an RFQ session. The server responds with Successful RFQ session response
, indicating that the RFQ session has been created. The service sends requests to external providers (from the list specified by the client in the request). Upon receiving an answer from any provider, the server sends a Quote response
.
For getting providers use:
Send an Order confirmation request
to approve the deal with the provider specified in the request. The server sends another request to the specified provider, and depending on its response, the server can respond with an Order confirmation response
with different statuses:
SUCCESS
if the provider approved the deal.
REJECT
if the provider rejected the deal.
ERROR
if there was an error during the request.
RFQ session statuses include:
CREATED
– The session has been initialized.
COMMITTED
– The session has been successfully finished with the committed order.
CANCELED
– The session was canceled.
EXPIRED
– The session expired without commitment.
REJECTED
– Commitment to the LP was rejected due to insufficient trading limits or other risk management checks.
FAILED
– The commitment to the LP failed due to technical errors or issues during processing.
Send a Cancel request
to cancel the RFQ completely. After you will receive Cancel response
from the server. Then the RFQ session may be restarted.
If an internal error occurs, you will receive an Error response
event.