Skip to main content

Taji documentation

The open source operating system for trading, built for you and your agent.

Coming from TradingView? Taji vs TradingView and Pine Script

  • 110 built-in indicators
  • 35 plugins that ship
  • 11 captured recipes
A daily candlestick chart of a made-up SPY series with volume, labelled CSV source

Get started

Brokerages and data providers

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.

Brokerages

  • Alpaca

    A US broker with a free paper account

  • Robinhood Agentic

    Your Robinhood account, reached through the tools Robinhood gives agents

  • Schwab

    Your Schwab brokerage account, reached through your own Trader API app

  • TradeStation

    A US broker for stocks, options and futures, reached with your own TradeStation API key

Data providers

  • CboeFree

    Cboe's free daily history of its indexes, with no account

  • FREDFree

    The St. Louis Fed's free economic database

  • Massive

    Market data from Massive, formerly Polygon.io

  • Robinhood Web

    Your Robinhood account's market data, read as Robinhood's website reads it once you sign in in Chrome

  • SEC EDGARFree

    The SEC's free public filings database

  • SSGAFree

    State Street's free daily holdings file of its SPDR S&P 500 ETF, 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

Advanced plugins

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.

  • Order flow: The plugin's generated futures sample, replayed
    The plugin's generated futures sample, replayed

    Order flow

    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
  • GEX: The plugin's made-up index option chains, replayed
    The plugin's made-up index option chains, replayed

    GEX

    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
  • Dark pool: The plugin's test render, on a generated sample
    The plugin's test render, on a generated sample

    Dark pool

    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.

  • Sector heatmap: The plugin's test render, on a generated sample
    The plugin's test render, on a generated sample

    Sector heatmap

    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.

What Taji can do

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.

  • Customizable

    Your desk is yours to build: every pane, layout, chart and key.

  • Extensible

    Everything Taji does beyond its core is a plugin, the chart included, and a plugin you write is driven like Taji's own.

  • Open

    Taji is free and open source, and it runs on your machine with no account, no subscription and no telemetry.

  • AI-native

    Your agent has programmatic access to every piece of data and every capability Taji has: nine MCP tools cover every route of the wire.

  • Fast

    One Rust kernel computes each figure once and serves it to every client.

  • Private and secure

    Nothing leaves your machine except toward what you link, and your agent never holds a key.

  • Your data and accounts

    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.

  • Indicators

    Taji has 106 indicators built in, and your agent writes the next one in TypeScript.

  • Automation

    Taji watches the market and carries out what you set while you do something else; it never originates a trade.

Try it

ema_cross.ts
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 };
},
});
A daily SPY chart with a blue 9-bar EMA and an orange 21-bar EMA over the candles, a triangle under each bar where the blue crosses above the orange and over each bar where it crosses belowOpen the recipe

Explore the docs

  • Get started

    Install Taji, take a first session to a chart, and connect your agent.

    11 pages
  • Plugins

    The 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 pages
  • Indicators

    Write an indicator in TypeScript, run it in the kernel and read it on a chart.

    10 pages
  • Cookbook

    Recipes: each one a short task, its full source, the picture it draws and its real output, then what to change.

    12 pages
  • Build with AI

    Give your agent the skill that teaches it to drive Taji.

    11 pages
  • API

    Taji's backend: one local HTTP and WebSocket API, the same one the window and your agent use, explorable route by route.

    4 pages
  • Understand

    Why Taji exists and how it is built.

    6 pages
  • Reference

    The configuration, the vocabulary and what each provider serves, each held by the code or a test.

    20 pages
  • Contribute

    Change Taji: what to read first, how to send a change, the checks, and the rules for docs and the window.

    7 pages

For your agent

Every page is also Markdown: add .md to its URL. Point your agent at the index, or give it the whole set in one file.

Connect your agent
Register it over MCP, see its tool calls as wire requests, what it may do, approvals, your phone.
llms.txt
The index: every page, a line each.
https://docs.taji.is/llms.txt
llms-full.txt
Every page in one file, for tools that read files rather than chats.
The page menu
Under every title: copy the page as Markdown, or open it in Claude, ChatGPT, Gemini or Grok.
The Taji skill
The reference your agent loads to drive Taji.