• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

C# CThostFtdcRspInfoField类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了C#中CThostFtdcRspInfoField的典型用法代码示例。如果您正苦于以下问题:C# CThostFtdcRspInfoField类的具体用法?C# CThostFtdcRspInfoField怎么用?C# CThostFtdcRspInfoField使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



CThostFtdcRspInfoField类属于命名空间,在下文中一共展示了CThostFtdcRspInfoField类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。

示例1: OnRspErrorArgs

 public OnRspErrorArgs(IntPtr pApi, ref CThostFtdcRspInfoField pRspInfo, int nRequestID, bool bIsLast)
 {
     this.pApi = pApi;
     this.pRspInfo = pRspInfo;
     this.nRequestID = nRequestID;
     this.bIsLast = bIsLast;
 }
开发者ID:ZeekTheTrader,项目名称:CTP,代码行数:7,代码来源:EventArgs.cs


示例2: OnRspQryDepthMarketDataArgs

 public OnRspQryDepthMarketDataArgs(IntPtr pTraderApi, ref CThostFtdcDepthMarketDataField pDepthMarketData, ref CThostFtdcRspInfoField pRspInfo, int nRequestID, bool bIsLast)
 {
     this.pTraderApi = pTraderApi;
     this.pDepthMarketData = pDepthMarketData;
     this.pRspInfo = pRspInfo;
     this.nRequestID = nRequestID;
     this.bIsLast = bIsLast;
 }
开发者ID:vcfriend,项目名称:CTP,代码行数:8,代码来源:EventArgs.cs


示例3: OnDisconnect_callback

 private void OnDisconnect_callback(IntPtr pApi, ref CThostFtdcRspInfoField pRspInfo, ConnectionStatus step)
 {
     if (null != OnDisconnect)
     {
         OnDisconnect(this, new OnDisconnectArgs(pApi, ref pRspInfo, step));
     }
 }
开发者ID:vcfriend,项目名称:CTP,代码行数:7,代码来源:MdApiWrapper.cs


示例4: OnRspQryTradingAccount_3

 private void OnRspQryTradingAccount_3(IntPtr pTraderApi, ref CThostFtdcTradingAccountField pTradingAccount, ref CThostFtdcRspInfoField pRspInfo, int nRequestID, bool bIsLast)
 {
     OnRspQryTradingAccount_1(this, pTraderApi, ref pTradingAccount, ref pRspInfo, nRequestID, bIsLast);
 }
开发者ID:kaotul,项目名称:autotrade,代码行数:4,代码来源:TradeApi.cs


示例5: OnRspQryOrder_3

 private void OnRspQryOrder_3(IntPtr pTraderApi, ref CThostFtdcOrderField pOrder, ref CThostFtdcRspInfoField pRspInfo, int nRequestID, bool bIsLast)
 {
     OnRspQryOrder_1(this, pTraderApi, ref pOrder, ref pRspInfo, nRequestID, bIsLast);
 }
开发者ID:kaotul,项目名称:autotrade,代码行数:4,代码来源:TradeApi.cs


示例6: OnRspQryInstrument_3

 private void OnRspQryInstrument_3(IntPtr pTraderApi, ref CThostFtdcInstrumentField pInstrument, ref CThostFtdcRspInfoField pRspInfo, int nRequestID, bool bIsLast)
 {
     OnRspQryInstrument_1(this, pTraderApi, ref pInstrument, ref pRspInfo, nRequestID, bIsLast);
 }
开发者ID:kaotul,项目名称:autotrade,代码行数:4,代码来源:TradeApi.cs


示例7: OnErrRtnQuoteInsert_3

 private void OnErrRtnQuoteInsert_3(IntPtr pTraderApi, ref CThostFtdcInputQuoteField pInputQuote, ref CThostFtdcRspInfoField pRspInfo)
 {
     OnErrRtnQuoteInsert_1(this, pTraderApi, ref pInputQuote, ref pRspInfo);
 }
