77 releases

0.2.77 Oct 30, 2023
0.2.72 Sep 18, 2023
0.2.66 Jul 20, 2023
0.2.51 Mar 27, 2023
0.2.29 Jul 20, 2022

#160 in Finance

Download history 5/week @ 2024-06-11 4/week @ 2024-06-18 3/week @ 2024-06-25 71/week @ 2024-07-23 43/week @ 2024-07-30 7/week @ 2024-08-27 5/week @ 2024-09-17 136/week @ 2024-09-24

141 downloads per month
Used in 2 crates

MIT/Apache

1.5MB
32K SLoC

C++ 24K SLoC // 0.1% comments Go 7.5K SLoC // 0.0% comments Rust 1K SLoC Python 220 SLoC // 0.1% comments

LongPort OpenAPI SDK

Go project version PyPI version npm version Maven Central

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

SDK Documenation

https://longportapp.github.io/openapi-sdk

Resources

License

Licensed under either of

Dependencies

~2.5MB
~51K SLoC