https://github.com/longportapp/openapi
LongPort OpenAPI SDK Base.
https://github.com/longportapp/openapi
jni napi pyo3 rust sdk
Last synced: 20 days ago
JSON representation
LongPort OpenAPI SDK Base.
- Host: GitHub
- URL: https://github.com/longportapp/openapi
- Owner: longportapp
- License: apache-2.0
- Created: 2022-05-09T13:50:58.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2025-04-22T06:38:44.000Z (26 days ago)
- Last Synced: 2025-04-22T07:09:32.425Z (26 days ago)
- Topics: jni, napi, pyo3, rust, sdk
- Language: Rust
- Homepage: https://open.longportapp.com
- Size: 56.3 MB
- Stars: 185
- Watchers: 12
- Forks: 23
- Open Issues: 54
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE-APACHE
- Security: SECURITY.md
Awesome Lists containing this project
README
# LongPort OpenAPI SDK
[](https://crates.io/crates/longport) [](https://badge.fury.io/go/github.com%2Flongportapp%2Fopenapi-go) [](https://badge.fury.io/py/longport) [](https://badge.fury.io/js/longport) [](https://search.maven.org/artifact/io.github.longportapp/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](rust/README.md) | [Doc](https://longportapp.github.io/openapi/rust/longport/index.html) | LongPort OpenAPI for Rust `(>= 1.56.1)` |
| [Python](python/README.md) | [Doc](https://longportapp.github.io/openapi/python/index.html) | LongPort OpenAPI for Python 3 `(>= 3.7)` |
| [Node.js](nodejs/README.md) | [Doc](https://longportapp.github.io/openapi/nodejs/index.html) | LongPort OpenAPI for Node.js `(>= 10)` |
| [Java](java/README.md) | [Doc](https://longportapp.github.io/openapi/java/index.html) | LongPort OpenAPI for Java `(>= 1.8)` |
| [C](c/README.md) | [Doc](https://longportapp.github.io/openapi/c/index.html) | LongPort OpenAPI for C `(>= C99)` |
| [C++](cpp/README.md) | [Doc](https://longportapp.github.io/openapi/cpp/index.html) | LongPort OpenAPI for C++`(>= C++17)` |
| Go | | https://github.com/longportapp/openapi-go |
| [MCP](mcp/README.md) | | An MCP server implementation for LongPort OpenAPI |## SDK Documenation
https://longportapp.github.io/openapi
## Resources
- [LongPort OpenAPI](https://open.longportapp.com/en/)
- [LongPort OpenAPI Docs](https://open.longportapp.com/en/docs)## License
Licensed under either of
* Apache License, Version 2.0,([LICENSE-APACHE](./LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)
* MIT license ([LICENSE-MIT](./LICENSE-MIT) or http://opensource.org/licenses/MIT) at your option.