Scalpel
FeaturesCockpitPricingGuidesBlogSign inDownload
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
CommunityDiscordYouTube
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/11. Settings reference

    Guide 11.1

    Settings: Connection

    Intermediate, 8 min read. Checked with Scalpel 1.12.8 on October 15, 2026.

    In short

    The Connection tab decides how Scalpel reaches Interactive Brokers: Host 127.0.0.1 and Port 7497 by default, which must match the API socket port in TWS or IB Gateway. It also holds the IBKR scanner's switch and filters (by default $0.10 to $100, up 10% or more, 30 names, stocks only) and Data recording, which is off by default. Click Apply and the changes take effect at once, with no restart.

    Open Settings from the header (or press Ctrl+,, Cmd+, on a Mac). Connection is the first tab. It has three blocks: the link to TWS or IB Gateway 1, the IBKR scanner that feeds every scan panel 2, and the market-data recorder 3.

    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
    Price min0.1Price max100
    Min change %10Min volumeNo limit
    List size30Max shares out (M)No limit
    Stocks only (no ETFs)
    Runs IBKR's own market scanner on your TWS connection: top gainers, 3 minute volume spikes, halts, hot by volume and gappers, merged into one list. It is the list every scan panel runs over. Pre-market included. IBKR refreshes its scans about every 30 seconds; prices and ranking on the panel are live. Each name in the list takes one market-data line. Min volume counts shares traded today, pre-market included. Stocks only leaves out ETFs and keeps ADRs. IBKR does not allow float as a scan filter, so the cap is on shares outstanding; leave it empty unless you need it, since names IBKR has no share count for are dropped. Applies live, no restart.
    Data recording (sessions saved to disk)Enabled
    Writes every session's market data, scans and fills to the recordings folder for the replay tools, plus a liquidity log, and opens up to twelve extra TWS connections to capture the IBKR scanner's list. Off by default: it uses disk space and TWS connections most traders never need. Applies live, no restart.
    CancelApply
    123
    The Connection tab at its defaults: the TWS link 1, the IBKR scanner and its filters 2, and Data recording, switched off 3.

    IBKR TWS (stocks: market data + orders)

    Scalpel has no data feed or order route of its own. Everything, from the Level 2 book to your fills, goes through the API socket that TWS or IB Gateway opens on your computer. These three settings point Scalpel at it.

    OptionWhat it does for your tradingDefaultAllowed valuesWhen to change it
    EnabledTurns the link on or off. Off parks the connection: Scalpel stops retrying, the status bar's IBKR pill reads Off, and the connection banner is hidden. No data, no orders.OnOn or offTurn it off when you run Scalpel without TWS on purpose (reviewing Analytics in the evening), so it stops trying to connect. Clicking the IBKR pill in the status bar does the same.
    HostThe computer TWS or IB Gateway runs on.127.0.0.1An IP address or host nameAlmost never. Keep 127.0.0.1 rather than localhost: TWS does not accept the IPv6 address localhost can resolve to.
    PortThe API socket port Scalpel connects to. It must be the same number as in TWS (Configure > API > Settings > Socket port) or IB Gateway.74971 to 65535When TWS or IB Gateway uses another port. A blank or 0 port greys out Apply until you fix it.

    The settings note reads: "Scalpel starts on 7497 for TWS and 4001 for IB Gateway. Host/port changes reconnect on Apply (no restart)." When you change the host or port and click Apply, a Reconnecting to IB toast appears and the link drops and comes back on the new address. Positions and app-monitored stops stay as they are.

    Which port to use

    Interactive Brokers' programs each suggest a different socket port, depending on the program and on whether you log in to your live or paper account:

    ProgramLive loginPaper login
    TWS74967497
    IB Gateway40014002

    Whatever the program shows in its API settings is the number to type here. You do not need IBKR's paper login to practise: Scalpel's own SIM mode is a paper account that fills against the live book.

    Tip

    You rarely need to type a port at all. While the link is down, a banner under the header checks TWS on 7497 and 7496 and IB Gateway on 4001 and 4002, says which one is running, and offers Use port N or Use the other program in one click. A program on any other port is not detected: type that port here. See guide 1.4.

    IBKR scanner (market scans over TWS)

    This is the list every scan panel works from. There is no separate scanner service to pay for: it runs on the Interactive Brokers market data you already have. It runs Interactive Brokers' own market scanner on your TWS connection: top gainers, 3 minute volume spikes, halts, hot by volume and gappers, merged into one list, pre-market included. IBKR refreshes the scans about every 30 seconds; the prices, change and ranking on the panel are live, tick by tick. If you switch it off, every scan panel says "IBKR scanner is off".

    OptionWhat it does for your tradingDefaultAllowed valuesWhen to change it
    EnabledRuns the scanner. Turning it on also turns on the scan engine, so the panels come alive.OnOn or offOff only if you never use scan desks and want the market-data lines for something else.
    Price minThe cheapest stock the list keeps, in dollars.0.1 ($0.10)0 or more, decimals allowedRaise it to 1 or 2 to drop sub-dollar names if you do not trade them.
    Price maxThe most expensive stock the list keeps.100 ($100)At least Price min (a lower number is raised to it)Lower it to 20 for a classic small-cap momentum band.
    Min change %How far a stock must be up on the day, against yesterday's close, pre-market included. The scans are long only, so this is always "up at least".100 or more, decimals allowedRaise it (20 or 30) on busy days to see only the strongest movers; lower it on quiet days.
    Min volumeShares traded today, pre-market included. Drops names that show a big move on a few hundred shares.Empty (no limit)A whole number of shares, or empty for no limitSet 100000 or more if thin, untradeable names keep crowding the list.
    List sizeThe most names the list holds. Each name uses one IBKR market-data line.301 to 100Lower it if you run short of market-data lines (desks need them too); raise it on a wide-open morning.
    Max shares out (M)A cap on shares outstanding, in millions. IBKR does not allow float as a scan filter, so this is the closest stand-in.Empty (no limit)Millions, decimals allowed (7.5 is 7.5 million), or emptyLeave it empty unless you need it: names IBKR has no share count for are dropped, and those are often the fresh small caps that run.
    Stocks only (no ETFs)Leaves out ETFs, so a leveraged single-stock fund does not double up its underlying on the list. ADRs stay in, since many small-cap runners are ADRs.OnOn or offTurn it off only if you trade ETFs.

    Scanner changes apply live: the next refresh uses the new filters.

    Note

    Intel (borrow, dilution, catalysts) follows at most 40 symbols in all: the ones you hold first, then your desks, then the scanner's list. With a long list, the names at the bottom get no intel chips. See guide 9.1.

    A worked filter

    A small-cap momentum trader who only wants $1 to $20 stocks that are up 20% on real volume would set Price min 1, Price max 20, Min change % 20, Min volume 200000 and leave List size at 30. The list then holds at most 30 names and uses 30 market-data lines. Interactive Brokers accounts usually start with 100 lines, so that leaves room for your desks. Setting the filters up step by step is in guide 8.1.

    Data recording (sessions saved to disk)

    OptionWhat it does for your tradingDefaultAllowed valuesWhen to change it
    EnabledWrites every session's market data, scans and fills to the recordings folder for the replay tools, plus a liquidity log, and opens up to twelve extra TWS connections to capture the IBKR scanner's list.OffOn or offLeave it off. It uses disk space (tens of megabytes a day) and TWS connections most traders never need. It does not change anything about your trading.

    It applies live, with no restart. A new file starts each UTC day.

    Applying changes

    • Click Apply or press Enter to save and put the changes into effect: a new host or port reconnects at once, and scanner filters apply live. Cancel, the close button or Esc throws them away.
    • A number field you leave empty keeps its previous value, except Min volume and Max shares out (M), where empty means no limit.

    What can go wrong

    • The IBKR pill says Disconnected. TWS or IB Gateway is not running, its API is off, or the port here does not match. The banner under the header says which. See Scalpel says Disconnected and TWS is running but not accepting the connection.
    • Every scan panel says the scanner is off or waiting. The scanner is switched off here, or TWS is not connected yet. See guide 13: scanner off.
    • The scanner shows "No matches". Nothing passes your filters right now. Lower Min change % or Min volume, or clear Max shares out (M).

    Questions

    What port should Scalpel use for TWS?
    The one in TWS under Configure > API > Settings > Socket port. TWS suggests 7496 for a live login and 7497 for a paper login; IB Gateway suggests 4001 and 4002. Scalpel starts on 7497, and the banner offers to switch when it finds TWS or IB Gateway on one of the others.
    Do I need to restart Scalpel after changing the port?
    No. Click Apply and Scalpel reconnects to the new host and port at once, with a Reconnecting to IB toast.
    Why does the scanner have no float filter?
    Interactive Brokers does not allow float as an API scan filter. Max shares out (M) is the closest cap. Shares outstanding is never below the float, so a small number is a sure low float.
    Does data recording send my data anywhere?
    No. It writes files to the recordings folder on your own computer, for the replay tools. It is off by default.
    How many symbols can the IBKR scanner list hold?
    Up to 100, set by List size (30 by default). Each name uses one of your IBKR market-data lines.

    Related guides

    Guide 1.4Connect Scalpel to Interactive BrokersRun TWS or IB Gateway, match the API port and watch Scalpel connect. Which program to use, the ports (7497, 7496, 4001) and what the link banner tells you.Guide 8.1Set up the IBKR scannerTurn on Scalpel's IBKR scanner: switch a desk to SCAN, set price, change, volume and share filters, and know how many market data lines the list uses.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.
    Previous: 10.2Alerts and toastsNext: 11.2 Settings: Trading
    Practice in SIM, against the live book.A lifetime license, every update included, with a 7-day refund guarantee.Ask in DiscordGet Scalpel
    Sign in