LongPort OpenAPI SDK
LongPort OpenAPI provides programmatic quote trading interfaces for investors with research and development capabilities and assists them to build trading or quote strategy analysis tools based on their own investment strategies. The functions fall into the following categories:
- Trading - Create, amend, cancel orders, query today’s/past orders and transaction details, etc.
- Quotes - Real-time quotes, acquisition of historical quotes, etc.
- Portfolio - Real-time query of the account assets, positions, funds
- Real-time subscription - Provides real-time quotes and push notifications for order status changes
This repo contains the following main components:
| Name | Document | Description |
|-----------------------------|-----------------------------------------------------------------------|---------------------------------------------------|
| Rust | Doc | LongPort OpenAPI for Rust (>= 1.56.1)
|
| Python | Doc | LongPort OpenAPI for Python 3 (>= 3.7)
|
| Node.js | Doc | LongPort OpenAPI for Node.js (>= 10)
|
| Java | Doc | LongPort OpenAPI for Java (>= 1.8)
|
| C | Doc | LongPort OpenAPI for C (>= C99)
|
| C++ | Doc | LongPort OpenAPI for C++(>= C++17)
|
| Go | | https://github.com/longportapp/openapi-go |
| MCP | | An MCP server implementation for LongPort OpenAPI |
SDK Documenation
https://longportapp.github.io/openapi
Resources
License
Licensed under either of
- Apache License, Version 2.0,(LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT) at your option.
Openapi
Project Details
- longportapp/openapi
- Apache License 2.0
Categories
Recomended MCP Servers
MCP implementation of Claude Code capabilities and more
MCP for Replicate Flux Model - A powerful tool for generating customized images and SVG assets that match...
MCP-Server for SAP ABAP wrapping abap-adt-api
MCP server for interacting with Prometheus
This is MCP server for Claude that gives it terminal control, file system search and diff file editing...
MCP Server integrating MCP Clients with Stability AI-powered image manipulation functionalities: generate, edit, upscale, and more.
This is a MCP (Model Context Protocol) server that you can use with Cline through Visual Studio Code...
A Model Context Protocol (MCP) server that helps large language models index, search, and analyze code repositories with...
This MCP server provides browser automation capabilities through Puppeteer, allowing interaction with both new browser instances and existing...