Giter Site home page Giter Site logo

openctp / vitrader Goto Github PK

View Code? Open in Web Editor NEW
115.0 7.0 56.0 31.15 MB

ViTrader(原TextTrader),命令行交易终端(股票、期货、期权),绝大部分命令与VI编辑器中相同,支持CTP、openctp、华鑫证券、中泰证券等柜台,支持Windows、Linux、MacOS等操作系统。

License: BSD 3-Clause "New" or "Revised" License

C++ 46.02% C 53.88% Makefile 0.10%
ctp stocks futures quant trader options

vitrader's Issues

请教一下,编译成功了,运行报错

root@server:/TextTrader/build/linux# ls
Makefile TextTrader TextTrader.ini thostmduserapi_se.so thosttraderapi_se.so
root@server:/TextTrader/build/linux# ./TextTrader
./TextTrader: error while loading shared libraries: thostmduserapi_se.so: cannot open shared object file: No such file or directory
root@server:/TextTrader/build/linux# cd ../../Releases/Linux/
root@server:/TextTrader/Releases/Linux# ./TextTrader
./TextTrader: error while loading shared libraries: thostmduserapi_se.so: cannot open shared object file: No such file or directory
root@server:/TextTrader/Releases/Linux#

请教,是这样运行么, 这个错误怎么解决

Ubuntu 20.04环境无法编译

报错

g++ -std=c++11 -I. -I../../CTP -I../../INIReader -L/lib64 -L../.. -o TextTrader ../../TextTrader.cpp ../../INIReader/INIReader.cpp ../../INIReader/ini.c thostmduserapi_se.so thosttraderapi_se.so -lcurses -ltinfo
/usr/bin/ld: /tmp/cc6qE3LN.o: undefined reference to symbol 'pthread_create@@GLIBC_2.2.5'
/usr/bin/ld: /lib/x86_64-linux-gnu/libpthread.so.0: error adding symbols: DSO missing from command line

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.