longbridge/longbridge-terminal
AI-native CLI for the Longbridge trading platform with real-time market data, portfolio, and trading...
What it solves
Longbridge Terminal provides a command-line interface (CLI) and a full-screen terminal user interface (TUI) for the Longbridge trading platform. It eliminates the need for a graphical user interface for traders and developers who want to access real-time market data, manage portfolios, and execute trades directly from their terminal or via scripts.
How it works
The tool acts as a wrapper around the Longbridge OpenAPI, providing a comprehensive set of commands to interact with every endpoint. It uses OAuth 2.0 for authentication and automatically detects the optimal API access point (global or China Mainland) based on the user's location to minimize latency. For automation, it supports JSON output and provides specific flags (like --limit as an alias for --count) to ensure compatibility with AI agents.
Who it’s for
- Traders who prefer terminal-based workflows and interactive monitoring.
- Developers building trading scripts or automated strategies.
- AI Agent creators who need a structured, machine-readable way to call trading and market data tools.
Highlights
- Comprehensive Market Data: Access to real-time quotes, Level 2 order book depth, K-lines, and financial reports.
- AI-Native Design: Built-in support for AI agent tool-calling with JSON formatting and specific parameter aliases.
- Trading Capabilities: Full support for order submission, modification, cancellation, and execution history.
- Advanced Financial Analysis: Tools for calculating financial indexes (PE, PB, EPS), tracking capital flow, and analyzing institutional ratings.
- Integrated AI Agents: Ability to chat with platform AI agents and manage AI workspaces directly from the CLI.
相关
- 项目
- 项目
- 项目
- 项目
- 项目