GeminiGemini
Demo environmentGet API key
  • Overview
  • Crypto Trading
  • Prediction Markets
  • Perpetuals
  • Stocks
  • API Reference
  • SDKs & Tools
Changelog
Gemini logoGemini logo

© 2026 Gemini Space Station, Inc.

Overview
Spot
    OverviewGet started
    Orders API
    Market Data API
    Fund Management API
    Instant Orders API
    WebSocket API
    FIX API
      Overview
      Order Entry
        IntroductionErrorsThird Party Support
        Workflow
        Exchange-Bound Messages
        Client-Bound Messages
          Execution ReportOrder Cancel RejectOrder Cancel Reasons
        Examples
        Identifiers
        Price & Quantity
        Gemini Clearing
      Market Data
      Drop Copy
Margin
    Overview
    Margin REST API
      Get Margin Account SummaryGet Margin Interest RatesPreview Margin Order Impact
Staking
    Overview
    Staking REST API
      List Staking BalancesStake Crypto FundsUnstake Crypto FundsList Staking Event HistoryList Staking RatesList Staking Rewards
Clearing
    Clearing REST API
      Clearing Orders
      Broker & Trade Operations
Client-Bound Messages

Order Cancel Reject <9>

Gemini sends an Order Cancel Reject <9> message when the exchange receives an Order Cancel Request <F> message which cannot be honored because:

  • Order Cancel Request <F> message has an unknown OrigClOrdID <41>
  • the order referred to by OrigClOrdID <41> exists, but cannot be canceled because it is not currently active:
    • rejected
    • already filled
    • already canceled

Fields

TagNameReqDescription
Standard HeaderYMsgType = 9
11ClOrdIDYUnique identifier for the order as assigned by the institution.
37OrderIDYUnique identifier for the order as assigned by Gemini. Uniqueness is guaranteed for the trading session. The value is NONE for unknown orders.
39OrdStatusYIdentifies the current status of the order. The status is 8 = Rejected if the order is unknown.

Valid values:
0 = New
1 = Partially filled
2 = Filled
4 = Canceled
8 = Rejected
41OrigClOrdIDYThe ClOrdID <11> of the order to cancel. Needs to correspond to a current outstanding order submitted during this trading session.
60TransactTimeYTime the transaction represented by this Order Cancel Reject <9> occurred (expressed in UTC).
102CxlRejReasonNCode to identify the reason for cancel rejection.

Valid values:
0 = Too late to cancel
1 = Unknown order
3 = Order already in Pending Cancel or Pending Replace status
198SecondaryOrderIDNCan be used to provide the order ID used by the exchange or executing system.
434CxlRejResponseToYIndicates the type of request that the message is in response to.

Valid values:
1 = Order Cancel Request <F>
58TextN
Standard TrailerY
Execution ReportOrder Cancel Reasons
On this page
  • Fields