MarketSense

A stock research app with fewer concepts. Built for people and for agents.
MY ROLE
Product designer, working with the developer
FOCUS
Research app UX, consistency at scale, and agent experience
EVIDENCE
A working Mac app, its user guide and its command line
MarketSense board: a watchlist, chart and financial statement all following one ticker.

01 / Overview

A research app that got simpler as it grew.

MarketSense is a Mac app for researching Vietnamese stocks. I helped its developer design it for the commercial market. Only once it was fully built did we learn that a licence to sell Vietnamese trading data costs 300 million VND a year (about US$11,500), so we dropped that plan.

You build a board out of small windows called widgets, pick one stock, and every widget shows that company. There are 11 widget types, and each one answers a single question:

  • Watchlist: what are prices doing right now?
  • Chart: how has the price moved?
  • Snapshot: is this stock cheap, profitable, in debt?
  • Financial Statement: what does the company earn, own and owe?
  • Financial Ratio: how do its ratios compare over time and with peers?
  • Dividend: when and how much does it pay?
  • Ownership: who owns it, and who is buying or selling?
  • News: what was published about it?
  • Alerts: tell me when a stock reaches my level.
  • Fund: what does one fund hold, and what did it change?
  • Funds: where do several funds agree?

Our rule was to remove a concept whenever we could. We designed for two users: the investor, and the AI agent that helps build and test the app.

The design question
How do you give an expert a dense, flexible research screen without making them manage it, and let an AI agent use that same screen safely?

Team: the developer, me, and an AI coding pair. Scope: 11 widget types, workspaces and tabs, Ask AI, and a command line for agents.

02 / The Challenge

Dense, fast-moving, and built on trust.

The available tools are built for trading. Vietnamese broker boards like SSI iBoard and FireAnt centre on the price board and placing orders, and professional terminals like Bloomberg give you power at the cost of setup. We wanted one screen for deep research: a company's prices, accounts, ratios, owners, dividends, news and the funds that hold it, side by side.

We set out to sell it to the many Vietnamese investors who outgrow a broker's price board but have no use for a professional terminal.

What made it hard

  • Density. A board holds 6 to 10 widgets, and a financial table runs 50 to 150 rows over 10 to 20 years.
  • Speed. New widgets arrived every week, often built in separate sessions with an AI pair. Without rules, each one drifted.
  • Trust. Layouts are the user's own work, so no update could ever lose one.
  • Local detail. Prices follow the Vietnamese colour convention (green up, red down, yellow unchanged), funds report once a month, official filings arrive as PDFs, and live prices only run on trading days from 09:00 to 15:00 Vietnam time.
A balance sheet over ten years with grouped rows and trend bars.
A balance sheet over ten years: grouped rows, a trend bar per line, growth as a quiet second line. · Click to enlarge

Constraints

One experienced user on a wide screen, who knows the domain well. Many widgets at once. Tabs that stay alive in the background. And saved layouts that must keep working after every change we made.

How we worked

  1. Mock up 2 to 4 options, with a recommendation and its trade-off.
  2. The developer picks one.
  3. Mock up the pick again in detail, then build it.
  4. Use it for real, and change course if it fails.

We added the second mockup after early screens built straight from a description came out wrong. A mockup is cheap to change; a built widget is not. The loop also made us decide what to remove, not only what to add.

03 / One Ticker

Four versions in one week, each removing a concept.

With ten widgets on a board, which stock is each one showing? Trading apps answer with link groups: Interactive Brokers, Bloomberg and SSI iBoard all let you give widgets a colour, and same-coloured widgets follow the same stock. We asked the reverse question: not “how do we link widgets?” but “why would anyone want them unlinked?”

Four versions in one week

  1. Colour link groups. Flexible, but every widget carries a colour to set and a legend to read, all for one rare case: two stocks side by side.
  2. One stock per tab, plus pins to freeze a widget on another stock. Less chrome, but every pin is an exception to remember.
  3. One stock per tab, no pins. Simple, until a watchlist click changed one tab and left the other tabs on the old stock.
  4. One stock for the whole workspace. This one stayed.

The decision

Set the stock anywhere and every stock widget on every tab follows: search with ⌘K, click a watchlist row, or press ↑ / ↓ over the watchlist. Two widgets are about many stocks, so they ignore it: the Watchlist and Alerts only highlight the current row.

MarketSense search: type a ticker and press Enter.
⌘K sets the stock for the whole workspace, and only that. · Click to enlarge

