文件名称:nodectp:ctp的nodejs接口
文件大小:7.98MB
文件格式:ZIP
更新时间:2024-06-04 23:33:04
nodejs nodejs-addon C++
windows #初始化c++编译环境 npm install --global --production windows-build-tools cp binding-windows32.gyp binding.gy (cp binding-windows64.gyp binding.gy) node-gyp rebuild #代码里面或者系统PATH中设置ctp的dll的路径 node ./test/mduser.js #node ./test/tduser.js linux cp binding-linux.gyp binding.gy node-gyp rebuild node ./test/mduser.js #node ./test/tduser.js
【文件预览】:
nodectp-master
----20180109_tradeapi_windows()
--------ThostFtdcUserApiDataType.h(236KB)
--------thosttraderapi.lib(4KB)
--------thosttraderapi.dll(1.89MB)
--------error.dtd(175B)
--------ThostFtdcTraderApi.h(33KB)
--------thostmduserapi.lib(4KB)
--------error.xml(16KB)
--------ThostFtdcMdApi.h(5KB)
--------ThostFtdcUserApiStruct.h(217KB)
--------thostmduserapi.dll(887KB)
----binding-windows32.gyp(385B)
----binding-windows64.gyp(391B)
----linux_api_trade_6.3.6.bak()
--------ThostFtdcUserApiDataType.h(246KB)
--------ThostFtdcTraderApi.h(33KB)
--------thosttraderapi.so(3.95MB)
--------thostmduserapi.so(1.81MB)
--------md5.txt(418B)
--------error.xml(15KB)
--------ThostFtdcMdApi.h(6KB)
--------ThostFtdcUserApiStruct.h(191KB)
--------ThostFtdcUserApiStruct.h.bak(215KB)
----package.json(331B)
----thosttraderapi.dll(2.77MB)
----data()
--------td()
--------md()
----test()
--------tduser.js(4KB)
--------mduser.js(8KB)
----v6.3.11_20180109_api_tradeapi_linux64()
--------ThostFtdcUserApiDataType.h(236KB)
--------error.dtd(175B)
--------ThostFtdcTraderApi.h(33KB)
--------thosttraderapi.so(4.49MB)
--------thostmduserapi.so(1.93MB)
--------error.xml(16KB)
--------ThostFtdcMdApi.h(5KB)
--------ThostFtdcUserApiStruct.h(217KB)
----Dockerfile(252B)
----package-lock.json(40KB)
----src()
--------WrapMd.h(5KB)
--------ctp_node.h(473KB)
--------ThostFtdcMdSpiI.cpp(8KB)
--------ThostFtdcTraderSpiI.cpp(51KB)
--------ThostFtdcMdSpiI.h(5KB)
--------ThostFtdcTraderSpiI.h(42KB)
--------WrapTd.h(32KB)
--------shifctp.cpp(768B)
--------WrapTd.cpp(73KB)
--------comm.h(221B)
--------WrapMd.cpp(32KB)
--------build()
----makefile(107B)
----docker-compose.yml(276B)
----.gitignore(32B)
----binding-linux.gyp(439B)
----README.md(404B)
----thostmduserapi.dll(1.02MB)
----20180109_tradeapi64_windows()
--------ThostFtdcUserApiDataType.h(236KB)
--------thosttraderapi.lib(4KB)
--------thosttraderapi.dll(2.77MB)
--------error.dtd(175B)
--------ThostFtdcTraderApi.h(33KB)
--------thostmduserapi.lib(4KB)
--------error.xml(16KB)
--------ThostFtdcMdApi.h(5KB)
--------ThostFtdcUserApiStruct.h(217KB)
--------thostmduserapi.dll(1.02MB)
----binding.gyp(770B)