开发者ID:kaotul,项目名称:autotrade,代码行数:4,代码来源:TradeApi.cs


示例8: OnErrRtnOrderInsert_3

 private void OnErrRtnOrderInsert_3(IntPtr pTraderApi, ref CThostFtdcInputOrderField pInputOrder, ref CThostFtdcRspInfoField pRspInfo)
 {
     OnErrRtnOrderInsert_1(this, pTraderApi, ref pInputOrder, ref pRspInfo);
 }
开发者ID:kaotul,项目名称:autotrade,代码行数:4,代码来源:TradeApi.cs


示例9: OnErrRtnOrderInsertArgs

 public OnErrRtnOrderInsertArgs(IntPtr pTraderApi, ref CThostFtdcInputOrderField pInputOrder, ref CThostFtdcRspInfoField pRspInfo)
 {
     this.pTraderApi = pTraderApi;
     this.pInputOrder = pInputOrder;
     this.pRspInfo = pRspInfo;
 }
开发者ID:vcfriend,项目名称:CTP,代码行数:6,代码来源:EventArgs.cs


示例10: OnErrRtnOrderActionArgs

 public OnErrRtnOrderActionArgs(IntPtr pTraderApi, ref CThostFtdcOrderActionField pOrderAction, ref CThostFtdcRspInfoField pRspInfo)
 {
     this.pTraderApi = pTraderApi;
     this.pOrderAction = pOrderAction;
     this.pRspInfo = pRspInfo;
 }
开发者ID:vcfriend,项目名称:CTP,代码行数:6,代码来源:EventArgs.cs


示例11: OnDisconnectArgs

 public OnDisconnectArgs(IntPtr pApi, ref CThostFtdcRspInfoField pRspInfo, ConnectionStatus step)
 {
     this.pApi = pApi;
     this.pRspInfo = pRspInfo;
     this.step = step;
 }
开发者ID:vcfriend,项目名称:CTP,代码行数:6,代码来源:EventArgs.cs


示例12: OnRspQryTradingAccountArgs

 public OnRspQryTradingAccountArgs(IntPtr pTraderApi, ref CThostFtdcTradingAccountField pTradingAccount, ref CThostFtdcRspInfoField pRspInfo, int nRequestID, bool bIsLast)
 {
     this.pTraderApi = pTraderApi;
     this.pTradingAccount = pTradingAccount;
     this.pRspInfo = pRspInfo;
     this.nRequestID = nRequestID;
     this.bIsLast = bIsLast;
 }
开发者ID:vcfriend,项目名称:CTP,代码行数:8,代码来源:EventArgs.cs


示例13: OnRspQryOrderArgs

 public OnRspQryOrderArgs(IntPtr pTraderApi, ref CThostFtdcOrderField pOrder, ref CThostFtdcRspInfoField pRspInfo, int nRequestID, bool bIsLast)
 {
     this.pTraderApi = pTraderApi;
     this.pOrder = pOrder;
     this.pRspInfo = pRspInfo;
     this.nRequestID = nRequestID;
     this.bIsLast = bIsLast;
 }
开发者ID:vcfriend,项目名称:CTP,代码行数:8,代码来源:EventArgs.cs


示例14: OnRspQryInvestorPositionDetailArgs

 public OnRspQryInvestorPositionDetailArgs(IntPtr pTraderApi, ref CThostFtdcInvestorPositionDetailField pInvestorPositionDetail, ref CThostFtdcRspInfoField pRspInfo, int nRequestID, bool bIsLast)
 {
     this.pTraderApi = pTraderApi;
     this.pInvestorPositionDetail = pInvestorPositionDetail;
     this.pRspInfo = pRspInfo;
     this.nRequestID = nRequestID;
     this.bIsLast = bIsLast;
 }
开发者ID:vcfriend,项目名称:CTP,代码行数:8,代码来源:EventArgs.cs


