Skip to content

Settings Reference

jayjay181818 edited this page Nov 18, 2026 · 3 revisions

Settings Reference

Settings are part of the main window. Open them with Settings… in the Stockbar menu (⌘,), the Settings item in the sidebar, or the Settings button in a popover. A segmented control at the top switches between six tabs:

General · Menu Bar · Appearance · Connections · Refresh · Advanced

The tab you last used is remembered. Defaults below are what Stockbar uses until you change a setting. The final section lists the stored key behind each setting, for people who read or script defaults.

General

Portfolio

Setting Choices Default What it does
Preferred Currency USD, GBP, EUR, JPY, CAD, AUD USD The currency totals are converted to. Positions keep their own currencies.
Measure P&L Against Net Deposits, Cost of Current Holdings Net Deposits (new in 3.8.1) What total P&L in the portfolio popover and the Overview is measured against. Net deposits are the money you paid in less what you took out, as Folync reports them; where they are not available, P&L is measured against the cost of current holdings. See Menu Bar.
Color Coding On / off On Green for gains and red for losses in the menu bar. Unchanged values stay neutral.
Market Indicators On / off Off Shows pre-market, after-hours and closed-market indicators.

Exchange Rates

Item What it shows or does
Last Updated When rates were last obtained, or "Last update failed" with the time of the last success. A refresh button beside it fetches rates now.
1 USD in … rows The rates behind converted totals, for GBP, EUR, JPY, your preferred currency and every currency you hold.

The caption says rates refresh at most every five minutes: that is the shortest gap between automatic fetches. In practice, rates from exchangerate-api.com are fetched at launch and then about once an hour, and with Folync's Exchange rates switch on they come from Folync and are checked every minute. A failed update keeps the previous time.

Updates

Setting Choices Default What it does
Version (display) The version you are running.
Update Channel Stable, Testing, Experimental Stable Which builds you are offered. See Updates and Channels.
Check Automatically On / off On in release builds Looks for a new version about once a day.
Check for Updates: Check Now Button Checks immediately. The same as Check for Updates… in the Stockbar menu. Shows when it last checked.

In a development build made from source, only the version and a note are shown: updates are off.

Menu Bar

Stock Items

Setting Choices Default What it does
Preview (display) The item as it will appear.
Display Mode Current price + % change, Current price + per-share change, Symbol + selected change, Price + selected change (Advanced), Minimal (Symbol + ↑/↓), Custom Template Current price + % change The layout of each stock item.
Change Format Percentage (%), Dollar ($), Both ($ and %), Position P&L + $ per share, Position P&L + % gain Percentage (%) Shown only for Symbol + selected change and Price + selected change (Advanced).
Custom Template Text with tokens Empty Shown only for Custom Template. Tokens: {symbol} {price} {change} {changePct} {dayPL} {currency} {arrow}. An empty template falls back to {symbol} {changePct}.
Arrow Indicators No Arrows, Simple (▲ ▼), Bold (⬆ ⬇), Emoji (🔺 🔻) No Arrows The arrow style for {arrow} and the minimal mode.
Show arrow before symbol On / off Off Shown when arrows are on.
Decimal Places 0 to 4 2 Decimals in the item.
Show currency symbols On / off On Currency symbols in the text.

Menu Bar Visibility

Setting Default What it does
Show stocks in the menu bar On Off hides every stock item.
Only with an external display Off Hides stock items while only the built-in display is in use. Disabled while stocks are hidden.

Portfolio Menu Bar

Setting Choices Default What it does
Preview (display) The item as it will appear.
Show portfolio total in the menu bar On / off Off Shows the portfolio item.
Currency USD, GBP, EUR, JPY, CAD, AUD Your Preferred Currency when first set up The currency of the total.
Day Gain Amount and Percentage, Amount, Percentage Amount and Percentage How today's change is shown.
Decimal Places 0 to 4 2 Decimals in the item.

Stock Popover

Setting Default What it does
Compare with a benchmark On Draws the S&P 500 (US listings) or FTSE 100 (London listings) behind a stock's price chart.

See Menu Bar for what each of these looks like.

Appearance

Setting Choices Default What it does
Theme System, Light, Dark System Applies to the Stockbar window and menu bar popovers.

Connections

Section What it holds Page
API Keys Financial Modeling Prep and Twelve Data keys, with Save & Test, the eye button and Remove Market Data and Python
Folync Portfolio Source HTTPS URL, client token, portfolio, Test Connection, Preview, Activate Folync, Refresh Now, supplemental data switches Folync
Broker / Portfolio Provider Enable Trading 212 (default off), environment (default Demo / Paper), account type and label, credentials, sync options, Test Connection, Preview Import, Link Matched Holdings Trading 212
Fetch Priority Order in which historical data sources are tried. Edit Order, drag, Done. Default: Yahoo Finance (yfinance), Financial Modeling Prep, Twelve Data Market Data and Python

