期货CTP接口数据接收例子

时间:2018-08-13 07:51:04
【文件属性】:
文件名称:期货CTP接口数据接收例子
文件大小:19.74MB
文件格式:ZIP
更新时间:2018-08-13 07:51:04
ctp 数据 行情接收 期货 上期 利用期货ctp接口开发的数据接收例子。这样的例子网上有很多,但是大部分都用不了。很多都有错误编译不通过。这个是我可以完整编译过的全部代码,能直接从期货公司获取到数据。需要自己申请期货账号。编译工具为vs2010或vs2012下可以顺利通过
【文件预览】:
CTPMDSAMPLE
----stdafx.cpp(218B)
----testMdUserApi.vcxproj.user(143B)
----DialogRsp.con(6B)
----UpgradeLog.XML(4KB)
----testMdUserApi.vcproj(5KB)
----_UpgradeReport_Files()
--------UpgradeReport.xslt(12KB)
--------UpgradeReport_Minus.gif(69B)
--------UpgradeReport.css(3KB)
--------UpgradeReport_Plus.gif(71B)
----stdafx.h(464B)
----thosttraderapi.dll(1.69MB)
----testMdUserApi.suo(19KB)
----testMdUserApi.sdf(27.21MB)
----MdSpi.cpp(3KB)
----testTraderApi.suo(32KB)
----QueryRsp.con(6B)
----UpgradeLog2.XML(4KB)
----testMdUserApi.vcxproj.filters(1KB)
----testMdUserApi.suo.old(8KB)
----testMdUserApi.sln.old(890B)
----testMdUserApi.exe(43KB)
----Bin()
--------testMdUserApi.pdb(1.75MB)
--------DialogRsp.con(6B)
--------thosttraderapi.dll(1.69MB)
--------QueryRsp.con(6B)
--------testMdUserApi.ilk(405KB)
--------testMdUserApi.exe(43KB)
--------TradingDay.con(6B)
--------thostmduserapi.dll(388KB)
----TradingDay.con(6B)
----testMdApi.suo(19KB)
----testMdUserApi.sln(892B)
----testMdApi.cpp(1KB)
----ipch()
--------testmduserapi-1c7bc252()
----Debug()
--------vc100.idb(619KB)
--------link.5696.read.1.tlog(2B)
--------CL.write.1.tlog(1KB)
--------testMdUserApi.exe.embed.manifest(406B)
--------CL.read.1.tlog(32KB)
--------testMdUserApi.exe.embed.manifest.res(472B)
--------mt.read.1.tlog(322B)
--------rc.write.1.tlog(302B)
--------link.5696-cvtres.read.1.tlog(2B)
--------stdafx.obj(284KB)
--------testMdUserApi.pch(13.88MB)
--------link.5696.write.1.tlog(2B)
--------rc.read.1.tlog(294B)
--------testMdApi.obj(16KB)
--------mt.command.1.tlog(410B)
--------cl.command.1.tlog(2KB)
--------link-cvtres.read.1.tlog(2B)
--------testMdUserApi.exe.intermediate.manifest(381B)
--------testMdUserApi.lastbuildstate(87B)
--------link.5696-cvtres.write.1.tlog(2B)
--------testMdUserApi.log(3KB)
--------link.write.1.tlog(1KB)
--------link-cvtres.write.1.tlog(2B)
--------link.command.1.tlog(2KB)
--------testMdUserApi.Build.CppClean.log(3KB)
--------rc.command.1.tlog(568B)
--------link.read.1.tlog(4KB)
--------testMdUserApi_manifest.rc(216B)
--------mt.write.1.tlog(322B)
--------testMdUserApi.write.1.tlog(0B)
--------MdSpi.obj(59KB)
--------vc100.pdb(1.04MB)
----thostmduserapi.dll(388KB)
----testMdUserApi.vcxproj(6KB)
----MdSpi.h(2KB)
----ThostTraderApi()
--------ThostFtdcUserApiDataType.h(96KB)
--------thosttraderapi.dll(1.69MB)
--------thostmduserapi.lib(5KB)
--------ThostFtdcMdApi.h(4KB)
--------ThostFtdcUserApiStruct.h(77KB)
--------thostmduserapi.dll(388KB)
----ReadMe.txt(986B)

网友评论

  • 不错,能编译运行
  • 还没有试,不过用VS2017 编有点问题
  • 不错,可以正确获得数据,可以自己改动一下写入本地
  • 不错,能编译运行,取数正确。
  • 不错,可以使用
  • 还没成功运行,先谢谢!
  • 不错,省得去官网弄了
  • 不错,能编译运行,取数正确。