# Submitting a stop limit order

**Client → Server**

- Sends a [New Order Single Stop Limit `<D>`](/trading/fix/order-entry/exchange-bound-messages/new-order-single-limit) message with:
  - [OrdType `<40>`](https://www.onixs.biz/fix-dictionary/4.4/tagNum_40.html) set to `4 = Stop Limit`
  - [StopPx `<99>`](https://www.onixs.biz/fix-dictionary/4.4/tagNum_99.html) value that is:
    - **less than or equal** to [Price `<44>`](https://www.onixs.biz/fix-dictionary/4.4/tagNum_44.html) on [Side `<54>`](https://www.onixs.biz/fix-dictionary/4.4/tagNum_54.html) = `1 (Buy)`, **or**
    - **greater than or equal** to [Price `<44>`](https://www.onixs.biz/fix-dictionary/4.4/tagNum_44.html) on [Side `<54>`](https://www.onixs.biz/fix-dictionary/4.4/tagNum_54.html) = `2 (Sell)`

---

### Does Gemini accept the order?

1. **Yes: Order is accepted for initial processing**

   - **Server → Client**: Sends an [Execution Report `<8>`](/trading/fix/order-entry/client-bound-messages/execution-report) for a new order with:
     - [ExecType `<150>`](https://www.onixs.biz/fix-dictionary/4.4/tagNum_150.html) set to `0 = New`
     - [OrdStatus `<39>`](https://www.onixs.biz/fix-dictionary/4.4/tagNum_39.html) set to `0 = New`
     - [StopPx `<99>`](https://www.onixs.biz/fix-dictionary/4.4/tagNum_99.html) set to the same `StopPx` value provided on entry

   **Has a trade occurred that would trigger your stop order?**

   - **Yes**: The stop order triggers
     - **Server → Client**: Sends an [Execution Report `<8>`](/trading/fix/order-entry/client-bound-messages/execution-report) message with the child limit order details
   - **No**: The stop order remains hidden and resting until triggered by a qualifying trade, or until cancelled

   **Is the limit order marketable?**

   - **Yes**: The server executes one or more initial fills
     - **Server → Client**: Sends an [Execution Report `<8>`](/trading/fix/order-entry/client-bound-messages/execution-report) for each [fill](/trading/fix/order-entry/examples/execution-reports#fill) or [partial fill](/trading/fix/order-entry/examples/execution-reports#partial-fill)
     - **Does the order have remaining quantity?**
       - **Yes**: The server puts the remaining quantity on the order book
       - **No**: The server closes the order
   - **No**: The server puts the entire quantity of the order on the book

2. **No: Order is rejected**
   - **Server → Client**: Sends an [Execution Report `<8>`](/trading/fix/order-entry/client-bound-messages/execution-report) indicating the order was rejected with:
     - [ExecType `<150>`](https://www.onixs.biz/fix-dictionary/4.4/tagNum_150.html) set to `8 = Rejected`
     - [OrdStatus `<39>`](https://www.onixs.biz/fix-dictionary/4.4/tagNum_39.html) set to `8 = Rejected`