Search also finds indexes (VNINDEX, VN30) and funds, and any symbol works as the workspace ticker. A widget that cannot show it, like a financial statement for an index, says so calmly instead of showing an error. Search does one job: adding a stock to a list lives elsewhere, so every control has one purpose.

The watchlist with the current ticker highlighted.
One click on a row switches every widget in the workspace. · Click to enlarge

Trade-off
You cannot put two stocks' charts side by side. Comparison moved inside the widgets that need it, like the ratio table's Compare To. We judged that rare case not worth a concept every user pays for: colour legends, an extra click per widget, and the “why didn't this change?” moment.

Result

One action now moves the whole workspace, so no widget needs checking before you read it. The app lost three concepts: the colour legend, the pin and the per-tab stock. Saved layouts migrated on load (the selected tab's stock wins, and the old file is kept as a backup), and a hidden tab loads the new stock only when it is opened.

What we'd change

Start from the simplest rule and add a concept only when a real task needs it. Two of our four versions existed for one rare case that Compare To already covered.

04 / Layouts

A board you arrange like windows.

Research is not one job. Screening the market, reading a bank's accounts and checking a fund's monthly moves each need different widgets at different sizes. Our first mockup, a fixed page per stock with tabs inside, cost a click for every aspect and never showed two side by side.

Options

  1. A fixed page per stock with inner tabs. Familiar, but every aspect is a click away and never beside another.
  2. Pane groups that stack several widgets behind tabs in one area. Saves space, but hides widgets inside widgets.
  3. Free cards on a grid, one tab per job, and several named workspaces. Everything a job needs is on screen at once; the cost is setup.

The decision

Option 3, in three levels. A workspace (Research, Banks, Portfolio) holds tabs, a tab (FA, Market, Banks) holds cards, and every card is a widget. Every tab follows the workspace's one stock.

  • Arranging. Cards move by their title bar and resize from any edge or corner, like windows. There is no edit mode: an early “Edit layout” lock only gated moving and was one more mode to remember.
  • Reordering lists. Hold ⌘ for half a second over a watchlist or a table, then drag rows, chips or columns. The gesture arms itself, so it needs no mode either.
  • Switching. The title-bar menu opens, creates, clones, renames and deletes workspaces; ⌃⌘1…9 jump to a workspace and ⌘1…9 to a tab. ⌘T adds a tab, a double-click renames it, and deleting a tab always asks first.
  • Focusing and trying. ⤢ fills the tab with one card. Duplicate Tab copies a tab beside the original to try a variant, and Add widget places a new card in the first free spot.
A MarketSense board with tabs, workspace menu, search and Add widget.
One board: tabs (1), the workspace menu (2), search (3) and Add widget (4). · Click to enlarge

What real use changed

The developer found the grid too coarse: “the smallest width step is still too much”. We went from 12 to 48 columns. On a 2,000 pt window the step fell from 166 pt to 41.5 pt, and a cell became nearly square. Columns scale with the window, so a layout keeps its proportions on any screen, and every saved card was redrawn at exactly the same place.

Layouts that are never lost

Each layout file carries a format version. Before an upgrade rewrites one, the app saves a backup beside it, and a file from a newer build opens read-only instead of being overwritten.

Trade-off
Freedom means setup, and a board can get messy. Two choices hold that in check: a new workspace starts from a useful FA tab (Watchlist, Chart, Financial Statement), and cards snap to grid columns so edges line up. What remains: with nothing hidden behind tabs, a small screen fits fewer cards.

What we'd change

Start with the fine grid. Twelve columns looked tidy in mockups but were too coarse on a real screen, and going finer later cost a file-format migration.

05 / Customisable View

From an empty tab to a working board.

Every investor reads a company differently, so the board has no fixed shape. The recording below starts on a brand-new, empty tab and ends with a working research board, without opening a settings screen or switching into an edit mode.

Building a board from an empty tab: add widgets, then drag and resize them into place.

What happens in the recording

  1. An empty tab says one thing. “Empty layout”, with a single hint to use Add widget. No sample content to delete first.
  2. One menu for every widget. Add widget lists every type in one place, from Watchlist and Chart to News and Funds. Each new card lands in the first free spot.
  3. It works before you tune it. Every new card opens on the workspace's stock (SSI here), so the Snapshot, Chart and News show the right company the moment they appear.
  4. Arrange by hand. Cards move by their title bar and resize from their edges, like windows, and snap to the 48-column grid so neighbours line up.
  5. Settle on a shape. Here the chart takes the left, the snapshot and watchlist stack on the right, and News fills the space below.

Why direct manipulation

We tried an “Edit layout” lock early on. It only gated moving, and it added a mode people had to remember to switch off. Removing it meant every card is always movable, which made accidental moves the risk to manage. The grid snap and the backup before every layout upgrade cover that.

Customising stops at the board, too. Inside each card, ⚙ opens the same settings panel for choosing rows, columns and views, and a list can be reordered by holding ⌘ over it for half a second. One way to arrange the board, one way to tune a card.

Trade-off
A blank tab asks for setup. That is why a new workspace starts from a useful FA tab (Watchlist, Chart, Financial Statement) instead of an empty one, and why Duplicate Tab exists: most new boards start as a copy of one that already works.

06 / Consistency

Learn a pattern once, use it in every widget.

In a dense app, every special case is one more thing to remember. Early on, each widget grew its own settings screen, save behaviour and reset wording. Esc closed some dialogs and not others, and not while typing. Delete dialogs carried a warning icon and a hotkey hint, louder than the action itself.

Options

  1. Let each widget design its own controls. Fast to build, and exactly how the drift began.
  2. A written style guide alone. Cheap, but a rule that lives only in a document still drifts when widgets are built in separate sessions.
  3. Shared components in the card frame, backed by written rules. More work up front; a new widget inherits the pattern instead of copying it.

Learn these once, use them in every card

  • Title bar. ⚙ ⤢ ✕ at the right, always in that order. ⚙ appears only when there are settings.
  • Settings. Every panel edits a draft and changes nothing before Save. The footer is always Reset to defaults on the left, Cancel and Save on the right. Save stays grey until something changes, and its tooltip counts the changes (“Save 4 changes”).
  • Content tabs. One control everywhere. Ctrl+Tab and Ctrl+Shift+Tab move through the tabs of the card under the pointer.
  • Esc. Closes the top dialog as Cancel, in one press, even from a text field. It never saves and never deletes, and only one app-wide dialog is open at a time.
  • Deleting. One calm dialog: a short question (“Delete FA tab?”), at most one fact line, and Cancel as the default, so Return and Esc never delete.
MarketSense settings with the shared Cancel and Save footer.
Nothing changes until Save; Esc or Cancel throws changes away. · Click to enlarge

One look for every table

Financial tables read oldest to newest, with a pinned column for the latest values. Growth sits as a quiet second line under each figure, and each row carries a small trend bar. Sorting shows as a line under the header, not a colour; there is one hover band, and an amber bar marks the current row. That keeps colour for one meaning: green up, red down, yellow unchanged. The three themes (Neutral, Blue, Muted amber) come from one token file and colour selections and buttons, never prices.

Calm by default

A board of ten widgets can fail ten ways at once. Instead of ten error states, one red banner appears above the tabs, a short outage gets a quiet retry before it says “Reconnecting…”, and ⌘R retries everything. A green dot means live data and grey means not, with the details in a tooltip. Updates download quietly and install when you quit, with a short “Updated to…” note on the next launch.

How it is kept

The card frame draws the title bar, the settings footer, the content-tab bar and the delete dialog, so a new widget gets them for free. The UI guidelines write each rule down, and automated tests scan the code for them. One shortcut list generates the menus, the Keyboard Shortcuts window and the docs, so a key is never out of date.

Trade-off
A widget cannot have its own special control: the dividend widget's “Per share | Total” had to use the same small option control as “Yearly | Quarterly”. Save is one more click for a small change, and you cannot keep Settings open beside search.

New widgets such as News and Funds arrived already speaking the language. A fix made once reached every card: when the developer hit a card's ✕ while trying to close its panel, the frame started hiding ⤢ and ✕ while a panel is open, in all widgets at once.

07 / Agent Experience

The agent is a second user, with the same doors.

MarketSense was built with an AI coding pair, and an agent that cannot see or use the app builds blind: our early screens built from a description came out wrong. Ask AI raised a second question: what should an AI inside the app be allowed to touch? We treated the agent as a second user, with three rules.

  • Same doors as a person. A command line drives the app with real clicks, key presses and scrolling, not a back door. Deleting a tab by command opens the same “are you sure?” dialog unless the agent explicitly confirms.
  • It can see its own work. The agent can screenshot the window or one widget, read each widget's contents as structured data, check which dialogs are open, and sample a pixel's colour to confirm a theme change reached the screen.
  • It practises in a sandbox. A test copy runs with throwaway data, fake offline prices and a frozen clock, so every screenshot comes out the same. It closes itself after 20 idle minutes and never beeps, and commands reach the real app only when it is named.

What the agent can do

Almost everything a person can: switch workspaces and tabs, set the stock, add, move and resize widgets, open settings, type, press keys and scroll. It can also do things a person cannot do on demand: move the frozen clock to test market hours, replay test scenarios written as files, and check the menu bar against the shortcut list in both directions.

Ask AI follows the same thinking

One panel (⌘J) instead of AI buttons on every widget. It says which widget it is reading (“About: Snapshot · FPT”) and follows the one you hover. Quick asks such as Summary sit one click away, ⌘N starts a fresh chat, chats are not kept, and ⌥⌘J moves the panel into its own window. It can only read, never change anything.

Ask AI reads what is on screen and never changes anything.

Behind the panel, the app sends that widget's data, capped at 24,000 bytes so a long table cannot flood the question, and stops after 120 seconds. An outside agent gets answers only from a fake AI in a test copy, so it can never use the real one on the real app.

Links from other apps

Other apps can open MarketSense with a marketsense:// link that sets the stock and brings up the right view, such as a company's financials or its insider trades. The widget has to be in the workspace already: a link can navigate, but it never rearranges your board.

Trade-off
Every new widget needs its commands and structured output, which is upkeep. And this design serves the agent that builds the app, not a customer's own agent: an outside agent cannot pull MarketSense's data or place an order.

08 / How It Compares

Fewer concepts than the big apps, and a different kind of AX.

MarketSense is not a broker, and all four apps below let you trade. Its edge is narrower: it is the only one where keeping widgets on the same stock needs no setup, and the only one that lets an agent work the screen itself.

Keeping widgets on one stock

  • Interactive Brokers: colour groups, picked from a chain-link icon on each window.
  • Bloomberg Terminal: named groups of components, set in Group Manager.
  • SSI iBoard: a link icon on each widget; widgets with the same colour are linked.
  • FireAnt: link groups that sync symbol, timeframe and drawings across up to 16 charts.
  • MarketSense: automatic, one stock per workspace, nothing to set up.

Arranging the screen

Interactive Brokers docks windows in one Mosaic workspace with saved layouts. Bloomberg builds Views from components you can share with colleagues. SSI iBoard offers a dashboard with templates you can duplicate, and FireAnt a grid of up to 16 charts. MarketSense uses free cards on a 48-column grid, with workspaces and tabs and no edit mode.

AI help

AI help is now the norm: Ask IBKR answers questions about your portfolio, Bloomberg adds news summaries and document Q&A, SSI has AI Market Hero, and FireAnt's Copilot reads financial reports and draws charts. What sets Ask AI apart is its scope: it always says which widget it reads, and it cannot act.

Agents

The big apps serve agents as customers for data and orders: Interactive Brokers connects accounts to ChatGPT, Grok or Claude, and SSI's MCP feeds its market data to AI agents. There they are ahead. MarketSense serves the agent that builds the app, as a user of its screen. The closest any competitor comes is a program changing which stock a colour group shows, and none of the four offers a command line for its interface that we could find.

Where the others win

  • Placing trades, which MarketSense does not do.
  • Two stocks side by side, which link groups allow.
  • Phones, the web, many markets and many users. MarketSense serves one expert on one Mac, which is what lets it stay this simple.

09 / Outcome

The design held. The business case did not.

MarketSense grew to 11 widget types, and the app got simpler as it grew. We logged 21 design decisions and removed four concepts on the way: link groups, pins, a header widget and an edit mode. Every widget shares one set of controls, and an AI agent can use and check the app the same way a person does.

The business case did not hold
We found the blocker only after the app was fully built. To sell an app that shows Vietnamese trading data, you need a data licence, and it costs 300 million VND a year (about US$11,500). For a new app with no paying users, that fixed cost was not worth the risk, so we stopped commercialisation.

The design held up. MarketSense lives on as the developer's own research tool, and every decision above would carry over if the numbers change. Most of them were made with many users in mind, and they still serve one.

What I'd take to the next project

  1. Check the business constraints first. What the data costs belongs before the first mockup, not after the last build.
  2. Start from the simplest rule. Add a concept only when a real task needs it. Two of our four ticker versions existed for one rare case that Compare To already covered.
  3. Write the rule the first time a second widget needs it. Settings, Esc and delete dialogs were each unified only after several widgets drifted apart, and each fix meant revisiting all of them.
  4. Start with the real screen. Twelve grid columns looked tidy in mockups and failed on a 2,000 pt window.
  5. Design for the agent from day one. An agent that can click, look and compare its own screenshots catches mistakes that a written description never shows.