Install the app
Download, verify, update, find your data, uninstall.
The open source operating system for trading, built for you and your agent.
Coming from TradingView? Taji vs TradingView and Pine Script

Download, verify, update, find your data, uninstall.
A keyless first run to a chart, a taji_sim order and your agent reading it back.
A layout of your own, a chart on your own data file, a plugin's pane and your indicator, each over the wire.
Register it over MCP, see its tool calls as wire requests, what it may do, approvals, your phone.
Link the accounts you already have, or bring any data of your own as a plugin. Each page says what Taji reads from it, how to link it and how its plugin works.
A US broker with a free paper account
Interactive Brokers, reached through the Gateway or TWS you keep logged in
Your Robinhood account, reached through the tools Robinhood gives agents
Your Schwab brokerage account, reached through your own Trader API app
A US broker for stocks, options and futures, reached with your own TradeStation API key
A futures broker
Cboe's free daily history of its indexes, with no account
Pay-as-you-go market data
The St. Louis Fed's free economic database
Market data from Massive, formerly Polygon.io
Your Robinhood account's market data, read as Robinhood's website reads it once you sign in in Chrome
The SEC's free public filings database
State Street's free daily holdings file of its SPDR S&P 500 ETF, with no account
Free market data with no account
Your own data, or a vendor not listed? Any feed, file or database you can read becomes a data source: Chart your own CSV of daily bars · Add a data source · Write a compiled-in provider
Order flow, dealer gamma, dark pool prints and a sector heatmap, each a plugin you can read, fork or replace. Each draws from data a linked provider supplies.

A symbol's live book and tape as a liquidity heatmap, trade bubbles, best bid and ask lines, the latest book at the chart's right edge and a cumulative delta script.
Needs A live order book (TradeStation, Interactive Brokers, Schwab, Robinhood Agentic; Alpaca for crypto) for Liquidity, Best bid and ask and Book, and live trades (Alpaca, TradeStation, Massive, Interactive Brokers) for Prints and the cumulative delta.
Recipe: Draw an order-flow heatmap with trade bubbles and cumulative delta
Dealer gamma exposure, and the delta, vanna, charm and vega kin, computed from an option chain's own implied volatility and open interest at the underlying's spot.
Needs An option chain with implied volatility and open interest on every contract: Alpaca, TradeStation, Massive, Interactive Brokers, Schwab, Robinhood Agentic, or Yahoo Finance with no key.
Recipe: Chart dealer gamma exposure on SPY
A stock's large off-exchange prints as bubbles on the chart, their notional by price, and the off-exchange share of volume each minute.
Needs Live stock trades that say whether each was reported off-exchange: Alpaca or Massive.

