Placing multiple quotes
Mass Quotes Limit: Mass quotes are limited to 15 double-sided quotes.Fill Limits: The maximum number of fills on a single mass quote is 2000 fills for single-leg instruments and 400 fills for combo instruments.
Duplicate quote handling: When a client sends the same quote twice (identical price, amount, and instrument), Starbase preserves the bid and ask priorities.
Rate limiting and cancels: Setting a quote’s
bidQty or askQty to 0 cancels that side. A MassQuoteRequest where all quantities are zero is treated as a cancel: it consumes tokens from the mass quote bucket but is never rejected due to rate limits, even when throttled. Any message containing at least one non-zero quantity is subject to normal rate limiting. See API Rate Limits for details.MassQuoteRequest (130)
Place buy and/or sell orders for up to 15 instruments in one message.
The table below outlines the content of field 5 (
massQuoteFlags) of MassQuoteRequest.
The table below outlines the content of field 13/14 (
bidFlags/askFlags) of MassQuoteRequest.
MassQuoteResponse (230)
Acknowledges the successful execution of aMassQuoteRequest. Quotes do not have a separate fillAmount and amount. A quote’s amount will always be what’s still available for execution. As such, in a MassQuoteResponse, the amounts of the quotes returned will already incorporate the accompanying fills.
Individual quote sides that aggress may be speed bumped, indicated by buyQuoteStatus = 8 or sellQuoteStatus = 8 (Queued). Once the speed bump period expires, an unsolicited MassQuoteOrdersPlaced message is sent for the placed sides. See Speed Bumps for details.
MassQuoteReject (232)
Reject generated in case aMassQuoteRequest is unsuccessful.