XLNative for Excel on Mac

Live Interactive Brokers data in Excel for Mac

XLNative streams Interactive Brokers quotes, options IV/Greeks, account values, positions, P&L, and cost basis from your local TWS or IB Gateway session directly into Excel for Mac.

Stocks ETFs Options Futures FX Crypto Indices
Quotes Account values Positions P&L Cost basis

Public beta available now. Free during beta. Current beta build expires August 15, 2026.

Runs locally on your Mac. No Windows, no VBA, no COM. Market, account, position, P&L, and cost-basis data come from your local TWS / IB Gateway session.

Public beta Live IBKR data in Excel for Mac Quotes, Greeks, IV, positions, P&L
XLNative live IBKR data demo See XLNative stream live Interactive Brokers quotes, options fields, account values, P&L, positions, and cost basis into Excel for Mac.

More than quotes

Bring portfolio data into Excel too

XLNative is not just a market-price feed. It brings account summary values, current positions, cost basis, and session P&L into Excel alongside live quotes, so your workbook can track the account and the market from the same local IBKR session.

Account discovery Find visible IBKR account IDs with XN.ACCOUNTS().
Account values Stream net liquidation, buying power, cash, margin, and liquidity fields with XN.ACCOUNT.
Positions and cost basis Use XN.POSITION, XN.COSTBASIS, and XN.POSITIONS for holdings-level workbook views.
Session P&L Track unrealized, realized, and daily P&L with XN.PNL.

Excel formulas

Live data, directly in cells

XLNative formulas update as data arrives from your local TWS or IB Gateway session. Each function is designed for a specific workbook job: market data, account discovery, account values, P&L, positions, cost basis, or a live positions table.

XN.MARKET

XN.MARKET(symbol, [field])

Streams live quotes, sizes, option IV, Greeks, and model fields for supported IBKR instruments. If field is omitted, XLNative returns last.

=XN.MARKET("AAPL")
=XN.MARKET("SPX:index","last")
=XN.MARKET("ES:future:20260813","bid")
=XN.MARKET("AAPL:call:105:20260815","askiv")

XN.ACCOUNTS

XN.ACCOUNTS([mode])

Returns the IBKR account IDs visible from the active local TWS or IB Gateway session. Use details for account metadata when IBKR provides it.

=XN.ACCOUNTS()
=XN.ACCOUNTS("details")

XN.ACCOUNT

XN.ACCOUNT(account, field)

Streams IBKR account-summary values such as NetLiquidation, BuyingPower, ExcessLiquidity, AvailableFunds, and GrossPositionValue.

=XN.ACCOUNT("U12345","NetLiquidation")
=XN.ACCOUNT(A2,"BuyingPower")
=XN.ACCOUNT("ALL","NetLiquidation")

XN.PNL

XN.PNL(account, field)

Streams session P&L from IBKR's P&L subscription. Use unrealized, realized, or daily.

=XN.PNL("U12345","unrealized")
=XN.PNL("U12345","realized")
=XN.PNL("ALL","daily")

XN.POSITION

XN.POSITION(account, symbol)

Streams the current position size for one account and symbol. Flat positions return 0.

=XN.POSITION("U12345","AAPL")
=XN.POSITION("U12345","ES:future:20260813")
=XN.POSITION("U12345","BTC:crypto")

XN.COSTBASIS

XN.COSTBASIS(account, symbol)

Streams average cost basis for the same account and symbol format used by position lookups.

=XN.COSTBASIS("U12345","AAPL")
=XN.COSTBASIS("U12345","IBM")

XN.POSITIONS

XN.POSITIONS(account)

Spills a live table of nonzero positions for a specific account, including Symbol, Position, and CostBasis columns.

=XN.POSITIONS("U12345")
=XN.POSITIONS(A2)

Market data access

Use your existing IBKR market data

XLNative connects Excel to the live data already available through your local Interactive Brokers (IBKR) TWS or IB Gateway session. If you already subscribe to market data through Interactive Brokers, XLNative can stream that data into Excel without requiring a separate real-time market-data vendor subscription.

XLNative uses the IBKR data available to your TWS / IB Gateway session. No separate real-time data subscription from XLNative is required.

  • Uses your local TWS / IB Gateway session
  • No separate real-time data subscription from XLNative
  • Supports the market-data permissions already available to your IBKR account
  • Works alongside your existing IBKR workflow
