Scalpel
FeaturesCockpitPricingGuidesBlogSign inDownloadBuy for $299
All guides
1.Getting started
  • Install Scalpel on Windows
  • Install Scalpel on a Mac
  • Activate your Scalpel licence
  • Connect Scalpel to Interactive Brokers
  • Enable the API in TWS and IB Gateway
  • The IBKR market data you need for Level 2
  • Your first 15 minutes in SIM
  • A tour of the Scalpel cockpit
  • What Scalpel is for, and what it is not
2.Desks and layout
  • Load symbols onto desks
  • Add, remove and resize desks
  • Panel settings: Level 2, tape and chart
  • Set up Scalpel for one, two or three screens
  • Desk badges: DELAYED, NO DATA, STALE and HALTED
3.Reading the market
  • How to read Level 2 in Scalpel
  • Spot iceberg orders on Level 2
  • Read the time and sales tape
  • Hear the tape: tape sound
  • The chart: timeframes, VWAP, EMAs, MACD and delta
  • The read line and the chart read bar
  • Read the players on Level 2: venues, refills and size
4.Placing trades
  • Sizing presets: shares, dollars or risk
  • Trade a fixed dollar risk with Risk (Cents)
  • Hotkeys: the defaults and how to change them
  • Entries: marketable limits, offsets and partial fills
  • Scale out and flatten
  • The order bar and orders panel
5.Stops and targets
  • How Scalpel's stops work
  • Move your stop and target on the chart
  • Breakeven and trailing stops
  • R multiples: how Scalpel measures a trade
  • Stops in the pre-market: why they cannot sit on the book
6.SIM and LIVE
  • Paper trading with SIM
  • Switch to LIVE safely
  • Commissions: pick your IBKR plan
  • Analytics: review your trading
7.Risk controls
  • Set a daily loss limit (the kill-switch)
  • Fat-finger and max-position caps
  • Why Scalpel is long-only
8.Scanner
  • Set up the IBKR scanner
  • Scan types: momentum, running up and setups
  • Scan the pre-market
  • Shares out, short interest and the squeeze score
  • Arrange scan panels
9.Intel: borrow, dilution and catalysts
  • Turn on intel
  • Check a stock for dilution before you buy
  • Borrow, short fees and squeeze setups
  • Why is it moving? Catalyst grading
  • Every intel chip, explained
  • Warrant and offering lines on the chart
  • The dilution entry guard
10.Audio and alerts
  • Voice callouts and sounds
  • Alerts and toasts
11.Settings reference
  • Settings: Connection
  • Settings: Trading
  • Settings: Stops
  • Settings: Risk
  • Settings: Sizing
  • Settings: Appearance
  • Settings: Audio
  • Settings: Hotkeys
  • Settings: Intel
  • Settings: About
12.Licence, updates and account
  • Move your licence to a new computer
  • Updates: how Scalpel updates itself
  • Try new features early: the beta channel
  • Refunds, invoices and billing
  • Earn with the referral program
  • Get help on Discord
13.Troubleshooting
  • Scalpel says Disconnected: fix the IBKR connection
  • TWS is running but not accepting the connection
  • TWS signs out when IB Gateway starts
  • Delayed data, NO DATA or STALE, or Depth unavailable
  • A LIVE order was rejected
  • An order did not fill, or only part filled
  • Scan panels say the IBKR scanner is off or waiting
  • Licence: machine limit reached
  • Licence: Scalpel cannot reach scalpeltrade.com
  • Windows protected your PC: installing Scalpel
  • An update did not install, or Scalpel went back a version
  • The chart or app window is blank
  • The order bar is greyed out
  • No callouts or tape sound
  • Intel shows nothing or SEC filings are off
14.Tips and tricks
  • 40 Scalpel tips for faster, safer scalping
  • A pre-market routine with Scalpel
  • Trade without touching the mouse
  • Settings for a small account
  • Your first week: a SIM practice plan
  • The momentum method Scalpel is built around
