By Scalpel Team. , updated . 9 min read.

In short
The day trading hotkeys every scalper needs are five: buy (a limit at the ask plus a few cents), sell half and sell all (limits at the bid minus a few cents), cancel and flatten everything. Put them under one resting hand, keep buys and sells on separate rows, give the flatten key a spot you cannot hit by accident, and keep your smallest size on the easiest key. Build them in a paper account and drill until you press them without looking down.
Day trading hotkeys exist because a small-cap move gives you a second or two, and the time it takes to find a button, aim at it and click is time the price keeps moving. A good hotkey setup is short, boring and identical every day. A bad one has twenty keys, three of them dangerous, and a buy key that sits next to the flatten key.
This post is platform-neutral: the set of keys, how each one should be priced and sized, where to put them, and how to practice. Where a platform detail matters we use Interactive Brokers' TWS as the example, because that is what we build on. Scalpel is independent and not affiliated with or endorsed by Interactive Brokers.
Every key below does one job. If a key does two jobs depending on context, sooner or later it does the wrong one.
| Job | What the key sends | How it is priced | The trap |
|---|---|---|---|
| Buy | A buy for your standard size | Limit at the ask plus a small offset | A buy priced at the bid or the last sits while the stock runs |
| Sell half | A sell for half the position | Limit at the bid minus a small offset | A fixed share count goes stale when your size changes |
| Sell all | A sell for the whole position | Limit at the bid minus a small offset | On some platforms it sells a fixed count, not what you hold |
| Cancel | Cancels working orders | No price | "Cancel all" may cancel orders in other stocks too |
| Flatten | Sells every position | Aggressive limit or market | Some platforms make it a pane plus a confirmation, not one press |
That is the core. Three more earn a place once the five are automatic:
A marketable limit is a limit order priced at or through the other side of the book: a buy at the ask or above, a sell at the bid or below. It fills at once against what is there, like a market order, but it has a cap. That cap is the whole point. In a thin small-cap book a market order can sweep several levels before it stops, and you find out the price afterward.
So the buy key prices off the ask plus an offset, and the sell keys off the bid minus an offset. Worked through on a fictional ABCD:
Your fill comes from the book; the offset is only a slippage budget, the most you will pay above the ask you saw. How to set it by stock price, and whether to use cents or percent, is in our post on TWS hotkey limit price offsets.
One more reason to price everything as a limit: outside regular hours, US exchanges take limit orders only. The SEC's investor bulletin on after-hours trading notes that many brokers accept only limit orders then. A key that sends a market order is dead before 09:30 ET, which is exactly when small-cap gappers make many of their moves.
A hotkey is only as good as the size behind it. There are two common ways to size:
Most platforms only offer the first on a hotkey. TWS, for example, sizes a Buy key from your preset quantity, a fixed number, or whatever is showing on the ask (IBKR's hotkey guide calls that last one Available). Risk-based sizing then means doing the division in your head before you press. Our post on position sizing for day trading goes through it.
Whichever you use, put the smallest size on the key your finger hits most easily. If you slip, you buy less, not more. And never keep a size on a key that would hurt you if pressed twice.
A layout is good when you can find every key by feel, and the dangerous keys are hard to hit by accident. Rules we use:

Platforms limit what you can bind. TWS accepts any single key, or Ctrl or Shift with one of the 26 letters, and rejects reserved keys such as Alt (IBKR: TWS hot keys). Single keys are fastest, but a single letter fires whenever the trading window has focus, so a stray keystroke can trade. A modifier is a cheap safety catch. If you want physical separation, a small programmable keypad is an option, with trade-offs of its own.
Pressing a key is close to the fastest thing a human can do. In a study of 1,469 people, Woods and colleagues (2015, Frontiers in Human Neuroscience) measured a mean simple reaction time of 231 milliseconds, or 213 once hardware delays were taken out: see a light, press a button. A hotkey trade is that, plus the decision. A mouse trade adds moving your hand, finding the button and aiming at it, which is where most of the time goes. The numbers behind that are in our post on keyboard-only day trading.
Two honest limits:
If you trade through TWS, the five jobs map to these actions. The full walk-through, with every setting, is our pillar post on TWS hotkeys for day trading.
| Job | TWS action | Note |
|---|---|---|
| Buy | Buy | LMT, Ask plus offset, tick Transmit the order instantaneously once tested |
| Sell half | Sell with a fixed size | No one-key percentage; see TWS hotkeys to sell half |
| Sell all | Close Position | Acts on the selected position's row |
| Cancel | Cancel Contract's Orders or Cancel All Orders | The second cancels every order in TWS |
| Flatten | Close Portion of Positions at 100% | Opens a pane and asks you to confirm |
Two TWS habits matter more than any key. First, TWS hotkeys act on the selected row, not the one you are looking at, so click the stock before you press. Second, a stop can ride along with the buy key as an attached bracket, but a plain stop does not protect you in the pre-market.
IBKR's own lesson is a five-minute tour of the Hotkeys page, including the Close Portion of Positions shortcut, worth watching once before you build your set:

Every keypress that trades is an order, and some commission plans charge a minimum per order. At IBKR, the Pro Fixed plan is $0.005 a share with a $1.00 minimum per order, and Tiered starts at $0.0035 a share with a $0.35 minimum (IBKR stock commissions, checked on October 22, 2026; Tiered adds exchange and clearing fees). On Fixed, selling 200 shares in one order costs $1.00, and selling it as two 100-share halves costs $2.00, because each half hits the minimum. Small money, but worth knowing before you set a "sell a quarter" key on a 200-share position.
Hotkeys only help when your hands know them, and that happens in paper, not live. IBKR gives you a paper trading login with the same TWS; other platforms have their own simulators. Our post on paper trading covers how to make that time count.
With the platform closed, have someone call out a job ("sell half", "flatten") and press the key on a dead keyboard, until there is no pause between the word and the press.
In paper, on a liquid stock, press buy, wait for the fill, press sell all. Twenty times. Read the fill price each time against the ask you saw. This is where you find out what the keys really send.
Buy, sell half, sell all. Then buy twice and sell half. Check what is left each time. This drill finds the stale fixed-size sell key before it finds you.
Open two positions and press flatten. Time how long it takes to be flat, including any confirmation dialog.
Click into a different stock, or a text box, and press buy. See what happens. On some platforms nothing does; on others, the wrong stock is bought.
Only tick instant transmit once a key has done exactly what you expected every time in paper. Until then, let it build the order and transmit by hand.
Scalpel is a keyboard-first desktop cockpit that trades your own IBKR account through TWS or IB Gateway with the API enabled. Its hotkeys are the set above, already built: Shift+1 to Shift+4 buy four presets as marketable limits at the ask plus your buy offset (10 cents by default), Ctrl+X sells half and Ctrl+Z sells all at the bid minus your sell offset, Ctrl+Q cancels the focused desk's orders (Shift+Q on a Mac), and Esc with nothing open flattens every position. Each key acts on the focused desk and a voice confirms it.
The parts TWS leaves to you are handled at the keypress: a preset can be sized by dollar risk, so the shares are worked out from the live price and the stop the moment you fire (sizing presets); sell half is half of what you actually hold, rounded down, so it never goes stale (scale out and flatten); and no sell can exceed your position, because Scalpel is long only. Our guide video shows a full trade on the keys:

Every trading key can be rebound in Settings > Hotkeys (settings reference), and the keyboard-only workflow walks through a whole trade without the mouse. Two trade-offs to know: Scalpel's stops are watched by the app rather than resting at IBKR, so they only work while it runs with a live feed, and Esc is a fixed flatten key you cannot rebind.
Trading carries a significant risk of loss. Nothing here is financial advice.