The Trading 212 section is inactive while Folync is the authoritative source.

Refresh

Schedule

Setting Choices Default What it does
Main Refresh Interval 1 minute, 5 minutes, 15 minutes, 30 minutes, 1 hour 5 minutes How often prices refresh. A price fetched within about 90% of the interval is reused. Symbols that keep failing are retried after 1, 2, 5 and 10 minutes, then paused for an hour.
Chart Data Collection 30 seconds, 1 minute, 5 minutes, 15 minutes, 30 minutes 5 minutes How often chart history and portfolio snapshots are recorded.

While Folync is active, Folync holdings update every minute and these intervals apply to watchlist symbols and stored chart history.

Now

Button What it does
Refresh Now Refreshes prices immediately and reports the time, or the problem.
Save Chart Snapshot Records a chart snapshot now. It needs a current price for every holding, and says so if it could not save one.

Advanced

Backups

Setting Choices Default What it does
Last Backup (display) When the last backup was made, or "None yet".
Keep Backups For 7, 14, 30 or 90 days 30 days How long backups are kept. The newest five are always kept.
Back Up Now Button Makes a backup now.
Restore from Backup… Button Restores from a backup after confirmation. Disabled when there are none.
View Backups Button Shows the backup folder in Finder.

Stockbar backs up your holdings once a day. Keychain credentials are not included. See Backups, Export and Import.

Export & Import

Button What it does
Export… Saves Stockbar to one password-protected .stockbarexport file.
Import… Replaces your settings, and your portfolio if the file includes it. Stockbar relaunches afterwards.

Python

Item What it does
Interpreter The interpreter in use and its version, and where it was set.
Stockbar's Python environment Set Up to create it, Rebuild to reinstall the pinned packages.

See Market Data and Python.

Memory

Setting Default What it does
Quit Python Helper When Idle On (since 3.8.0) The Python helper that fetches prices holds 70 MB or more. On: it quits about 90 seconds after its last request and each refresh starts it again, at about a third of a second of processor time. Off: it stays running for 15 minutes after its last request. While markets are open, refreshing every minute keeps it running either way.
Roll Digits When Figures Change On (new in 3.8.0) Figures in the main window and the popovers roll to a new value. macOS keeps the digits it draws for this in memory: 6 to 10 MB when measured after the main window's figures had rolled in. Off: figures change without rolling. Memory already used may not be given back until Stockbar is restarted.

Diagnostics

Button What it does
Open Diagnostics Goes to the Diagnostics screen: view, refresh and clear the log. Credentials are redacted.
Open Data Health Goes to Data Health: price, exchange-rate and portfolio-source freshness.

Stored keys

These are the keys Stockbar stores in its defaults domain (com.stockbar). Do not edit them while Stockbar is running.

Setting Key
Preferred Currency preferredCurrency
Measure P&L Against portfolioGainBasis
Color Coding showColorCoding
Market Indicators showMarketIndicators
Update Channel updates.channel
Display Mode, Change Format, Custom Template menuBarDisplayMode, menuBarChangeFormat, menuBarCustomTemplate
Arrow Indicators, Show arrow before symbol menuBarArrowStyle, menuBarShowArrowBeforeSymbol
Decimal Places, Show currency symbols menuBarDecimalPlaces, menuBarShowCurrency
Show stocks in the menu bar hideAllMenuBarItems (inverted)
Only with an external display menuBarRequireExternalDisplayForStocks
Portfolio Menu Bar portfolioMenuBarIsEnabled, portfolioMenuBarCurrency, portfolioMenuBarDayGainFormat, portfolioMenuBarDecimalPlaces
Compare with a benchmark menu.benchmarkComparisonEnabled
Theme appearanceMode
Main Refresh Interval refreshInterval (seconds, kept between 60 and 3600)
Chart Data Collection portfolioSnapshotIntervalSeconds
Keep Backups For backupRetentionDays
Quit Python Helper When Idle pythonHelper.quitWhenIdle
Roll Digits When Figures Change figures.rollingDigits
Your own Python interpreter (no switch in Settings) pythonInterpreterPath
Last settings tab, last main window screen settings.selectedTab, mainWindow.selectedSection

The provider order is stored in the settings file ~/Library/Application Support/com.stockbar/.stockbar_config.json. Keys and credentials are in the Keychain, not in defaults.

Clone this wiki locally