示例15: OnRspQryInstrumentMarginRateArgs

 public OnRspQryInstrumentMarginRateArgs(IntPtr pTraderApi, ref CThostFtdcInstrumentMarginRateField pInstrumentMarginRate, ref CThostFtdcRspInfoField pRspInfo, int nRequestID, bool bIsLast)
 {
     this.pTraderApi = pTraderApi;
     this.pInstrumentMarginRate = pInstrumentMarginRate;
     this.pRspInfo = pRspInfo;
     this.nRequestID = nRequestID;
     this.bIsLast = bIsLast;
 }
开发者ID:vcfriend,项目名称:CTP,代码行数:8,代码来源:EventArgs.cs


示例16: OnRspQryOrder_callback

 private void OnRspQryOrder_callback(IntPtr pTraderApi, ref CThostFtdcOrderField pOrder, ref CThostFtdcRspInfoField pRspInfo, int nRequestID, bool bIsLast)
 {
     if (null != OnRspQryOrder)
     {
         OnRspQryOrder(this, new OnRspQryOrderArgs(pTraderApi, ref pOrder, ref pRspInfo, nRequestID, bIsLast));
     }
 }
开发者ID:vcfriend,项目名称:CTP,代码行数:7,代码来源:TraderApiWrapper.cs


示例17: OnRspQryTradingAccount_callback

 private void OnRspQryTradingAccount_callback(IntPtr pTraderApi, ref CThostFtdcTradingAccountField pTradingAccount, ref CThostFtdcRspInfoField pRspInfo, int nRequestID, bool bIsLast)
 {
     if (null != OnRspQryTradingAccount)
     {
         OnRspQryTradingAccount(this, new OnRspQryTradingAccountArgs(pTraderApi, ref pTradingAccount, ref pRspInfo, nRequestID, bIsLast));
     }
 }
开发者ID:vcfriend,项目名称:CTP,代码行数:7,代码来源:TraderApiWrapper.cs


示例18: OnDisconnect_callback

        private void OnDisconnect_callback(IntPtr pApi, ref CThostFtdcRspInfoField pRspInfo, ConnectionStatus step)
        {
            if(isConnected)
            {
                if (7 == pRspInfo.ErrorID//综合交易平台:还没有初始化
                    || 8 == pRspInfo.ErrorID)//综合交易平台:前置不活跃
                {
                    Disconnect_TD();
                    Connect_TD();
                }
            }

            if (null != OnDisconnect)
            {
                OnDisconnect(this, new OnDisconnectArgs(pApi, ref pRspInfo, step));
            }
        }
开发者ID:vcfriend,项目名称:CTP,代码行数:17,代码来源:TraderApiWrapper.cs


示例19: OnErrRtnQuoteAction_3

 private void OnErrRtnQuoteAction_3(IntPtr pTraderApi, ref CThostFtdcQuoteActionField pQuoteAction, ref CThostFtdcRspInfoField pRspInfo)
 {
     OnErrRtnQuoteAction_1(this, pTraderApi, ref pQuoteAction, ref pRspInfo);
 }
开发者ID:kaotul,项目名称:autotrade,代码行数:4,代码来源:TradeApi.cs


示例20: OnErrRtnOrderAction_callback

 private void OnErrRtnOrderAction_callback(IntPtr pTraderApi, ref CThostFtdcOrderActionField pOrderAction, ref CThostFtdcRspInfoField pRspInfo)
 {
     if (null != OnErrRtnOrderAction)
     {
         OnErrRtnOrderAction(this, new OnErrRtnOrderActionArgs(pTraderApi, ref pOrderAction, ref pRspInfo));
     }
 }
开发者ID:vcfriend,项目名称:CTP,代码行数:7,代码来源:TraderApiWrapper.cs



注:本文中的CThostFtdcRspInfoField类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# CUResult类代码示例发布时间:2022-05-24
下一篇:
C# CT_Tbl类代码示例发布时间:2022-05-24
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap