The LongPort OpenAPI SDK is a powerful toolkit designed for developers and investors to build trading and quote strategy analysis tools. It provides programmatic interfaces for trading, real-time quotes, portfolio management, and real-time subscription services. This SDK supports multiple programming languages, including Rust, Python, Node.js, Java, C, and C++, making it versatile for various development environments.
The SDK is available in multiple programming languages, each with its own documentation:
Language | Documentation Link |
---|---|
Rust | Rust Docs |
Python | Python Docs |
Node.js | Node.js Docs |
Java | Java Docs |
C | C Docs |
C++ | C++ Docs |
Go | Go Repo |
MCP | MCP Implementation |
Each language-specific SDK comes with detailed installation and usage instructions in its respective documentation. For example, to install the Python SDK, you can use the following command:
pip install longport
For Node.js, you can install the SDK using npm:
npm install longport
The LongPort OpenAPI SDK is dual-licensed under the Apache License 2.0 and the MIT License. You can choose the license that best fits your needs.
Contributions to the LongPort OpenAPI SDK are welcome! Please refer to the contributing guidelines for more information on how to get started.
For any security-related issues, please refer to the security policy.
The LongPort OpenAPI SDK is maintained by the LongPort team. For more information, visit the official website: open.longportapp.com.
A big thank you to all the contributors who have helped improve the LongPort OpenAPI SDK:
The SDK is primarily written in Rust (65.4%), with significant contributions in C++ (11.2%), Java (9.3%), C (5.3%), Python (5.1%), CMake (2.9%), and JavaScript (0.8%).