Skip to content

Combo Negotiation Channels

Topics: rfq:{user_id} for the player, combo_quote:{user_id} for the maker

The channels a combo is negotiated over. A player asks for quotes on a set of legs and a stake, every connected maker sees the request and may quote an amount, and the player accepts. STX then places one ordinary limit order for each side on the combo’s market. Each side has its own topic, every command is a message on your own topic, and every answer is a reply to it or a push to the same topic.

Read Combos first for the model: amounts, how price and size are derived, cash out and settlement. This page is the protocol. For a complete maker in Python, TypeScript, C# or over a plain socket, see Quote combos as a maker.

Every frame on this page was captured on US demo on 20 October 2026 and is shown exactly as it went over the wire: ids, amounts, timestamps and refs are real, and nothing was shortened. Three fields arrived later, quantity, player_risk and maker_risk on a maker’s quote reply and placed. Their values here were checked on US demo on 7 November 2026 against the same stakes and amounts, which give the same figures. Three accounts took part:

User id Topic external_id
Player c7a6abb5-5e79-489d-951f-c043d4377fac rfq:c7a6abb5-5e79-489d-951f-c043d4377fac 9c87ec1c-588e-4512-9b91-d71653e41458
Maker A a501cce1-aadc-4db5-b8bc-bbdf1c15e86b combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b 3914a397-b553-4510-8b54-d6a6c0a096b0
Maker B bc2d4b34-5d21-4a2a-8af6-d1ad3846ac3f combo_quote:bc2d4b34-5d21-4a2a-8af6-d1ad3846ac3f a3bc5186-d1c9-47dc-9967-d5a55de6c369

The legs were the two 15-minute crypto markets US demo listed at the time: e546fd11-0451-4a83-9629-88b858f607ff (BTC) and 69f695d9-504d-43a0-afef-19b1de863e21 (ETH). Each code block shows the frame you send followed by the frames that answer it. A frame that arrived on a second socket of the same account is called out in the text.

A few answers cannot be provoked from outside the exchange, for example a refusal that needs the exchange to be restarting. Those are listed under Not captured where they apply, with their shape taken from the protocol rather than shown as a frame.

Frames use the Phoenix v2 array form, [join_ref, ref, topic, event, payload]. A reply is phx_reply carrying {"status": "ok" | "error", "response": {...}}, and every refusal’s response has a reason. Pushes arrive as [null, null, topic, event, payload], except rfq_opened and rfq_closed, which carry the channel’s join_ref. Match a push on its topic and event, never on a ref.

Kind Server to client Client to server
Money Dollar string with at least 4 decimals, more when the value has them: "10.0000". tick_size alone is at 7 places, "0.0001000" Decimal string, "10.00". A JSON number, "NaN", "Infinity", more than 32 digits or more than 16 decimal places is malformed_money
Quantity Whole contracts, 2 decimals: "14.00" Never sent
Timestamp Integer microseconds since the Unix epoch Never sent. A quote’s lifetime is expires_in_ms, an integer of milliseconds
Id UUID string Hyphenated UUID string, otherwise malformed_id
Enum Lowercase string: "buy", "won", "open", a reason. A few reasons are sentences, named where they arise "won" or "lost"

Nothing on these channels uses integer cents. See also the general wire format.

Side Topic Commands Pushes
Player rfq:{user_id} request_quote, cash_out, accept, cancel, snapshot best_quote, placed, negotiation_closed
Maker combo_quote:{user_id} quote, withdraw_quote rfq_opened, rfq_closed, quote_accepted, placed, negotiation_closed
  • {user_id} is your own user id, from GET /api/v1/me. One account may join both topics, to request on one combo and quote on another.
  • Each topic accepts only its own commands. A player command sent on the maker topic, the reverse, or any other event answers {"command":"quote","reason":"unknown_command"}, naming the event you sent.
  • The player’s topic carries only that player’s requests and one amount, the best. The maker’s topic carries the request feed and, of quotes, only that maker’s own. The feed carries requests and never quotes, and no payload names a maker.

Authenticate the socket. Authentication happens when the socket connects, never on the join. Sign the connection with the same X-STX-ACCESS-* headers as REST, over GET and the path /socket/websocket (see Sign the socket, then join what you need), or connect with an OAuth member token. Send a User-Agent header. An unsigned socket connects, but every join on these topics refuses it.

Use a connection that can place orders. Both topics end in orders, so both need what POST /api/v1/orders needs: an API key with read_write scope, or an OAuth token with orders.write. Without it you can neither request nor quote.

Join the topic for your side. The payload is {}.

["1","1","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","phx_join",{}]
["1","1","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","phx_reply",{"status":"ok","response":{"external_id":"9c87ec1c-588e-4512-9b91-d71653e41458"}}]
["1","1","combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","phx_join",{}]
["1","1","combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","phx_reply",{"status":"ok","response":{"external_id":"3914a397-b553-4510-8b54-d6a6c0a096b0"}}]
  • external_id is your account’s pseudonym for counterparties, and this reply is the only message that tells you which one is yours. Makers are shown the player’s on rfq_opened, on every quote reply and on every push about a quote. A maker’s is never shown to anyone.
  • A maker’s join subscribes the channel to the request feed. It delivers requests opened after the join. Requests opened earlier are not replayed, and no command lists open requests.

The join checks the following in order and refuses with the first that fails:

reason Cause
unmatched topic Combos are not available on this exchange
unauthorized The topic is not your own user id, the socket is unsigned, or the OAuth token is an app token with no member
insufficient_scope An OAuth token without orders.write
This API key does not have write access An API key whose scope is not read_write
Invalid user - this action is not allowed. Your user could not be loaded
This action is not allowed for Test user accounts. The account is a test account
Your account status prohibits this action. The account is suspended, banned, self_excluded or closed, read afresh on every join
malformed payload The join payload is not an object. Note the space: commands use malformed_payload

Join refusals, as they arrive. In order: an unsigned socket on an exchange without combos (whose reply carries a null join_ref), another user’s player and maker topics, an unsigned socket, an OAuth member token granted only profile.read balance.read, a read API key, and a payload that is a list:

["1","1","rfq:5dd1cc8c-8ec8-42c9-a0a0-e3ee41cae924","phx_join",{}]
[null,"1","rfq:5dd1cc8c-8ec8-42c9-a0a0-e3ee41cae924","phx_reply",{"status":"error","response":{"reason":"unmatched topic"}}]
["1","1","rfq:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","phx_join",{}]
["1","1","rfq:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","phx_reply",{"status":"error","response":{"reason":"unauthorized"}}]
["2","2","combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","phx_join",{}]
["2","2","combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","phx_reply",{"status":"error","response":{"reason":"unauthorized"}}]
["1","1","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","phx_join",{}]
["1","1","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","phx_reply",{"status":"error","response":{"reason":"unauthorized"}}]
["1","1","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","phx_join",{}]
["1","1","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","phx_reply",{"status":"error","response":{"reason":"insufficient_scope"}}]
["2","2","combo_quote:c7a6abb5-5e79-489d-951f-c043d4377fac","phx_join",{}]
["2","2","combo_quote:c7a6abb5-5e79-489d-951f-c043d4377fac","phx_reply",{"status":"error","response":{"reason":"insufficient_scope"}}]
["1","1","rfq:bc2d4b34-5d21-4a2a-8af6-d1ad3846ac3f","phx_join",{}]
["1","1","rfq:bc2d4b34-5d21-4a2a-8af6-d1ad3846ac3f","phx_reply",{"status":"error","response":{"reason":"This API key does not have write access"}}]
["2","2","combo_quote:bc2d4b34-5d21-4a2a-8af6-d1ad3846ac3f","phx_join",{}]
["2","2","combo_quote:bc2d4b34-5d21-4a2a-8af6-d1ad3846ac3f","phx_reply",{"status":"error","response":{"reason":"This API key does not have write access"}}]
["3","3","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","phx_join",["not","an","object"]]
["3","3","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","phx_reply",{"status":"error","response":{"reason":"malformed payload"}}]

Not captured: Invalid user - this action is not allowed., This action is not allowed for Test user accounts., and Your account status prohibits this action. need an account state that cannot be set from outside, and unauthorized for an OAuth app token needs a client allowed the client_credentials grant. Each arrives in the same shape as the refusals above, {"status":"error","response":{"reason":"<reason>"}}, with the sentence as reason.

  • Every command after the opening one names rfq_id alone. A market_id in such a payload is ignored. cash_out takes a market_id because it opens a negotiation.
  • No command names its sender. The account is the socket’s, and an account_id, user_id or external_id in a payload selects nothing.
  • Once a negotiation has ended, every command naming its rfq_id answers not_found, whatever ended it.
  • A channel handles one command at a time, in order. An accept holds every later command on that channel until it answers, which can take up to 30 seconds.
reason Commands Cause
malformed_payload all The payload is not an object
malformed_id every command with an id An id field is not a UUID string
malformed_money request_quote, accept, quote A money field is absent, not a string, not a decimal, NaN or Infinity, or too long (see Wire format)
not_found every command naming an rfq_id No open negotiation has that rfq_id
timeout same The negotiation did not answer within 5 seconds, or 30 for accept. The command is not withdrawn and can still take effect
request_unavailable same The negotiation stopped during the call without ending normally
not_the_requester accept, cancel, snapshot The request belongs to another account
unknown_command any event a topic does not define Carries command, the event you sent

A negotiation handles its commands in order, so a command sent while a bind is running waits for it, and a bind can take longer than 5 seconds. A command answered timeout this way still runs afterwards: a quote recorded like that stands, can be bound, and is named in pushes by a quote_id you never received in a reply.

As they arrive: a payload that is a list, an rfq_id that is not a UUID and one that is a number, ids no negotiation has, a maker sending snapshot, cancel and accept on its own player topic for the player’s open request, and events neither topic defines:

["1","2","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","request_quote",["not","an","object"]]
["1","2","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","phx_reply",{"status":"error","response":{"reason":"malformed_payload"}}]
["1","3","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","snapshot",{"rfq_id":"not-a-uuid"}]
["1","3","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","phx_reply",{"status":"error","response":{"reason":"malformed_id"}}]
["1","4","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","snapshot",{"rfq_id":42}]
["1","4","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","phx_reply",{"status":"error","response":{"reason":"malformed_id"}}]
["1","5","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","snapshot",{"rfq_id":"c284e540-3052-4ac3-b863-8153fe9211ff"}]
["1","5","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","phx_reply",{"status":"error","response":{"reason":"not_found"}}]
["1","6","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","cancel",{"rfq_id":"ebcfe37c-81da-460b-998c-3adb805d55b6"}]
["1","6","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","phx_reply",{"status":"error","response":{"reason":"not_found"}}]
["1","7","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","accept",{"rfq_id":"3ac7b2f3-513b-424d-b8f4-a50381e7a2f9","quote_id":"4f2d1d4d-3b85-4392-988f-1f0db0bb68a3","amount":"10.00"}]
["1","7","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","phx_reply",{"status":"error","response":{"reason":"not_found"}}]
["2","22","rfq:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","snapshot",{"rfq_id":"7392b743-4f70-4484-98a7-2fd8768a5767"}]
["2","22","rfq:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","phx_reply",{"status":"error","response":{"reason":"not_the_requester"}}]
["2","23","rfq:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","cancel",{"rfq_id":"7392b743-4f70-4484-98a7-2fd8768a5767"}]
["2","23","rfq:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","phx_reply",{"status":"error","response":{"reason":"not_the_requester"}}]
["2","24","rfq:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","accept",{"rfq_id":"7392b743-4f70-4484-98a7-2fd8768a5767","quote_id":"50949648-3cec-44db-8299-a4b2566ca645","amount":"10.00"}]
["2","24","rfq:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","phx_reply",{"status":"error","response":{"reason":"not_the_requester"}}]
["1","8","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","quote",{"rfq_id":"53b9d03c-ac53-4b32-82d7-6d7026695943","amount":"10.00","expires_in_ms":1000}]
["1","8","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","phx_reply",{"status":"error","response":{"command":"quote","reason":"unknown_command"}}]
["1","9","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","list_requests",{}]
["1","9","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","phx_reply",{"status":"error","response":{"command":"list_requests","reason":"unknown_command"}}]
["1","3","combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","accept",{"rfq_id":"150f234e-fc01-422f-8bf9-03ef395cee97","quote_id":"8bf909e4-53b0-4ada-a901-0766e7708ae0","amount":"10.00"}]
["1","3","combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","phx_reply",{"status":"error","response":{"command":"accept","reason":"unknown_command"}}]

The same commands after the request has ended, here by placing:

["1","40","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","snapshot",{"rfq_id":"7392b743-4f70-4484-98a7-2fd8768a5767"}]
["1","40","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","phx_reply",{"status":"error","response":{"reason":"not_found"}}]
["1","41","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","accept",{"rfq_id":"7392b743-4f70-4484-98a7-2fd8768a5767","quote_id":"50949648-3cec-44db-8299-a4b2566ca645","amount":"10.00"}]
["1","41","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","phx_reply",{"status":"error","response":{"reason":"not_found"}}]
["1","25","combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","quote",{"rfq_id":"7392b743-4f70-4484-98a7-2fd8768a5767","amount":"10.00","expires_in_ms":60000}]
["1","25","combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","phx_reply",{"status":"error","response":{"reason":"not_found"}}]

