Mac Guide

How to Show Binance Prices in Mac Menu Bar? Status Bar Resident Settings

Display Binance account status, real-time crypto prices, order executions, and connection quality in the macOS Menu Bar. Covers built-in client components, SwiftBar/BitBar custom scripts, and API polling configurations.

There are three ways to display Binance status permanently in the macOS menu bar: first, the built-in menu bar icon of the official Binance client (enabled by default, showing a small icon in the top right that expands to show account and notifications); second, using SwiftBar/BitBar to display real-time crypto prices; and third, using xbar scripts to fetch API data. Each method has its own applicable scenarios. Get the official client from the Binance Official Website; if you also want to check status on your phone, click the Binance Official APP to download. This article provides complete steps and script examples for all three options.

I. Why Need Menu Bar Status

  • Check prices without switching apps, staying focused on your current work;
  • Order execution notifications pop up instantly, ensuring you don't miss profit-taking or stop-loss levels;
  • Connection status can be judged at a glance;
  • Multi-ticker rotation saves screen space.

Mac menu bar space is limited (especially on notched MacBook screens), so keep your content concise.

II. Option 1: Binance Client Built-in Menu Bar Icon

Enabling

It is enabled by default. If you don't see it:

  1. Open the Binance client → Settings (Command + ,);
  2. General → Menu Bar Icon;
  3. Check "Show Binance in Menu Bar."

Expand by Clicking the Menu Bar Icon

Clicking the Binance icon in the menu bar expands a small window, displaying:

  • Currently logged-in account;
  • Recent 3 notifications;
  • Total account assets (can be toggled between hidden/visible);
  • Connection status (latency in ms);
  • Quick actions: Open Client, Lock, Exit.

Toggle Individual Items

Client Settings → Menu Bar → Check/Uncheck:

  • Show Assets
  • Show Notification Dot
  • Show Latency
  • Show Simplified Price (choice of 3 tickers)

III. Option 2: SwiftBar Custom Menu Bar Scripts

SwiftBar is an open-source menu bar tool where any script output can become a menu bar display.

Installation

brew install --cask swiftbar

Or download the dmg from the SwiftBar official website.

Set Script Directory

Upon first launch, SwiftBar will ask you to select a script directory, commonly: ~/SwiftBar.

Example 1: Show Real-time BTC Price

Create a file named ~/SwiftBar/btc-price.30s.sh (where 30s in the filename indicates a 30-second refresh interval):

#!/bin/bash
price=$(curl -s 'https://api.binance.com/api/v3/ticker/price?symbol=BTCUSDT' | sed 's/.*"price":"\([0-9.]*\)".*/\1/')
echo "BTC \$${price%.*}"

After saving, run chmod +x ~/SwiftBar/btc-price.30s.sh.

Example 2: Multi-ticker Rotation

#!/bin/bash
# ~/SwiftBar/binance-ticker.15s.sh
symbols=("BTCUSDT" "ETHUSDT" "SOLUSDT" "BNBUSDT")
output=""
for s in "${symbols[@]}"; do
  p=$(curl -s "https://api.binance.com/api/v3/ticker/price?symbol=$s" | sed 's/.*"price":"\([0-9.]*\)".*/\1/')
  output+="${s/USDT/} \$${p%.*} | "
done
echo "${output% | }"

The menu bar will display: BTC $67234 | ETH $3421 | SOL $142 | BNB $542.

Example 3: 24h Change Colors

#!/bin/bash
# ~/SwiftBar/btc-24h.60s.sh
data=$(curl -s 'https://api.binance.com/api/v3/ticker/24hr?symbol=BTCUSDT')
price=$(echo "$data" | sed 's/.*"lastPrice":"\([0-9.]*\)".*/\1/')
change=$(echo "$data" | sed 's/.*"priceChangePercent":"\(-\{0,1\}[0-9.]*\)".*/\1/')
if [[ $change == -* ]]; then
  color="red"
else
  color="green"
fi
echo "BTC \$${price%.*} ${change}% | color=${color}"

IV. Option 3: BitBar / xbar (Legacy Tools)

