marketcalls

Openalgo CLI — Data skill for Claude Code

Data community

Agent-first CLI for the OpenAlgo trading platform API (orders, positions, market data, options, strategies, streaming).

How to install Openalgo CLI

This entry records only its repository, not the path inside it, so there is no exact command to give. Open marketcalls/openalgo-cli and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Openalgo CLI does

Agent-first CLI for the OpenAlgo trading platform API (orders, positions, market data, options, strategies, streaming).

Alternatives in Data

  • Skill Content Pipeline — Extract patterns and anatomy from URLs — use to reverse-engineer content strategies from live pages 2.8k ★
  • Azure Event Hub .net — High-throughput event streaming 1.8k ★
  • Global Stock Data — US stock market data for AI coding assistants — zero-auth, official sources 1.5k ★

README

OpenAlgo CLI

![OpenAlgo CLI](docs/images/00-cover.png)

Tutorial: [OpenAlgo CLI: Trade, Stream and Automate Your Broker from the Terminal](https://blog.openalgo.in/openalgo-cli-trade-stream-and-automate-your-broker-from-the-terminal-39b780228004) | Docs: [docs.openalgo.in](https://docs.openalgo.in)

CLI for the [OpenAlgo](https://github.com/marketcalls/openalgo) trading platform API. Place and manage orders, read positions, funds and holdings, pull market data, work with option chains and Greeks, run strategies, and stream live quotes from the command line.

OpenAlgo is a self-hosted, broker-agnostic algorithmic trading platform for Indian markets. One OpenAlgo server connects to your broker and exposes a single REST and WebSocket API with a common symbol format across NSE, BSE, NFO, BFO, CDS, BCD, MCX and more. This CLI talks to your own OpenAlgo server over HTTP. Server documentation lives at [docs.openalgo.in](https://docs.openalgo.in).

[!WARNING] **Alpha Preview** - This CLI is under active development. Commands, flags, and output formats may change or be removed without notice between releases. Do not depend on current behavior in production workflows.

Major Use Cases

  1. AI agent harnesses. Give an agent (Claude Code, Codex, a Claude Agent SDK or any tool-calling harness) a shell tool and this CLI, and it can read positions, funds and quotes, reason about them, and place or manage orders. Every command returns JSON, errors are structured JSON with exit codes, --help-all and --schema let the agent discover the surface at runtime, and the bundled agent skill teaches it the tool.
  2. Human-in-the-loop execution. An agent or script proposes an order with --dry-run, a human or policy layer approves the exact request body, and the same body is sent.
  3. Scheduled automation. Cron jobs, CI or task schedulers square off positions, snapshot P&L, or alert on rejected orders with a few lines of shell: `o