longportapp_openapi

longportapp_openapi

by longportapp
Provides programmatic trading and quote interfaces for investors to build trading or strategy analysis tools.

LongPort OpenAPI SDK: A Comprehensive Trading and Quoting Solution

Overview

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.

Key Features

  • Trading: Create, amend, and cancel orders, and query past or current orders and transaction details.
  • Quotes: Access real-time and historical market quotes.
  • Portfolio: Real-time query of account assets, positions, and funds.
  • Real-time Subscription: Receive push notifications for order status changes and real-time quotes.

Supported Languages and Components

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

Resources

Installation and Usage

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

License

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.

Contributing

Contributions to the LongPort OpenAPI SDK are welcome! Please refer to the contributing guidelines for more information on how to get started.

Security

For any security-related issues, please refer to the security policy.

About

The LongPort OpenAPI SDK is maintained by the LongPort team. For more information, visit the official website: open.longportapp.com.

Contributors

A big thank you to all the contributors who have helped improve the LongPort OpenAPI SDK:

Languages

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%).

Features & Capabilities

Categories
mcp_server model_context_protocol rust python nodejs java c cpp trading quotes portfolio_management api_integration

Implementation Details

Stats

0 Views
169 GitHub Stars

Repository Info

longportapp Organization

Similar MCP Servers

continuedev_continue by continuedev
25049
21423
9300