Guide 13.6
Beginner, 4 min read. Checked with Scalpel 1.12.8 on .
In short
Scalpel never sends market orders: every order is a marketable limit, priced a few cents through the market (a buy at the ask plus your 10-cent Buy offset). If the price runs past that limit before the order lands, part or all of it waits. In LIVE the rest of a buy keeps working until it fills or you cancel it with Ctrl+Q. A stop exit that does not fill is re-priced by Scalpel itself, and Flatten All (Esc) replaces any stuck sell with one order about 1% through the bid.
A partial fill is not an error. It is the price of using limits, which is what protects you from a terrible fill in a thin book, and what lets you trade at all before the open.
Before 09:30 ET, US exchanges accept limit orders only. A market order, or a plain stop that turns into one, cannot trade in the pre-market, which is where momentum scalpers do much of their work. So every Scalpel order carries a limit price, set a little through the market so it normally fills at once:
| Order | Limit price (defaults) |
|---|---|
| Buy keys (Shift+1 to 4) | The ask plus Buy offset (10c) |
| Sell full, half, quarter at the bid | The bid minus Sell offset (10c) |
| Sell half at the ask or the mid | The ask or the mid: in LIVE it waits for a buyer to come to it |
| Flatten All (Esc) in LIVE | About 1% under the bid, to clear in one press |
| A stop or take-profit firing in LIVE | 5 cents under the last trade, then about 1% under it if it has to be re-priced |
The order fills at the best prices available up to its limit, often better than the limit. It never fills worse. Offsets are in Settings > Trading (guide 11.2).
The desk's Orders tab shows Partial in amber for an order that is part filled and still working, with the average fill so far.
In LIVE, the unfilled shares stay working at Interactive Brokers at your limit. Your stop is armed on the shares you hold. Then either:
If you sell out instead, you do not need to cancel first: Sell Full, Flatten and Flatten All cancel a working buy on that stock before they sell, so a part-filled buy cannot keep adding shares after you are out.
In SIM, the buy fills against the displayed book up to your limit. The rest rests at your limit and fills from later prints on the tape, the way a real resting order would. Ctrl+Q, any sell, or a stop-out cancels it. If nothing at all can fill within the limit, SIM refuses the order with No liquidity for ABCD (guide 6.1).
Fills keep missing? Raise the Buy offset for fast stocks. A wider offset fills more often and can fill worse; your share count is worked out before the order goes, so the risk stays the same.
Check Settings > Trading > Extended-hours fills. It is on by default. Off, Scalpel's LIVE buys are regular-hours only: Interactive Brokers holds them until 09:30. The setting only affects entries: every LIVE sell (stops, targets, scale-outs and Flatten) is always flagged for extended hours, so your exits work in the pre-market either way.
If the market is fully closed (overnight or at the weekend), the order bar is greyed out and buys wait for the session (guide 13.13).
A sell at your own price (such as 1/2 Ask or Mid) keeps working at that price until buyers come up to it. You do not have to cancel it to get out: press another sell key, or Flatten All, and Scalpel cancels the working sell and sends one order for everything you still hold, at the lower of the two prices. It never sells more shares than you hold.
Press Esc or click Flatten All in the header. In LIVE it prices about 1% under the bid, so the whole position normally clears in one press. It flattens every desk that holds a position, not just this one.
The old sell shows Cancelled and the new one Filled. Still Working? The bid has dropped away: press Esc again, or work it in TWS.
In SIM, a full exit at the bid that only part fills retries by itself as new bids arrive.
Scalpel watches your stop itself. When a trade prints through it, Scalpel sends a sell limit 5 cents under that last trade, flagged for extended hours so it is accepted pre-market. In a fast drop the price can fall through that limit before the order fills. In LIVE, Scalpel keeps working that exit for you:
Take-profit and catastrophe exits are worked the same way. In SIM, a stop-out fills at the price that crossed the stop or the bid, whichever is worse, less your SIM slippage. Why stops work this way, and what that means before the open, is in guide 5.5 and guide 5.1.