Crates.io | xtp |
lib.rs | xtp |
version | 0.1.0-alpha.4 |
source | src |
created_at | 2019-12-29 07:39:17.558609 |
updated_at | 2020-01-19 04:47:32.672674 |
description | A Rust binding for XTP SDK (https://xtp.zts.com.cn) |
homepage | |
repository | https://github.com/dovahcrow/xtp-rs |
max_upload_size | |
id | 193180 |
size | 302,917 |
xtp
is a Rust binding for the XTP SDK,
which is an interface for trading on the Chinese stock market.
All APIs are implemented but are partially tested/documented. USE AT YOUR OWN RISK!
This crate depends on libxtpquoteapi
and libxtptraderapi
from the bundled XTP SDK. Please install them first.
(The Installation here means adding the path to the correponding libs to LD_LIBRARY
on linux, or %PATH%
on windows.)
The version of the installed lib should be same as the one in the bundled sdk in case of incompatibility.
Only 64 bit of the SDK is implemented.
For windows users, please install 64bit rust compiler and llvm (required by rust-bindgen).
Please check out the examples folder for detail usage.