Longbridge Terminal

Longbridge·Longbridge.LongbridgeTerminal

AI-native CLI for Longbridge Securities — real-time market data, portfolio, and trading for HK/US/A-share/SG markets

Longbridge Terminal is an AI-native command-line tool for the Longbridge Securities platform. It provides real-time market data, portfolio management, and trading across HK, US, A-share, and Singapore markets. Outputs structured JSON for AI-agent tool-calling and also ships a full-screen TUI for interactive monitoring. Key capabilities: - Real-time quotes, depth, K-lines, options, and warrants - Account balances, stock and fund positions - Order submission, modification, cancellation, and execution history - Designed for scripting, AI-agent integration, and daily trading workflows

winget install --id Longbridge.LongbridgeTerminal --exact --source winget

Latest 0.28.5·September 7, 2026

Release Notes

What's changed

CLI authentication is now OAuth-only. longbridge authenticates through longbridge auth login and no longer reads the LONGBRIDGE_APP_KEY / LONGBRIDGE_APP_SECRET / LONGBRIDGE_ACCESS_TOKEN environment variables. A stray credential in the environment — including the legacy LONGPORT_ prefix or a .env file — used to silently switch the auth mode and make longbridge ai loop the login prompt. This is now fixed (longbridge/developers#1247). • ⚠️ Breaking: if you ran the CLI headless (CI, no browser) with env-var API-key credentials, run longbridge auth login once. The token is persisted and refreshed automatically afterwards. • Exit quietly on a closed output pipe — no more broken-pipe error when output is truncated by head and similar (#316). • Fix Shift+Tab reverse-cycling of K-line sampling periods (#314).

Installer type: zip

x64E6958F07861FF8F47F816A0B494E982DC2389F8F3E2FCB106E9E3727F0260C38

Details

Homepage
https://github.com/longbridge/longbridge-terminal
License
MIT
Publisher
Longbridge
Support
https://github.com/longbridge/longbridge-terminal/issues
Moniker
longbridge

Tags

clifinancelongbridgemarket-dataportfoliorustsecuritiestradingtui

Older versions (5)

0.28.4
x644B56971452A399E74CBC4E36E079E9E854B1046884E57CF4E9E7FFC6726195B4
0.28.2
x6496A82D284EB7C65A0A2755D3897ED975E46A8D81EDE291D58499AB12303E32F2
0.27.1
x64C26AF9231843E7502674B4DD15F6AABED867486F58681B27E7A1E563B4E2831B
0.24.0
x644D12626FBF01BD07CD5BACA76F73D82A7775F055778974BFF07EFB30384109BE
0.22.1
x640D5C0BAA0D41B57803159A8B52828BBE72380834F770FE902C37FDBC33D55D6E