How many concurrent market-data lines can I use?

XLNative uses your existing Interactive Brokers real-time market-data allowance. Market-data lines are shared across TWS watchlists and API-connected applications, including XLNative.

In XLNative, each subscribed symbol uses one market-data line, whether it is a stock, option, future, FX pair, crypto contract, index, or CFD. Reusing the same symbol in multiple formulas, or requesting multiple fields for that symbol, does not use additional market-data lines.

After your first month of trading, IBKR provides the largest of:

  • 100 concurrent market-data lines
  • Your USD monthly commissions ÷ 8
  • Your USD equity × 100 ÷ $1,000,000 (equivalent to one line per $10,000 of equity)

Examples

Account-value dominated

An account with $2.0 million in USD equity and $400 in monthly commissions receives 200 lines:

  • Equity allowance: 200 lines
  • Commission allowance: 50 lines
  • Minimum allowance: 100 lines
Commission-dominated

An account with $1.0 million in USD equity and $2,400 in monthly commissions receives 300 lines:

  • Equity allowance: 100 lines
  • Commission allowance: 300 lines
  • Minimum allowance: 100 lines

IBKR rounds calculated allowances down to a whole number. The 100-line minimum always applies, and TWS watchlists and API requests draw from the same shared allowance.

Learn more from IBKR about market-data lines →

Features

Built for workbook-driven IBKR workflows

Live market data

Stream bid, ask, last, size, volume, and related fields directly into Excel cells.

Stocks, ETFs, options, futures, FX, crypto, and indices

Use one consistent formula style across the instruments Mac-based IBKR users track most.

Account summary values

Stream NetLiquidation, BuyingPower, ExcessLiquidity, AvailableFunds, GrossPositionValue, and related fields.

Session P&L

Display unrealized, realized, and daily P&L values from the active IBKR session.

Positions and cost basis

Track current position size and average cost basis by account and symbol as holdings change.

Live positions table

Spill all nonzero positions into a workbook table with position and cost-basis columns.

Options IV, Greeks, and model fields

Stream model IV, bid IV, ask IV, last IV, delta, gamma, theta, vega, model price, and underlying price for options.

Task pane formula tools

Use copyable examples and a symbol builder inside Excel, with engine, IB connection, active symbol, client, uptime, and beta expiration status.

Native Mac workflow

See connection status and manage the local TWS / IB Gateway connection from the Mac menu bar.

Mac workflow

Works with your local TWS or IB Gateway session

XLNative runs on your Mac alongside Excel and your existing TWS or IB Gateway setup. Sign in to Interactive Brokers as usual, enable API access, and XLNative streams the available data into Excel formulas.

  • Built for M-series Macs and the Excel for Mac desktop app
  • Uses the local TWS / IB Gateway API session
  • Works with read-only API access, which is recommended
  • Shows connection status from the Mac menu bar
  • Includes an Excel task pane with copyable formula templates, a symbol builder, and beta expiration status

Product views

Built around Excel for Mac

Connection Status product view
Connection Status
Copyable formula templates product view
Copyable formula templates
Symbol Builder product view
Symbol Builder

FAQ

Common questions

Does XLNative work on Mac?

Yes. The current beta is built for M-series Macs running the Microsoft Excel for Mac desktop app, version 16.4 or later. It connects to TWS or IB Gateway running locally.

Do I have to share my IBKR login with XLNative?

No. You sign in directly to TWS or IB Gateway as usual. XLNative automatically connects to that local API session on your Mac; Trelliq Labs does not receive your IBKR username or password. XLNative works with read-only API access, and read-only access is recommended.

Do I need a separate real-time market-data subscription?

XLNative does not sell market data. It streams the data available through your local TWS or IB Gateway session. If your IBKR account has the required market-data permissions, XLNative can make that data available in Excel without requiring a separate real-time data subscription from XLNative.

Does XLNative stream data from other providers such as massive.com?

Not at this time, but stay tuned.

Does TWS or IB Gateway need to be running?

Yes. XLNative reads data from your local TWS or IB Gateway session.

Can XLNative run without API access enabled?

You can install and open XLNative, but live Excel formulas need API access enabled in your local TWS or IB Gateway session. Without that local API connection, XLNative cannot stream IBKR data into Excel.

Does it support Windows?

No. The current beta is for M-series Macs and the Excel for Mac desktop app only.