BitBar has been superseded by SwiftBar, but if you are already using xbar (BitBar's successor), the usage is similar:

  1. Download xbar from xbarapp.com;
  2. Place scripts under ~/Library/Application Support/xbar/plugins/;
  3. Script naming requires a .Xs.sh suffix (where X is the number of seconds).

xbar starts slightly slower than SwiftBar but has a larger number of community plugins.

V. Pushing Order Executions to the Menu Bar

Poll recent orders using the Binance API and show a red dot when they change:

#!/bin/bash
# ~/SwiftBar/binance-order.30s.sh
API_KEY="Your_API_Key"
SECRET="Your_Secret"
TIMESTAMP=$(date +%s)000
PARAMS="timestamp=${TIMESTAMP}&recvWindow=5000"
SIGN=$(echo -n "$PARAMS" | openssl dgst -sha256 -hmac "$SECRET" | cut -d' ' -f2)
RESP=$(curl -s -H "X-MBX-APIKEY: $API_KEY" \
  "https://api.binance.com/api/v3/openOrders?${PARAMS}&signature=${SIGN}")
COUNT=$(echo "$RESP" | grep -o '"orderId"' | wc -l | tr -d ' ')
if [[ $COUNT -gt 0 ]]; then
  echo "🔴 $COUNT Orders"
else
  echo "✅ No Orders"
fi

Security Note: Create the API Key with read-only permissions; do not enable withdrawal permissions. Set script permissions to 600 in the directory: chmod 600 binance-order.30s.sh.

VI. Connection Quality Monitoring

Display Binance API latency:

#!/bin/bash
# ~/SwiftBar/binance-ping.10s.sh
start=$(date +%s%N)
curl -s -o /dev/null 'https://api.binance.com/api/v3/ping'
end=$(date +%s%N)
latency=$(( (end - start) / 1000000 ))
if [[ $latency -lt 100 ]]; then
  echo "✅ ${latency}ms"
elif [[ $latency -lt 300 ]]; then
  echo "⚠️ ${latency}ms"
else
  echo "❌ ${latency}ms"
fi

Refreshes every 10 seconds, making high latency visible immediately.

VII. Menu Bar Space Management

On MacBook Pro notched screens, the menu bar is only a few dozen pixels wide; if not arranged properly, it will be obscured by the notch. Recommended prioritization:

Priority Content
P0 System Native (Wi-Fi, Battery, Time)
P1 Binance Client Icon
P2 Crypto Price (1-2 tickers)
P3 Order Red Dot
P4 System Volume/Brightness
P5 Others (Collapsible to Bartender)

Use Bartender for Organization

Bartender 3/4 can collapse menu bar icons into categories:

  • Always Visible: Crypto Price + Orders
  • Collapsed Section: Binance, Dropbox, Slack
  • Press Command + Shift + B to expand

VIII. Menu Bar Differences Across macOS Versions

macOS Version Max Menu Bar Capacity Third-party Icon Support
12 Monterey 15-20 icons Full support
13 Ventura 15-20 icons Full support
14 Sonoma 12-18 icons (Notched) Full support, stricter SIP
15 Sequoia 12-18 icons Full support, requires re-auth for SwiftBar

After upgrading to Sequoia, SwiftBar needs to be re-checked in Privacy → Accessibility.

IX. Performance Impact

Menu bar scripts running curl requests every 10/30/60 seconds consume:

  • CPU: <1% (Apple Silicon), ~1-2% (Intel);
  • Memory: ~20-50MB total for scripts;
  • Network: ~1KB per request.

This will not cause a noticeable burden on the system. If Wi-Fi is unstable, adjust the interval to over 60 seconds.

X. Recommended Combination Solutions

For daily users:

  • Binance client built-in icon (shows notification dot);
  • SwiftBar: Displaying two prices (BTC/ETH).

For high-frequency traders:

  • Client icon;
  • SwiftBar multi-ticker rotation;
  • Order monitoring script;
  • Ping latency monitoring;
  • Bartender for organization.

For quant users:

  • Client icon collapsed;
  • SwiftBar: API status + account PnL;
  • Custom scripts connected to personal risk control strategies.

Frequently Asked Questions (FAQ)

Q1: What if the menu bar crypto price display has significant delay?

A: The default refresh interval is 30-60 seconds. To make it faster, change the filename suffix to .5s.sh (5 seconds). However, do not go below 5 seconds, as it may trigger API rate limits.

Q2: SwiftBar script not running on Sonoma?

A: Sonoma has stricter script permissions. Go to Privacy → Files and Folders and allow SwiftBar to access the ~/SwiftBar directory; also check SwiftBar again in Privacy → Full Disk Access.

Q3: Binance client menu bar icon disappeared?

A: It might be hidden because the menu bar is too crowded. Close some unused icons or drag the Binance icon further forward. Hold Command + drag to reorder menu bar icons.

Q4: Is it safe to put the API Key in a menu bar script?

A: As long as the API Key has read-only permissions (no trading, no withdrawals), the script file permission is set to 600 (chmod 600), and only you use the Mac, it is sufficiently safe. Do not place it in an iCloud synced directory.

Q5: Menu bar icons obscured by the notch on a MacBook?

A: Use Bartender 4 to collapse excess icons into a dropdown menu; or enable System Settings → Desktop & Dock → Automatically hide and show the menu bar, making it visible only when you hover at the top.

Want more advanced Mac tips? Check the Mac Guide category in the Tutorials.

Keep reading

Still have Binance questions? Head back to the category page for more tutorials on the same topic.

Categories

Related tutorials

How to install the Binance client on a Mac? Can M1/M2 chips be used? 2026-04-14 How to Install Binance Client on macOS Sonoma? Complete Installation Steps 2026-04-15 Intel Mac vs. M1/M2/M3/M4: Is There a Difference Running Binance? Two Generations Compared 2026-04-15 How to Fix 'Unidentified Developer' Warning for Binance on Mac 2026-04-15