15.Glossary
  • Day trading glossary
Scalpelscalpeltrade.comA keyboard-first scalping cockpit for Interactive Brokers.
ProductFeaturesCockpitPricingDownloadFAQ
ResourcesGuidesTroubleshootingGlossaryBlogCompareChangelogAccountRefer a trader
CompanyAboutFor AI agentsContactTermsPrivacyRefundsRisk

Trading involves substantial risk of loss. Scalpel is software, not investment advice. LIVE mode places real orders in your Interactive Brokers account. No warranty. Simulated or replayed results do not guarantee future results. Scalpel is independent software and is not affiliated with, endorsed by or sponsored by Interactive Brokers LLC. IBKR and TWS are trademarks of their respective owners. Figures shown on this site are demo data, not live quotes. Scalpel is sold by QUITE RIGHT LIMITED, registered in England and Wales, company number 17053815. Copyright 2026.

    All guides
    1.Getting started
    • Install Scalpel on Windows
    • Install Scalpel on a Mac
    • Activate your Scalpel licence
    • Connect Scalpel to Interactive Brokers
    • Enable the API in TWS and IB Gateway
    • The IBKR market data you need for Level 2
    • Your first 15 minutes in SIM
    • A tour of the Scalpel cockpit
    • What Scalpel is for, and what it is not
    2.Desks and layout
    • Load symbols onto desks
    • Add, remove and resize desks
    • Panel settings: Level 2, tape and chart
    • Set up Scalpel for one, two or three screens
    • Desk badges: DELAYED, NO DATA, STALE and HALTED
    3.Reading the market
    • How to read Level 2 in Scalpel
    • Spot iceberg orders on Level 2
    • Read the time and sales tape
    • Hear the tape: tape sound
    • The chart: timeframes, VWAP, EMAs, MACD and delta
    • The read line and the chart read bar
    • Read the players on Level 2: venues, refills and size
    4.Placing trades
    • Sizing presets: shares, dollars or risk
    • Trade a fixed dollar risk with Risk (Cents)
    • Hotkeys: the defaults and how to change them
    • Entries: marketable limits, offsets and partial fills
    • Scale out and flatten
    • The order bar and orders panel
    5.Stops and targets
    • How Scalpel's stops work
    • Move your stop and target on the chart
    • Breakeven and trailing stops
    • R multiples: how Scalpel measures a trade
    • Stops in the pre-market: why they cannot sit on the book
    6.SIM and LIVE
    • Paper trading with SIM
    • Switch to LIVE safely
    • Commissions: pick your IBKR plan
    • Analytics: review your trading
    7.Risk controls
    • Set a daily loss limit (the kill-switch)
    • Fat-finger and max-position caps
    • Why Scalpel is long-only
    8.Scanner
    • Set up the IBKR scanner
    • Scan types: momentum, running up and setups
    • Scan the pre-market
    • Shares out, short interest and the squeeze score
    • Arrange scan panels
    9.Intel: borrow, dilution and catalysts
    • Turn on intel
    • Check a stock for dilution before you buy
    • Borrow, short fees and squeeze setups
    • Why is it moving? Catalyst grading
    • Every intel chip, explained
    • Warrant and offering lines on the chart
    • The dilution entry guard
    10.Audio and alerts
    • Voice callouts and sounds
    • Alerts and toasts
    11.Settings reference
    • Settings: Connection
    • Settings: Trading
    • Settings: Stops
    • Settings: Risk
    • Settings: Sizing
    • Settings: Appearance
    • Settings: Audio
    • Settings: Hotkeys
    • Settings: Intel
    • Settings: About
    12.Licence, updates and account
    • Move your licence to a new computer
    • Updates: how Scalpel updates itself
    • Try new features early: the beta channel
    • Refunds, invoices and billing
    • Earn with the referral program
    • Get help on Discord
    13.Troubleshooting
    • Scalpel says Disconnected: fix the IBKR connection
    • TWS is running but not accepting the connection
    • TWS signs out when IB Gateway starts
    • Delayed data, NO DATA or STALE, or Depth unavailable
    • A LIVE order was rejected
    • An order did not fill, or only part filled
    • Scan panels say the IBKR scanner is off or waiting
    • Licence: machine limit reached
    • Licence: Scalpel cannot reach scalpeltrade.com
    • Windows protected your PC: installing Scalpel
    • An update did not install, or Scalpel went back a version
    • The chart or app window is blank
    • The order bar is greyed out
    • No callouts or tape sound
    • Intel shows nothing or SEC filings are off
    14.Tips and tricks
    • 40 Scalpel tips for faster, safer scalping
    • A pre-market routine with Scalpel
    • Trade without touching the mouse
    • Settings for a small account
    • Your first week: a SIM practice plan
    • The momentum method Scalpel is built around
    15.Glossary
    • Day trading glossary
    Guides/1. Getting started

    Guide 1.4

    Connect Scalpel to Interactive Brokers

    Beginner, 6 min read. Checked with Scalpel 1.14.0 on November 6, 2026.

    Section 1, Getting started, in 1:56. Install Scalpel, connect it to Interactive Brokers, tour the cockpit and take your first trade in SIM. Recorded in SIM with live IBKR data.

    In short

    Scalpel reaches your Interactive Brokers account through TWS or IB Gateway running and logged in on the same computer. Enable the API in that program, and make its socket port match Scalpel's (Settings > Connection > Port: 7497 by default; IB Gateway uses 4001). When they match, the IBKR pill in the bottom-left corner turns green and reads Connected. Until then, a banner under the header tells you what Scalpel found and offers a one-click fix.

    Scalpel has no data feed of its own and never asks for your IBKR password. Everything it shows (quotes, Level 2, the tape, charts, IBKR's scanner, the news on your account) and every LIVE order goes through the API socket of the IBKR program you already use. That is also why there is nothing else to pay for: no separate data feed, no charting subscription.

    Before you start

    • Scalpel installed and activated (guide 1.3).
    • TWS or IB Gateway installed from Interactive Brokers' website, and your IBKR username and two-factor device to hand.
    • The API switched on in that program (guide 1.5 has every setting).
    • A market data subscription for live US stock quotes and, for Level 2, depth (guide 1.6).

    TWS or IB Gateway: which to run

    They are the same program underneath. IB Gateway is TWS without the trading screens: it uses far less memory and serves the same API. Interactive Brokers allows one trading-platform session per username, so logging in to TWS, IB Gateway or IBKR Desktop signs the others out (after asking). That gives three ways to run:

    SetupRunGood for
    Scalpel instead of TWSIB Gateway onlyThe lightest setup; Scalpel is your only trading screen
    Scalpel alongside TWSTWS with the API onKeeping TWS's own windows; costs nothing extra
    Both fully open at onceTWS on one username, IB Gateway on a secondTwo independent logins. Add the second user in Client Portal; market data is billed per username, so it needs its own subscriptions

    Either program asks for two-factor approval on your phone at login and logs you out once a day unless you set auto-restart in its Lock and Exit settings. IB Gateway has no trading screen, but it is not unattended: it still needs those logins.

    The ports

    Each program listens on a socket port, and the number depends on the program and on whether you logged in to a live or a paper account:

    ProgramLive loginPaper login
    TWS74967497
    IB Gateway40014002

    Scalpel starts on 7497. Log in with your real username: Scalpel's own SIM mode does the paper trading, against live data, so you do not need IBKR's paper account. That means a live TWS login usually listens on 7496 while Scalpel expects 7497. Change either side, or let the banner switch Scalpel over for you (below).

    Connect

    1. 01

      Start TWS or IB Gateway and log in

      Start the program, log in and approve the login on your phone. Wait until it is fully up: TWS shows its main window, IB Gateway its status window.

    2. 02

      Enable the API

      In TWS, open the global configuration and go to API > Settings. Tick Enable ActiveX and Socket Clients, untick Read-Only API if you will ever trade LIVE, and note the Socket port. IB Gateway has the same page under Configure > Settings > API > Settings, with the socket always on. Every option is in guide 1.5.

    3. 03

      Match the port in Scalpel

      In Scalpel, open Settings (Ctrl+,), then Connection. Under IBKR TWS (stocks: market data + orders), leave Enabled ticked and Host at 127.0.0.1, and set Port to the program's socket port: 7497 or 7496 for TWS, 4001 or 4002 for IB Gateway. Click Apply. Scalpel reconnects straight away, no restart.

      Settings
      ConnectionTradingStopsRiskSizingAppearanceAudioHotkeysIntelAbout
      IBKR TWS (stocks: market data + orders)Enabled
      Host127.0.0.1Port7497
      Scalpel starts on 7497 for TWS and 4001 for IB Gateway. Host/port changes reconnect on Apply (no restart). Disabling parks the connection so it stops retrying when nothing is running. While the link is down, a banner under the header says which program is up (TWS on 7497 or 7496, IB Gateway on 4001 or 4002) and offers to switch to it or start one.
      IBKR scanner (market scans over TWS)Enabled
      CancelApply
      Settings, Connection: Host and Port, outlined. 127.0.0.1 is this computer; the port must be the one TWS or IB Gateway listens on.
      Tip

      Leave the host as 127.0.0.1, not "localhost". TWS refuses some localhost connections, and 127.0.0.1 always works for a program on the same computer.

    4. 04

      Watch the IBKR pill turn green

      The status bar along the bottom starts with the IBKR pill. It goes amber Connecting, then green Connected. Within a second or two the trader desks fill with quotes, Level 2 and the tape, the scan desk (desk 1 on a new install) starts listing movers once the IBKR scanner has results, and the voice says the link is up.

      IBKRConnectedv1.12.6 (a1b2c3d)
      The status bar when Scalpel is connected: a green dot, IBKR, Connected. The build number is on the right.

    What the IBKR pill says

    PillColourMeaning
    ConnectedGreenData and orders are flowing
    ConnectingAmberScalpel is trying; it retries by itself, every second at first and backing off to every 20 seconds
    Disconnected: and a reasonRedThe last attempt failed; the reason comes from the connection
    OffGreyYou switched the link off. Scalpel stops retrying and hides the banner

    Click the pill to switch the link off or back on. Off is handy when you close TWS on purpose for the evening; it is remembered across restarts, so switch it back on next session. If a working connection drops, you get an IB connection lost toast and a spoken warning.

    The connection banner

    While the link is down, Scalpel checks every 5 seconds which IBKR program is answering on this computer, on 7497 and 7496 for TWS and 4001 and 4002 for IB Gateway, and puts the answer in a banner under the header. There are four cases.

    The right program, on its other port. Typical for a live TWS login on 7496. Click Use port 7496: Scalpel saves the new port and connects.

    TWS is not answering on port 7497, but it is running on port 7496. Switch to it, or change the socket port in Configure > API > Settings.Use port 7496
    IBKRConnectingv1.12.6 (a1b2c3d)
    TWS is up, but on 7496. Use port 7496 switches Scalpel to it in one click.

    The other program is running. You set Scalpel up for TWS but started IB Gateway, or the other way round. Click Use IB Gateway (or Use TWS).

    TWS is not answering on port 7497, but IB Gateway is running on port 4001.Use IB Gateway
    IBKRConnectingv1.12.6 (a1b2c3d)
    Scalpel expects TWS, but IB Gateway is the one running. One click switches over.

    The program is up but will not let Scalpel in. The port answers but the API handshake fails: usually TWS is showing a window asking whether to accept the connection, or its API settings do not allow connections from this computer. Check the API settings (guide 1.5, guide 13.2).

    TWS is running on port 7497 but is not accepting the connection. In Configure > API > Settings, enable the API socket and allow Scalpel when it asks.
    IBKRConnectingv1.12.6 (a1b2c3d)
    TWS is listening on 7497 but refuses the connection: turn on the API in its settings.

    Nothing is running. If TWS or IB Gateway is installed in its usual place, the banner offers Start IB Gateway and Start TWS. Scalpel starts it; you log in, and Scalpel connects by itself.

    Neither TWS nor IB Gateway is running on this machine. Start one and log in; Scalpel connects by itself.Start IB GatewayStart TWS
    IBKRConnectingv1.12.6 (a1b2c3d)
    Neither program is running. The Start buttons appear for whichever is installed in its default location.

    The X at the end of the banner hides it until the link next drops.

    Note

    Scalpel finds TWS in C:\Jts and IB Gateway in C:\Jts\ibgateway on Windows (or a Jts folder in your user folder), and both in Applications on a Mac. Installed elsewhere, the Start buttons do not show; start the program yourself.

    What can go wrong

    • Connected, but no quotes or Level 2. The link is fine; the market data is not. See guide 1.6 and guide 13.4.
    • It connects, then drops every day. TWS and IB Gateway restart or log out daily. Set auto-restart in their Lock and Exit settings; Scalpel reconnects by itself after a restart (guide 13.1).
    • Logging in somewhere else signs you out. One session per username: logging in to TWS on another computer, or to IBKR Desktop, ends the session Scalpel uses (guide 13.3).
    This can cost you money

    Scalpel's stops are watched by Scalpel itself, not left at the broker. While the link is down, a LIVE position's stop cannot fire. If the pill goes red while you hold a LIVE position, get TWS back or close the position in TWS. See guide 5.1.

    Questions

    What port does Scalpel use to connect to TWS?
    7497 by default. Set it in Settings, Connection, Port to whatever TWS or IB Gateway lists as its socket port: usually 7496 for a live TWS login, 7497 for paper, 4001 for IB Gateway live and 4002 for paper.
    Should I use TWS or IB Gateway with Scalpel?
    Either. IB Gateway is lighter and enough if Scalpel is your only trading screen. Use TWS if you also want its own windows. Interactive Brokers allows one session per username, so not both on one login.
    Does Scalpel need my Interactive Brokers password?
    No. You log in to TWS or IB Gateway yourself; Scalpel only talks to their API socket on your own computer.
    Can Scalpel connect to TWS on another computer?
    It is built to run on the same computer as TWS or IB Gateway, at 127.0.0.1. The connection banner and the Start buttons only look at this computer.
    Why does Scalpel keep saying Connecting?
    Nothing is answering on the port it is set to. Read the banner under the header: it says which program is running and on which port, and usually offers a one-click fix.

    Related guides

    Guide 1.5Enable the API in TWS and IB GatewayTurn on Enable ActiveX and Socket Clients in TWS or IB Gateway, set the socket port, allow 127.0.0.1 and switch off read-only API so Scalpel can trade.Guide 13.1Scalpel says Disconnected: fix the IBKR connectionScalpel cannot reach TWS or IB Gateway? Check the program is running and logged in, the API is on and the port matches, and use the banner's fix.Guide 1.6The IBKR market data you need for Level 2The IBKR market data that gives Scalpel live quotes, Level 2 and the tape, with no third-party feed to pay for, and how delayed or missing data shows.
    Previous: 1.3Activate your Scalpel licenceNext: 1.5 Enable the API in TWS and IB Gateway
    Practice in SIM, against the live book.A lifetime license, every update included, with a 7-day refund guarantee.Ask in DiscordBuy for $299
    Sign in