Skip to content
Cirrus home
Sign in

API reference

Every operation, grouped by what you want to do. New here? Start with Getting started.

Orders

Place, modify and cancel orders in one or many accounts, and estimate margin first.

Bracket and cover orders

Orders the broker protects with its own stop-loss and target.

Positions and portfolio

Read positions, holdings, trades and funds; exit or convert a position.

Triggers

Alerts, stop-loss, targets, entries, ladders and loss limits the server watches tick by tick.

Protection (classic triggers)

The first trigger API: protect one position with a stop-loss, target and trail.

GTT orders

Good-till-triggered orders the broker holds for you.

Risk limits

Your overall daily loss limit and exposure cap for automated strategies.

Backtests

Run a strategy version over past days and read its trades.

Deployments

Run a strategy on paper or live accounts, then pause, stop or take it live.

Browse, copy, buy and publish strategy templates.

Strategy builder

What a strategy can use, ready-made templates, and checks before you save or deploy.

Automated strategies

Write, check, version and share strategy documents.

Strategy P&L

Today's positions and P&L grouped by the strategy tag on your orders.

Accounts and profile

Your linked broker accounts and who the credential belongs to.

Instruments

Find the instrument token to trade, its lot size and expiries.

Activity log

Everything that happened on your accounts, in plain English.

Live stream

One WebSocket with your orders and portfolio as they change.

Webhooks

Signed HTTPS calls to your server when orders, trades or positions change.

Notifications

Telegram and in-app notifications, and which events go where.

Signal URLs

Secret URLs that turn TradingView, Chartink or Kuberhunt alerts into orders.

Watchlists

Your stock lists; a stock strategy can run on one.

API keys

Create and revoke the keys your code uses.

Partner apps (OAuth)

Apps that act for other users: register, exchange tokens, disconnect.

API description

This API as an OpenAPI document, for code generators and tools.