--- title: "CLI update! Your terminal goes from \"checking data\" to actually talking and analysing" type: "Topics" locale: "en" url: "https://longbridge.com/en/topics/43584937.md" description: "Four updates: LongbridgeAI integrated into the terminal, an optimized market-watch interface, command-line management of grid trading, and open data interfaces for custom-built programs to call." datetime: "2026-08-25T10:42:36.000Z" locales: - [en](https://longbridge.com/en/topics/43584937.md) - [zh-CN](https://longbridge.com/zh-CN/topics/43584937.md) - [zh-HK](https://longbridge.com/zh-HK/topics/43584937.md) author: "[LongbridgeAI](https://longbridge.com/en/profiles/10010333.md)" generator: "portal-rs" --- # CLI update! Your terminal goes from "checking data" to actually talking and analysing Still typing out commands line by line just to check your positions or pull up a filing? Not anymore. **Just type what you need, right in the terminal** — plain language, no more digging for the data yourself. This CLI update ships 4 new capabilities 🚀 - 🤖 **LongbridgeAI, now inside your terminal** - 📊 **A cleaner terminal watchlist view** - 📐 **Manage grid trading straight from the terminal** - 🔌 **An open data interface for your own programs to call** Been using the CLI for a while? Just type `longbridge update` in your terminal to update — the table below is a quick look at what's new. Haven't tried the CLI yet? Keep scrolling — here's what your terminal can do now. 👇 ### Everything in this update Category Command What it does AI chat `longbridge ai` Full-screen chat interface with streaming answers — charts and quotes render right in the terminal Interface upgrade `longbridge tui` Pill-style main tabs; positions and orders pages get a linked detail panel on the right; intraday chart rendering fixed Grid trading `longbridge grid` \+ 9 subcommands Manage grid strategy orders right in the terminal **Set up**: `info`, `questionnaire` **Place orders**: `submit`, `replace` **View**: `detail`, `triggers` **Manage**: `cancel`, `suspend`, `restart` Open interface `longbridge serve` A persistent, authenticated process talking JSON-RPC 2.0 over stdin/stdout: every `quote.*` / `trade.*` method, `api.get` / `api.post` for direct access to any REST endpoint, and `quote.subscribe` for real-time push ### ### Commands in action ##### `longbridge ai` — chat right in your terminal - The biggest highlight of this update: **your terminal just picked up a new trick** — one command opens a full-screen chat interface where you can talk to LongbridgeAI directly. - It doesn't just pull the data — it walks you through what it means. **Example command** `longbridge ai # opens the full-screen chat interface` Common commands are just a `/` away **Ask LongbridgeAI about markets, quotes, filings, or your portfolio** - The model and tools run server-side, so you get the same power as the web and app — the Longbridge Finance Skill, K-line data, real-time market indicators, technical signals — and it'll run Python code when the math calls for it. - Long answers render in neat, readable chunks, with charts drawn straight into the terminal — reading feels almost like the web. - Click any ticker in an answer to open its **live quote card** — latest price, the day's mini chart, and more, all at a glance. - Conversations sync everywhere: **the same account keeps terminal, web and app in real-time sync**, so you can pick up right where you left off. 👉 [Watch the terminal session](https://asciinema.org/a/1263615) * * * ##### `longbridge tui` — a sharper watchlist interface - Main tabs are now pill-shaped, so switching between them is clearer. - Positions and orders pages get a new detail panel on the right that follows the selected row — the main view and the details stay visually separate. **Example command** `longbridge tui # opens the interactive terminal interface` * * * ### More new features ##### `longbridge grid` — grid trading, run from the command line - **Grid trading** lets you set buy/sell rules within a price range and have the system execute them automatically — no manual order-by-order entry needed. The `longbridge grid` command group covers everything from setup to management; add `--dry-run` before submitting to validate the rules first, so a setup mistake doesn't turn into a bad trade. * * * ##### `longbridge serve` — plug the CLI into your own programs - Provides a real-time **data feed** for your own programs, scripts, or bots — no need to handle authentication and connections yourself. Once started, the command keeps one authenticated process running, and your program talks to it over standard input/output via JSON-RPC 2.0 for **queries** and **push subscriptions**. 👉 Check out the open-source example: [Longbridge for Omarchy](https://github.com/longbridge/omarchy-longbridge) * * * ### 🔧 How to get the latest Longbridge CLI **To update:** - Type `longbridge update` in your terminal to update. - Want the details on this update? Run `longbridge update --release-notes`, or [check the official docs](https://open.longbridge.com/docs/cli/release-notes#v0-28-0). - If you already have the Longbridge Skill installed, the CLI is ready to use automatically. **To install:** - Haven't installed it yet? Here's the fastest way to get started: - Tutorial post: [\[Install Guide\] A step-by-step walkthrough to get Longbridge Skill + CLI installed](https://longbridge.cn/zh-CN/topics/39668770?app_id=longbridge&utm_source=longbridge_app_share&share_track_id=b2789eb4-05e7-4eed-8110-8142332401c5&invite-code=NWWHLT&locale=zh-CN&community_badge=1&profile_following_followers_activities=1). - [Official docs](https://open.longbridge.com/docs/cli). * * * ### 🎁 Comment and win! **Join either way:** 1. **Share a screenshot:** post a screenshot of you using a new Longbridge CLI feature. 2. **Make a request:** comment with the CLI feature you'd most like to see added or improved. Just for joining, you'll get **288 Task Coins**, and we'll also pick 1 lucky winner at random from all valid entries for a **30-day AI Pro membership card worth SGD 25.** ⏰ Campaign period: now through 7:00 PM, 31 August 2026. Rewards will be paid out within 15 working days after the campaign ends. ### Related Stocks - [SKHY.US](https://longbridge.com/en/quote/SKHY.US.md) - [SKHYV.US](https://longbridge.com/en/quote/SKHYV.US.md) - [SK.US](https://longbridge.com/en/quote/SK.US.md) - [SKHZ.US](https://longbridge.com/en/quote/SKHZ.US.md) - [SKUU.US](https://longbridge.com/en/quote/SKUU.US.md) - [HYNX.US](https://longbridge.com/en/quote/HYNX.US.md) - [SKDD.US](https://longbridge.com/en/quote/SKDD.US.md) - [SKHL.US](https://longbridge.com/en/quote/SKHL.US.md) - [SKHU.US](https://longbridge.com/en/quote/SKHU.US.md) - [07709.HK](https://longbridge.com/en/quote/07709.HK.md) --- > **Disclaimer: This article is for reference only and does not constitute any investment advice.**