ZCKun / xtp-for-python

Connect XTP with python.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

xtp-for-python

Supported:

  • OSX
  • Linux
  • Windows

you need:

pybind11
cmake (maybe need > 3.20+)

Build

  1. install pybind11
./vcpkg install pybind11

or installing

  1. build
mkdir build && cd build
cmake .. -DCMAKE_TOOLCHAIN_FILE=/home/x2h1z/Source/vcpkg/scripts/buildsystems/vcpkg.cmake -DPYTHON_INCLUDE_PATH="/usr/include/python3.9" -DPYTHON_LIBRARY_PATH="/usr/lib/python3.9" -DLINUX=ON
make -j 8

You can change the compile platfrom with option parameter of -DLINUX/WIN/OSX. Default LINUX.

Enjoy!

Thanks

xtp_api_python

Concat

E-Mail: zckuna@163.com

About

Connect XTP with python.


Languages

Language:C++ 57.4%Language:C 36.6%Language:Python 5.3%Language:CMake 0.7%