Not captured: timeout and request_unavailable need a negotiation that stalls or stops inside the exchange. Each is {"status":"error","response":{"reason":"timeout"}} or {"status":"error","response":{"reason":"request_unavailable"}}.

On rfq:{user_id}. Opens a request to buy a combo.

Field Type Rule
legs array of objects 2 to the exchange’s leg limit, 5 by default
legs[].market_id UUID string An open, unarchived ordinary market, never a combo
legs[].outcome "won" or "lost" What the combo needs of that leg
amount money string The stake: whole cents, greater than 0, covered by your available balance

There is no expiry field. A request lives 5 minutes.

["1","33","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","request_quote",{"legs":[{"market_id":"e546fd11-0451-4a83-9629-88b858f607ff","outcome":"won"},{"market_id":"69f695d9-504d-43a0-afef-19b1de863e21","outcome":"won"}],"amount":"5.00"}]
["1","33","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","phx_reply",{"status":"ok","response":{"rfq_id":"7392b743-4f70-4484-98a7-2fd8768a5767"}}]

Every maker channel is pushed rfq_opened, which can arrive before this reply. Above, both makers had it before the player had the reply.

Refusals, in the order they are checked. malformed_payload comes first, then:

reason Cause
combo_minimum_two_markets_needed legs is absent, not an array, or has fewer than 2 elements
malformed_leg An element is not an object (null included)
malformed_id An element’s market_id is not a UUID string
unknown_outcome An element’s outcome is not "won" or "lost"
malformed_money amount
non_positive_amount amount is 0 or less
sub_cent_amount amount is finer than a cent once trailing zeros are dropped, so "10.0000" passes and "10.001" does not
insufficient_assets Your available balance is below the stake
draining The exchange is restarting the part that holds your account. Retry
account_unreachable Your balance could not be read. Retry; this says nothing about your balance
combo_maximum_legs_exceeded More legs than the exchange’s leg limit
unknown_leg No ordinary market has that id. A combo’s id answers this too
leg_not_quotable A leg is not open, or is archived
duplicate_legs One market named twice, whatever the outcomes
request_not_started The negotiation could not be started. Retry
  • Elements are parsed one at a time, so the first bad element decides between malformed_leg, malformed_id and unknown_outcome. The legs are then checked in order, so the first leg that is unknown or not open decides, ahead of duplicate_legs.
  • The balance check confirms that your available balance covers the stake at that moment. It reserves nothing and covers the stake only. Fees, loss limits, open-order caps and the member position limit are applied when your order is placed, and a refusal there ends the request as player_refused:<reason>.
  • Opening a request creates no market. market_id is null on a buy until a bind places: on rfq_opened, best_quote, snapshot, quote_accepted, and on negotiation_closed and rfq_closed for any ending but a placement. The accept reply, both placed pushes, negotiation_closed placed_elsewhere and rfq_closed placed carry it.
  • Once a combo exists, the same legs and outcomes in any order bind on the same market. A different outcome on any leg is a different market. In the capture, a second request naming the ETH leg first bound on the same combo, d5656dfb-b3e4-45bc-95a7-c8d7642c7682.

Every refusal, as it arrives: no legs, one leg, a null leg, a leg id that is not a UUID, an outcome of "push", an amount that is a number, "1e400", "0", "-5.00", "5.001", a stake above the balance, six legs, a leg id no market has, a combo’s id as a leg, and one market named twice:

["1","10","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","request_quote",{"amount":"5.00"}]
["1","10","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","phx_reply",{"status":"error","response":{"reason":"combo_minimum_two_markets_needed"}}]
["1","11","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","request_quote",{"legs":[{"market_id":"e546fd11-0451-4a83-9629-88b858f607ff","outcome":"won"}],"amount":"5.00"}]
["1","11","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","phx_reply",{"status":"error","response":{"reason":"combo_minimum_two_markets_needed"}}]
["1","12","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","request_quote",{"legs":[{"market_id":"e546fd11-0451-4a83-9629-88b858f607ff","outcome":"won"},null],"amount":"5.00"}]
["1","12","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","phx_reply",{"status":"error","response":{"reason":"malformed_leg"}}]
["1","13","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","request_quote",{"legs":[{"market_id":"e546fd11-0451-4a83-9629-88b858f607ff","outcome":"won"},{"market_id":"BTC-15","outcome":"won"}],"amount":"5.00"}]
["1","13","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","phx_reply",{"status":"error","response":{"reason":"malformed_id"}}]
["1","14","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","request_quote",{"legs":[{"market_id":"e546fd11-0451-4a83-9629-88b858f607ff","outcome":"won"},{"market_id":"69f695d9-504d-43a0-afef-19b1de863e21","outcome":"push"}],"amount":"5.00"}]
["1","14","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","phx_reply",{"status":"error","response":{"reason":"unknown_outcome"}}]
["1","15","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","request_quote",{"legs":[{"market_id":"e546fd11-0451-4a83-9629-88b858f607ff","outcome":"won"},{"market_id":"69f695d9-504d-43a0-afef-19b1de863e21","outcome":"won"}],"amount":5}]
["1","15","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","phx_reply",{"status":"error","response":{"reason":"malformed_money"}}]
["1","16","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","request_quote",{"legs":[{"market_id":"e546fd11-0451-4a83-9629-88b858f607ff","outcome":"won"},{"market_id":"69f695d9-504d-43a0-afef-19b1de863e21","outcome":"won"}],"amount":"1e400"}]
["1","16","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","phx_reply",{"status":"error","response":{"reason":"malformed_money"}}]
["1","17","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","request_quote",{"legs":[{"market_id":"e546fd11-0451-4a83-9629-88b858f607ff","outcome":"won"},{"market_id":"69f695d9-504d-43a0-afef-19b1de863e21","outcome":"won"}],"amount":"0"}]
["1","17","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","phx_reply",{"status":"error","response":{"reason":"non_positive_amount"}}]
["1","18","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","request_quote",{"legs":[{"market_id":"e546fd11-0451-4a83-9629-88b858f607ff","outcome":"won"},{"market_id":"69f695d9-504d-43a0-afef-19b1de863e21","outcome":"won"}],"amount":"-5.00"}]
["1","18","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","phx_reply",{"status":"error","response":{"reason":"non_positive_amount"}}]
["1","19","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","request_quote",{"legs":[{"market_id":"e546fd11-0451-4a83-9629-88b858f607ff","outcome":"won"},{"market_id":"69f695d9-504d-43a0-afef-19b1de863e21","outcome":"won"}],"amount":"5.001"}]
["1","19","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","phx_reply",{"status":"error","response":{"reason":"sub_cent_amount"}}]
["1","20","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","request_quote",{"legs":[{"market_id":"e546fd11-0451-4a83-9629-88b858f607ff","outcome":"won"},{"market_id":"69f695d9-504d-43a0-afef-19b1de863e21","outcome":"won"}],"amount":"50000000.00"}]
["1","20","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","phx_reply",{"status":"error","response":{"reason":"insufficient_assets"}}]
["1","21","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","request_quote",{"legs":[{"market_id":"e546fd11-0451-4a83-9629-88b858f607ff","outcome":"won"},{"market_id":"69f695d9-504d-43a0-afef-19b1de863e21","outcome":"won"},{"market_id":"01a9a705-4cdc-479e-b25e-956e6d976e7b","outcome":"won"},{"market_id":"5a5ad5e8-1d60-4062-b419-b63672e2729c","outcome":"won"},{"market_id":"e57653b2-fa59-4945-a9be-7f71992ce854","outcome":"won"},{"market_id":"6ecf3e4a-b22e-4550-808c-afe6cbb96545","outcome":"won"}],"amount":"5.00"}]
["1","21","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","phx_reply",{"status":"error","response":{"reason":"combo_maximum_legs_exceeded"}}]
["1","22","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","request_quote",{"legs":[{"market_id":"e546fd11-0451-4a83-9629-88b858f607ff","outcome":"won"},{"market_id":"b9ed2941-4cc4-4a10-8e1e-9c431b2bdfda","outcome":"won"}],"amount":"5.00"}]
["1","22","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","phx_reply",{"status":"error","response":{"reason":"unknown_leg"}}]
["1","23","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","request_quote",{"legs":[{"market_id":"e546fd11-0451-4a83-9629-88b858f607ff","outcome":"won"},{"market_id":"f0a42343-a187-4075-8833-dfbd12440362","outcome":"won"}],"amount":"5.00"}]
["1","23","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","phx_reply",{"status":"error","response":{"reason":"unknown_leg"}}]
["1","24","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","request_quote",{"legs":[{"market_id":"e546fd11-0451-4a83-9629-88b858f607ff","outcome":"won"},{"market_id":"e546fd11-0451-4a83-9629-88b858f607ff","outcome":"lost"}],"amount":"5.00"}]
["1","24","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","phx_reply",{"status":"error","response":{"reason":"duplicate_legs"}}]

A leg whose market has closed. Here, the BTC and ETH markets above, 21 seconds after their 15-minute window ended:

["1","97","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","request_quote",{"legs":[{"market_id":"e546fd11-0451-4a83-9629-88b858f607ff","outcome":"won"},{"market_id":"69f695d9-504d-43a0-afef-19b1de863e21","outcome":"won"}],"amount":"2.00"}]
["1","97","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","phx_reply",{"status":"error","response":{"reason":"leg_not_quotable"}}]

Not captured: draining, account_unreachable and request_not_started need the exchange to be restarting or failing. Each arrives as {"status":"error","response":{"reason":"<reason>"}}.

On rfq:{user_id}. Opens a request to sell what you hold of a combo, less what your resting sells on it already offer.

Field Type Rule
market_id UUID string The combo, from placed

The server sets the size, and the reply carries it:

["1","42","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","cash_out",{"market_id":"d5656dfb-b3e4-45bc-95a7-c8d7642c7682"}]
["1","42","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","phx_reply",{"status":"ok","response":{"market_id":"d5656dfb-b3e4-45bc-95a7-c8d7642c7682","quantity":"14.00","rfq_id":"8b666bd4-d9c4-4a05-805a-3b87aa7a6b8d"}}]

Refusals, in the order they are checked. malformed_payload comes first, then:

reason Cause
malformed_id market_id
unknown_combination No live combo has that id: an ordinary market’s id, an archived combo’s, or an id no market has
market_not_quotable The combo is not open
combination_unavailable Its legs could not be read at that moment. Retry
draining The exchange is restarting the part that holds the combo. Retry
leg_not_quotable, unknown_leg A leg is not open
nothing_to_sell You can sell less than one whole contract now, or your position could not be read
request_not_started The negotiation could not be started. Retry
  • The size is what you can sell now: your position less what your own resting sells already offer, in whole contracts. A fill counts toward your position once the trade is recorded, after an interval that varies with load, so a cash_out sent straight after buying can answer nothing_to_sell. Retry it. A short position cannot be cashed out.
  • The size is fixed when the request opens. The bind checks your holding again; if it no longer covers the size, for example because you sold on the book in the meantime, the request ends player_refused:nothing_to_sell.
  • Once a leg has resolved, the position cannot be cashed out. The combo keeps trading until its price is decided, so exit on its ordinary book or hold to settlement.

Refusals, as they arrive: a payload that is a list, an id that is not a UUID, an ordinary market’s id, an id no market has, three combos from earlier runs that are no longer open, and the combo above once the player had sold everything:

["1","25","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","cash_out",["not","an","object"]]
["1","25","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","phx_reply",{"status":"error","response":{"reason":"malformed_payload"}}]
["1","26","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","cash_out",{"market_id":"not-a-uuid"}]
["1","26","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","phx_reply",{"status":"error","response":{"reason":"malformed_id"}}]
["1","27","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","cash_out",{"market_id":"e546fd11-0451-4a83-9629-88b858f607ff"}]
["1","27","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","phx_reply",{"status":"error","response":{"reason":"unknown_combination"}}]
["1","28","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","cash_out",{"market_id":"b9be6270-b448-44eb-b79b-5b2d91069d9d"}]
["1","28","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","phx_reply",{"status":"error","response":{"reason":"unknown_combination"}}]
["1","29","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","cash_out",{"market_id":"f0a42343-a187-4075-8833-dfbd12440362"}]
["1","29","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","phx_reply",{"status":"error","response":{"reason":"market_not_quotable"}}]
["1","30","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","cash_out",{"market_id":"1160aece-453f-49c2-9517-9f3b47e01834"}]
["1","30","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","phx_reply",{"status":"error","response":{"reason":"market_not_quotable"}}]
["1","31","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","cash_out",{"market_id":"c5eb67db-f19d-4d82-9b5c-832fbecb8780"}]
["1","31","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","phx_reply",{"status":"error","response":{"reason":"market_not_quotable"}}]
["1","46","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","cash_out",{"market_id":"d5656dfb-b3e4-45bc-95a7-c8d7642c7682"}]
["1","46","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","phx_reply",{"status":"error","response":{"reason":"nothing_to_sell"}}]

The combo above after its legs’ 15-minute window ended:

["1","96","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","cash_out",{"market_id":"d5656dfb-b3e4-45bc-95a7-c8d7642c7682"}]
["1","96","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","phx_reply",{"status":"error","response":{"reason":"leg_not_quotable"}}]

Not captured: combination_unavailable, draining and request_not_started need the exchange to be restarting or failing, and unknown_leg a leg market that has vanished rather than closed. Each arrives as {"status":"error","response":{"reason":"<reason>"}}.