An index's members as a sector heatmap: each tile sized by the member's index weight, grouped by sector and coloured by the day's change.
Needs An index's members, which the SSGA plugin serves for the S&P 500 free and with no key, and a quote for each member to colour its tile.
No fixed layout, no fixed data source, no fixed toolset, and one API under all of it that the window, your agent and your scripts share.
Your desk is yours to build: every pane, layout, chart and key.
Everything Taji does beyond its core is a plugin, the chart included, and a plugin you write is driven like Taji's own.
Taji is free and open source, and it runs on your machine with no account, no subscription and no telemetry.
Your agent has programmatic access to every piece of data and every capability Taji has: nine MCP tools cover every route of the wire.
One Rust kernel computes each figure once and serves it to every client.
Nothing leaves your machine except toward what you link, and your agent never holds a key.
Every source and account you link reads as one, any data of your own joins them as a plugin, and what you fetch is yours to keep.
Taji has 106 indicators built in, and your agent writes the next one in TypeScript.
Taji watches the market and carries out what you set while you do something else; it never originates a trade.
import { indicator, input, plot, ta } from "@taji/indicators";
export default indicator({
name: "EMA cross",
pane: "price",
inputs: { fast_length: input.int(9, { min: 1 }), slow_length: input.int(21, { min: 1 }) },
plots: {
fast: plot.line({ title: "Fast EMA", color: "#2962ff" }),
slow: plot.line({ title: "Slow EMA", color: "#ff9800" }),
up: plot.marker({ shape: "triangle-up", at: "below" }),
down: plot.marker({ shape: "triangle-down", at: "above" }),
},
setup: ({ inputs }) => ({
fast: ta.ema(inputs.fast_length),
slow: ta.ema(inputs.slow_length),
up: ta.crossUp(),
down: ta.crossDown(),
}),
next(bar, s) {
const fast = s.fast.next(bar.close);
const slow = s.slow.next(bar.close);
const up = s.up.next(fast, slow);
const down = s.down.next(fast, slow);
return { fast, slow, up: up ? bar.low : NaN, down: down ? bar.high : NaN };
},
});
Open the recipeimport { indicator, input, plot } from "@taji/indicators";
export default indicator({
name: "Prior session levels",
pane: "price",
inputs: { day: input.anchor("session") },
plots: {
prior_high: plot.step_breaks({ title: "Prior high", color: "#26a69a" }),
prior_low: plot.step_breaks({ title: "Prior low", color: "#ef5350" }),
prior_close: plot.step_breaks({ title: "Prior close", color: "#ff9800" }),
},
setup: () => ({ high: NaN, low: NaN, close: NaN, prior_high: NaN, prior_low: NaN, prior_close: NaN }),
next(bar, s, { inputs }) {
const starts = inputs.day.starts;
if (starts) {
s.prior_high = s.high;
s.prior_low = s.low;
s.prior_close = s.close;
s.high = bar.high;
s.low = bar.low;
} else {
s.high = Math.max(s.high, bar.high);
s.low = Math.min(s.low, bar.low);
}
s.close = bar.close;
const draw = (level: number) => (starts ? NaN : level);
return { prior_high: draw(s.prior_high), prior_low: draw(s.prior_low), prior_close: draw(s.prior_close) };
},
});
Open the recipeimport { indicator, input, plot, ta } from "@taji/indicators";
export default indicator({
name: "Volume spike",
pane: "own",
inputs: { multiple: input.float(2, { min: 0.1 }) },
plots: {
volume: plot.columns({ title: "Volume", unit: "shares", colors: ["#787b86", "#ff9800"] }),
},
setup: () => ({ average: ta.sma(20) }),
next(bar, s, { inputs }) {
const average = s.average.next(bar.volume);
return { volume: bar.volume, colors: { volume: bar.volume > inputs.multiple * average ? 1 : 0 } };
},
});
Open the recipeimport { card, indicator, input, plot, ta } from "@taji/indicators";
export default indicator({
name: "200-day reclaim",
pane: "own",
inputs: { length: input.int(200, { min: 1 }), hold: input.int(20, { min: 1 }) },
plots: {
ret: plot.columns({ title: "Trade return %", unit: "percent", colors: ["#f23645", "#089981"] }),
avg_return: plot.line({ title: "Average return %", unit: "percent", color: "#ff9800", width: 2 }),
zero: plot.line({ title: "Zero", unit: "percent", color: "#787b86" }),
},
setup: ({ inputs }) => ({
average: ta.sma(inputs.length),
reclaim: ta.crossUp(),
open: [] as { index: number; entry: number }[],
trades: 0,
wins: 0,
total: 0,
}),
next(bar, s, { inputs, ctx }) {
const average = s.average.next(bar.close);
if (s.reclaim.next(bar.close, average)) s.open.push({ index: ctx.index, entry: bar.close });
let ret = NaN;
if (s.open.length > 0 && ctx.index - s.open[0].index === inputs.hold) {
ret = (bar.close / s.open.shift()!.entry - 1) * 100;
s.trades += 1;
if (ret > 0) s.wins += 1;
s.total += ret;
}
const avg_return = s.trades > 0 ? s.total / s.trades : NaN;
if (ctx.last) {
card("top_left", {
caption: `buy the close above its ${inputs.length}-bar average, sell ${inputs.hold} bars later`,
values: [
{ label: "Trades", value: s.trades, unit: "count" },
{ label: "Wins", value: s.wins, unit: "count" },
{ label: "Win rate", value: (100 * s.wins) / s.trades, unit: "percent" },
{ label: "Avg return", value: avg_return, unit: "percent", signed: true },
{ label: "Bars tested", value: ctx.index + 1, unit: "count" },
],
});
}
return { ret, avg_return, zero: 0, colors: { ret: ret > 0 ? 1 : 0 } };
},
});
Open the recipeimport { indicator, input, plot, ta } from "@taji/indicators";
export default indicator({
name: "Stretch",
pane: "own",
inputs: { length: input.int(20, { min: 2 }) },
plots: { stretch: plot.columns({ title: "Stretch %" }) },
setup: ({ inputs }) => ({ avg: ta.sma(inputs.length) }),
next(bar, s) {
return { stretch: (bar.close / s.avg.next(bar.close) - 1) * 100 };
},
});
Open the recipe[
{"name": "approvals_on", "method": "POST", "route": "/verb/link/accounts/taji_sim/approvals", "body": {"on": true}},
{"name": "bars", "method": "GET", "route": "/get/bars?symbols=equity:SPY&timeframe=D&limit=1"},
{"name": "stage", "method": "POST", "route": "/verb/trading/taji_sim/draft/stage", "body": {"symbol": "equity:SPY", "side": "buy", "qty": 1, "order_type": "market", "price": "{bars.[-1].close}", "spot": "{bars.[-1].close}"}},
{"name": "place", "method": "POST", "route": "/verb/trading/taji_sim/draft/place", "body": {"rev": "{stage.rev}"}, "shot": true},
{"name": "approval", "method": "GET", "route": "/read/approvals/{place.approval}"},
{"name": "order", "method": "GET", "route": "/read/trading/taji_sim/orders?limit=1"}
]
Open the recipe[
{ "name": "bars", "method": "GET", "route": "/get/bars?symbols=equity:SPY&timeframe=D&limit=5", "meta": true }
]
{
"metadata": {
"adjustment": "raw",
"dataset_id": "bars:csv-source:SPY:D:raw",
"provider": "{\"equity:SPY\":\"csv-source\"}",
"source": "{\"equity:SPY\":\"vendor\"}",
"timeframe": "D"
},
"rows": [
{
"symbol": "SPY",
"provider": "csv-source",
"start_dt": "2026-11-27T00:00:00+00:00",
"knowable": "2026-11-27T18:00:00+00:00",
"open": 139.47,
"high": 139.58,
"low": 139.38,
"close": 139.51,
"volume": 2400000,
"vwap": null,
"trade_count": null,
"up_volume": null,
"down_volume": null
},
{
"symbol": "SPY",
"provider": "csv-source",
"start_dt": "2026-11-30T00:00:00+00:00",
"knowable": "2026-11-30T21:00:00+00:00",
"open": 139.56,
"high": 140.04,
"low": 138.89,
"close": 139.93,
"volume": 4000000,
"vwap": null,
"trade_count": null,
"up_volume": null,
"down_volume": null
},
{
"symbol": "SPY",
"provider": "csv-source",
"start_dt": "2026-12-01T00:00:00+00:00",
"knowable": "2026-12-01T21:00:00+00:00",
"open": 139.8,
"high": 140.71,
"low": 139.01,
"close": 140.42,
"volume": 4400000,
"vwap": null,
"trade_count": null,
"up_volume": null,
"down_volume": null
},
{
"symbol": "SPY",
"provider": "csv-source",
"start_dt": "2026-12-02T00:00:00+00:00",
"knowable": "2026-12-02T21:00:00+00:00",
"open": 140.84,
"high": 141.21,
"low": 140.78,
"close": 141.19,
"volume": 4500000,
"vwap": null,
"trade_count": null,
"up_volume": null,
"down_volume": null
},
{
"symbol": "SPY",
"provider": "csv-source",
"start_dt": "2026-12-03T00:00:00+00:00",
"knowable": "2026-12-03T21:00:00+00:00",
"open": 141.45,
"high": 143.43,
"low": 141.23,
"close": 142.62,
"volume": 5000000,
"vwap": null,
"trade_count": null,
"up_volume": null,
"down_volume": null
}
]
}
[
{"name": "frames", "stream": "/ws/market", "body": {"type": "stream", "id": "q1", "product": "quotes", "symbols": ["equity:SPY"], "session": "regular"}, "take": 4}
]
[
{
"header": {
"type": "hello",
"seq": 0
}
},
{
"header": {
"type": "rows",
"id": "q1",
"history": false,
"seq": 1
},
"rows": [
{
"symbol": "SPY",
"ts": "2026-12-04T18:58:42.315433+00:00",
"ts_init": 1796410722315433000,
"provider": "samplefeed",
"delayed": false,
"halted": null,
"session": null,
"bid": 142.3,
"ask": 142.32,
"last": null,
"bid_size": null,
"ask_size": null,
"book_ts": null,
"last_ts": null,
"last_exchange": null,
"last_conditions": [],
"prev_close": 142.62,
"change": null,
"change_pct": null,
"session_close": null,
"session_change": null,
"session_change_pct": null,
"market_session": "regular",
"next_session": "post",
"next_at": "2026-12-04T21:00:00+00:00"
}
]
},
{
"header": {
"type": "status",
"id": "q1",
"symbol": "equity:SPY",
"provider": "samplefeed",
"liveness": "live",
"delay_s": null,
"last_tick_utc": null,
"session": null,
"adjusted": null,
"prev_close": "142.62",
"error": null,
"code": null,
"seq": 2
}
},
{
"header": {
"type": "rows",
"id": "q1",
"history": false,
"seq": 3
},
"rows": [
{
"symbol": "SPY",
"ts": "2026-12-04T18:58:43.317684+00:00",
"ts_init": 1796410723317684000,
"provider": "samplefeed",
"delayed": false,
"halted": null,
"session": null,
"bid": 142.3,
"ask": 142.32,
"last": null,
"bid_size": null,
"ask_size": null,
"book_ts": null,
"last_ts": null,
"last_exchange": null,
"last_conditions": [],
"prev_close": 142.62,
"change": null,
"change_pct": null,
"session_close": null,
"session_change": null,
"session_change_pct": null,
"market_session": "regular",
"next_session": "post",
"next_at": "2026-12-04T21:00:00+00:00"
}
]
}
]
[
{"name": "pin", "method": "POST", "route": "/verb/desk/{desk}/chart/1/set_provider", "body": {"provider": "csv-source"}},
{"name": "bars", "method": "GET", "route": "/get/bars?symbols=equity:SPY&timeframe=D&from=2026-11-01&to=2026-12-02&provider=csv-source", "until": "length == 9", "shot": true}
]
Open the recipe[
{"name": "stream", "stream": "/ws/market", "body": {"type": "stream", "id": "gex", "product": "taji-gex.levels", "symbols": ["index:$SPX"], "lens": "gamma"}, "take": 2},
{"name": "levels", "method": "GET", "route": "/get/taji-gex.levels?symbols=index:$SPX&lens=gamma", "until": "length >= 1"},
{"name": "strikes", "method": "GET", "route": "/get/taji-gex.strikes?symbols=index:$SPX&lens=gamma", "until": "length >= 1", "shot": true}
]
Open the recipe[
{"name": "depth", "method": "GET", "route": "/get/taji-orderflow.depth?symbols=future:ESZ26", "until": "length >= 1"},
{"name": "zoom", "method": "POST", "route": "/verb/desk/{desk}/chart/set_visible_range", "body": {"from": "{depth.[0].ts_utc / 60 | floor * 60 - 300}", "to": "{depth.[0].ts_utc / 60 | floor * 60 - 60}"}},
{"name": "prints", "method": "GET", "route": "/get/taji-orderflow.prints?symbols=future:ESZ26&from={depth.[0].ts_utc + 40}&to={depth.[0].ts_utc + 70}", "until": "length >= 1"},
{"name": "delta", "method": "GET", "route": "/get/taji-orderflow.delta?symbols=future:ESZ26&from={depth.[0].ts_utc + 40}&to={depth.[0].ts_utc + 70}", "until": "length >= 1", "shot": true}
]
Open the recipeInstall Taji, take a first session to a chart, and connect your agent.
11 pagesThe deepest way to fit Taji to your workflow, and how everything beyond its core is built: add a backend, panes, chart layers or indicators of your own, and publish them from a registry you sign.
69 pagesWrite an indicator in TypeScript, run it in the kernel and read it on a chart.
10 pagesRecipes: each one a short task, its full source, the picture it draws and its real output, then what to change.
12 pagesGive your agent the skill that teaches it to drive Taji.
11 pagesTaji's backend: one local HTTP and WebSocket API, the same one the window and your agent use, explorable route by route.
4 pagesWhy Taji exists and how it is built.
6 pagesThe configuration, the vocabulary and what each provider serves, each held by the code or a test.
20 pagesChange Taji: what to read first, how to send a change, the checks, and the rules for docs and the window.
7 pagesEvery page is also Markdown: add .md to its URL. Point your agent at the index, or give it the whole set in one file.
https://docs.taji.is/llms.txt