ChartnautDocs

Build an app

An app is a page of your own in Tools → Apps: a monthly review, a ranking of your playbooks, a watchlist board. It shows whatever it was built to show, across all your data, where a view shows one trade, day or report at a time. Build your first app walks through one from start to finish.

Free builds 5 apps and Pro 15. The agent builds it, on AI credits or your own AI subscription.

Ask the agent

  1. Open Agent at the top of the sidebar.

  2. Describe the page you want to open each morning, for example: Build me a monthly review comparing this month's expectancy and drawdown with the last three months.

  3. If the agent sends a Plan proposal card, read it and click Approve.

  4. When the agent finishes, a Result card marked App appears. Click Open to see the app beside the chat.

  5. Check a number or two against what you know, ask for changes in the chat, then click Accept.

Approvals explains each card.

Or start from Tools → Apps

  1. Open Tools → Apps and click New app. The page asks What should this app show?, with Suggested apps such as Playbook ranking and Drawdown recovery underneath.

  2. Type your description, or pick a suggestion, and press Enter.

The new app page
The new app page with its Suggested apps.

The app builder opens with your description sent to its agent. To write the code by hand instead, click Build it yourself under the suggestions, give the app a name and click Create. It starts from a working skeleton you edit.

The builder

The chat is on the left and the app on the right, in four tabs:

Tab

What it shows

App

The app drawn on your real data

Code

The files the agent writes. You never have to edit them

Details

Warnings, what the app can change, and what it has collected

Logs

How each panel's numbers were worked out, step by step

Run draws the app from the code as it stands, unsaved edits included. Publish compiles it, checks what it references and stores a new version; the dialog ends on Published version N. The agent publishes as the last step of a build once its checks pass, so press Publish yourself after editing Code. The builder saves as you go.

The builders' agents covers what the chat can do.

Reference data in an app

An app can show the same reference data your scripts read: the economic calendar, rates and yields, options levels and option chains. Ask for it in plain words, such as A card with today's SP500 call wall, put wall and gamma flip or A list of next week's high-importance US and euro-area releases.

In the Code tab the agent reads it with reference, using the same filters as dataset(...) except that an app names its instrument:

import { reference } from "@canvas/data";

export const levels = reference("options.eod.levels", {
  where: { instrument: "SP500", view: "combined" },
  lookback: "5d",
});

Each row is shown as it stood when you opened the app, so a forecast revised later or tomorrow's levels never appear early. Reference data refreshes every five minutes whatever the app's refresh setting. Each person who opens the app needs the plan for that dataset, listed on Datasets by plan: below it, the panel says which plan it needs and the rest of the app still works.

The same data also works as lines on a chart and inside reports. Ask for things like SP500 15-minute returns grouped by gamma regime or How often price touched the call wall within an hour of a high-importance release. The agent attaches the dataset to the chart's timeline:

const sp = timeline.market({ id: "sp", tf: "15m", range: last("120d") });
const L = sp.attachReference(levels);
export const callWall = L.last.callWall;

Every bar reads the value that was published before that bar closed, the same value an indicator reading the dataset plots on that bar. A bar before the data begins is blank, never zero.

Your trades can carry it too. Ask for My win rate by gamma regime at entry, per playbook or Trades entered within an hour of a high-importance release. Each trade reads the data as it stood at its own entry, so a trade at 9:49 New York sees the previous day's levels and one at 9:51 sees that morning's. Fills, orders, definition events, sessions and instruments work the same way, each at its own moment.

Two more shapes cover the questions traders ask most:

  • Weeks and months. High-importance releases and options expiries per week counts what fell inside each week and marks the third-Friday expiry weeks.

  • Event studies. How SP500 moves in the two hours after CPI, split by gamma regime lines every release up on one axis, starting from the release bar, using the levels published before each release.

Using an app

Click its row in Tools → Apps to open it. The header has Refresh to redraw it with current data, Edit to go back to the builder, and Data for what the app has collected. The row's label shows how it refreshes: Manual, Live, or an interval such as Every 5m.

The row's menu holds Open app, Open editor, Clone, Rename and Archive.

An app's menu in Tools → Apps
An app's row menu in Tools → Apps.

Sharing it

Each app starts Private, seen only by you. The visibility control on its row switches it to Unlisted, for anyone with the link, or Public, to list it in Community. People who add it see their own data in it, never yours. Community library covers publishing, and What views and apps can see and change covers what an app can reach.