On rfq:{user_id}. Binds the request at an amount or more. The reply can take up to 30 seconds.

Field Type Rule
rfq_id UUID string
quote_id UUID string Required and checked for shape, but the bind does not select by it. The best live quote binds, whoever made it, so an accept naming a withdrawn or expired quote still binds while an amount at least as large stands. accept never answers unknown_quote
amount money string Required: the least amount you take, normally the one best_quote showed. The best live quote binds when its amount is at least this, compared as money, so "1750" equals "1750.0000". There is no minimum, so a low floor takes whatever is best when the bind runs

On placement the reply states the price and size of your order. A buy, and a cash out:

["1","39","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","accept",{"rfq_id":"7392b743-4f70-4484-98a7-2fd8768a5767","quote_id":"50949648-3cec-44db-8299-a4b2566ca645","amount":"10.00"}]
["1","39","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","phx_reply",{"status":"ok","response":{"market_id":"d5656dfb-b3e4-45bc-95a7-c8d7642c7682","quantity":"14.00","price":"0.3334","order_id":"51a22eb9-bf62-44a5-bfc1-6a7d23e23ace"}}]
["1","45","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","accept",{"rfq_id":"8b666bd4-d9c4-4a05-805a-3b87aa7a6b8d","quote_id":"fcb3bb3c-936c-4dbb-9755-8cc8462c4ad3","amount":"3.73"}]
["1","45","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","phx_reply",{"status":"ok","response":{"market_id":"d5656dfb-b3e4-45bc-95a7-c8d7642c7682","quantity":"14.00","price":"0.3000","order_id":"fc20948e-7ef7-4dd7-a38d-32de04b4997d"}}]
  • price is derived from the bound quote’s amount on the combo’s own grid, rounded in the maker’s favour: on a buy max_price × stake / (stake + amount) rounded up to the tick, on a cash out amount / quantity rounded down. The maker never owes more than it quoted. Above, the buy’s $5 stake against $10 prices at 5 / 15 = 0.33333…, rounded up to 0.3334, and the cash out’s $4.20 for 14 contracts at 0.3000.
  • quantity is the size your order was placed for: floor(stake / price) on a buy, the cash-out size on a sell. When your order is taken back after part of it filled, it is what filled.
  • order_id is your order on the combo’s market.
  • The placed push carries the same values and arrives independently of the reply, so either can come first.

The reply states what was placed, not what filled. The book decides the fills after both orders are accepted, and they arrive on the orders and fills channels.

  1. The live best amount is compared with the one you accepted. If it is smaller, or nothing is live, the answer is price_moved.
  2. The legs are read again. A leg that is not open ends the request.
  3. Funding, before anything is created: your available balance against the stake (on a cash out, your holding against the size), then the maker’s against its amount.
  4. On a buy, the combo’s market is found, or created by the first bind over that leg set and those outcomes. The market then confirms that it takes orders now.
  5. Price and size are computed on the market’s own grid.
  6. Your order is placed first: a limit order whose unfilled rest stays on the book. Then the maker’s: a limit order at the same price and size that cancels whatever it does not fill at once. Each goes through every check an ordinary order does: fees, loss limits, open-order caps, the member position limit, the location check, and the market’s price range and grid.
Answer Request Pushes
placed, as above ends You get placed. The bound maker gets quote_accepted, then placed. Every other account’s quote gets negotiation_closed placed_elsewhere. The feed gets rfq_closed placed
price_moved, with the live best’s quote_id, amount and expires_at beside reason (all null when nothing is live) stays open best_quote, if dropped makers moved the best
player_refused:<reason> ends negotiation_closed player_refused to you and every quote; feed player_refused
maker_refused ends A maker’s order did not go through for a reason other than funds, and your order was taken back unfilled, or the take-back went unanswered. negotiation_closed maker_refused to you and every quote still standing; feed maker_refused
leg_not_quotable, unknown_leg ends negotiation_closed with that reason to you and every quote; feed the same
market_not_trading stays open The combo is not trading: for a short time after an exchange deploy (180 seconds by default), or while an operator halts it. A combo the bind has just created is not paused. The maker tried received quote_accepted and nothing after it, and its quote still stands. Retry
market_unavailable stays open As market_not_trading: the combo could not be found or created
draining, account_unreachable stays open As market_not_trading: an account or the combo could not be reached
price_out_of_range, below_one_contract stays open As market_not_trading: the amount does not price on the grid of the existing combo, which differs from the announced one only for a combo created before a configuration change
bind_in_progress unchanged Another acceptance of this request is still being bound, for example one sent just ahead from another socket on the account
cancelled, expired ended The request ended while this acceptance waited. Those endings send their own pushes
timeout unknown 30 seconds passed and the bind continues. placed or negotiation_closed reports how it ended; if neither arrives, snapshot shows whether the request is still open

price_moved, first above the live best of $10, then on a request with nothing live:

["1","36","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","accept",{"rfq_id":"7392b743-4f70-4484-98a7-2fd8768a5767","quote_id":"50949648-3cec-44db-8299-a4b2566ca645","amount":"25.00"}]
["1","36","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","phx_reply",{"status":"error","response":{"reason":"price_moved","amount":"10.0000","expires_at":1792512210052723,"quote_id":"50949648-3cec-44db-8299-a4b2566ca645"}}]
["1","54","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","accept",{"rfq_id":"53d5f67f-5024-41b4-85f3-fbb90fe75cc5","quote_id":"2bc77c32-e5c3-40b9-b726-c1709dd7ad4a","amount":"1.00"}]
["1","54","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","phx_reply",{"status":"error","response":{"reason":"price_moved","amount":null,"expires_at":null,"quote_id":null}}]

The channel’s own refusals: a quote_id that is not a UUID, and no amount:

["1","37","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","accept",{"rfq_id":"7392b743-4f70-4484-98a7-2fd8768a5767","quote_id":"not-a-uuid","amount":"10.00"}]
["1","37","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","phx_reply",{"status":"error","response":{"reason":"malformed_id"}}]
["1","38","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","accept",{"rfq_id":"7392b743-4f70-4484-98a7-2fd8768a5767","quote_id":"50949648-3cec-44db-8299-a4b2566ca645"}]
["1","38","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","phx_reply",{"status":"error","response":{"reason":"malformed_money"}}]

player_refused:<reason>. The player held 11 contracts and opened two cash outs for all 11, which nothing prevents. The first placed. Accepting the second, maker A heard quote_accepted, then the funding step found nothing left to sell and the request ended for everyone:

["1","52","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","accept",{"rfq_id":"61371d99-e77a-4003-a5b7-fae081f101e1","quote_id":"bedacc8c-0a06-4714-8868-8ca04f2e0061","amount":"3.30"}]
[null,null,"combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","quote_accepted",{"external_id":"9c87ec1c-588e-4512-9b91-d71653e41458","market_id":"d5656dfb-b3e4-45bc-95a7-c8d7642c7682","rfq_id":"61371d99-e77a-4003-a5b7-fae081f101e1","quote_id":"bedacc8c-0a06-4714-8868-8ca04f2e0061"}]
[null,null,"rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","negotiation_closed",{"reason":"player_refused","market_id":"d5656dfb-b3e4-45bc-95a7-c8d7642c7682","rfq_id":"61371d99-e77a-4003-a5b7-fae081f101e1"}]
[null,null,"combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","negotiation_closed",{"reason":"player_refused","external_id":"9c87ec1c-588e-4512-9b91-d71653e41458","market_id":"d5656dfb-b3e4-45bc-95a7-c8d7642c7682","rfq_id":"61371d99-e77a-4003-a5b7-fae081f101e1","quote_id":"bedacc8c-0a06-4714-8868-8ca04f2e0061"}]
["1",null,"combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","rfq_closed",{"reason":"player_refused","market_id":"d5656dfb-b3e4-45bc-95a7-c8d7642c7682","rfq_id":"61371d99-e77a-4003-a5b7-fae081f101e1"}]
["1",null,"combo_quote:bc2d4b34-5d21-4a2a-8af6-d1ad3846ac3f","rfq_closed",{"reason":"player_refused","market_id":"d5656dfb-b3e4-45bc-95a7-c8d7642c7682","rfq_id":"61371d99-e77a-4003-a5b7-fae081f101e1"}]
["1","52","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","phx_reply",{"status":"error","response":{"reason":"player_refused:nothing_to_sell"}}]

A leg that closed while the request was open. This request opened two and a half minutes before its legs’ 15-minute window ended, and was accepted 20 seconds after it. Maker A heard quote_accepted before the bind read the legs again:

["1","95","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","accept",{"rfq_id":"6c0cbefa-40ec-4cf6-9936-6cfce08144a2","quote_id":"99e532b1-f68b-4567-94e7-44171fa1ee2b","amount":"3.00"}]
[null,null,"combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","quote_accepted",{"external_id":"9c87ec1c-588e-4512-9b91-d71653e41458","market_id":null,"rfq_id":"6c0cbefa-40ec-4cf6-9936-6cfce08144a2","quote_id":"99e532b1-f68b-4567-94e7-44171fa1ee2b"}]
[null,null,"combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","negotiation_closed",{"reason":"leg_not_quotable","external_id":"9c87ec1c-588e-4512-9b91-d71653e41458","market_id":null,"rfq_id":"6c0cbefa-40ec-4cf6-9936-6cfce08144a2","quote_id":"99e532b1-f68b-4567-94e7-44171fa1ee2b"}]
["1",null,"combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","rfq_closed",{"reason":"leg_not_quotable","market_id":null,"rfq_id":"6c0cbefa-40ec-4cf6-9936-6cfce08144a2"}]
["1",null,"combo_quote:bc2d4b34-5d21-4a2a-8af6-d1ad3846ac3f","rfq_closed",{"reason":"leg_not_quotable","market_id":null,"rfq_id":"6c0cbefa-40ec-4cf6-9936-6cfce08144a2"}]
[null,null,"rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","negotiation_closed",{"reason":"leg_not_quotable","market_id":null,"rfq_id":"6c0cbefa-40ec-4cf6-9936-6cfce08144a2"}]
["1","95","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","phx_reply",{"status":"error","response":{"reason":"leg_not_quotable"}}]

Not captured: maker_refused as an answer (a maker order failing for a reason other than funds), unknown_leg, market_not_trading, market_unavailable, draining, account_unreachable, price_out_of_range and below_one_contract at the bind, cancelled and expired while an acceptance waits, timeout, and player_refused:<reason> for reasons other than nothing_to_sell. Each needs a market, an account or the exchange in a state that cannot be set from outside. Each arrives as {"status":"error","response":{"reason":"<reason>"}}, player_refused: followed by the order’s own refusal for the last.

  • A maker that cannot fund its amount at the funding step is dropped from the negotiation: every quote it holds on the request is removed, and it gets negotiation_closed maker_refused for each. The bind then takes the best live quote again, which may have arrived meanwhile. At your accepted amount or more it binds without asking you; smaller, the answer is price_moved carrying the live best, and you accept again.
  • A maker whose order is refused for funds is dropped the same way, after your order is placed. The next best live quote is then funded and placed against that same order, but only if it prices it exactly; your order is never placed twice. With no such quote your order is taken back: unfilled, the answer is price_moved and the request stays open; partly filled, the bind counts as placed for what filled.
  • Any other outcome of a maker’s order (no answer, an exchange restart, another refusal) drops that maker and takes your order back: unfilled, the request ends maker_refused; partly filled, placed for what filled. A maker order that did not answer can still be placed afterwards; track it on the orders channel.
  • A take-back that finds nothing to take back (your order filled in full, or a late maker order filled it) counts as placed for the order’s whole size. A take-back the market does not answer ends the request maker_refused, and your order may remain on the book.
  • A maker refused for funds is never reported to you as such: you see placed or price_moved, or maker_refused when the take-back that follows goes unanswered. Otherwise maker_refused means a maker outcome of another kind.

A maker that cannot fund, as it arrives. On a $20 stake, maker A quoted $1,000,000, which prices at the 0.0001 floor: 200,000 contracts, against which it would owe about $199,980, more than it held. The player accepted it from one socket, and in the same instant sent a snapshot from a second socket and another accept from a third. The second accept found the first being bound, the snapshot showed the request binding, maker A was dropped at the funding step, and with nothing else live the first accept came back price_moved with nulls. The best pushed to the player then emptied, at the end of its window:

[null,null,"rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","best_quote",{"amount":"1000000.0000","expires_at":1792512224094925,"market_id":null,"rfq_id":"53d5f67f-5024-41b4-85f3-fbb90fe75cc5","quote_id":"b6027426-9dd1-4c52-b667-4ba6cd75e1ba"}]
["1","58","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","accept",{"rfq_id":"53d5f67f-5024-41b4-85f3-fbb90fe75cc5","quote_id":"b6027426-9dd1-4c52-b667-4ba6cd75e1ba","amount":"1000000.00"}]
["1","7","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","snapshot",{"rfq_id":"53d5f67f-5024-41b4-85f3-fbb90fe75cc5"}]
["1","5","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","accept",{"rfq_id":"53d5f67f-5024-41b4-85f3-fbb90fe75cc5","quote_id":"b6027426-9dd1-4c52-b667-4ba6cd75e1ba","amount":"1000000.00"}]
["1","5","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","phx_reply",{"status":"error","response":{"reason":"bind_in_progress"}}]
["1","7","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","phx_reply",{"status":"ok","response":{"status":"binding","amount":"20.0000","expires_at":1792512462530661,"market_id":null,"quantity":null,"side":"buy","rfq_id":"53d5f67f-5024-41b4-85f3-fbb90fe75cc5","best_quote":{"amount":"1000000.0000","expires_at":1792512224094925,"quote_id":"b6027426-9dd1-4c52-b667-4ba6cd75e1ba"}}}]
[null,null,"combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","quote_accepted",{"external_id":"9c87ec1c-588e-4512-9b91-d71653e41458","market_id":null,"rfq_id":"53d5f67f-5024-41b4-85f3-fbb90fe75cc5","quote_id":"b6027426-9dd1-4c52-b667-4ba6cd75e1ba"}]
[null,null,"combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","negotiation_closed",{"reason":"maker_refused","external_id":"9c87ec1c-588e-4512-9b91-d71653e41458","market_id":null,"rfq_id":"53d5f67f-5024-41b4-85f3-fbb90fe75cc5","quote_id":"b6027426-9dd1-4c52-b667-4ba6cd75e1ba"}]
["1","58","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","phx_reply",{"status":"error","response":{"reason":"price_moved","amount":null,"expires_at":null,"quote_id":null}}]
[null,null,"rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","best_quote",{"amount":null,"expires_at":null,"market_id":null,"rfq_id":"53d5f67f-5024-41b4-85f3-fbb90fe75cc5","quote_id":null}]

<reason> is insufficient_assets or nothing_to_sell from the funding step, or comes from placing your order:

  • one of insufficient_assets, account_limits_reached, member_position_limit, total_orders_limit, same_price_orders_limit, loss_limit24_hours, loss_limit_weekly or loss_limit_monthly, or match_with_self where an in-play delay applies;
  • a sentence passed through as it is, such as a location refusal, a price validation message, or Market does not accept orders. when trading stopped between the check and the placement;
  • a system term such as draining or timeout. An order that did not answer can still be placed afterwards as your own ordinary order; track it on the orders channel.

Split the string on the first : only.

Self-match prevention applies to bind orders. A bind order that reaches a resting order of the same user on the combo is rejected whole after placed, trading nothing, unless other orders fill it first. The check is on the user, not the account. The other bind order trades with whatever else it crosses. Cancel your own orders on a combo before accepting on it or quoting into it.

The channel refuses first, in this order: malformed_payload, malformed_id (rfq_id, then quote_id), malformed_money (amount). The negotiation then checks not_found or request_unavailable, not_the_requester and bind_in_progress.

On rfq:{user_id}. Ends the request and drops every quote on it. Here the request held one quote, maker B’s; the second cancel comes after the request has ended:

["1","61","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","cancel",{"rfq_id":"c2364bf6-0e81-439d-9736-b85b94362fc9"}]
["1",null,"combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","rfq_closed",{"reason":"cancelled","market_id":null,"rfq_id":"c2364bf6-0e81-439d-9736-b85b94362fc9"}]
[null,null,"combo_quote:bc2d4b34-5d21-4a2a-8af6-d1ad3846ac3f","negotiation_closed",{"reason":"cancelled","external_id":"9c87ec1c-588e-4512-9b91-d71653e41458","market_id":null,"rfq_id":"c2364bf6-0e81-439d-9736-b85b94362fc9","quote_id":"764cc7e7-874c-4b0c-a491-d733ca5f44c3"}]
["1",null,"combo_quote:bc2d4b34-5d21-4a2a-8af6-d1ad3846ac3f","rfq_closed",{"reason":"cancelled","market_id":null,"rfq_id":"c2364bf6-0e81-439d-9736-b85b94362fc9"}]
[null,null,"rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","negotiation_closed",{"reason":"cancelled","market_id":null,"rfq_id":"c2364bf6-0e81-439d-9736-b85b94362fc9"}]
["1","61","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","phx_reply",{"status":"ok","response":{"cancelled":"c2364bf6-0e81-439d-9736-b85b94362fc9"}}]
["1","62","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","cancel",{"rfq_id":"c2364bf6-0e81-439d-9736-b85b94362fc9"}]
["1","62","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","phx_reply",{"status":"error","response":{"reason":"not_found"}}]

Refusals: malformed_payload, malformed_id, not_found, timeout, request_unavailable, not_the_requester.

  • Your topic also gets negotiation_closed cancelled.
  • After a timeout the cancel can still take effect. A retry answers not_found once it has.
  • A cancel queued behind a bind that then ends the request, by placing or otherwise, answers not_found.

On rfq:{user_id}. Reads the request. The payload is {"rfq_id": "<uuid>"}.

A buy just opened, with nothing quoted yet, and the same request once maker A’s $10 was the best:

["1","34","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","snapshot",{"rfq_id":"7392b743-4f70-4484-98a7-2fd8768a5767"}]
["1","34","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","phx_reply",{"status":"ok","response":{"status":"open","amount":"5.0000","expires_at":1792512449863259,"market_id":null,"quantity":null,"side":"buy","rfq_id":"7392b743-4f70-4484-98a7-2fd8768a5767","best_quote":{"amount":null,"expires_at":null,"quote_id":null}}}]
["1","35","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","snapshot",{"rfq_id":"7392b743-4f70-4484-98a7-2fd8768a5767"}]
["1","35","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","phx_reply",{"status":"ok","response":{"status":"open","amount":"5.0000","expires_at":1792512449863259,"market_id":null,"quantity":null,"side":"buy","rfq_id":"7392b743-4f70-4484-98a7-2fd8768a5767","best_quote":{"amount":"10.0000","expires_at":1792512210052723,"quote_id":"50949648-3cec-44db-8299-a4b2566ca645"}}}]

A cash out, before and after its quotes:

["1","43","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","snapshot",{"rfq_id":"8b666bd4-d9c4-4a05-805a-3b87aa7a6b8d"}]
["1","43","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","phx_reply",{"status":"ok","response":{"status":"open","amount":null,"expires_at":1792512454043791,"market_id":"d5656dfb-b3e4-45bc-95a7-c8d7642c7682","quantity":"14.00","side":"sell","rfq_id":"8b666bd4-d9c4-4a05-805a-3b87aa7a6b8d","best_quote":{"amount":null,"expires_at":null,"quote_id":null}}}]
["1","44","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","snapshot",{"rfq_id":"8b666bd4-d9c4-4a05-805a-3b87aa7a6b8d"}]
["1","44","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","phx_reply",{"status":"ok","response":{"status":"open","amount":null,"expires_at":1792512454043791,"market_id":"d5656dfb-b3e4-45bc-95a7-c8d7642c7682","quantity":"14.00","side":"sell","rfq_id":"8b666bd4-d9c4-4a05-805a-3b87aa7a6b8d","best_quote":{"amount":"4.2000","expires_at":1792512214251188,"quote_id":"fcb3bb3c-936c-4dbb-9755-8cc8462c4ad3"}}}]

During a bind, from a second socket (the request from When a maker cannot complete):

["1","7","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","snapshot",{"rfq_id":"53d5f67f-5024-41b4-85f3-fbb90fe75cc5"}]
["1","7","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","phx_reply",{"status":"ok","response":{"status":"binding","amount":"20.0000","expires_at":1792512462530661,"market_id":null,"quantity":null,"side":"buy","rfq_id":"53d5f67f-5024-41b4-85f3-fbb90fe75cc5","best_quote":{"amount":"1000000.0000","expires_at":1792512224094925,"quote_id":"b6027426-9dd1-4c52-b667-4ba6cd75e1ba"}}}]
  • status is open, or binding while an acceptance waits for its next bind attempt.
  • market_id, side, amount and quantity mean the same as on rfq_opened: a buy names amount and leaves market_id and quantity null, a cash out the reverse.
  • best_quote is the live best right now: the largest amount, on a buy and a cash out alike, and the earlier quote among equal amounts. Its fields are null when nothing is live. It exposes no other quote and no maker.
  • snapshot is not held back by the best_quote cadence.
  • Refusals are the same as for cancel. Makers have no snapshot.

On combo_quote:{user_id}. Offers an amount on a request.

Field Type Rule
rfq_id UUID string From rfq_opened
amount money string On a buy, what the player wins. On a cash out, what you pay for the whole size. It must price on the request’s grid (below)
expires_in_ms integer greater than 0 Counted from receipt. Any positive value is accepted, and the quote ends no later than its request
client_order_id string of at most 255 bytes, null, or absent Copied onto your order if the quote binds

The reply states what binding the quote would place, worked out on the grid the request was announced with. external_id is the player’s.

  • quantity is the size both orders would have, in whole contracts.
  • player_risk and maker_risk are what each order would risk, before fees: against a buy, price × quantity for the player and (max_price − price) × quantity for you; against a cash out, the reverse.
  • The bind works them out again on the grid of the market it binds on, and placed reports what it placed. The two agree unless that combo was created before a change to the grid.

Maker A with a client_order_id, and maker B with null:

["1","8","combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","quote",{"rfq_id":"7392b743-4f70-4484-98a7-2fd8768a5767","amount":"10.00","expires_in_ms":60000,"client_order_id":"docs-capture-m1"}]
["1","8","combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","phx_reply",{"status":"ok","response":{"amount":"10.0000","external_id":"9c87ec1c-588e-4512-9b91-d71653e41458","quantity":"14.00","quote_id":"50949648-3cec-44db-8299-a4b2566ca645","player_risk":"4.6676","maker_risk":"9.3324"}}]
["1","2","combo_quote:bc2d4b34-5d21-4a2a-8af6-d1ad3846ac3f","quote",{"rfq_id":"7392b743-4f70-4484-98a7-2fd8768a5767","amount":"8.00","expires_in_ms":120000,"client_order_id":null}]
["1","2","combo_quote:bc2d4b34-5d21-4a2a-8af6-d1ad3846ac3f","phx_reply",{"status":"ok","response":{"amount":"8.0000","external_id":"9c87ec1c-588e-4512-9b91-d71653e41458","quantity":"12.00","quote_id":"63c8c41e-eb6e-4384-a017-617e63e13a7e","player_risk":"4.6164","maker_risk":"7.3836"}}]

Refusals, in the order they are checked. malformed_payload, malformed_id and malformed_money come first, then:

reason Cause
malformed_client_order_id Not a string, or longer than 255 bytes
expires_at_required expires_in_ms is absent, not an integer, or not positive
not_found, timeout, request_unavailable See shared refusals
cannot_quote_own_request The request is your own account’s. The check is on the account, not the user
non_positive_amount amount is 0 or less
price_out_of_range The price the amount derives is not above 0 and below max_price: on a buy, an amount too small; on a cash out, one too small or too large for the size
below_one_contract On a buy, the stake buys no whole contract at the derived price
  • The price is computed from the amount and rounded to tick_size in your favour: up on a buy (max_price × stake / (stake + amount)), down on a cash out (amount / quantity). It is computed again at the bind, on the grid of the market it binds on.
  • At the bind you owe at most your amount, plus fees: (max_price − price) × contracts against a buy, price × quantity against a cash out.
  • quote does not check your balance. Your balance is checked at a bind against the amount, and if you cannot fund it there you lose every quote you hold on the request.
  • The quote’s expires_at, as best_quote and snapshot show it, is the one you named, even past the request’s own: a quote for 600000 ms on a request with 5 minutes left shows 10 minutes. It still ends with the request.
  • You may hold several quotes on one request; the player is shown only the best. To change a quote, withdraw it and quote again.
  • A quote stops being live at its expires_at, and nothing is pushed at that instant. It is removed when the next quote on the request arrives, and you then get negotiation_closed expired. Until then, or until the request ends, it can still be withdrawn.

Every refusal, as it arrives, on the $5 buy: an rfq_id that is not a UUID, an amount that is a number, a client_order_id that is a number and one of 256 bytes, no expires_in_ms, 0 and 1.5, an amount of "0", one too small to price, and the player quoting its own request from its own maker topic:

