# live-feed

This skill writes a script that subscribes to OpenAlgo WebSocket feeds and computes indicators on the live stream. Useful when you need a real feed instead of a backtest.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 550 installs · ★ 18
- Author: marketcalls
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/marketcalls/openalgo-indicator-skills/tree/HEAD/.claude/skills/live-feed/SKILL.md
- Updated: 2026-06-12
- HTML: https://affpapa.org/en/nevibecode/skills/live-feed

## What it does

The skill creates `{symbol}_live_feed.py` under `charts/live/`, starting from the template in its rules. Data arrives over the OpenAlgo WebSocket: an LTP, Quote or Depth subscription, a rolling tick buffer, EMA and RSI computed on it. A `multi` mode keeps a watchlist table with auto-refresh.

You need `OPENALGO_API_KEY` and a host in your environment before running anything, and the script pulls history through `client.history` to seed the buffer. No key means no subscription, so check `.env` first. Ctrl+C is handled: the script unsubscribes from every feed and closes the socket.

The `verbose` level decides what gets printed, from errors only to every data update. Arguments come in as `[symbol] [exchange] [mode]`; with none given, the skill asks for the symbol and the feed type.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add marketcalls/openalgo-indicator-skills --skill live-feed -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/live-feed/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/live-feed/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add marketcalls/openalgo-indicator-skills --skill live-feed -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/live-feed/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add marketcalls/openalgo-indicator-skills --skill live-feed -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/live-feed/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install marketcalls/openalgo-indicator-skills live-feed
```

2. **Manually: put the files in place**
- File: `.github/skills/live-feed/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add marketcalls/openalgo-indicator-skills --skill live-feed -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/marketcalls/openalgo-indicator-skills --path .claude/skills/live-feed
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/live-feed/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add marketcalls/openalgo-indicator-skills --skill live-feed -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/marketcalls/openalgo-indicator-skills/tree/HEAD/.claude/skills/live-feed/SKILL.md

## When to use it
- stream quotes over WebSocket and compute indicators on each tick
- build an L5 order book view with spread and order imbalance
- show a watchlist table across several symbols at once
- seed the indicator buffer from historical candles
- unsubscribe and disconnect cleanly on Ctrl+C

## Example prompts
- /live-feed SBIN NSE ltp
- /live-feed NIFTY NSE_INDEX quote
- /live-feed SBIN NSE depth

## Similar
- [okx-cex-market](https://affpapa.org/en/nevibecode/skills/okx-cex-market.md) — skill · 10500 installs
- [optimize](https://affpapa.org/en/nevibecode/skills/optimize.md) — skill · 2300 installs
- [strategy-compare](https://affpapa.org/en/nevibecode/skills/strategy-compare.md) — skill · 2300 installs
- [mql5-indicator-patterns](https://affpapa.org/en/nevibecode/skills/mql5-indicator-patterns.md) — skill · 497 installs
- [custom-indicators](https://affpapa.org/en/nevibecode/skills/custom-indicators.md) — skill · 454 installs
- [alva](https://affpapa.org/en/nevibecode/skills/alva.md) — skill · 800 installs

From the same set: [marketcalls/openalgo-indicator-skills](https://affpapa.org/en/nevibecode/by/marketcalls/openalgo-indicator-skills.md) — 2 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
