资源简介
ctpcode.rar

代码片段和文件信息
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Windows.Forms;
using System.Runtime.InteropServices;
namespace CTPCode
{
class Dll
{
const string dllPath = “CTP.dll“;
public static Label invoker;
public delegate void del_OnTdFrontConnected(); //交易连接回报的代理
public delegate void del_OnRspTdUserLogin(ref CThostFtdcRspUserLoginField pRspUserLogin ref CThostFtdcRspInfoField pRspInfo bool bIsLast); //交易登录回报的代理
public delegate void del_OnRspSettlementInfoConfirm(ref CThostFtdcSettlementInfoConfirmField pSettlementInfoConfirm ref CThostFtdcRspInfoField pRspInfo bool bIsLast); //结算确认回报的代理
public delegate void del_OnRspQryInstrument(ref CThostFtdcInstrumentField pInstrument bool bIsLast); //查询合约回报的代理(CTP报来的pRspInfo有问题,在回调中去掉了这个参数)
public delegate void del_OnRspTdError(ref CThostFtdcRspInfoField pRspInfo bool bIsLast); //交易报错回报的代理
public delegate void del_OnMdFrontConnected(); //行情连接回报的代理
public delegate void del_OnRspMdUserLogin(ref CThostFtdcRspUserLoginField pRspUserLogin ref CThostFtdcRspInfoField pRspInfo bool bIsLast); //行情登录回报的代理
public delegate void del_OnRspMdError(ref CThostFtdcRspInfoField pRspInfo bool bIsLast); //行情报错回报的代理
public delegate void del_OnRtnDepthMarketData(ref CThostFtdcDepthMarketDataField pDepthMarketData); //行情回报的代理
public delegate void del_OnRspQrySettlementInfo(ref CThostFtdcSettlementInfoField pSettlementInfo bool bIsLast); //查询结算单的代理
public delegate void del_OnRspQryProduct(ref CThostFtdcProductField pProduct bool bIsLast); //查询产品回报的代理
public delegate void del_OnRspQryOrder(ref CThostFtdcOrderField pOrder bool bIsLast); //查询报单回报的代理
public delegate void del_OnRspQryTrade(ref CThostFtdcTradeField pTrade bool bIsLast); //查询成交回报的代理
public delegate void del_OnRspQryInvestorPosition(ref CThostFtdcInvestorPositionField pInvestorPosition bool bIsLast); //查询持仓回报的代理
public delegate void del_OnRspQryInvestorPositionDetail(ref CThostFtdcInvestorPositionDetailField pInvestorPositionDetail bool bIsLast); //查询持仓明细回报的代理
public delegate void del_OnRspQryTradingAccount(ref CThostFtdcTradingAccountField pTradingAccount bool bIsLast); //查询资金账户回报的代理
public delegate void del_OnRspQryInvestor(ref CThostFtdcInvestorField pInvestor bool bIsLast); //查询投资者回报的代理
public delegate void del_OnRspQryInstrumentMarginRate(ref CThostFtdcInstrumentMarginRateField pInstrumentMarginRate bool bIsLast); //查询合约保证金率回报的代理
public delegate void del_OnRspQryExchangeMarginRate(ref CThostFtdcExchangeMarginRateField pExchangeMarginRate bool bIsLast); //查询交易所保证金率回报的代理
public delegate void del_OnRspQryInstrumentCommissionRate(ref CThostFtdcInstrumentCommissionRateField pInstrumentCommissionRate bool bIsLast); //查询合约手续费率回报的代理
static bool IsErrorRspInfo(CThostFtdc
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 140 2016-10-05 20:08 32位\CTPCode\App.config
文件 18260 2016-10-15 01:24 32位\CTPCode\bin\Debug\csv\SR701_m1.csv
文件 99840 2016-10-11 08:52 32位\CTPCode\bin\Debug\CTP.dll
文件 112640 2016-10-12 21:30 32位\CTPCode\bin\Debug\CTPCode.exe
文件 140 2016-10-05 20:08 32位\CTPCode\bin\Debug\CTPCode.exe.config
文件 69120 2016-10-12 21:30 32位\CTPCode\bin\Debug\CTPCode.pdb
文件 21464 2016-10-12 21:30 32位\CTPCode\bin\Debug\CTPCode.vshost.exe
文件 140 2016-10-05 20:08 32位\CTPCode\bin\Debug\CTPCode.vshost.exe.config
文件 490 2012-06-06 02:06 32位\CTPCode\bin\Debug\CTPCode.vshost.exe.manifest
文件 672256 2016-10-16 18:07 32位\CTPCode\bin\Debug\CTPUI.exe
文件 2164 2016-08-30 18:05 32位\CTPCode\bin\Debug\CTPUI.exe.config
文件 939520 2016-10-16 18:04 32位\CTPCode\bin\Debug\CTPUI.pdb
文件 21464 2016-10-16 18:04 32位\CTPCode\bin\Debug\CTPUI.vshost.exe
文件 2164 2016-08-30 18:05 32位\CTPCode\bin\Debug\CTPUI.vshost.exe.config
文件 490 2012-06-06 02:06 32位\CTPCode\bin\Debug\CTPUI.vshost.exe.manifest
文件 6 2016-10-15 01:21 32位\CTPCode\bin\Debug\DialogRsp.con
文件 194 2014-11-26 07:53 32位\CTPCode\bin\Debug\img\0.png
文件 196 2014-11-26 07:52 32位\CTPCode\bin\Debug\img\1.png
文件 196 2014-11-26 07:52 32位\CTPCode\bin\Debug\img\2.png
文件 194 2014-11-26 07:52 32位\CTPCode\bin\Debug\img\3.png
文件 201 2014-11-26 07:52 32位\CTPCode\bin\Debug\img\4.png
文件 201 2014-11-26 07:52 32位\CTPCode\bin\Debug\img\5.png
文件 198 2014-11-26 07:52 32位\CTPCode\bin\Debug\img\6.png
文件 191 2014-11-26 07:53 32位\CTPCode\bin\Debug\img\7.png
文件 194 2014-11-26 07:53 32位\CTPCode\bin\Debug\img\8.png
文件 196 2014-11-26 07:53 32位\CTPCode\bin\Debug\img\9.png
文件 201 2014-11-26 07:42 32位\CTPCode\bin\Debug\img\A.png
文件 197 2014-11-26 07:48 32位\CTPCode\bin\Debug\img\a_.png
文件 196 2014-11-26 07:43 32位\CTPCode\bin\Debug\img\B.png
文件 417 2014-11-26 07:58 32位\CTPCode\bin\Debug\img\backhand_0.png
............此处省略704个文件信息
相关资源
- SpringMVC文件上传与的实现.rar
- PID_AutoTune_v0.rar
- vspd7.2.308.zip
- 价值2k的H漫画小说系统
- Pythonamp;课堂amp;笔记(高淇amp;400;集第
- ddos压力测试工具99657
- UML建模大全
- 开源1A锂电池充电板TP4056原理图+PCB
- m1卡 ic卡可选择扇区初始化加密软件
- TSCC.exe
- FTP课程设计(服务端+客户端)
- 计算机图形学 边填充算法实现代码
- 电力系统潮流计算程序集合
- oracle数据迁移项目实施方案
- Web Api 通过文件流 文件到本地
- Visio图标-最新最全的网络通信图标库
- Spire API文档
- OpenGL参考手册
- Python中Numpy库最新教程
- SPD博士V5.3.exe
- 直流无刷电机方波驱动 stm32 例程代码
- layui后台管理模板
- 仿知乎界面小程序源代码
- 云平台-阿里云详细介绍
- photoshop经典1000例
- scratch垃圾分类源码(最终版本).sb
- IAR ARM 7.8破解
- TI CCS V5.4 安装步骤及破解文件
- 松下plc FP-XH的驱动
- 局域网硬件信息收集工具
评论
共有 条评论