["1","9","combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","quote",{"rfq_id":"not-a-uuid","amount":"10.00","expires_in_ms":60000}]
["1","9","combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","phx_reply",{"status":"error","response":{"reason":"malformed_id"}}]
["1","10","combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","quote",{"rfq_id":"7392b743-4f70-4484-98a7-2fd8768a5767","amount":10,"expires_in_ms":60000}]
["1","10","combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","phx_reply",{"status":"error","response":{"reason":"malformed_money"}}]
["1","11","combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","quote",{"rfq_id":"7392b743-4f70-4484-98a7-2fd8768a5767","amount":"10.00","expires_in_ms":60000,"client_order_id":17}]
["1","11","combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","phx_reply",{"status":"error","response":{"reason":"malformed_client_order_id"}}]
["1","12","combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","quote",{"rfq_id":"7392b743-4f70-4484-98a7-2fd8768a5767","amount":"10.00","expires_in_ms":60000,"client_order_id":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"}]
["1","12","combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","phx_reply",{"status":"error","response":{"reason":"malformed_client_order_id"}}]
["1","13","combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","quote",{"rfq_id":"7392b743-4f70-4484-98a7-2fd8768a5767","amount":"10.00"}]
["1","13","combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","phx_reply",{"status":"error","response":{"reason":"expires_at_required"}}]
["1","14","combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","quote",{"rfq_id":"7392b743-4f70-4484-98a7-2fd8768a5767","amount":"10.00","expires_in_ms":0}]
["1","14","combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","phx_reply",{"status":"error","response":{"reason":"expires_at_required"}}]
["1","15","combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","quote",{"rfq_id":"7392b743-4f70-4484-98a7-2fd8768a5767","amount":"10.00","expires_in_ms":1.5}]
["1","15","combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","phx_reply",{"status":"error","response":{"reason":"expires_at_required"}}]
["1","16","combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","quote",{"rfq_id":"7392b743-4f70-4484-98a7-2fd8768a5767","amount":"0","expires_in_ms":60000}]
["1","16","combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","phx_reply",{"status":"error","response":{"reason":"non_positive_amount"}}]
["1","17","combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","quote",{"rfq_id":"7392b743-4f70-4484-98a7-2fd8768a5767","amount":"0.0000001","expires_in_ms":60000}]
["1","17","combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","phx_reply",{"status":"error","response":{"reason":"price_out_of_range"}}]
["2","3","combo_quote:c7a6abb5-5e79-489d-951f-c043d4377fac","quote",{"rfq_id":"7392b743-4f70-4484-98a7-2fd8768a5767","amount":"10.00","expires_in_ms":60000}]
["2","3","combo_quote:c7a6abb5-5e79-489d-951f-c043d4377fac","phx_reply",{"status":"error","response":{"reason":"cannot_quote_own_request"}}]

On a cash out of 14 contracts, $21.00 prices at 1.5, above max_price:

["1","27","combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","quote",{"rfq_id":"8b666bd4-d9c4-4a05-805a-3b87aa7a6b8d","amount":"21.00","expires_in_ms":60000}]
["1","27","combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","phx_reply",{"status":"error","response":{"reason":"price_out_of_range"}}]

On a $0.50 stake, $0.01 prices at 0.9804, and 0.50 / 0.9804 buys no whole contract; $0.0000001 rounds up to max_price:

["1","35","combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","quote",{"rfq_id":"c2364bf6-0e81-439d-9736-b85b94362fc9","amount":"0.01","expires_in_ms":60000}]
["1","35","combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","phx_reply",{"status":"error","response":{"reason":"below_one_contract"}}]
["1","36","combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","quote",{"rfq_id":"c2364bf6-0e81-439d-9736-b85b94362fc9","amount":"0.0000001","expires_in_ms":60000}]
["1","36","combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","phx_reply",{"status":"error","response":{"reason":"price_out_of_range"}}]

Not captured: timeout and request_unavailable, as for the shared refusals.

On combo_quote:{user_id}. Removes one of your own quotes. Maker A quoted $9, withdrew it, and tried again; maker B then tried to withdraw maker A’s $10, and maker A sent an id that is not a UUID:

["1","18","combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","quote",{"rfq_id":"7392b743-4f70-4484-98a7-2fd8768a5767","amount":"9.00","expires_in_ms":60000}]
["1","18","combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","phx_reply",{"status":"ok","response":{"amount":"9.0000","external_id":"9c87ec1c-588e-4512-9b91-d71653e41458","quantity":"13.00","quote_id":"ed9f20b0-1abc-4567-abf5-8b6d6e9902de","player_risk":"4.6436","maker_risk":"8.3564"}}]
["1","19","combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","withdraw_quote",{"rfq_id":"7392b743-4f70-4484-98a7-2fd8768a5767","quote_id":"ed9f20b0-1abc-4567-abf5-8b6d6e9902de"}]
["1","19","combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","phx_reply",{"status":"ok","response":{"withdrawn":"ed9f20b0-1abc-4567-abf5-8b6d6e9902de"}}]
["1","20","combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","withdraw_quote",{"rfq_id":"7392b743-4f70-4484-98a7-2fd8768a5767","quote_id":"ed9f20b0-1abc-4567-abf5-8b6d6e9902de"}]
["1","20","combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","phx_reply",{"status":"error","response":{"reason":"unknown_quote"}}]
["1","3","combo_quote:bc2d4b34-5d21-4a2a-8af6-d1ad3846ac3f","withdraw_quote",{"rfq_id":"7392b743-4f70-4484-98a7-2fd8768a5767","quote_id":"50949648-3cec-44db-8299-a4b2566ca645"}]
["1","3","combo_quote:bc2d4b34-5d21-4a2a-8af6-d1ad3846ac3f","phx_reply",{"status":"error","response":{"reason":"unknown_quote"}}]
["1","21","combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","withdraw_quote",{"rfq_id":"7392b743-4f70-4484-98a7-2fd8768a5767","quote_id":"not-a-uuid"}]
["1","21","combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","phx_reply",{"status":"error","response":{"reason":"malformed_id"}}]

Refusals: malformed_payload, malformed_id (rfq_id, then quote_id), not_found, timeout, request_unavailable, unknown_quote.

  • unknown_quote means your account has no quote with that id on the request: one that never existed, one already withdrawn, or another maker’s. One reason covers all three, so no maker can learn another maker’s ids.
  • After a timeout the withdrawal can still take effect. A retry answers unknown_quote once it has.
  • No negotiation_closed follows a withdrawal. Withdrawing the best quote moves the player’s best_quote; withdrawing the only one empties it (frames under best_quote).

On rfq:{user_id}. Every socket joined to the topic receives each push, including sockets that did not open the request.

The best quote changed, on the cadence below. quote_id, amount and expires_at are null when nothing is live. On a buy, and on a cash out:

[null,null,"rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","best_quote",{"amount":"10.0000","expires_at":1792512210052723,"market_id":null,"rfq_id":"7392b743-4f70-4484-98a7-2fd8768a5767","quote_id":"50949648-3cec-44db-8299-a4b2566ca645"}]
[null,null,"rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","best_quote",{"amount":"4.2000","expires_at":1792512214251188,"market_id":"d5656dfb-b3e4-45bc-95a7-c8d7642c7682","rfq_id":"8b666bd4-d9c4-4a05-805a-3b87aa7a6b8d","quote_id":"fcb3bb3c-936c-4dbb-9755-8cc8462c4ad3"}]

The only quote withdrawn: the push carries nulls, sent at the end of the 250 ms window that the previous push opened:

["1","37","combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","quote",{"rfq_id":"c2364bf6-0e81-439d-9736-b85b94362fc9","amount":"2.00","expires_in_ms":60000}]
["1","37","combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","phx_reply",{"status":"ok","response":{"amount":"2.0000","external_id":"9c87ec1c-588e-4512-9b91-d71653e41458","quantity":"2.00","quote_id":"e9be2ad5-d545-4d25-b717-46836e812357","player_risk":"0.4000","maker_risk":"1.6000"}}]
[null,null,"rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","best_quote",{"amount":"2.0000","expires_at":1792512224723029,"market_id":null,"rfq_id":"c2364bf6-0e81-439d-9736-b85b94362fc9","quote_id":"e9be2ad5-d545-4d25-b717-46836e812357"}]
["1","38","combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","withdraw_quote",{"rfq_id":"c2364bf6-0e81-439d-9736-b85b94362fc9","quote_id":"e9be2ad5-d545-4d25-b717-46836e812357"}]
["1","38","combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","phx_reply",{"status":"ok","response":{"withdrawn":"e9be2ad5-d545-4d25-b717-46836e812357"}}]
[null,null,"rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","best_quote",{"amount":null,"expires_at":null,"market_id":null,"rfq_id":"c2364bf6-0e81-439d-9736-b85b94362fc9","quote_id":null}]

The bind placed. The accept reply plus rfq_id. On a buy, and on a cash out:

[null,null,"rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","placed",{"market_id":"d5656dfb-b3e4-45bc-95a7-c8d7642c7682","quantity":"14.00","price":"0.3334","order_id":"51a22eb9-bf62-44a5-bfc1-6a7d23e23ace","rfq_id":"7392b743-4f70-4484-98a7-2fd8768a5767"}]
[null,null,"rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","placed",{"market_id":"d5656dfb-b3e4-45bc-95a7-c8d7642c7682","quantity":"14.00","price":"0.3000","order_id":"fc20948e-7ef7-4dd7-a38d-32de04b4997d","rfq_id":"8b666bd4-d9c4-4a05-805a-3b87aa7a6b8d"}]

The request ended without placing. reason is cancelled, expired, leg_not_quotable, unknown_leg, player_refused or maker_refused. Captured: cancel, the channel that opened the request leaving, the 5 minutes running out, the player’s order refused, and a leg closed:

[null,null,"rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","negotiation_closed",{"reason":"cancelled","market_id":null,"rfq_id":"c2364bf6-0e81-439d-9736-b85b94362fc9"}]
[null,null,"rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","negotiation_closed",{"reason":"cancelled","market_id":null,"rfq_id":"071fa4c3-00ec-4591-96c4-5f272e2a68a2"}]
[null,null,"rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","negotiation_closed",{"reason":"expired","market_id":null,"rfq_id":"466ed606-2147-4d41-b322-c0e988f56f3f"}]
[null,null,"rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","negotiation_closed",{"reason":"player_refused","market_id":"d5656dfb-b3e4-45bc-95a7-c8d7642c7682","rfq_id":"61371d99-e77a-4003-a5b7-fae081f101e1"}]
[null,null,"rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","negotiation_closed",{"reason":"leg_not_quotable","market_id":null,"rfq_id":"6c0cbefa-40ec-4cf6-9936-6cfce08144a2"}]

Not captured: maker_refused (a maker order failing for a reason other than funds) and unknown_leg at a bind. Both have the same shape, {"reason":"maker_refused","market_id":null,"rfq_id":"<uuid>"}.

On combo_quote:{user_id}. external_id is the player’s. It is on rfq_opened and on every push about a quote, and not on rfq_closed.

A request opened, by any player, on any combo. It carries the channel’s join_ref. A buy, a buy with one leg to lose, and a cash out of the combo the first one bought:

["1",null,"combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","rfq_opened",{"amount":"5.0000","external_id":"9c87ec1c-588e-4512-9b91-d71653e41458","expires_at":1792512449863259,"market_id":null,"quantity":null,"max_price":"1.0000","side":"buy","tick_size":"0.0001000","rfq_id":"7392b743-4f70-4484-98a7-2fd8768a5767","legs":[{"short_name":"BTC 15 min","market_id":"e546fd11-0451-4a83-9629-88b858f607ff","outcome":"won"},{"short_name":"ETH 15 min","market_id":"69f695d9-504d-43a0-afef-19b1de863e21","outcome":"won"}]}]
["1",null,"combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","rfq_opened",{"amount":"3.0000","external_id":"9c87ec1c-588e-4512-9b91-d71653e41458","expires_at":1792512449726853,"market_id":null,"quantity":null,"max_price":"1.0000","side":"buy","tick_size":"0.0001000","rfq_id":"5a2cf6f2-4a00-4b5e-b3d6-f4a879bdcc81","legs":[{"short_name":"BTC 15 min","market_id":"e546fd11-0451-4a83-9629-88b858f607ff","outcome":"won"},{"short_name":"ETH 15 min","market_id":"69f695d9-504d-43a0-afef-19b1de863e21","outcome":"lost"}]}]
["1",null,"combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","rfq_opened",{"amount":null,"external_id":"9c87ec1c-588e-4512-9b91-d71653e41458","expires_at":1792512454043791,"market_id":"d5656dfb-b3e4-45bc-95a7-c8d7642c7682","quantity":"14.00","max_price":"1.0000","side":"sell","tick_size":"0.0001000","rfq_id":"8b666bd4-d9c4-4a05-805a-3b87aa7a6b8d","legs":[{"short_name":"ETH 15 min","market_id":"69f695d9-504d-43a0-afef-19b1de863e21","outcome":"won"},{"short_name":"BTC 15 min","market_id":"e546fd11-0451-4a83-9629-88b858f607ff","outcome":"won"}]}]
  • side is the player’s side; you take the other. buy names amount, the stake, and leaves quantity and market_id null. sell, a cash out, names market_id and quantity, the size fixed at open, and leaves amount null.
  • max_price and tick_size are the combo’s own on a cash out, and on a buy those a new combo is created with. A bind prices on the grid of the market it binds on, which differs from the announced one only for a combo created before a configuration change. Price against these values, not a constant.
  • expires_at is when the request ends, 5 minutes after it opened.
  • legs keep the player’s order on a buy and are sorted by leg market_id on a cash out, as above.
  • legs[].short_name is a display name for the leg’s market, null when the market has none.
  • Every maker channel receives every request, including its own account’s. Quoting one of those answers cannot_quote_own_request.

A request ended. reason is placed, cancelled, expired, leg_not_quotable, unknown_leg, player_refused, maker_refused, or ended when the negotiation stopped any other way. It carries the channel’s join_ref. Captured: a buy placed, a cash out placed, cancel, the player’s channel leaving, the player’s order refused, the 5 minutes running out, and a leg closed:

["1",null,"combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","rfq_closed",{"reason":"placed","market_id":"d5656dfb-b3e4-45bc-95a7-c8d7642c7682","rfq_id":"7392b743-4f70-4484-98a7-2fd8768a5767"}]
["1",null,"combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","rfq_closed",{"reason":"placed","market_id":"d5656dfb-b3e4-45bc-95a7-c8d7642c7682","rfq_id":"8b666bd4-d9c4-4a05-805a-3b87aa7a6b8d"}]
["1",null,"combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","rfq_closed",{"reason":"cancelled","market_id":null,"rfq_id":"c2364bf6-0e81-439d-9736-b85b94362fc9"}]
["1",null,"combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","rfq_closed",{"reason":"cancelled","market_id":null,"rfq_id":"071fa4c3-00ec-4591-96c4-5f272e2a68a2"}]
["1",null,"combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","rfq_closed",{"reason":"player_refused","market_id":"d5656dfb-b3e4-45bc-95a7-c8d7642c7682","rfq_id":"61371d99-e77a-4003-a5b7-fae081f101e1"}]
["1",null,"combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","rfq_closed",{"reason":"expired","market_id":null,"rfq_id":"466ed606-2147-4d41-b322-c0e988f56f3f"}]
["1",null,"combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","rfq_closed",{"reason":"leg_not_quotable","market_id":null,"rfq_id":"6c0cbefa-40ec-4cf6-9936-6cfce08144a2"}]

Not captured: maker_refused, unknown_leg and ended, which need a maker order to fail for a reason other than funds, a leg to vanish, or the exchange to stop a negotiation. Each has the same shape, {"reason":"ended","market_id":null,"rfq_id":"<uuid>"}.

rfq_opened and rfq_closed are delivered in order with your channel’s replies, so they follow any command the channel is still handling, such as a quote queued behind a bind.

Your quote is about to be bound. On a buy market_id is null, since the combo may not exist yet; on a cash out it is the combo:

[null,null,"combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","quote_accepted",{"external_id":"9c87ec1c-588e-4512-9b91-d71653e41458","market_id":null,"rfq_id":"7392b743-4f70-4484-98a7-2fd8768a5767","quote_id":"50949648-3cec-44db-8299-a4b2566ca645"}]
[null,null,"combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","quote_accepted",{"external_id":"9c87ec1c-588e-4512-9b91-d71653e41458","market_id":"d5656dfb-b3e4-45bc-95a7-c8d7642c7682","rfq_id":"8b666bd4-d9c4-4a05-805a-3b87aa7a6b8d","quote_id":"fcb3bb3c-936c-4dbb-9755-8cc8462c4ad3"}]

It is followed by placed, by negotiation_closed (maker_refused, player_refused, leg_not_quotable or unknown_leg), or by nothing for that attempt. When nothing follows, the attempt placed nothing and left the request open (the accept answers that stay open); your quote still stands, so a later attempt can push quote_accepted again. Followed by maker_refused, when maker A could not fund its amount:

[null,null,"combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","quote_accepted",{"external_id":"9c87ec1c-588e-4512-9b91-d71653e41458","market_id":null,"rfq_id":"53d5f67f-5024-41b4-85f3-fbb90fe75cc5","quote_id":"b6027426-9dd1-4c52-b667-4ba6cd75e1ba"}]
[null,null,"combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","negotiation_closed",{"reason":"maker_refused","external_id":"9c87ec1c-588e-4512-9b91-d71653e41458","market_id":null,"rfq_id":"53d5f67f-5024-41b4-85f3-fbb90fe75cc5","quote_id":"b6027426-9dd1-4c52-b667-4ba6cd75e1ba"}]

Your quote bound and your order was placed. Both orders share the size and price, and player_risk and maker_risk are what each order risks before fees, on the market’s own grid. On a buy, and on a cash out:

[null,null,"combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","placed",{"external_id":"9c87ec1c-588e-4512-9b91-d71653e41458","market_id":"d5656dfb-b3e4-45bc-95a7-c8d7642c7682","quantity":"14.00","price":"0.3334","order_id":"d9a516d2-c3af-4ce5-a6fc-88855b1d744d","rfq_id":"7392b743-4f70-4484-98a7-2fd8768a5767","quote_id":"50949648-3cec-44db-8299-a4b2566ca645","player_risk":"4.6676","maker_risk":"9.3324"}]
[null,null,"combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","placed",{"external_id":"9c87ec1c-588e-4512-9b91-d71653e41458","market_id":"d5656dfb-b3e4-45bc-95a7-c8d7642c7682","quantity":"14.00","price":"0.3000","order_id":"5b75be9d-6878-4ee6-a7e9-0b3947fd61a0","rfq_id":"8b666bd4-d9c4-4a05-805a-3b87aa7a6b8d","quote_id":"fcb3bb3c-936c-4dbb-9755-8cc8462c4ad3","player_risk":"9.8000","maker_risk":"4.2000"}]

Only the quote that binds gets placed. Any other quotes your account holds on the request get nothing.

One of your quotes stopped standing. reason is placed_elsewhere, maker_refused, cancelled, expired, leg_not_quotable, unknown_leg or player_refused. Captured: another maker’s quote placed on a buy and on a cash out, your own amount unfundable, cancel, the player’s channel leaving, your quote expired and dropped when a later quote arrived, the request’s 5 minutes running out, the player’s order refused, and a leg closed:

[null,null,"combo_quote:bc2d4b34-5d21-4a2a-8af6-d1ad3846ac3f","negotiation_closed",{"reason":"placed_elsewhere","external_id":"9c87ec1c-588e-4512-9b91-d71653e41458","market_id":"d5656dfb-b3e4-45bc-95a7-c8d7642c7682","rfq_id":"7392b743-4f70-4484-98a7-2fd8768a5767","quote_id":"63c8c41e-eb6e-4384-a017-617e63e13a7e"}]
[null,null,"combo_quote:bc2d4b34-5d21-4a2a-8af6-d1ad3846ac3f","negotiation_closed",{"reason":"placed_elsewhere","external_id":"9c87ec1c-588e-4512-9b91-d71653e41458","market_id":"d5656dfb-b3e4-45bc-95a7-c8d7642c7682","rfq_id":"8b666bd4-d9c4-4a05-805a-3b87aa7a6b8d","quote_id":"8db92539-751e-4fe7-b6c1-fca3c17f4db4"}]
[null,null,"combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","negotiation_closed",{"reason":"maker_refused","external_id":"9c87ec1c-588e-4512-9b91-d71653e41458","market_id":null,"rfq_id":"53d5f67f-5024-41b4-85f3-fbb90fe75cc5","quote_id":"b6027426-9dd1-4c52-b667-4ba6cd75e1ba"}]
[null,null,"combo_quote:bc2d4b34-5d21-4a2a-8af6-d1ad3846ac3f","negotiation_closed",{"reason":"cancelled","external_id":"9c87ec1c-588e-4512-9b91-d71653e41458","market_id":null,"rfq_id":"c2364bf6-0e81-439d-9736-b85b94362fc9","quote_id":"764cc7e7-874c-4b0c-a491-d733ca5f44c3"}]
[null,null,"combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","negotiation_closed",{"reason":"cancelled","external_id":"9c87ec1c-588e-4512-9b91-d71653e41458","market_id":null,"rfq_id":"071fa4c3-00ec-4591-96c4-5f272e2a68a2","quote_id":"f8dd9804-ca69-405f-8df1-a2384228b001"}]
[null,null,"combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","negotiation_closed",{"reason":"expired","external_id":"9c87ec1c-588e-4512-9b91-d71653e41458","market_id":null,"rfq_id":"c2364bf6-0e81-439d-9736-b85b94362fc9","quote_id":"f824a7d9-e8d7-45d1-8d53-a1ea4f995fed"}]
[null,null,"combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","negotiation_closed",{"reason":"expired","external_id":"9c87ec1c-588e-4512-9b91-d71653e41458","market_id":null,"rfq_id":"466ed606-2147-4d41-b322-c0e988f56f3f","quote_id":"7d6ce328-cea9-476b-b24a-2789dbd3deec"}]
[null,null,"combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","negotiation_closed",{"reason":"player_refused","external_id":"9c87ec1c-588e-4512-9b91-d71653e41458","market_id":"d5656dfb-b3e4-45bc-95a7-c8d7642c7682","rfq_id":"61371d99-e77a-4003-a5b7-fae081f101e1","quote_id":"bedacc8c-0a06-4714-8868-8ca04f2e0061"}]
[null,null,"combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","negotiation_closed",{"reason":"leg_not_quotable","external_id":"9c87ec1c-588e-4512-9b91-d71653e41458","market_id":null,"rfq_id":"6c0cbefa-40ec-4cf6-9936-6cfce08144a2","quote_id":"99e532b1-f68b-4567-94e7-44171fa1ee2b"}]
  • You get one per quote you held when the request ended, expired quotes included, with the request’s reason. placed_elsewhere means another account’s quote bound, or the bind counted as placed with no maker order (a take-back that found fills). maker_refused means another maker’s order did not go through.
  • You also get one per quote dropped earlier, as expired or maker_refused.
  • maker_refused after your quote_accepted means your side of the bind did not complete: you could not fund it, or your order was refused or did not answer. The request can still place without you. The underlying reason is not sent.
  • None is sent for a quote you withdrew, nor for one withdrawn because its channel closed or you logged out (see Connections). None is sent when the negotiation stops any other way; then only rfq_closed ended arrives.

Not captured: unknown_leg, with the same shape as leg_not_quotable above.

  • A push fires only when the best changes. A new quote takes the best only with a strictly larger amount; a tie keeps the earlier quote. The best also changes when the best quote leaves: withdrawn, its maker’s connection closing or logging out, or its maker dropped at a bind. Expiry never fires a push, and neither does a quote below the best arriving or leaving.
  • The opening window. Nothing is pushed until 500 ms after the request opened. If the best changed during the window, its close pushes the best as it stands, which is the best of everything that arrived. If nothing changed it pushes nothing, and the next change pushes at once.
  • After that, at most one push per 250 ms. A change with no window open is pushed at once and opens a window. Changes inside the window are held, and its close pushes the best as it stands and opens the next window. A window that held nothing closes silently.
  • An emptied book waits. When the last live quote goes, nulls are pushed only at the end of a window, and only if no quote took the best in the meantime. A maker re-quoting by withdrawing and quoting again therefore does not blank the screen.
  • Every other push is immediate and never held, including during the opening window.

For a client:

  • Expect no push in the first 500 ms, and do not count pushes. One push is not one quote, and the absence of a push does not mean there are no quotes.
  • The amount on screen can trail the live best by one window. accept is a floor, so accepting what you see binds the best live amount when it is at least that.
  • An expired best stays on screen until the next push, since expiry pushes nothing. Act on expires_at.
  • snapshot reads the live best at any time, inside the opening window too.

In the capture, timed at the client from sending request_quote: on the buy, the reply arrived at 64 ms, maker B quoted $8 at 128 ms and maker A $10 at 193 ms, both inside the opening window, and the one best_quote arrived at 572 ms carrying only maker A’s. The cash out went the same way: quotes at 129 ms and 199 ms, one push at 564 ms. Later, with no window open, maker B’s $1.10 on the $0.50 request was pushed 59 ms after it was sent, and a withdrawal that left nothing live was pushed as nulls 252 ms after the push before it.

Cause Player Each quote’s maker Feed rfq_closed
A bind placed accept reply and placed The bound maker gets placed; every other account’s quote gets negotiation_closed placed_elsewhere placed
cancel The reply, and negotiation_closed cancelled cancelled cancelled
The opening channel closed (leave, disconnect, exchange restart) negotiation_closed cancelled on the player’s other sockets, and on a socket that left after its phx_close cancelled cancelled
The player logged out, was logged out, or their session expired negotiation_closed cancelled cancelled cancelled
expires_at reached (5 minutes) negotiation_closed expired expired expired
The bind found a leg that is not open accept reply leg_not_quotable or unknown_leg, and the push the same the same
The bind: the player’s order refused accept reply player_refused:<reason>, and the push player_refused player_refused player_refused
The bind: a maker’s order did not go through for a reason other than funds, the player’s order taken back unfilled accept reply maker_refused, and the push maker_refused maker_refused
The negotiation stopped any other way nothing nothing ended
  • rfq_closed is sent on every ending except an abrupt stop of the exchange, which sends no push at all. Open requests do not survive an exchange restart; re-request after one.
  • An exchange restart closes every socket, and its requests can end ended rather than cancelled.
  • Leg status is checked when a request opens and at each bind. A leg that stops while a request is open is detected at the next accept.

A request ended by its own channel leaving. The player opened it from a separate socket and maker A quoted; then that socket left the topic. Maker A, maker B’s feed and the player’s main socket heard the ending, and so did the socket that left, after its phx_close:

["1","1","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","phx_join",{}]
["1","1","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","phx_reply",{"status":"ok","response":{"external_id":"9c87ec1c-588e-4512-9b91-d71653e41458"}}]
["1","2","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","request_quote",{"legs":[{"market_id":"e546fd11-0451-4a83-9629-88b858f607ff","outcome":"won"},{"market_id":"69f695d9-504d-43a0-afef-19b1de863e21","outcome":"won"}],"amount":"2.00"}]
["1",null,"combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","rfq_opened",{"amount":"2.0000","external_id":"9c87ec1c-588e-4512-9b91-d71653e41458","expires_at":1792512467464925,"market_id":null,"quantity":null,"max_price":"1.0000","side":"buy","tick_size":"0.0001000","rfq_id":"071fa4c3-00ec-4591-96c4-5f272e2a68a2","legs":[{"short_name":"BTC 15 min","market_id":"e546fd11-0451-4a83-9629-88b858f607ff","outcome":"won"},{"short_name":"ETH 15 min","market_id":"69f695d9-504d-43a0-afef-19b1de863e21","outcome":"won"}]}]
["1","2","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","phx_reply",{"status":"ok","response":{"rfq_id":"071fa4c3-00ec-4591-96c4-5f272e2a68a2"}}]
["1","40","combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","quote",{"rfq_id":"071fa4c3-00ec-4591-96c4-5f272e2a68a2","amount":"3.00","expires_in_ms":60000}]
["1","40","combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","phx_reply",{"status":"ok","response":{"amount":"3.0000","external_id":"9c87ec1c-588e-4512-9b91-d71653e41458","quantity":"5.00","quote_id":"f8dd9804-ca69-405f-8df1-a2384228b001","player_risk":"2.0000","maker_risk":"3.0000"}}]
["1","3","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","phx_leave",{}]
[null,null,"combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","negotiation_closed",{"reason":"cancelled","external_id":"9c87ec1c-588e-4512-9b91-d71653e41458","market_id":null,"rfq_id":"071fa4c3-00ec-4591-96c4-5f272e2a68a2","quote_id":"f8dd9804-ca69-405f-8df1-a2384228b001"}]
["1",null,"combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","rfq_closed",{"reason":"cancelled","market_id":null,"rfq_id":"071fa4c3-00ec-4591-96c4-5f272e2a68a2"}]
[null,null,"rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","negotiation_closed",{"reason":"cancelled","market_id":null,"rfq_id":"071fa4c3-00ec-4591-96c4-5f272e2a68a2"}]
["1",null,"combo_quote:bc2d4b34-5d21-4a2a-8af6-d1ad3846ac3f","rfq_closed",{"reason":"cancelled","market_id":null,"rfq_id":"071fa4c3-00ec-4591-96c4-5f272e2a68a2"}]
["1","3","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","phx_reply",{"status":"ok","response":{}}]
["1","1","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","phx_close",{}]
[null,null,"rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","negotiation_closed",{"reason":"cancelled","market_id":null,"rfq_id":"071fa4c3-00ec-4591-96c4-5f272e2a68a2"}]

A request left to run out its 5 minutes, holding one quote of maker A’s, on the BTC and ETH markets of the next 15-minute window:

["1","2","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","request_quote",{"legs":[{"market_id":"25c4d3a2-78e9-4893-846c-481bc7808a4a","outcome":"won"},{"market_id":"8761b4a9-0e12-4200-84c5-f180f722d203","outcome":"lost"}],"amount":"3.00"}]
["1",null,"combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","rfq_opened",{"amount":"3.0000","external_id":"9c87ec1c-588e-4512-9b91-d71653e41458","expires_at":1792513230846529,"market_id":null,"quantity":null,"max_price":"1.0000","side":"buy","tick_size":"0.0001000","rfq_id":"466ed606-2147-4d41-b322-c0e988f56f3f","legs":[{"short_name":"BTC 15 min","market_id":"25c4d3a2-78e9-4893-846c-481bc7808a4a","outcome":"won"},{"short_name":"ETH 15 min","market_id":"8761b4a9-0e12-4200-84c5-f180f722d203","outcome":"lost"}]}]
["1",null,"combo_quote:bc2d4b34-5d21-4a2a-8af6-d1ad3846ac3f","rfq_opened",{"amount":"3.0000","external_id":"9c87ec1c-588e-4512-9b91-d71653e41458","expires_at":1792513230846529,"market_id":null,"quantity":null,"max_price":"1.0000","side":"buy","tick_size":"0.0001000","rfq_id":"466ed606-2147-4d41-b322-c0e988f56f3f","legs":[{"short_name":"BTC 15 min","market_id":"25c4d3a2-78e9-4893-846c-481bc7808a4a","outcome":"won"},{"short_name":"ETH 15 min","market_id":"8761b4a9-0e12-4200-84c5-f180f722d203","outcome":"lost"}]}]
["1","2","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","phx_reply",{"status":"ok","response":{"rfq_id":"466ed606-2147-4d41-b322-c0e988f56f3f"}}]
["1","3","combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","quote",{"rfq_id":"466ed606-2147-4d41-b322-c0e988f56f3f","amount":"2.50","expires_in_ms":600000}]
["1","3","combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","phx_reply",{"status":"ok","response":{"amount":"2.5000","external_id":"9c87ec1c-588e-4512-9b91-d71653e41458","quantity":"5.00","quote_id":"7d6ce328-cea9-476b-b24a-2789dbd3deec","player_risk":"2.7275","maker_risk":"2.2725"}}]
[null,null,"rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","best_quote",{"amount":"2.5000","expires_at":1792513530923288,"market_id":null,"rfq_id":"466ed606-2147-4d41-b322-c0e988f56f3f","quote_id":"7d6ce328-cea9-476b-b24a-2789dbd3deec"}]
[null,null,"rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","negotiation_closed",{"reason":"expired","market_id":null,"rfq_id":"466ed606-2147-4d41-b322-c0e988f56f3f"}]
[null,null,"combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","negotiation_closed",{"reason":"expired","external_id":"9c87ec1c-588e-4512-9b91-d71653e41458","market_id":null,"rfq_id":"466ed606-2147-4d41-b322-c0e988f56f3f","quote_id":"7d6ce328-cea9-476b-b24a-2789dbd3deec"}]
["1",null,"combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","rfq_closed",{"reason":"expired","market_id":null,"rfq_id":"466ed606-2147-4d41-b322-c0e988f56f3f"}]
["1",null,"combo_quote:bc2d4b34-5d21-4a2a-8af6-d1ad3846ac3f","rfq_closed",{"reason":"expired","market_id":null,"rfq_id":"466ed606-2147-4d41-b322-c0e988f56f3f"}]
["1","15","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","snapshot",{"rfq_id":"466ed606-2147-4d41-b322-c0e988f56f3f"}]
["1","15","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","phx_reply",{"status":"error","response":{"reason":"not_found"}}]
  • A request belongs to the channel that opened it. When that channel closes (a leave, the socket dropping, an exchange restart) the request ends cancelled.
  • A quote belongs to the channel that placed it. When that channel closes, its quotes are withdrawn without a push to you. Quotes you placed from other channels are untouched. Quote again after you reconnect.
  • Logging out ends everything. A logout, a logout forced on every session (a suspension or ban among them), a password change, a single-login user’s next login, and a browser session’s inactivity expiry each end every request and withdraw every quote of that user’s, on every socket, API-key sockets included. The sockets of a session that logs out or expires close; an API-key socket stays open and can request and quote again.
  • Negotiation commands do not count as session activity. A browser session whose only traffic is negotiation expires after the exchange’s inactivity timeout (5 minutes by default) unless the user’s inactivity timer is disabled, and that expiry withdraws the user’s API-key quotes too.
  • While a request lives, any channel authenticated as the same account may accept, cancel or snapshot it by rfq_id. Its pushes go to the topic of the user who opened it.
  • A quote already inside a bind when its channel closes still binds. Its placed push reaches your other sockets on the topic; after reconnecting, read the order from the orders channel.
  • An internal error while handling a command closes the channel: you get phx_error, and everything that channel owns ends as on a close. Rejoin to continue.
  • A quote expiring. Act on expires_at: a quote is not live from then. Its maker hears expired when a later quote drops it, or the request’s own reason if the request ends first.
  • The fills, rejections and cancellations of the orders a bind places. Those arrive on the orders and fills channels.
  • Nothing is held before a bind. No money is reserved and nothing is recorded until a bind places. request_quote checks only that your available balance covers the stake, and quote checks nothing. At the bind, each party’s balance is checked again before anything is created, and fees, loss limits, open-order caps, the member position limit and collateral are decided when each order is placed, by that party’s own account: the player first, then the maker.
  • Player and maker refusals differ. A player refusal ends the request, because no quote can replace the player. A maker refused for funds loses every quote it holds on the request, and the next best is tried.
  • A refusal before placement creates nothing. A placement refused after the combo’s market was created leaves it in place with no orders, and the next bind over those legs and outcomes uses it.
  • accept sets a floor, not an exact match, and does not select by quote_id. The bound amount can be larger than the one you accepted; price and size come from the bound quote. A retry after a maker refusal never binds below your accepted amount.
  • A combo’s book is an ordinary book. Anyone may place ordinary orders on it once it is a market. The player’s limit goes first and takes any better resting price. The maker’s limit, at the same price and size, fills what it can at that price or better, including resting orders ahead of the player’s, and cancels the rest. So the maker can fill less than the quote, or nothing. Whatever of the player’s order the maker does not fill stays on the book as an ordinary open order the player owns.
  • No counts are capped. There is no limit on how many requests an account holds, how many quotes a maker holds on one request, or how many cash outs are open on one holding.
  • New combos are created with max_price 1 and tick_size 0.0001 by default, and an exchange can set another tick. Each market keeps both for life, so read them from rfq_opened.

From the first bind, the combo’s market is ordinary:

  • Orders, fills, positions and settlements arrive on the orders, fills, positions and settlements channels.
  • Its book is on the order book channel at the market’s own price precision, and POST /api/v1/orders takes prices to as many decimal places as its tick.
  • Combo markets are not listed: no market list, tree or filter includes them. Address one by the market_id that placed returned.
  • Fees are the ordinary order fees, and neither topic reports them. Between the two orders of a bind, the maker’s order provides the liquidity and the player’s takes it, though the maker’s arrives second: the player pays the taker rate and the maker the provider rate.
  • What is left of the player’s order after a bind keeps that role. It takes the liquidity against a later bind’s maker order on the same combo, and provides it to every other order.

How a combo closes and settles is on Combos.

Two complete negotiations, every frame from both sides in the order the capture received it. Frames on the player’s topic are the player’s; frames on a combo_quote topic are that maker’s. Only the frames of these two requests are shown: the refusals sent during them are under each command above.

Two legs, BTC and ETH, each to win, for $5. Maker B quotes $8, maker A $10. The player reads the request, accepts above the best and is told the live best, then accepts $10. The bind creates the combo d5656dfb-b3e4-45bc-95a7-c8d7642c7682 and places maker A.

["1","33","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","request_quote",{"legs":[{"market_id":"e546fd11-0451-4a83-9629-88b858f607ff","outcome":"won"},{"market_id":"69f695d9-504d-43a0-afef-19b1de863e21","outcome":"won"}],"amount":"5.00"}]
["1",null,"combo_quote:bc2d4b34-5d21-4a2a-8af6-d1ad3846ac3f","rfq_opened",{"amount":"5.0000","external_id":"9c87ec1c-588e-4512-9b91-d71653e41458","expires_at":1792512449863259,"market_id":null,"quantity":null,"max_price":"1.0000","side":"buy","tick_size":"0.0001000","rfq_id":"7392b743-4f70-4484-98a7-2fd8768a5767","legs":[{"short_name":"BTC 15 min","market_id":"e546fd11-0451-4a83-9629-88b858f607ff","outcome":"won"},{"short_name":"ETH 15 min","market_id":"69f695d9-504d-43a0-afef-19b1de863e21","outcome":"won"}]}]
["1","33","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","phx_reply",{"status":"ok","response":{"rfq_id":"7392b743-4f70-4484-98a7-2fd8768a5767"}}]
["1",null,"combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","rfq_opened",{"amount":"5.0000","external_id":"9c87ec1c-588e-4512-9b91-d71653e41458","expires_at":1792512449863259,"market_id":null,"quantity":null,"max_price":"1.0000","side":"buy","tick_size":"0.0001000","rfq_id":"7392b743-4f70-4484-98a7-2fd8768a5767","legs":[{"short_name":"BTC 15 min","market_id":"e546fd11-0451-4a83-9629-88b858f607ff","outcome":"won"},{"short_name":"ETH 15 min","market_id":"69f695d9-504d-43a0-afef-19b1de863e21","outcome":"won"}]}]
["1","34","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","snapshot",{"rfq_id":"7392b743-4f70-4484-98a7-2fd8768a5767"}]
["1","34","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","phx_reply",{"status":"ok","response":{"status":"open","amount":"5.0000","expires_at":1792512449863259,"market_id":null,"quantity":null,"side":"buy","rfq_id":"7392b743-4f70-4484-98a7-2fd8768a5767","best_quote":{"amount":null,"expires_at":null,"quote_id":null}}}]
["1","2","combo_quote:bc2d4b34-5d21-4a2a-8af6-d1ad3846ac3f","quote",{"rfq_id":"7392b743-4f70-4484-98a7-2fd8768a5767","amount":"8.00","expires_in_ms":120000,"client_order_id":null}]
["1","2","combo_quote:bc2d4b34-5d21-4a2a-8af6-d1ad3846ac3f","phx_reply",{"status":"ok","response":{"amount":"8.0000","external_id":"9c87ec1c-588e-4512-9b91-d71653e41458","quantity":"12.00","quote_id":"63c8c41e-eb6e-4384-a017-617e63e13a7e","player_risk":"4.6164","maker_risk":"7.3836"}}]
["1","8","combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","quote",{"rfq_id":"7392b743-4f70-4484-98a7-2fd8768a5767","amount":"10.00","expires_in_ms":60000,"client_order_id":"docs-capture-m1"}]
["1","8","combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","phx_reply",{"status":"ok","response":{"amount":"10.0000","external_id":"9c87ec1c-588e-4512-9b91-d71653e41458","quantity":"14.00","quote_id":"50949648-3cec-44db-8299-a4b2566ca645","player_risk":"4.6676","maker_risk":"9.3324"}}]
[null,null,"rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","best_quote",{"amount":"10.0000","expires_at":1792512210052723,"market_id":null,"rfq_id":"7392b743-4f70-4484-98a7-2fd8768a5767","quote_id":"50949648-3cec-44db-8299-a4b2566ca645"}]
["1","35","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","snapshot",{"rfq_id":"7392b743-4f70-4484-98a7-2fd8768a5767"}]
["1","35","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","phx_reply",{"status":"ok","response":{"status":"open","amount":"5.0000","expires_at":1792512449863259,"market_id":null,"quantity":null,"side":"buy","rfq_id":"7392b743-4f70-4484-98a7-2fd8768a5767","best_quote":{"amount":"10.0000","expires_at":1792512210052723,"quote_id":"50949648-3cec-44db-8299-a4b2566ca645"}}}]
["1","36","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","accept",{"rfq_id":"7392b743-4f70-4484-98a7-2fd8768a5767","quote_id":"50949648-3cec-44db-8299-a4b2566ca645","amount":"25.00"}]
["1","36","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","phx_reply",{"status":"error","response":{"reason":"price_moved","amount":"10.0000","expires_at":1792512210052723,"quote_id":"50949648-3cec-44db-8299-a4b2566ca645"}}]
["1","39","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","accept",{"rfq_id":"7392b743-4f70-4484-98a7-2fd8768a5767","quote_id":"50949648-3cec-44db-8299-a4b2566ca645","amount":"10.00"}]
[null,null,"combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","quote_accepted",{"external_id":"9c87ec1c-588e-4512-9b91-d71653e41458","market_id":null,"rfq_id":"7392b743-4f70-4484-98a7-2fd8768a5767","quote_id":"50949648-3cec-44db-8299-a4b2566ca645"}]
[null,null,"combo_quote:bc2d4b34-5d21-4a2a-8af6-d1ad3846ac3f","negotiation_closed",{"reason":"placed_elsewhere","external_id":"9c87ec1c-588e-4512-9b91-d71653e41458","market_id":"d5656dfb-b3e4-45bc-95a7-c8d7642c7682","rfq_id":"7392b743-4f70-4484-98a7-2fd8768a5767","quote_id":"63c8c41e-eb6e-4384-a017-617e63e13a7e"}]
[null,null,"rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","placed",{"market_id":"d5656dfb-b3e4-45bc-95a7-c8d7642c7682","quantity":"14.00","price":"0.3334","order_id":"51a22eb9-bf62-44a5-bfc1-6a7d23e23ace","rfq_id":"7392b743-4f70-4484-98a7-2fd8768a5767"}]
[null,null,"combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","placed",{"external_id":"9c87ec1c-588e-4512-9b91-d71653e41458","market_id":"d5656dfb-b3e4-45bc-95a7-c8d7642c7682","quantity":"14.00","price":"0.3334","order_id":"d9a516d2-c3af-4ce5-a6fc-88855b1d744d","rfq_id":"7392b743-4f70-4484-98a7-2fd8768a5767","quote_id":"50949648-3cec-44db-8299-a4b2566ca645","player_risk":"4.6676","maker_risk":"9.3324"}]
["1",null,"combo_quote:bc2d4b34-5d21-4a2a-8af6-d1ad3846ac3f","rfq_closed",{"reason":"placed","market_id":"d5656dfb-b3e4-45bc-95a7-c8d7642c7682","rfq_id":"7392b743-4f70-4484-98a7-2fd8768a5767"}]
["1","39","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","phx_reply",{"status":"ok","response":{"market_id":"d5656dfb-b3e4-45bc-95a7-c8d7642c7682","quantity":"14.00","price":"0.3334","order_id":"51a22eb9-bf62-44a5-bfc1-6a7d23e23ace"}}]
["1",null,"combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","rfq_closed",{"reason":"placed","market_id":"d5656dfb-b3e4-45bc-95a7-c8d7642c7682","rfq_id":"7392b743-4f70-4484-98a7-2fd8768a5767"}]
  • $5 against $10 prices at 5 / 15 = 0.33333…, rounded up to 0.3334, and buys floor(5 / 0.3334) = 14 contracts.
  • The player’s order is a buy of 14 at 0.3334. It pays at most 4.6676 plus fees, and wins 9.3324 if both legs win.
  • Maker A’s order is a sell of 14 at 0.3334 that cancels whatever it does not fill at once, owing at most (1 − 0.3334) × 14 = 9.3324 against the $10 it quoted.
  • Maker B’s $8 was never the best, so it hears placed_elsewhere.
  • From quote_accepted to placed took about 700 ms, because this bind created the combo’s market.

The player sells all 14 contracts. Maker B quotes $3.73 for them and maker A $4.20; the opening window pushes only maker A’s. The player accepts at a floor of $3.73, which binds maker A’s $4.20: 4.20 / 14 = 0.3000.

["1","42","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","cash_out",{"market_id":"d5656dfb-b3e4-45bc-95a7-c8d7642c7682"}]
["1",null,"combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","rfq_opened",{"amount":null,"external_id":"9c87ec1c-588e-4512-9b91-d71653e41458","expires_at":1792512454043791,"market_id":"d5656dfb-b3e4-45bc-95a7-c8d7642c7682","quantity":"14.00","max_price":"1.0000","side":"sell","tick_size":"0.0001000","rfq_id":"8b666bd4-d9c4-4a05-805a-3b87aa7a6b8d","legs":[{"short_name":"ETH 15 min","market_id":"69f695d9-504d-43a0-afef-19b1de863e21","outcome":"won"},{"short_name":"BTC 15 min","market_id":"e546fd11-0451-4a83-9629-88b858f607ff","outcome":"won"}]}]
["1","42","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","phx_reply",{"status":"ok","response":{"market_id":"d5656dfb-b3e4-45bc-95a7-c8d7642c7682","quantity":"14.00","rfq_id":"8b666bd4-d9c4-4a05-805a-3b87aa7a6b8d"}}]
["1",null,"combo_quote:bc2d4b34-5d21-4a2a-8af6-d1ad3846ac3f","rfq_opened",{"amount":null,"external_id":"9c87ec1c-588e-4512-9b91-d71653e41458","expires_at":1792512454043791,"market_id":"d5656dfb-b3e4-45bc-95a7-c8d7642c7682","quantity":"14.00","max_price":"1.0000","side":"sell","tick_size":"0.0001000","rfq_id":"8b666bd4-d9c4-4a05-805a-3b87aa7a6b8d","legs":[{"short_name":"ETH 15 min","market_id":"69f695d9-504d-43a0-afef-19b1de863e21","outcome":"won"},{"short_name":"BTC 15 min","market_id":"e546fd11-0451-4a83-9629-88b858f607ff","outcome":"won"}]}]
["1","43","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","snapshot",{"rfq_id":"8b666bd4-d9c4-4a05-805a-3b87aa7a6b8d"}]
["1","43","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","phx_reply",{"status":"ok","response":{"status":"open","amount":null,"expires_at":1792512454043791,"market_id":"d5656dfb-b3e4-45bc-95a7-c8d7642c7682","quantity":"14.00","side":"sell","rfq_id":"8b666bd4-d9c4-4a05-805a-3b87aa7a6b8d","best_quote":{"amount":null,"expires_at":null,"quote_id":null}}}]
["1","4","combo_quote:bc2d4b34-5d21-4a2a-8af6-d1ad3846ac3f","quote",{"rfq_id":"8b666bd4-d9c4-4a05-805a-3b87aa7a6b8d","amount":"3.73","expires_in_ms":60000}]
["1","4","combo_quote:bc2d4b34-5d21-4a2a-8af6-d1ad3846ac3f","phx_reply",{"status":"ok","response":{"amount":"3.7300","external_id":"9c87ec1c-588e-4512-9b91-d71653e41458","quantity":"14.00","quote_id":"8db92539-751e-4fe7-b6c1-fca3c17f4db4","player_risk":"10.2704","maker_risk":"3.7296"}}]
["1","26","combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","quote",{"rfq_id":"8b666bd4-d9c4-4a05-805a-3b87aa7a6b8d","amount":"4.20","expires_in_ms":60000,"client_order_id":"docs-capture-m2"}]
["1","26","combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","phx_reply",{"status":"ok","response":{"amount":"4.2000","external_id":"9c87ec1c-588e-4512-9b91-d71653e41458","quantity":"14.00","quote_id":"fcb3bb3c-936c-4dbb-9755-8cc8462c4ad3","player_risk":"9.8000","maker_risk":"4.2000"}}]
[null,null,"rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","best_quote",{"amount":"4.2000","expires_at":1792512214251188,"market_id":"d5656dfb-b3e4-45bc-95a7-c8d7642c7682","rfq_id":"8b666bd4-d9c4-4a05-805a-3b87aa7a6b8d","quote_id":"fcb3bb3c-936c-4dbb-9755-8cc8462c4ad3"}]
["1","44","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","snapshot",{"rfq_id":"8b666bd4-d9c4-4a05-805a-3b87aa7a6b8d"}]
["1","44","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","phx_reply",{"status":"ok","response":{"status":"open","amount":null,"expires_at":1792512454043791,"market_id":"d5656dfb-b3e4-45bc-95a7-c8d7642c7682","quantity":"14.00","side":"sell","rfq_id":"8b666bd4-d9c4-4a05-805a-3b87aa7a6b8d","best_quote":{"amount":"4.2000","expires_at":1792512214251188,"quote_id":"fcb3bb3c-936c-4dbb-9755-8cc8462c4ad3"}}}]
["1","45","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","accept",{"rfq_id":"8b666bd4-d9c4-4a05-805a-3b87aa7a6b8d","quote_id":"fcb3bb3c-936c-4dbb-9755-8cc8462c4ad3","amount":"3.73"}]
[null,null,"combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","quote_accepted",{"external_id":"9c87ec1c-588e-4512-9b91-d71653e41458","market_id":"d5656dfb-b3e4-45bc-95a7-c8d7642c7682","rfq_id":"8b666bd4-d9c4-4a05-805a-3b87aa7a6b8d","quote_id":"fcb3bb3c-936c-4dbb-9755-8cc8462c4ad3"}]
[null,null,"combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","placed",{"external_id":"9c87ec1c-588e-4512-9b91-d71653e41458","market_id":"d5656dfb-b3e4-45bc-95a7-c8d7642c7682","quantity":"14.00","price":"0.3000","order_id":"5b75be9d-6878-4ee6-a7e9-0b3947fd61a0","rfq_id":"8b666bd4-d9c4-4a05-805a-3b87aa7a6b8d","quote_id":"fcb3bb3c-936c-4dbb-9755-8cc8462c4ad3","player_risk":"9.8000","maker_risk":"4.2000"}]
["1",null,"combo_quote:a501cce1-aadc-4db5-b8bc-bbdf1c15e86b","rfq_closed",{"reason":"placed","market_id":"d5656dfb-b3e4-45bc-95a7-c8d7642c7682","rfq_id":"8b666bd4-d9c4-4a05-805a-3b87aa7a6b8d"}]
[null,null,"rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","placed",{"market_id":"d5656dfb-b3e4-45bc-95a7-c8d7642c7682","quantity":"14.00","price":"0.3000","order_id":"fc20948e-7ef7-4dd7-a38d-32de04b4997d","rfq_id":"8b666bd4-d9c4-4a05-805a-3b87aa7a6b8d"}]
["1","45","rfq:c7a6abb5-5e79-489d-951f-c043d4377fac","phx_reply",{"status":"ok","response":{"market_id":"d5656dfb-b3e4-45bc-95a7-c8d7642c7682","quantity":"14.00","price":"0.3000","order_id":"fc20948e-7ef7-4dd7-a38d-32de04b4997d"}}]
[null,null,"combo_quote:bc2d4b34-5d21-4a2a-8af6-d1ad3846ac3f","negotiation_closed",{"reason":"placed_elsewhere","external_id":"9c87ec1c-588e-4512-9b91-d71653e41458","market_id":"d5656dfb-b3e4-45bc-95a7-c8d7642c7682","rfq_id":"8b666bd4-d9c4-4a05-805a-3b87aa7a6b8d","quote_id":"8db92539-751e-4fe7-b6c1-fca3c17f4db4"}]
["1",null,"combo_quote:bc2d4b34-5d21-4a2a-8af6-d1ad3846ac3f","rfq_closed",{"reason":"placed","market_id":"d5656dfb-b3e4-45bc-95a7-c8d7642c7682","rfq_id":"8b666bd4-d9c4-4a05-805a-3b87aa7a6b8d"}]
  • The player’s sell of 14 at 0.3000 brings in at most 4.2000, against the 4.6676 paid to open. Maker A, short 14 from the first bind, buys them back and is flat.
  • quote_accepted on a cash out names the combo, which already exists.
  • A cash_out sent after this answers nothing_to_sell, frames under cash_out.

STX is operated by XV Exchange, LLC, a Designated Contract Market regulated by the U.S. Commodity Futures Trading Commission (CFTC). Contracts traded on STX are cleared by XV Clearing, LLC, a CFTC-registered Derivatives Clearing Organization. Trading involves substantial risk of loss and may not be appropriate for everyone. Members risk losing the cost to enter any transaction, including fees. Consider whether trading is appropriate for you in light of your experience and financial resources. Nothing on this site is investment advice or a recommendation to trade. Past performance is not indicative of future results.

© 2026 STX. All rights reserved.llms.txtllms-full.txtView as Markdown
Docs version v1.10.5