@hitrading/ctp-node 1.0.0 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. package/README.md +13 -3
  2. package/README.zh-CN.md +11 -1
  3. package/dist/generated/enums.gen.d.ts +76 -6
  4. package/dist/generated/enums.gen.d.ts.map +1 -1
  5. package/dist/generated/enums.gen.js +78 -0
  6. package/dist/generated/enums.gen.js.map +1 -1
  7. package/dist/generated/structs.gen.d.ts +6271 -4816
  8. package/dist/generated/structs.gen.d.ts.map +1 -1
  9. package/dist/generated/structs.gen.js +131 -25
  10. package/dist/generated/structs.gen.js.map +1 -1
  11. package/dist/generated/trader.gen.d.ts +39 -1
  12. package/dist/generated/trader.gen.d.ts.map +1 -1
  13. package/dist/generated/trader.gen.js +315 -225
  14. package/dist/generated/trader.gen.js.map +1 -1
  15. package/dist/index.cjs +5752 -0
  16. package/dist/index.d.cts +9 -0
  17. package/package.json +18 -6
  18. package/prebuilds/linux-x64/@hitrading+ctp-node.node +0 -0
  19. package/prebuilds/linux-x64/thostmduserapi_se.so +0 -0
  20. package/prebuilds/linux-x64/thosttraderapi_se.so +0 -0
  21. package/prebuilds/win32-x64/@hitrading+ctp-node.node +0 -0
  22. package/prebuilds/win32-x64/thostmduserapi_se.dll +0 -0
  23. package/prebuilds/win32-x64/thosttraderapi_se.dll +0 -0
  24. package/src/generated/enums.gen.ts +78 -0
  25. package/src/generated/layout.gen.cc +794 -40
  26. package/src/generated/structids.gen.h +54 -1
  27. package/src/generated/structs.gen.ts +6455 -4841
  28. package/src/generated/trader.gen.ts +315 -225
  29. package/src/generated/traderreq.gen.cc +84 -0
  30. package/src/generated/traderreq.gen.h +89 -75
  31. package/src/generated/traderspi.gen.cc +96 -0
  32. package/src/generated/traderspi.gen.h +198 -150
  33. package/tradeapi/ThostFtdcMdApi.h +69 -68
  34. package/tradeapi/ThostFtdcTraderApi.h +450 -323
  35. package/tradeapi/ThostFtdcUserApiDataType.h +2288 -2092
  36. package/tradeapi/ThostFtdcUserApiStruct.h +7049 -5487
  37. package/tradeapi/error.xml +56 -11
  38. package/tradeapi/linux/thostmduserapi_se.so +0 -0
  39. package/tradeapi/linux/thosttraderapi_se.so +0 -0
  40. package/tradeapi/macos/thostmduserapi_se.framework/Versions/A/Headers/ThostFtdcMdApi.h +66 -66
  41. package/tradeapi/macos/thostmduserapi_se.framework/Versions/A/Headers/ThostFtdcUserApiDataType.h +2123 -2090
  42. package/tradeapi/macos/thostmduserapi_se.framework/Versions/A/Headers/ThostFtdcUserApiStruct.h +5596 -5486
  43. package/tradeapi/macos/thostmduserapi_se.framework/Versions/A/Resources/Info.plist +46 -46
  44. package/tradeapi/macos/thostmduserapi_se.framework/Versions/A/_CodeSignature/CodeResources +149 -149
  45. package/tradeapi/macos/thostmduserapi_se.framework/Versions/A/thostmduserapi_se +0 -0
  46. package/tradeapi/macos/thosttraderapi_se.framework/Versions/A/Headers/ThostFtdcTraderApi.h +333 -321
  47. package/tradeapi/macos/thosttraderapi_se.framework/Versions/A/Headers/ThostFtdcUserApiDataType.h +2123 -2090
  48. package/tradeapi/macos/thosttraderapi_se.framework/Versions/A/Headers/ThostFtdcUserApiStruct.h +5596 -5486
  49. package/tradeapi/macos/thosttraderapi_se.framework/Versions/A/Resources/Info.plist +46 -46
  50. package/tradeapi/macos/thosttraderapi_se.framework/Versions/A/_CodeSignature/CodeResources +149 -149
  51. package/tradeapi/macos/thosttraderapi_se.framework/Versions/A/thosttraderapi_se +0 -0
  52. package/tradeapi/windows/thostmduserapi_se.dll +0 -0
  53. package/tradeapi/windows/thostmduserapi_se.lib +0 -0
  54. package/tradeapi/windows/thosttraderapi_se.dll +0 -0
  55. package/tradeapi/windows/thosttraderapi_se.lib +0 -0
@@ -1,10 +1,10 @@
1
- /////////////////////////////////////////////////////////////////////////
2
- ///@system 新一代交易所系统
3
- ///@company 上海期货信息技术有限公司
1
+ /////////////////////////////////////////////////////////////////////////
2
+ ///@system ��һ��������ϵͳ
3
+ ///@company �Ϻ��ڻ���Ϣ�������޹�˾
4
4
  ///@file ThostFtdcTraderApi.h
5
- ///@brief 定义了客户端接口
5
+ ///@brief �����˿ͻ��˽ӿ�
6
6
  ///@history
7
- ///20060106 赵鸿昊 创建该文件
7
+ ///20060106 �Ժ�� �������ļ�
8
8
  /////////////////////////////////////////////////////////////////////////
9
9
 
10
10
  #if !defined(THOST_FTDCTRADERAPI_H)
@@ -29,884 +29,1011 @@
29
29
  class CThostFtdcTraderSpi
30
30
  {
31
31
  public:
32
- ///当客户端与交易后台建立起通信连接时(还未登录前),该方法被调用。
32
+ ///���ͻ����뽻�׺�̨������ͨ������ʱ����δ��¼ǰ�����÷��������á�
33
33
  virtual void OnFrontConnected(){};
34
34
 
35
- ///当客户端与交易后台通信连接断开时,该方法被调用。当发生这个情况后,API会自动重新连接,客户端可不做处理。
36
- ///@param nReason 错误原因
37
- /// 0x1001 网络读失败
38
- /// 0x1002 网络写失败
39
- /// 0x2001 接收心跳超时
40
- /// 0x2002 发送心跳失败
41
- /// 0x2003 收到错误报文
35
+ ///���ͻ����뽻�׺�̨ͨ�����ӶϿ�ʱ���÷��������á���������������API���Զ��������ӣ��ͻ��˿ɲ���������
36
+ ///@param nReason ����ԭ��
37
+ /// 0x1001 �����ʧ��
38
+ /// 0x1002 ����дʧ��
39
+ /// 0x2001 ����������ʱ
40
+ /// 0x2002 ��������ʧ��
41
+ /// 0x2003 �յ�������
42
42
  virtual void OnFrontDisconnected(int nReason){};
43
43
 
44
- ///心跳超时警告。当长时间未收到报文时,该方法被调用。
45
- ///@param nTimeLapse 距离上次接收报文的时间
44
+ ///������ʱ���档����ʱ��δ�յ�����ʱ���÷��������á�
45
+ ///@param nTimeLapse �����ϴν��ձ��ĵ�ʱ��
46
46
  virtual void OnHeartBeatWarning(int nTimeLapse){};
47
47
 
48
- ///客户端认证响应
48
+ ///�ͻ�����֤��Ӧ
49
49
  virtual void OnRspAuthenticate(CThostFtdcRspAuthenticateField *pRspAuthenticateField, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
50
50
 
51
+ ///�÷����ڴ���˽����֮ǰ������
52
+ ///@param nSeqNo ������������˽���������
53
+ virtual void OnRtnPrivateSeqNo(int nSeqNo) {};
51
54
 
52
- ///登录请求响应
55
+ ///��¼������Ӧ
53
56
  virtual void OnRspUserLogin(CThostFtdcRspUserLoginField *pRspUserLogin, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
54
57
 
55
- ///登出请求响应
58
+ ///�dz�������Ӧ
56
59
  virtual void OnRspUserLogout(CThostFtdcUserLogoutField *pUserLogout, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
57
60
 
58
- ///用户口令更新请求响应
61
+ ///�û��������������Ӧ
59
62
  virtual void OnRspUserPasswordUpdate(CThostFtdcUserPasswordUpdateField *pUserPasswordUpdate, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
60
63
 
61
- ///资金账户口令更新请求响应
64
+ ///�ʽ��˻��������������Ӧ
62
65
  virtual void OnRspTradingAccountPasswordUpdate(CThostFtdcTradingAccountPasswordUpdateField *pTradingAccountPasswordUpdate, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
63
66
 
64
- ///查询用户当前支持的认证模式的回复
67
+ ///��ѯ�û���ǰ֧�ֵ���֤ģʽ�Ļظ�
65
68
  virtual void OnRspUserAuthMethod(CThostFtdcRspUserAuthMethodField *pRspUserAuthMethod, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
66
69
 
67
- ///获取图形验证码请求的回复
70
+ ///��ȡͼ����֤������Ļظ�
68
71
  virtual void OnRspGenUserCaptcha(CThostFtdcRspGenUserCaptchaField *pRspGenUserCaptcha, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
69
72
 
70
- ///获取短信验证码请求的回复
73
+ ///��ȡ������֤������Ļظ�
71
74
  virtual void OnRspGenUserText(CThostFtdcRspGenUserTextField *pRspGenUserText, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
72
75
 
73
- ///报单录入请求响应
76
+ ///����¼��������Ӧ
74
77
  virtual void OnRspOrderInsert(CThostFtdcInputOrderField *pInputOrder, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
75
78
 
76
- ///预埋单录入请求响应
79
+ ///Ԥ��¼��������Ӧ
77
80
  virtual void OnRspParkedOrderInsert(CThostFtdcParkedOrderField *pParkedOrder, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
78
81
 
79
- ///预埋撤单录入请求响应
82
+ ///Ԥ�񳷵�¼��������Ӧ
80
83
  virtual void OnRspParkedOrderAction(CThostFtdcParkedOrderActionField *pParkedOrderAction, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
81
84
 
82
- ///报单操作请求响应
85
+ ///��������������Ӧ
83
86
  virtual void OnRspOrderAction(CThostFtdcInputOrderActionField *pInputOrderAction, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
84
87
 
85
- ///查询最大报单数量响应
88
+ ///��ѯ��󱨵�������Ӧ
86
89
  virtual void OnRspQryMaxOrderVolume(CThostFtdcQryMaxOrderVolumeField *pQryMaxOrderVolume, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
87
90
 
88
- ///投资者结算结果确认响应
91
+ ///Ͷ���߽�����ȷ����Ӧ
89
92
  virtual void OnRspSettlementInfoConfirm(CThostFtdcSettlementInfoConfirmField *pSettlementInfoConfirm, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
90
93
 
91
- ///删除预埋单响应
94
+ ///ɾ��Ԥ����Ӧ
92
95
  virtual void OnRspRemoveParkedOrder(CThostFtdcRemoveParkedOrderField *pRemoveParkedOrder, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
93
96
 
94
- ///删除预埋撤单响应
97
+ ///ɾ��Ԥ�񳷵���Ӧ
95
98
  virtual void OnRspRemoveParkedOrderAction(CThostFtdcRemoveParkedOrderActionField *pRemoveParkedOrderAction, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
96
99
 
97
- ///执行宣告录入请求响应
100
+ ///ִ������¼��������Ӧ
98
101
  virtual void OnRspExecOrderInsert(CThostFtdcInputExecOrderField *pInputExecOrder, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
99
102
 
100
- ///执行宣告操作请求响应
103
+ ///ִ���������������Ӧ
101
104
  virtual void OnRspExecOrderAction(CThostFtdcInputExecOrderActionField *pInputExecOrderAction, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
102
105
 
103
- ///询价录入请求响应
106
+ ///ѯ��¼��������Ӧ
104
107
  virtual void OnRspForQuoteInsert(CThostFtdcInputForQuoteField *pInputForQuote, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
105
108
 
106
- ///报价录入请求响应
109
+ ///����¼��������Ӧ
107
110
  virtual void OnRspQuoteInsert(CThostFtdcInputQuoteField *pInputQuote, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
108
111
 
109
- ///报价操作请求响应
112
+ ///���۲���������Ӧ
110
113
  virtual void OnRspQuoteAction(CThostFtdcInputQuoteActionField *pInputQuoteAction, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
111
114
 
112
- ///批量报单操作请求响应
115
+ ///������������������Ӧ
113
116
  virtual void OnRspBatchOrderAction(CThostFtdcInputBatchOrderActionField *pInputBatchOrderAction, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
114
117
 
115
- ///期权自对冲录入请求响应
118
+ ///��Ȩ�ԶԳ�¼��������Ӧ
116
119
  virtual void OnRspOptionSelfCloseInsert(CThostFtdcInputOptionSelfCloseField *pInputOptionSelfClose, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
117
120
 
118
- ///期权自对冲操作请求响应
121
+ ///��Ȩ�ԶԳ����������Ӧ
119
122
  virtual void OnRspOptionSelfCloseAction(CThostFtdcInputOptionSelfCloseActionField *pInputOptionSelfCloseAction, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
120
123
 
121
- ///申请组合录入请求响应
124
+ ///�������¼��������Ӧ
122
125
  virtual void OnRspCombActionInsert(CThostFtdcInputCombActionField *pInputCombAction, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
123
126
 
124
- ///请求查询报单响应
127
+ ///�����ѯ������Ӧ
125
128
  virtual void OnRspQryOrder(CThostFtdcOrderField *pOrder, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
126
129
 
127
- ///请求查询成交响应
130
+ ///�����ѯ�ɽ���Ӧ
128
131
  virtual void OnRspQryTrade(CThostFtdcTradeField *pTrade, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
129
132
 
130
- ///请求查询投资者持仓响应
133
+ ///�����ѯͶ���ֲ߳���Ӧ
131
134
  virtual void OnRspQryInvestorPosition(CThostFtdcInvestorPositionField *pInvestorPosition, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
132
135
 
133
- ///请求查询资金账户响应
136
+ ///�����ѯ�ʽ��˻���Ӧ
134
137
  virtual void OnRspQryTradingAccount(CThostFtdcTradingAccountField *pTradingAccount, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
135
138
 
136
- ///请求查询投资者响应
139
+ ///�����ѯͶ������Ӧ
137
140
  virtual void OnRspQryInvestor(CThostFtdcInvestorField *pInvestor, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
138
141
 
139
- ///请求查询交易编码响应
142
+ ///�����ѯ���ױ�����Ӧ
140
143
  virtual void OnRspQryTradingCode(CThostFtdcTradingCodeField *pTradingCode, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
141
144
 
142
- ///请求查询合约保证金率响应
145
+ ///�����ѯ��Լ��֤������Ӧ
143
146
  virtual void OnRspQryInstrumentMarginRate(CThostFtdcInstrumentMarginRateField *pInstrumentMarginRate, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
144
147
 
145
- ///请求查询合约手续费率响应
148
+ ///�����ѯ��Լ����������Ӧ
146
149
  virtual void OnRspQryInstrumentCommissionRate(CThostFtdcInstrumentCommissionRateField *pInstrumentCommissionRate, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
147
150
 
148
- ///请求查询交易所响应
151
+ ///�����ѯ�û��Ự��Ӧ
152
+ virtual void OnRspQryUserSession(CThostFtdcUserSessionField *pUserSession, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
153
+
154
+ ///�����ѯ��������Ӧ
149
155
  virtual void OnRspQryExchange(CThostFtdcExchangeField *pExchange, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
150
156
 
151
- ///请求查询产品响应
157
+ ///�����ѯ��Ʒ��Ӧ
152
158
  virtual void OnRspQryProduct(CThostFtdcProductField *pProduct, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
153
159
 
154
- ///请求查询合约响应
160
+ ///�����ѯ��Լ��Ӧ
155
161
  virtual void OnRspQryInstrument(CThostFtdcInstrumentField *pInstrument, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
156
162
 
157
- ///请求查询行情响应
163
+ ///�����ѯ������Ӧ
158
164
  virtual void OnRspQryDepthMarketData(CThostFtdcDepthMarketDataField *pDepthMarketData, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
159
165
 
160
- ///请求查询交易员报盘机响应
166
+ ///�����ѯ����Ա���̻���Ӧ
161
167
  virtual void OnRspQryTraderOffer(CThostFtdcTraderOfferField *pTraderOffer, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
162
168
 
163
- ///请求查询投资者结算结果响应
169
+ ///�����ѯͶ���߽�������Ӧ
164
170
  virtual void OnRspQrySettlementInfo(CThostFtdcSettlementInfoField *pSettlementInfo, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
165
171
 
166
- ///请求查询转帐银行响应
172
+ ///�����ѯת��������Ӧ
167
173
  virtual void OnRspQryTransferBank(CThostFtdcTransferBankField *pTransferBank, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
168
174
 
169
- ///请求查询投资者持仓明细响应
175
+ ///�����ѯͶ���ֲ߳���ϸ��Ӧ
170
176
  virtual void OnRspQryInvestorPositionDetail(CThostFtdcInvestorPositionDetailField *pInvestorPositionDetail, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
171
177
 
172
- ///请求查询客户通知响应
178
+ ///�����ѯ�ͻ�֪ͨ��Ӧ
173
179
  virtual void OnRspQryNotice(CThostFtdcNoticeField *pNotice, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
174
180
 
175
- ///请求查询结算信息确认响应
181
+ ///�����ѯ������Ϣȷ����Ӧ
176
182
  virtual void OnRspQrySettlementInfoConfirm(CThostFtdcSettlementInfoConfirmField *pSettlementInfoConfirm, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
177
183
 
178
- ///请求查询投资者持仓明细响应
184
+ ///�����ѯͶ���ֲ߳���ϸ��Ӧ
179
185
  virtual void OnRspQryInvestorPositionCombineDetail(CThostFtdcInvestorPositionCombineDetailField *pInvestorPositionCombineDetail, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
180
186
 
181
- ///查询保证金监管系统经纪公司资金账户密钥响应
187
+ ///��ѯ��֤����ϵͳ���͹�˾�ʽ��˻���Կ��Ӧ
182
188
  virtual void OnRspQryCFMMCTradingAccountKey(CThostFtdcCFMMCTradingAccountKeyField *pCFMMCTradingAccountKey, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
183
189
 
184
- ///请求查询仓单折抵信息响应
190
+ ///�����ѯ�ֵ��۵���Ϣ��Ӧ
185
191
  virtual void OnRspQryEWarrantOffset(CThostFtdcEWarrantOffsetField *pEWarrantOffset, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
186
192
 
187
- ///请求查询投资者品种/跨品种保证金响应
193
+ ///�����ѯͶ����Ʒ��/��Ʒ�ֱ�֤����Ӧ
188
194
  virtual void OnRspQryInvestorProductGroupMargin(CThostFtdcInvestorProductGroupMarginField *pInvestorProductGroupMargin, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
189
195
 
190
- ///请求查询交易所保证金率响应
196
+ ///�����ѯ��������֤������Ӧ
191
197
  virtual void OnRspQryExchangeMarginRate(CThostFtdcExchangeMarginRateField *pExchangeMarginRate, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
192
198
 
193
- ///请求查询交易所调整保证金率响应
199
+ ///�����ѯ������������֤������Ӧ
194
200
  virtual void OnRspQryExchangeMarginRateAdjust(CThostFtdcExchangeMarginRateAdjustField *pExchangeMarginRateAdjust, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
195
201
 
196
- ///请求查询汇率响应
202
+ ///�����ѯ������Ӧ
197
203
  virtual void OnRspQryExchangeRate(CThostFtdcExchangeRateField *pExchangeRate, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
198
204
 
199
- ///请求查询二级代理操作员银期权限响应
205
+ ///�����ѯ������������Ա����Ȩ����Ӧ
200
206
  virtual void OnRspQrySecAgentACIDMap(CThostFtdcSecAgentACIDMapField *pSecAgentACIDMap, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
201
207
 
202
- ///请求查询产品报价汇率
208
+ ///�����ѯ��Ʒ���ۻ���
203
209
  virtual void OnRspQryProductExchRate(CThostFtdcProductExchRateField *pProductExchRate, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
204
210
 
205
- ///请求查询产品组
211
+ ///�����ѯ��Ʒ��
206
212
  virtual void OnRspQryProductGroup(CThostFtdcProductGroupField *pProductGroup, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
207
213
 
208
- ///请求查询做市商合约手续费率响应
214
+ ///�����ѯ�����̺�Լ����������Ӧ
209
215
  virtual void OnRspQryMMInstrumentCommissionRate(CThostFtdcMMInstrumentCommissionRateField *pMMInstrumentCommissionRate, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
210
216
 
211
- ///请求查询做市商期权合约手续费响应
217
+ ///�����ѯ��������Ȩ��Լ��������Ӧ
212
218
  virtual void OnRspQryMMOptionInstrCommRate(CThostFtdcMMOptionInstrCommRateField *pMMOptionInstrCommRate, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
213
219
 
214
- ///请求查询报单手续费响应
220
+ ///�����ѯ������������Ӧ
215
221
  virtual void OnRspQryInstrumentOrderCommRate(CThostFtdcInstrumentOrderCommRateField *pInstrumentOrderCommRate, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
216
222
 
217
- ///请求查询资金账户响应
223
+ ///�����ѯ�ʽ��˻���Ӧ
218
224
  virtual void OnRspQrySecAgentTradingAccount(CThostFtdcTradingAccountField *pTradingAccount, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
219
225
 
220
- ///请求查询二级代理商资金校验模式响应
226
+ ///�����ѯ�����������ʽ�У��ģʽ��Ӧ
221
227
  virtual void OnRspQrySecAgentCheckMode(CThostFtdcSecAgentCheckModeField *pSecAgentCheckMode, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
222
228
 
223
- ///请求查询二级代理商信息响应
229
+ ///�����ѯ������������Ϣ��Ӧ
224
230
  virtual void OnRspQrySecAgentTradeInfo(CThostFtdcSecAgentTradeInfoField *pSecAgentTradeInfo, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
225
231
 
226
- ///请求查询期权交易成本响应
232
+ ///�����ѯ��Ȩ���׳ɱ���Ӧ
227
233
  virtual void OnRspQryOptionInstrTradeCost(CThostFtdcOptionInstrTradeCostField *pOptionInstrTradeCost, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
228
234
 
229
- ///请求查询期权合约手续费响应
235
+ ///�����ѯ��Ȩ��Լ��������Ӧ
230
236
  virtual void OnRspQryOptionInstrCommRate(CThostFtdcOptionInstrCommRateField *pOptionInstrCommRate, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
231
237
 
232
- ///请求查询执行宣告响应
238
+ ///�����ѯִ��������Ӧ
233
239
  virtual void OnRspQryExecOrder(CThostFtdcExecOrderField *pExecOrder, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
234
240
 
235
- ///请求查询询价响应
241
+ ///�����ѯѯ����Ӧ
236
242
  virtual void OnRspQryForQuote(CThostFtdcForQuoteField *pForQuote, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
237
243
 
238
- ///请求查询报价响应
244
+ ///�����ѯ������Ӧ
239
245
  virtual void OnRspQryQuote(CThostFtdcQuoteField *pQuote, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
240
246
 
241
- ///请求查询期权自对冲响应
247
+ ///�����ѯ��Ȩ�ԶԳ���Ӧ
242
248
  virtual void OnRspQryOptionSelfClose(CThostFtdcOptionSelfCloseField *pOptionSelfClose, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
243
249
 
244
- ///请求查询投资单元响应
250
+ ///�����ѯͶ�ʵ�Ԫ��Ӧ
245
251
  virtual void OnRspQryInvestUnit(CThostFtdcInvestUnitField *pInvestUnit, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
246
252
 
247
- ///请求查询组合合约安全系数响应
253
+ ///�����ѯ��Ϻ�Լ��ȫϵ����Ӧ
248
254
  virtual void OnRspQryCombInstrumentGuard(CThostFtdcCombInstrumentGuardField *pCombInstrumentGuard, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
249
255
 
250
- ///请求查询申请组合响应
256
+ ///�����ѯ���������Ӧ
251
257
  virtual void OnRspQryCombAction(CThostFtdcCombActionField *pCombAction, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
252
258
 
253
- ///请求查询转帐流水响应
259
+ ///�����ѯת����ˮ��Ӧ
254
260
  virtual void OnRspQryTransferSerial(CThostFtdcTransferSerialField *pTransferSerial, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
255
261
 
256
- ///请求查询银期签约关系响应
262
+ ///�����ѯ����ǩԼ��ϵ��Ӧ
257
263
  virtual void OnRspQryAccountregister(CThostFtdcAccountregisterField *pAccountregister, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
258
264
 
259
- ///错误应答
265
+ ///����Ӧ��
260
266
  virtual void OnRspError(CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
261
267
 
262
- ///报单通知
268
+ ///����֪ͨ
263
269
  virtual void OnRtnOrder(CThostFtdcOrderField *pOrder) {};
264
270
 
265
- ///成交通知
271
+ ///�ɽ�֪ͨ
266
272
  virtual void OnRtnTrade(CThostFtdcTradeField *pTrade) {};
267
273
 
268
- ///报单录入错误回报
274
+ ///����¼�����ر�
269
275
  virtual void OnErrRtnOrderInsert(CThostFtdcInputOrderField *pInputOrder, CThostFtdcRspInfoField *pRspInfo) {};
270
276
 
271
- ///报单操作错误回报
277
+ ///������������ر�
272
278
  virtual void OnErrRtnOrderAction(CThostFtdcOrderActionField *pOrderAction, CThostFtdcRspInfoField *pRspInfo) {};
273
279
 
274
- ///合约交易状态通知
280
+ ///��Լ����״̬֪ͨ
275
281
  virtual void OnRtnInstrumentStatus(CThostFtdcInstrumentStatusField *pInstrumentStatus) {};
276
282
 
277
- ///交易所公告通知
283
+ ///����������֪ͨ
278
284
  virtual void OnRtnBulletin(CThostFtdcBulletinField *pBulletin) {};
279
285
 
280
- ///交易通知
286
+ ///����֪ͨ
281
287
  virtual void OnRtnTradingNotice(CThostFtdcTradingNoticeInfoField *pTradingNoticeInfo) {};
282
288
 
283
- ///提示条件单校验错误
289
+ ///��ʾ������У�����
284
290
  virtual void OnRtnErrorConditionalOrder(CThostFtdcErrorConditionalOrderField *pErrorConditionalOrder) {};
285
291
 
286
- ///执行宣告通知
292
+ ///ִ������֪ͨ
287
293
  virtual void OnRtnExecOrder(CThostFtdcExecOrderField *pExecOrder) {};
288
294
 
289
- ///执行宣告录入错误回报
295
+ ///ִ������¼�����ر�
290
296
  virtual void OnErrRtnExecOrderInsert(CThostFtdcInputExecOrderField *pInputExecOrder, CThostFtdcRspInfoField *pRspInfo) {};
291
297
 
292
- ///执行宣告操作错误回报
298
+ ///ִ�������������ر�
293
299
  virtual void OnErrRtnExecOrderAction(CThostFtdcExecOrderActionField *pExecOrderAction, CThostFtdcRspInfoField *pRspInfo) {};
294
300
 
295
- ///询价录入错误回报
301
+ ///ѯ��¼�����ر�
296
302
  virtual void OnErrRtnForQuoteInsert(CThostFtdcInputForQuoteField *pInputForQuote, CThostFtdcRspInfoField *pRspInfo) {};
297
303
 
298
- ///报价通知
304
+ ///����֪ͨ
299
305
  virtual void OnRtnQuote(CThostFtdcQuoteField *pQuote) {};
300
306
 
301
- ///报价录入错误回报
307
+ ///����¼�����ر�
302
308
  virtual void OnErrRtnQuoteInsert(CThostFtdcInputQuoteField *pInputQuote, CThostFtdcRspInfoField *pRspInfo) {};
303
309
 
304
- ///报价操作错误回报
310
+ ///���۲�������ر�
305
311
  virtual void OnErrRtnQuoteAction(CThostFtdcQuoteActionField *pQuoteAction, CThostFtdcRspInfoField *pRspInfo) {};
306
312
 
307
- ///询价通知
313
+ ///ѯ��֪ͨ
308
314
  virtual void OnRtnForQuoteRsp(CThostFtdcForQuoteRspField *pForQuoteRsp) {};
309
315
 
310
- ///保证金监控中心用户令牌
316
+ ///��֤���������û�����
311
317
  virtual void OnRtnCFMMCTradingAccountToken(CThostFtdcCFMMCTradingAccountTokenField *pCFMMCTradingAccountToken) {};
312
318
 
313
- ///批量报单操作错误回报
319
+ ///����������������ر�
314
320
  virtual void OnErrRtnBatchOrderAction(CThostFtdcBatchOrderActionField *pBatchOrderAction, CThostFtdcRspInfoField *pRspInfo) {};
315
321
 
316
- ///期权自对冲通知
322
+ ///��Ȩ�ԶԳ�֪ͨ
317
323
  virtual void OnRtnOptionSelfClose(CThostFtdcOptionSelfCloseField *pOptionSelfClose) {};
318
324
 
319
- ///期权自对冲录入错误回报
325
+ ///��Ȩ�ԶԳ�¼�����ر�
320
326
  virtual void OnErrRtnOptionSelfCloseInsert(CThostFtdcInputOptionSelfCloseField *pInputOptionSelfClose, CThostFtdcRspInfoField *pRspInfo) {};
321
327
 
322
- ///期权自对冲操作错误回报
328
+ ///��Ȩ�ԶԳ��������ر�
323
329
  virtual void OnErrRtnOptionSelfCloseAction(CThostFtdcOptionSelfCloseActionField *pOptionSelfCloseAction, CThostFtdcRspInfoField *pRspInfo) {};
324
330
 
325
- ///申请组合通知
331
+ ///�������֪ͨ
326
332
  virtual void OnRtnCombAction(CThostFtdcCombActionField *pCombAction) {};
327
333
 
328
- ///申请组合录入错误回报
334
+ ///�������¼�����ر�
329
335
  virtual void OnErrRtnCombActionInsert(CThostFtdcInputCombActionField *pInputCombAction, CThostFtdcRspInfoField *pRspInfo) {};
330
336
 
331
- ///请求查询签约银行响应
337
+ ///�����ѯǩԼ������Ӧ
332
338
  virtual void OnRspQryContractBank(CThostFtdcContractBankField *pContractBank, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
333
339
 
334
- ///请求查询预埋单响应
340
+ ///�����ѯԤ����Ӧ
335
341
  virtual void OnRspQryParkedOrder(CThostFtdcParkedOrderField *pParkedOrder, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
336
342
 
337
- ///请求查询预埋撤单响应
343
+ ///�����ѯԤ�񳷵���Ӧ
338
344
  virtual void OnRspQryParkedOrderAction(CThostFtdcParkedOrderActionField *pParkedOrderAction, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
339
345
 
340
- ///请求查询交易通知响应
346
+ ///�����ѯ����֪ͨ��Ӧ
341
347
  virtual void OnRspQryTradingNotice(CThostFtdcTradingNoticeField *pTradingNotice, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
342
348
 
343
- ///请求查询经纪公司交易参数响应
349
+ ///�����ѯ���͹�˾���ײ�����Ӧ
344
350
  virtual void OnRspQryBrokerTradingParams(CThostFtdcBrokerTradingParamsField *pBrokerTradingParams, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
345
351
 
346
- ///请求查询经纪公司交易算法响应
352
+ ///�����ѯ���͹�˾�����㷨��Ӧ
347
353
  virtual void OnRspQryBrokerTradingAlgos(CThostFtdcBrokerTradingAlgosField *pBrokerTradingAlgos, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
348
354
 
349
- ///请求查询监控中心用户令牌
355
+ ///�����ѯ��������û�����
350
356
  virtual void OnRspQueryCFMMCTradingAccountToken(CThostFtdcQueryCFMMCTradingAccountTokenField *pQueryCFMMCTradingAccountToken, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
351
357
 
352
- ///银行发起银行资金转期货通知
358
+ ///���з��������ʽ�ת�ڻ�֪ͨ
353
359
  virtual void OnRtnFromBankToFutureByBank(CThostFtdcRspTransferField *pRspTransfer) {};
354
360
 
355
- ///银行发起期货资金转银行通知
361
+ ///���з����ڻ��ʽ�ת����֪ͨ
356
362
  virtual void OnRtnFromFutureToBankByBank(CThostFtdcRspTransferField *pRspTransfer) {};
357
363
 
358
- ///银行发起冲正银行转期货通知
364
+ ///���з����������ת�ڻ�֪ͨ
359
365
  virtual void OnRtnRepealFromBankToFutureByBank(CThostFtdcRspRepealField *pRspRepeal) {};
360
366
 
361
- ///银行发起冲正期货转银行通知
367
+ ///���з�������ڻ�ת����֪ͨ
362
368
  virtual void OnRtnRepealFromFutureToBankByBank(CThostFtdcRspRepealField *pRspRepeal) {};
363
369
 
364
- ///期货发起银行资金转期货通知
370
+ ///�ڻ����������ʽ�ת�ڻ�֪ͨ
365
371
  virtual void OnRtnFromBankToFutureByFuture(CThostFtdcRspTransferField *pRspTransfer) {};
366
372
 
367
- ///期货发起期货资金转银行通知
373
+ ///�ڻ������ڻ��ʽ�ת����֪ͨ
368
374
  virtual void OnRtnFromFutureToBankByFuture(CThostFtdcRspTransferField *pRspTransfer) {};
369
375
 
370
- ///系统运行时期货端手工发起冲正银行转期货请求,银行处理完毕后报盘发回的通知
376
+ ///ϵͳ����ʱ�ڻ����ֹ������������ת�ڻ��������д�����Ϻ��̷��ص�֪ͨ
371
377
  virtual void OnRtnRepealFromBankToFutureByFutureManual(CThostFtdcRspRepealField *pRspRepeal) {};
372
378
 
373
- ///系统运行时期货端手工发起冲正期货转银行请求,银行处理完毕后报盘发回的通知
379
+ ///ϵͳ����ʱ�ڻ����ֹ���������ڻ�ת�����������д�����Ϻ��̷��ص�֪ͨ
374
380
  virtual void OnRtnRepealFromFutureToBankByFutureManual(CThostFtdcRspRepealField *pRspRepeal) {};
375
381
 
376
- ///期货发起查询银行余额通知
382
+ ///�ڻ������ѯ�������֪ͨ
377
383
  virtual void OnRtnQueryBankBalanceByFuture(CThostFtdcNotifyQueryAccountField *pNotifyQueryAccount) {};
378
384
 
379
- ///期货发起银行资金转期货错误回报
385
+ ///�ڻ����������ʽ�ת�ڻ�����ر�
380
386
  virtual void OnErrRtnBankToFutureByFuture(CThostFtdcReqTransferField *pReqTransfer, CThostFtdcRspInfoField *pRspInfo) {};
381
387
 
382
- ///期货发起期货资金转银行错误回报
388
+ ///�ڻ������ڻ��ʽ�ת���д���ر�
383
389
  virtual void OnErrRtnFutureToBankByFuture(CThostFtdcReqTransferField *pReqTransfer, CThostFtdcRspInfoField *pRspInfo) {};
384
390
 
385
- ///系统运行时期货端手工发起冲正银行转期货错误回报
391
+ ///ϵͳ����ʱ�ڻ����ֹ������������ת�ڻ�����ر�
386
392
  virtual void OnErrRtnRepealBankToFutureByFutureManual(CThostFtdcReqRepealField *pReqRepeal, CThostFtdcRspInfoField *pRspInfo) {};
387
393
 
388
- ///系统运行时期货端手工发起冲正期货转银行错误回报
394
+ ///ϵͳ����ʱ�ڻ����ֹ���������ڻ�ת���д���ر�
389
395
  virtual void OnErrRtnRepealFutureToBankByFutureManual(CThostFtdcReqRepealField *pReqRepeal, CThostFtdcRspInfoField *pRspInfo) {};
390
396
 
391
- ///期货发起查询银行余额错误回报
397
+ ///�ڻ������ѯ����������ر�
392
398
  virtual void OnErrRtnQueryBankBalanceByFuture(CThostFtdcReqQueryAccountField *pReqQueryAccount, CThostFtdcRspInfoField *pRspInfo) {};
393
399
 
394
- ///期货发起冲正银行转期货请求,银行处理完毕后报盘发回的通知
400
+ ///�ڻ������������ת�ڻ��������д�����Ϻ��̷��ص�֪ͨ
395
401
  virtual void OnRtnRepealFromBankToFutureByFuture(CThostFtdcRspRepealField *pRspRepeal) {};
396
402
 
397
- ///期货发起冲正期货转银行请求,银行处理完毕后报盘发回的通知
403
+ ///�ڻ���������ڻ�ת�����������д�����Ϻ��̷��ص�֪ͨ
398
404
  virtual void OnRtnRepealFromFutureToBankByFuture(CThostFtdcRspRepealField *pRspRepeal) {};
399
405
 
400
- ///期货发起银行资金转期货应答
406
+ ///�ڻ����������ʽ�ת�ڻ�Ӧ��
401
407
  virtual void OnRspFromBankToFutureByFuture(CThostFtdcReqTransferField *pReqTransfer, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
402
408
 
403
- ///期货发起期货资金转银行应答
409
+ ///�ڻ������ڻ��ʽ�ת����Ӧ��
404
410
  virtual void OnRspFromFutureToBankByFuture(CThostFtdcReqTransferField *pReqTransfer, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
405
411
 
406
- ///期货发起查询银行余额应答
412
+ ///�ڻ������ѯ�������Ӧ��
407
413
  virtual void OnRspQueryBankAccountMoneyByFuture(CThostFtdcReqQueryAccountField *pReqQueryAccount, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
408
414
 
409
- ///银行发起银期开户通知
415
+ ///���з������ڿ���֪ͨ
410
416
  virtual void OnRtnOpenAccountByBank(CThostFtdcOpenAccountField *pOpenAccount) {};
411
417
 
412
- ///银行发起银期销户通知
418
+ ///���з�����������֪ͨ
413
419
  virtual void OnRtnCancelAccountByBank(CThostFtdcCancelAccountField *pCancelAccount) {};
414
420
 
415
- ///银行发起变更银行账号通知
421
+ ///���з����������˺�֪ͨ
416
422
  virtual void OnRtnChangeAccountByBank(CThostFtdcChangeAccountField *pChangeAccount) {};
417
423
 
418
- ///请求查询分类合约响应
424
+ ///�����ѯ�����Լ��Ӧ
419
425
  virtual void OnRspQryClassifiedInstrument(CThostFtdcInstrumentField *pInstrument, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
420
426
 
421
- ///请求组合优惠比例响应
427
+ ///��������Żݱ�����Ӧ
422
428
  virtual void OnRspQryCombPromotionParam(CThostFtdcCombPromotionParamField *pCombPromotionParam, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
423
429
 
424
- ///投资者风险结算持仓查询响应
430
+ ///Ͷ���߷��ս���ֲֲ�ѯ��Ӧ
425
431
  virtual void OnRspQryRiskSettleInvstPosition(CThostFtdcRiskSettleInvstPositionField *pRiskSettleInvstPosition, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
426
432
 
427
- ///风险结算产品查询响应
433
+ ///���ս����Ʒ��ѯ��Ӧ
428
434
  virtual void OnRspQryRiskSettleProductStatus(CThostFtdcRiskSettleProductStatusField *pRiskSettleProductStatus, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
429
435
 
430
- ///SPBM期货合约参数查询响应
436
+ ///SPBM�ڻ���Լ������ѯ��Ӧ
431
437
  virtual void OnRspQrySPBMFutureParameter(CThostFtdcSPBMFutureParameterField *pSPBMFutureParameter, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
432
438
 
433
- ///SPBM期权合约参数查询响应
439
+ ///SPBM��Ȩ��Լ������ѯ��Ӧ
434
440
  virtual void OnRspQrySPBMOptionParameter(CThostFtdcSPBMOptionParameterField *pSPBMOptionParameter, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
435
441
 
436
- ///SPBM品种内对锁仓折扣参数查询响应
442
+ ///SPBMƷ���ڶ������ۿ۲�����ѯ��Ӧ
437
443
  virtual void OnRspQrySPBMIntraParameter(CThostFtdcSPBMIntraParameterField *pSPBMIntraParameter, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
438
444
 
439
- ///SPBM跨品种抵扣参数查询响应
445
+ ///SPBM��Ʒ�ֵֿ۲�����ѯ��Ӧ
440
446
  virtual void OnRspQrySPBMInterParameter(CThostFtdcSPBMInterParameterField *pSPBMInterParameter, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
441
447
 
442
- ///SPBM组合保证金套餐查询响应
448
+ ///SPBM��ϱ�֤���ײͲ�ѯ��Ӧ
443
449
  virtual void OnRspQrySPBMPortfDefinition(CThostFtdcSPBMPortfDefinitionField *pSPBMPortfDefinition, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
444
450
 
445
- ///投资者SPBM套餐选择查询响应
451
+ ///Ͷ����SPBM�ײ�ѡ���ѯ��Ӧ
446
452
  virtual void OnRspQrySPBMInvestorPortfDef(CThostFtdcSPBMInvestorPortfDefField *pSPBMInvestorPortfDef, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
447
453
 
448
- ///投资者新型组合保证金系数查询响应
454
+ ///Ͷ����������ϱ�֤��ϵ����ѯ��Ӧ
449
455
  virtual void OnRspQryInvestorPortfMarginRatio(CThostFtdcInvestorPortfMarginRatioField *pInvestorPortfMarginRatio, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
450
456
 
451
- ///投资者产品SPBM明细查询响应
457
+ ///Ͷ���߲�ƷSPBM��ϸ��ѯ��Ӧ
452
458
  virtual void OnRspQryInvestorProdSPBMDetail(CThostFtdcInvestorProdSPBMDetailField *pInvestorProdSPBMDetail, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
453
459
 
454
- ///投资者商品组SPMM记录查询响应
460
+ ///Ͷ������Ʒ��SPMM��¼��ѯ��Ӧ
455
461
  virtual void OnRspQryInvestorCommoditySPMMMargin(CThostFtdcInvestorCommoditySPMMMarginField *pInvestorCommoditySPMMMargin, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
456
462
 
457
- ///投资者商品群SPMM记录查询响应
463
+ ///Ͷ������ƷȺSPMM��¼��ѯ��Ӧ
458
464
  virtual void OnRspQryInvestorCommodityGroupSPMMMargin(CThostFtdcInvestorCommodityGroupSPMMMarginField *pInvestorCommodityGroupSPMMMargin, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
459
465
 
460
- ///SPMM合约参数查询响应
466
+ ///SPMM��Լ������ѯ��Ӧ
461
467
  virtual void OnRspQrySPMMInstParam(CThostFtdcSPMMInstParamField *pSPMMInstParam, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
462
468
 
463
- ///SPMM产品参数查询响应
469
+ ///SPMM��Ʒ������ѯ��Ӧ
464
470
  virtual void OnRspQrySPMMProductParam(CThostFtdcSPMMProductParamField *pSPMMProductParam, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
465
471
 
466
- ///SPBM附加跨品种抵扣参数查询响应
472
+ ///SPBM���ӿ�Ʒ�ֵֿ۲�����ѯ��Ӧ
467
473
  virtual void OnRspQrySPBMAddOnInterParameter(CThostFtdcSPBMAddOnInterParameterField *pSPBMAddOnInterParameter, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
468
474
 
469
- ///RCAMS产品组合信息查询响应
475
+ ///RCAMS��Ʒ�����Ϣ��ѯ��Ӧ
470
476
  virtual void OnRspQryRCAMSCombProductInfo(CThostFtdcRCAMSCombProductInfoField *pRCAMSCombProductInfo, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
471
477
 
472
- ///RCAMS同合约风险对冲参数查询响应
478
+ ///RCAMSͬ��Լ���նԳ������ѯ��Ӧ
473
479
  virtual void OnRspQryRCAMSInstrParameter(CThostFtdcRCAMSInstrParameterField *pRCAMSInstrParameter, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
474
480
 
475
- ///RCAMS品种内风险对冲参数查询响应
481
+ ///RCAMSƷ���ڷ��նԳ������ѯ��Ӧ
476
482
  virtual void OnRspQryRCAMSIntraParameter(CThostFtdcRCAMSIntraParameterField *pRCAMSIntraParameter, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
477
483
 
478
- ///RCAMS跨品种风险折抵参数查询响应
484
+ ///RCAMS��Ʒ�ַ����۵ֲ�����ѯ��Ӧ
479
485
  virtual void OnRspQryRCAMSInterParameter(CThostFtdcRCAMSInterParameterField *pRCAMSInterParameter, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
480
486
 
481
- ///RCAMS空头期权风险调整参数查询响应
487
+ ///RCAMS��ͷ��Ȩ���յ���������ѯ��Ӧ
482
488
  virtual void OnRspQryRCAMSShortOptAdjustParam(CThostFtdcRCAMSShortOptAdjustParamField *pRCAMSShortOptAdjustParam, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
483
489
 
484
- ///RCAMS策略组合持仓查询响应
490
+ ///RCAMS������ϳֲֲ�ѯ��Ӧ
485
491
  virtual void OnRspQryRCAMSInvestorCombPosition(CThostFtdcRCAMSInvestorCombPositionField *pRCAMSInvestorCombPosition, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
486
492
 
487
- ///投资者品种RCAMS保证金查询响应
493
+ ///Ͷ����Ʒ��RCAMS��֤���ѯ��Ӧ
488
494
  virtual void OnRspQryInvestorProdRCAMSMargin(CThostFtdcInvestorProdRCAMSMarginField *pInvestorProdRCAMSMargin, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
489
495
 
490
- ///RULE合约保证金参数查询响应
496
+ ///RULE��Լ��֤�������ѯ��Ӧ
491
497
  virtual void OnRspQryRULEInstrParameter(CThostFtdcRULEInstrParameterField *pRULEInstrParameter, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
492
498
 
493
- ///RULE品种内对锁仓折扣参数查询响应
499
+ ///RULEƷ���ڶ������ۿ۲�����ѯ��Ӧ
494
500
  virtual void OnRspQryRULEIntraParameter(CThostFtdcRULEIntraParameterField *pRULEIntraParameter, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
495
501
 
496
- ///RULE跨品种抵扣参数查询响应
502
+ ///RULE��Ʒ�ֵֿ۲�����ѯ��Ӧ
497
503
  virtual void OnRspQryRULEInterParameter(CThostFtdcRULEInterParameterField *pRULEInterParameter, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
498
504
 
499
- ///投资者产品RULE保证金查询响应
505
+ ///Ͷ���߲�ƷRULE��֤���ѯ��Ӧ
500
506
  virtual void OnRspQryInvestorProdRULEMargin(CThostFtdcInvestorProdRULEMarginField *pInvestorProdRULEMargin, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
507
+
508
+ ///Ͷ����������ϱ�֤�𿪹ز�ѯ��Ӧ
509
+ virtual void OnRspQryInvestorPortfSetting(CThostFtdcInvestorPortfSettingField *pInvestorPortfSetting, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
510
+
511
+ ///Ͷ�����걨�ѽ�����ȡ��¼��ѯ��Ӧ
512
+ virtual void OnRspQryInvestorInfoCommRec(CThostFtdcInvestorInfoCommRecField *pInvestorInfoCommRec, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
513
+
514
+ ///�������Ϣ��ѯ��Ӧ
515
+ virtual void OnRspQryCombLeg(CThostFtdcCombLegField *pCombLeg, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
516
+
517
+ ///�Գ�����������Ӧ
518
+ virtual void OnRspOffsetSetting(CThostFtdcInputOffsetSettingField *pInputOffsetSetting, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
519
+
520
+ ///�Գ����ó���������Ӧ
521
+ virtual void OnRspCancelOffsetSetting(CThostFtdcInputOffsetSettingField *pInputOffsetSetting, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
522
+
523
+ ///�Գ�����֪ͨ
524
+ virtual void OnRtnOffsetSetting(CThostFtdcOffsetSettingField *pOffsetSetting) {};
525
+
526
+ ///�Գ����ô���ر�
527
+ virtual void OnErrRtnOffsetSetting(CThostFtdcInputOffsetSettingField *pInputOffsetSetting, CThostFtdcRspInfoField *pRspInfo) {};
528
+
529
+ ///�Գ����ó�������ر�
530
+ virtual void OnErrRtnCancelOffsetSetting(CThostFtdcCancelOffsetSettingField *pCancelOffsetSetting, CThostFtdcRspInfoField *pRspInfo) {};
531
+
532
+ ///Ͷ���߶Գ����ò�ѯ��Ӧ
533
+ virtual void OnRspQryOffsetSetting(CThostFtdcOffsetSettingField *pOffsetSetting, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
534
+
535
+ ///���������֤����Ӧ
536
+ virtual void OnRspGenSMSCode(CThostFtdcRspGenSMSCodeField *pRspGenSMSCode, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
537
+
538
+ ///����ȷ�ϻظ�
539
+ virtual void OnRspSpdApply(CThostFtdcInputSpdApplyField *pInputSpdApply, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
540
+
541
+ ///����ȷ�ϳ����ظ�
542
+ virtual void OnRspSpdApplyAction(CThostFtdcInputSpdApplyActionField *pInputSpdApplyAction, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
543
+
544
+ ///����ȷ�ϲ�ѯ�ظ�
545
+ virtual void OnRspQrySpdApply(CThostFtdcSpdApplyField *pSpdApply, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
546
+
547
+ ///����ȷ��֪ͨ
548
+ virtual void OnRtnSpdApply(CThostFtdcSpdApplyField *pSpdApply) {};
549
+
550
+ ///��������¼�����ر�
551
+ virtual void OnErrRtnSpdApply(CThostFtdcInputSpdApplyField *pInputSpdApply, CThostFtdcRspInfoField *pRspInfo) {};
552
+
553
+ ///����ȷ�ϳ���֪ͨ
554
+ virtual void OnErrRtnSpdApplyAction(CThostFtdcSpdApplyActionField *pSpdApplyAction, CThostFtdcRspInfoField *pRspInfo) {};
555
+
556
+ ///�ױ�ȷ�ϻظ�
557
+ virtual void OnRspHedgeCfm(CThostFtdcInputHedgeCfmField *pInputHedgeCfm, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
558
+
559
+ ///�ױ�ȷ�ϳ����ظ�
560
+ virtual void OnRspHedgeCfmAction(CThostFtdcInputHedgeCfmActionField *pInputHedgeCfmAction, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
561
+
562
+ ///�ױ�ȷ�ϲ�ѯ�ظ�
563
+ virtual void OnRspQryHedgeCfm(CThostFtdcHedgeCfmField *pHedgeCfm, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
564
+
565
+ ///�ױ�ȷ��֪ͨ
566
+ virtual void OnRtnHedgeCfm(CThostFtdcHedgeCfmField *pHedgeCfm) {};
567
+
568
+ ///�ױ����¼�����ر�
569
+ virtual void OnErrRtnHedgeCfm(CThostFtdcInputHedgeCfmField *pInputHedgeCfm, CThostFtdcRspInfoField *pRspInfo) {};
570
+
571
+ ///�ױ�ȷ�ϳ���֪ͨ
572
+ virtual void OnErrRtnHedgeCfmAction(CThostFtdcHedgeCfmActionField *pHedgeCfmAction, CThostFtdcRspInfoField *pRspInfo) {};
501
573
  };
502
574
 
503
575
  class TRADER_API_EXPORT CThostFtdcTraderApi
504
576
  {
505
577
  public:
506
- ///创建TraderApi
507
- ///@param pszFlowPath 存贮订阅信息文件的目录,默认为当前目录
508
- ///@return 创建出的UserApi
509
- static CThostFtdcTraderApi *CreateFtdcTraderApi(const char *pszFlowPath = "");
578
+ ///����TraderApi
579
+ ///@param pszFlowPath ����������Ϣ�ļ���Ŀ¼��Ĭ��Ϊ��ǰĿ¼
580
+ ///@param bIsProductionMode true:ʹ�������汾��API false:ʹ�ò����汾��API
581
+ ///@return ��������UserApi
582
+ static CThostFtdcTraderApi *CreateFtdcTraderApi(const char *pszFlowPath = "", bool bIsProductionMode = true);
510
583
 
511
- ///获取API的版本信息
512
- ///@retrun 获取到的版本号
584
+ ///��ȡAPI�İ汾��Ϣ
585
+ ///@retrun ��ȡ���İ汾��
513
586
  static const char *GetApiVersion();
514
587
 
515
- ///删除接口对象本身
516
- ///@remark 不再使用本接口对象时,调用该函数删除接口对象
588
+ ///ɾ���ӿڶ�����
589
+ ///@remark ����ʹ�ñ��ӿڶ���ʱ,���øú���ɾ���ӿڶ���
517
590
  virtual void Release() = 0;
518
591
 
519
- ///初始化
520
- ///@remark 初始化运行环境,只有调用后,接口才开始工作
592
+ ///��ʼ��
593
+ ///@remark ��ʼ�����л���,ֻ�е��ú�,�ӿڲſ�ʼ����
521
594
  virtual void Init() = 0;
522
595
 
523
- ///等待接口线程结束运行
524
- ///@return 线程退出代码
596
+ ///�ȴ��ӿ��߳̽�������
597
+ ///@return �߳��˳�����
525
598
  virtual int Join() = 0;
526
599
 
527
- ///获取当前交易日
528
- ///@retrun 获取到的交易日
529
- ///@remark 只有登录成功后,才能得到正确的交易日
600
+ ///��ȡ��ǰ������
601
+ ///@retrun ��ȡ���Ľ�����
602
+ ///@remark ֻ�е�¼�ɹ���,���ܵõ���ȷ�Ľ�����
530
603
  virtual const char *GetTradingDay() = 0;
531
604
 
532
- ///注册前置机网络地址
533
- ///@param pszFrontAddress:前置机网络地址。
534
- ///@remark 网络地址的格式为:“protocol://ipaddress:port”,如:”tcp://127.0.0.1:17001”。
535
- ///@remark “tcp”代表传输协议,“127.0.0.1”代表服务器地址。”17001”代表服务器端口号。
605
+ ///��ȡ�����ӵ�ǰ�õ���Ϣ
606
+ /// @param pFrontInfo������������������ڴ洢��ȡ����ǰ����Ϣ������Ϊ��
607
+ /// @remark ���ӳɹ��󣬿ɻ�ȡ��ȷ��ǰ�õ�ַ��Ϣ
608
+ /// @remark ��¼�ɹ��󣬿ɻ�ȡ��ȷ��ǰ��������Ϣ
609
+ virtual void GetFrontInfo(CThostFtdcFrontInfoField* pFrontInfo) =0;
610
+
611
+ ///ע��ǰ�û������ַ
612
+ ///@param pszFrontAddress��ǰ�û������ַ��
613
+ ///@remark �����ַ�ĸ�ʽΪ����protocol://ipaddress:port�����磺��tcp://127.0.0.1:17001����
614
+ ///@remark ��tcp����������Э�飬��127.0.0.1��������������ַ����17001�������������˿ںš�
536
615
  virtual void RegisterFront(char *pszFrontAddress) = 0;
537
616
 
538
- ///注册名字服务器网络地址
539
- ///@param pszNsAddress:名字服务器网络地址。
540
- ///@remark 网络地址的格式为:“protocol://ipaddress:port”,如:”tcp://127.0.0.1:12001”。
541
- ///@remark “tcp”代表传输协议,“127.0.0.1”代表服务器地址。”12001”代表服务器端口号。
542
- ///@remark RegisterNameServer优先于RegisterFront
617
+ ///ע�����ַ����������ַ
618
+ ///@param pszNsAddress�����ַ����������ַ��
619
+ ///@remark �����ַ�ĸ�ʽΪ����protocol://ipaddress:port�����磺��tcp://127.0.0.1:12001����
620
+ ///@remark ��tcp����������Э�飬��127.0.0.1��������������ַ����12001�������������˿ںš�
621
+ ///@remark RegisterNameServer������RegisterFront
543
622
  virtual void RegisterNameServer(char *pszNsAddress) = 0;
544
623
 
545
- ///注册名字服务器用户信息
546
- ///@param pFensUserInfo:用户信息。
624
+ ///ע�����ַ������û���Ϣ
625
+ ///@param pFensUserInfo���û���Ϣ��
547
626
  virtual void RegisterFensUserInfo(CThostFtdcFensUserInfoField * pFensUserInfo) = 0;
548
627
 
549
- ///注册回调接口
550
- ///@param pSpi 派生自回调接口类的实例
628
+ ///ע��ص��ӿ�
629
+ ///@param pSpi �����Իص��ӿ����ʵ��
551
630
  virtual void RegisterSpi(CThostFtdcTraderSpi *pSpi) = 0;
552
631
 
553
- ///订阅私有流。
554
- ///@param nResumeType 私有流重传方式
555
- /// THOST_TERT_RESTART:从本交易日开始重传
556
- /// THOST_TERT_RESUME:从上次收到的续传
557
- /// THOST_TERT_QUICK:只传送登录后私有流的内容
558
- ///@remark 该方法要在Init方法前调用。若不调用则不会收到私有流的数据。
559
- virtual void SubscribePrivateTopic(THOST_TE_RESUME_TYPE nResumeType) = 0;
632
+ ///����˽������
633
+ ///@param nResumeType ˽�����ش���ʽ
634
+ /// THOST_TERT_RESTART:�ӱ������տ�ʼ�ش�
635
+ /// THOST_TERT_RESUME:���ϴ��յ�������
636
+ /// THOST_TERT_QUICK:ֻ���͵�¼��˽����������
637
+ /// THOST_TERT_RESUME_FROM_SEQ_NO:��ָ����ſ�ʼ�ش�����Ŵ�1��ʼ
638
+ ///@param nSeqNo ˽������ţ�ֻ��THOST_TERT_RESUME_FROM_SEQ_NOģʽ����Ч
639
+ ///@remark �÷���Ҫ��Init����ǰ���á����������򲻻��յ�˽���������ݡ�
640
+ virtual void SubscribePrivateTopic(THOST_TE_RESUME_TYPE nResumeType, int nSeqNo=1) = 0;
560
641
 
561
- ///订阅公共流。
562
- ///@param nResumeType 公共流重传方式
563
- /// THOST_TERT_RESTART:从本交易日开始重传
564
- /// THOST_TERT_RESUME:从上次收到的续传
565
- /// THOST_TERT_QUICK:只传送登录后公共流的内容
566
- /// THOST_TERT_NONE:取消订阅公共流
567
- ///@remark 该方法要在Init方法前调用。若不调用则不会收到公共流的数据。
642
+ ///����������
643
+ ///@param nResumeType �������ش���ʽ
644
+ /// THOST_TERT_RESTART:�ӱ������տ�ʼ�ش�
645
+ /// THOST_TERT_RESUME:���ϴ��յ�������
646
+ /// THOST_TERT_QUICK:ֻ���͵�¼�󹫹���������
647
+ /// THOST_TERT_NONE:ȡ�����Ĺ�����
648
+ ///@remark �÷���Ҫ��Init����ǰ���á����������򲻻��յ������������ݡ�
568
649
  virtual void SubscribePublicTopic(THOST_TE_RESUME_TYPE nResumeType) = 0;
569
650
 
570
- ///客户端认证请求
651
+ ///�ͻ�����֤����
571
652
  virtual int ReqAuthenticate(CThostFtdcReqAuthenticateField *pReqAuthenticateField, int nRequestID) = 0;
572
653
 
573
- ///注册用户终端信息,用于中继服务器多连接模式
574
- ///需要在终端认证成功后,用户登录前调用该接口
654
+ ///ע���û��ն���Ϣ�������м̷�����������ģʽ
655
+ ///��Ҫ���ն���֤�ɹ����û���¼ǰ���øýӿ�
575
656
  virtual int RegisterUserSystemInfo(CThostFtdcUserSystemInfoField *pUserSystemInfo) = 0;
576
657
 
577
- ///上报用户终端信息,用于中继服务器操作员登录模式
578
- ///操作员登录后,可以多次调用该接口上报客户信息
658
+ ///�ϱ��û��ն���Ϣ�������м̷���������Ա��¼ģʽ
659
+ ///����Ա��¼�󣬿��Զ�ε��øýӿ��ϱ��ͻ���Ϣ
579
660
  virtual int SubmitUserSystemInfo(CThostFtdcUserSystemInfoField *pUserSystemInfo) = 0;
661
+ ///ע���û��ն���Ϣ�������м̷�����������ģʽ.����΢��С�����Ӧ���ϱ���Ϣ.
662
+ virtual int RegisterWechatUserSystemInfo(CThostFtdcWechatUserSystemInfoField *pUserSystemInfo) = 0;
663
+ ///�ϱ��û��ն���Ϣ�������м̷���������Ա��¼ģʽ.����΢��С�����Ӧ���ϱ���Ϣ.
664
+ virtual int SubmitWechatUserSystemInfo(CThostFtdcWechatUserSystemInfoField *pUserSystemInfo) = 0;
580
665
 
581
- ///用户登录请求
666
+ ///�û���¼����
582
667
  virtual int ReqUserLogin(CThostFtdcReqUserLoginField *pReqUserLoginField, int nRequestID) = 0;
583
668
 
584
- ///登出请求
669
+ ///�dz�����
585
670
  virtual int ReqUserLogout(CThostFtdcUserLogoutField *pUserLogout, int nRequestID) = 0;
586
671
 
587
- ///用户口令更新请求
672
+ ///�û������������
588
673
  virtual int ReqUserPasswordUpdate(CThostFtdcUserPasswordUpdateField *pUserPasswordUpdate, int nRequestID) = 0;
589
674
 
590
- ///资金账户口令更新请求
675
+ ///�ʽ��˻������������
591
676
  virtual int ReqTradingAccountPasswordUpdate(CThostFtdcTradingAccountPasswordUpdateField *pTradingAccountPasswordUpdate, int nRequestID) = 0;
592
677
 
593
- ///查询用户当前支持的认证模式
678
+ ///��ѯ�û���ǰ֧�ֵ���֤ģʽ
594
679
  virtual int ReqUserAuthMethod(CThostFtdcReqUserAuthMethodField *pReqUserAuthMethod, int nRequestID) = 0;
595
680
 
596
- ///用户发出获取图形验证码请求
681
+ ///�û�������ȡͼ����֤������
597
682
  virtual int ReqGenUserCaptcha(CThostFtdcReqGenUserCaptchaField *pReqGenUserCaptcha, int nRequestID) = 0;
598
683
 
599
- ///用户发出获取短信验证码请求
684
+ ///�û�������ȡ������֤������
600
685
  virtual int ReqGenUserText(CThostFtdcReqGenUserTextField *pReqGenUserText, int nRequestID) = 0;
601
686
 
602
- ///用户发出带有图片验证码的登陆请求
687
+ ///�û���������ͼƬ��֤��ĵ�½����
603
688
  virtual int ReqUserLoginWithCaptcha(CThostFtdcReqUserLoginWithCaptchaField *pReqUserLoginWithCaptcha, int nRequestID) = 0;
604
689
 
605
- ///用户发出带有短信验证码的登陆请求
690
+ ///�û��������ж�����֤��ĵ�½����
606
691
  virtual int ReqUserLoginWithText(CThostFtdcReqUserLoginWithTextField *pReqUserLoginWithText, int nRequestID) = 0;
607
692
 
608
- ///用户发出带有动态口令的登陆请求
693
+ ///�û��������ж�̬����ĵ�½����
609
694
  virtual int ReqUserLoginWithOTP(CThostFtdcReqUserLoginWithOTPField *pReqUserLoginWithOTP, int nRequestID) = 0;
610
695
 
611
- ///报单录入请求
696
+ ///����¼������
612
697
  virtual int ReqOrderInsert(CThostFtdcInputOrderField *pInputOrder, int nRequestID) = 0;
613
698
 
614
- ///预埋单录入请求
699
+ ///Ԥ��¼������
615
700
  virtual int ReqParkedOrderInsert(CThostFtdcParkedOrderField *pParkedOrder, int nRequestID) = 0;
616
701
 
617
- ///预埋撤单录入请求
702
+ ///Ԥ�񳷵�¼������
618
703
  virtual int ReqParkedOrderAction(CThostFtdcParkedOrderActionField *pParkedOrderAction, int nRequestID) = 0;
619
704
 
620
- ///报单操作请求
705
+ ///������������
621
706
  virtual int ReqOrderAction(CThostFtdcInputOrderActionField *pInputOrderAction, int nRequestID) = 0;
622
707
 
623
- ///查询最大报单数量请求
708
+ ///��ѯ��󱨵���������
624
709
  virtual int ReqQryMaxOrderVolume(CThostFtdcQryMaxOrderVolumeField *pQryMaxOrderVolume, int nRequestID) = 0;
625
710
 
626
- ///投资者结算结果确认
711
+ ///Ͷ���߽�����ȷ��
627
712
  virtual int ReqSettlementInfoConfirm(CThostFtdcSettlementInfoConfirmField *pSettlementInfoConfirm, int nRequestID) = 0;
628
713
 
629
- ///请求删除预埋单
714
+ ///����ɾ��Ԥ��
630
715
  virtual int ReqRemoveParkedOrder(CThostFtdcRemoveParkedOrderField *pRemoveParkedOrder, int nRequestID) = 0;
631
716
 
632
- ///请求删除预埋撤单
717
+ ///����ɾ��Ԥ�񳷵�
633
718
  virtual int ReqRemoveParkedOrderAction(CThostFtdcRemoveParkedOrderActionField *pRemoveParkedOrderAction, int nRequestID) = 0;
634
719
 
635
- ///执行宣告录入请求
720
+ ///ִ������¼������
636
721
  virtual int ReqExecOrderInsert(CThostFtdcInputExecOrderField *pInputExecOrder, int nRequestID) = 0;
637
722
 
638
- ///执行宣告操作请求
723
+ ///ִ�������������
639
724
  virtual int ReqExecOrderAction(CThostFtdcInputExecOrderActionField *pInputExecOrderAction, int nRequestID) = 0;
640
725
 
641
- ///询价录入请求
726
+ ///ѯ��¼������
642
727
  virtual int ReqForQuoteInsert(CThostFtdcInputForQuoteField *pInputForQuote, int nRequestID) = 0;
643
728
 
644
- ///报价录入请求
729
+ ///����¼������
645
730
  virtual int ReqQuoteInsert(CThostFtdcInputQuoteField *pInputQuote, int nRequestID) = 0;
646
731
 
647
- ///报价操作请求
732
+ ///���۲�������
648
733
  virtual int ReqQuoteAction(CThostFtdcInputQuoteActionField *pInputQuoteAction, int nRequestID) = 0;
649
734
 
650
- ///批量报单操作请求
735
+ ///����������������
651
736
  virtual int ReqBatchOrderAction(CThostFtdcInputBatchOrderActionField *pInputBatchOrderAction, int nRequestID) = 0;
652
737
 
653
- ///期权自对冲录入请求
738
+ ///��Ȩ�ԶԳ�¼������
654
739
  virtual int ReqOptionSelfCloseInsert(CThostFtdcInputOptionSelfCloseField *pInputOptionSelfClose, int nRequestID) = 0;
655
740
 
656
- ///期权自对冲操作请求
741
+ ///��Ȩ�ԶԳ��������
657
742
  virtual int ReqOptionSelfCloseAction(CThostFtdcInputOptionSelfCloseActionField *pInputOptionSelfCloseAction, int nRequestID) = 0;
658
743
 
659
- ///申请组合录入请求
744
+ ///�������¼������
660
745
  virtual int ReqCombActionInsert(CThostFtdcInputCombActionField *pInputCombAction, int nRequestID) = 0;
661
746
 
662
- ///请求查询报单
747
+ ///�����ѯ����
663
748
  virtual int ReqQryOrder(CThostFtdcQryOrderField *pQryOrder, int nRequestID) = 0;
664
749
 
665
- ///请求查询成交
750
+ ///�����ѯ�ɽ�
666
751
  virtual int ReqQryTrade(CThostFtdcQryTradeField *pQryTrade, int nRequestID) = 0;
667
752
 
668
- ///请求查询投资者持仓
753
+ ///�����ѯͶ���ֲ߳�
669
754
  virtual int ReqQryInvestorPosition(CThostFtdcQryInvestorPositionField *pQryInvestorPosition, int nRequestID) = 0;
670
755
 
671
- ///请求查询资金账户
756
+ ///�����ѯ�ʽ��˻�
672
757
  virtual int ReqQryTradingAccount(CThostFtdcQryTradingAccountField *pQryTradingAccount, int nRequestID) = 0;
673
758
 
674
- ///请求查询投资者
759
+ ///�����ѯͶ����
675
760
  virtual int ReqQryInvestor(CThostFtdcQryInvestorField *pQryInvestor, int nRequestID) = 0;
676
761
 
677
- ///请求查询交易编码
762
+ ///�����ѯ���ױ���
678
763
  virtual int ReqQryTradingCode(CThostFtdcQryTradingCodeField *pQryTradingCode, int nRequestID) = 0;
679
764
 
680
- ///请求查询合约保证金率
765
+ ///�����ѯ��Լ��֤����
681
766
  virtual int ReqQryInstrumentMarginRate(CThostFtdcQryInstrumentMarginRateField *pQryInstrumentMarginRate, int nRequestID) = 0;
682
767
 
683
- ///请求查询合约手续费率
768
+ ///�����ѯ��Լ��������
684
769
  virtual int ReqQryInstrumentCommissionRate(CThostFtdcQryInstrumentCommissionRateField *pQryInstrumentCommissionRate, int nRequestID) = 0;
685
770
 
686
- ///请求查询交易所
771
+ ///�����ѯ�û��Ự
772
+ virtual int ReqQryUserSession(CThostFtdcQryUserSessionField *pQryUserSession, int nRequestID) = 0;
773
+
774
+ ///�����ѯ������
687
775
  virtual int ReqQryExchange(CThostFtdcQryExchangeField *pQryExchange, int nRequestID) = 0;
688
776
 
689
- ///请求查询产品
777
+ ///�����ѯ��Ʒ
690
778
  virtual int ReqQryProduct(CThostFtdcQryProductField *pQryProduct, int nRequestID) = 0;
691
779
 
692
- ///请求查询合约
780
+ ///�����ѯ��Լ
693
781
  virtual int ReqQryInstrument(CThostFtdcQryInstrumentField *pQryInstrument, int nRequestID) = 0;
694
782
 
695
- ///请求查询行情
783
+ ///�����ѯ����
696
784
  virtual int ReqQryDepthMarketData(CThostFtdcQryDepthMarketDataField *pQryDepthMarketData, int nRequestID) = 0;
697
785
 
698
- ///请求查询交易员报盘机
786
+ ///�����ѯ����Ա���̻�
699
787
  virtual int ReqQryTraderOffer(CThostFtdcQryTraderOfferField *pQryTraderOffer, int nRequestID) = 0;
700
788
 
701
- ///请求查询投资者结算结果
789
+ ///�����ѯͶ���߽�����
702
790
  virtual int ReqQrySettlementInfo(CThostFtdcQrySettlementInfoField *pQrySettlementInfo, int nRequestID) = 0;
703
791
 
704
- ///请求查询转帐银行
792
+ ///�����ѯת������
705
793
  virtual int ReqQryTransferBank(CThostFtdcQryTransferBankField *pQryTransferBank, int nRequestID) = 0;
706
794
 
707
- ///请求查询投资者持仓明细
795
+ ///�����ѯͶ���ֲ߳���ϸ
708
796
  virtual int ReqQryInvestorPositionDetail(CThostFtdcQryInvestorPositionDetailField *pQryInvestorPositionDetail, int nRequestID) = 0;
709
797
 
710
- ///请求查询客户通知
798
+ ///�����ѯ�ͻ�֪ͨ
711
799
  virtual int ReqQryNotice(CThostFtdcQryNoticeField *pQryNotice, int nRequestID) = 0;
712
800
 
713
- ///请求查询结算信息确认
801
+ ///�����ѯ������Ϣȷ��
714
802
  virtual int ReqQrySettlementInfoConfirm(CThostFtdcQrySettlementInfoConfirmField *pQrySettlementInfoConfirm, int nRequestID) = 0;
715
803
 
716
- ///请求查询投资者持仓明细
804
+ ///�����ѯͶ���ֲ߳���ϸ
717
805
  virtual int ReqQryInvestorPositionCombineDetail(CThostFtdcQryInvestorPositionCombineDetailField *pQryInvestorPositionCombineDetail, int nRequestID) = 0;
718
806
 
719
- ///请求查询保证金监管系统经纪公司资金账户密钥
807
+ ///�����ѯ��֤����ϵͳ���͹�˾�ʽ��˻���Կ
720
808
  virtual int ReqQryCFMMCTradingAccountKey(CThostFtdcQryCFMMCTradingAccountKeyField *pQryCFMMCTradingAccountKey, int nRequestID) = 0;
721
809
 
722
- ///请求查询仓单折抵信息
810
+ ///�����ѯ�ֵ��۵���Ϣ
723
811
  virtual int ReqQryEWarrantOffset(CThostFtdcQryEWarrantOffsetField *pQryEWarrantOffset, int nRequestID) = 0;
724
812
 
725
- ///请求查询投资者品种/跨品种保证金
813
+ ///�����ѯͶ����Ʒ��/��Ʒ�ֱ�֤��
726
814
  virtual int ReqQryInvestorProductGroupMargin(CThostFtdcQryInvestorProductGroupMarginField *pQryInvestorProductGroupMargin, int nRequestID) = 0;
727
815
 
728
- ///请求查询交易所保证金率
816
+ ///�����ѯ��������֤����
729
817
  virtual int ReqQryExchangeMarginRate(CThostFtdcQryExchangeMarginRateField *pQryExchangeMarginRate, int nRequestID) = 0;
730
818
 
731
- ///请求查询交易所调整保证金率
819
+ ///�����ѯ������������֤����
732
820
  virtual int ReqQryExchangeMarginRateAdjust(CThostFtdcQryExchangeMarginRateAdjustField *pQryExchangeMarginRateAdjust, int nRequestID) = 0;
733
821
 
734
- ///请求查询汇率
822
+ ///�����ѯ����
735
823
  virtual int ReqQryExchangeRate(CThostFtdcQryExchangeRateField *pQryExchangeRate, int nRequestID) = 0;
736
824
 
737
- ///请求查询二级代理操作员银期权限
825
+ ///�����ѯ������������Ա����Ȩ��
738
826
  virtual int ReqQrySecAgentACIDMap(CThostFtdcQrySecAgentACIDMapField *pQrySecAgentACIDMap, int nRequestID) = 0;
739
827
 
740
- ///请求查询产品报价汇率
828
+ ///�����ѯ��Ʒ���ۻ���
741
829
  virtual int ReqQryProductExchRate(CThostFtdcQryProductExchRateField *pQryProductExchRate, int nRequestID) = 0;
742
830
 
743
- ///请求查询产品组
831
+ ///�����ѯ��Ʒ��
744
832
  virtual int ReqQryProductGroup(CThostFtdcQryProductGroupField *pQryProductGroup, int nRequestID) = 0;
745
833
 
746
- ///请求查询做市商合约手续费率
834
+ ///�����ѯ�����̺�Լ��������
747
835
  virtual int ReqQryMMInstrumentCommissionRate(CThostFtdcQryMMInstrumentCommissionRateField *pQryMMInstrumentCommissionRate, int nRequestID) = 0;
748
836
 
749
- ///请求查询做市商期权合约手续费
837
+ ///�����ѯ��������Ȩ��Լ������
750
838
  virtual int ReqQryMMOptionInstrCommRate(CThostFtdcQryMMOptionInstrCommRateField *pQryMMOptionInstrCommRate, int nRequestID) = 0;
751
839
 
752
- ///请求查询报单手续费
840
+ ///�����ѯ����������
753
841
  virtual int ReqQryInstrumentOrderCommRate(CThostFtdcQryInstrumentOrderCommRateField *pQryInstrumentOrderCommRate, int nRequestID) = 0;
754
842
 
755
- ///请求查询资金账户
843
+ ///�����ѯ�ʽ��˻�
756
844
  virtual int ReqQrySecAgentTradingAccount(CThostFtdcQryTradingAccountField *pQryTradingAccount, int nRequestID) = 0;
757
845
 
758
- ///请求查询二级代理商资金校验模式
846
+ ///�����ѯ�����������ʽ�У��ģʽ
759
847
  virtual int ReqQrySecAgentCheckMode(CThostFtdcQrySecAgentCheckModeField *pQrySecAgentCheckMode, int nRequestID) = 0;
760
848
 
761
- ///请求查询二级代理商信息
849
+ ///�����ѯ������������Ϣ
762
850
  virtual int ReqQrySecAgentTradeInfo(CThostFtdcQrySecAgentTradeInfoField *pQrySecAgentTradeInfo, int nRequestID) = 0;
763
851
 
764
- ///请求查询期权交易成本
852
+ ///�����ѯ��Ȩ���׳ɱ�
765
853
  virtual int ReqQryOptionInstrTradeCost(CThostFtdcQryOptionInstrTradeCostField *pQryOptionInstrTradeCost, int nRequestID) = 0;
766
854
 
767
- ///请求查询期权合约手续费
855
+ ///�����ѯ��Ȩ��Լ������
768
856
  virtual int ReqQryOptionInstrCommRate(CThostFtdcQryOptionInstrCommRateField *pQryOptionInstrCommRate, int nRequestID) = 0;
769
857
 
770
- ///请求查询执行宣告
858
+ ///�����ѯִ������
771
859
  virtual int ReqQryExecOrder(CThostFtdcQryExecOrderField *pQryExecOrder, int nRequestID) = 0;
772
860
 
773
- ///请求查询询价
861
+ ///�����ѯѯ��
774
862
  virtual int ReqQryForQuote(CThostFtdcQryForQuoteField *pQryForQuote, int nRequestID) = 0;
775
863
 
776
- ///请求查询报价
864
+ ///�����ѯ����
777
865
  virtual int ReqQryQuote(CThostFtdcQryQuoteField *pQryQuote, int nRequestID) = 0;
778
866
 
779
- ///请求查询期权自对冲
867
+ ///�����ѯ��Ȩ�ԶԳ�
780
868
  virtual int ReqQryOptionSelfClose(CThostFtdcQryOptionSelfCloseField *pQryOptionSelfClose, int nRequestID) = 0;
781
869
 
782
- ///请求查询投资单元
870
+ ///�����ѯͶ�ʵ�Ԫ
783
871
  virtual int ReqQryInvestUnit(CThostFtdcQryInvestUnitField *pQryInvestUnit, int nRequestID) = 0;
784
872
 
785
- ///请求查询组合合约安全系数
873
+ ///�����ѯ��Ϻ�Լ��ȫϵ��
786
874
  virtual int ReqQryCombInstrumentGuard(CThostFtdcQryCombInstrumentGuardField *pQryCombInstrumentGuard, int nRequestID) = 0;
787
875
 
788
- ///请求查询申请组合
876
+ ///�����ѯ�������
789
877
  virtual int ReqQryCombAction(CThostFtdcQryCombActionField *pQryCombAction, int nRequestID) = 0;
790
878
 
791
- ///请求查询转帐流水
879
+ ///�����ѯת����ˮ
792
880
  virtual int ReqQryTransferSerial(CThostFtdcQryTransferSerialField *pQryTransferSerial, int nRequestID) = 0;
793
881
 
794
- ///请求查询银期签约关系
882
+ ///�����ѯ����ǩԼ��ϵ
795
883
  virtual int ReqQryAccountregister(CThostFtdcQryAccountregisterField *pQryAccountregister, int nRequestID) = 0;
796
884
 
797
- ///请求查询签约银行
885
+ ///�����ѯǩԼ����
798
886
  virtual int ReqQryContractBank(CThostFtdcQryContractBankField *pQryContractBank, int nRequestID) = 0;
799
887
 
800
- ///请求查询预埋单
888
+ ///�����ѯԤ��
801
889
  virtual int ReqQryParkedOrder(CThostFtdcQryParkedOrderField *pQryParkedOrder, int nRequestID) = 0;
802
890
 
803
- ///请求查询预埋撤单
891
+ ///�����ѯԤ�񳷵�
804
892
  virtual int ReqQryParkedOrderAction(CThostFtdcQryParkedOrderActionField *pQryParkedOrderAction, int nRequestID) = 0;
805
893
 
806
- ///请求查询交易通知
894
+ ///�����ѯ����֪ͨ
807
895
  virtual int ReqQryTradingNotice(CThostFtdcQryTradingNoticeField *pQryTradingNotice, int nRequestID) = 0;
808
896
 
809
- ///请求查询经纪公司交易参数
897
+ ///�����ѯ���͹�˾���ײ���
810
898
  virtual int ReqQryBrokerTradingParams(CThostFtdcQryBrokerTradingParamsField *pQryBrokerTradingParams, int nRequestID) = 0;
811
899
 
812
- ///请求查询经纪公司交易算法
900
+ ///�����ѯ���͹�˾�����㷨
813
901
  virtual int ReqQryBrokerTradingAlgos(CThostFtdcQryBrokerTradingAlgosField *pQryBrokerTradingAlgos, int nRequestID) = 0;
814
902
 
815
- ///请求查询监控中心用户令牌
903
+ ///�����ѯ��������û�����
816
904
  virtual int ReqQueryCFMMCTradingAccountToken(CThostFtdcQueryCFMMCTradingAccountTokenField *pQueryCFMMCTradingAccountToken, int nRequestID) = 0;
817
905
 
818
- ///期货发起银行资金转期货请求
906
+ ///�ڻ����������ʽ�ת�ڻ�����
819
907
  virtual int ReqFromBankToFutureByFuture(CThostFtdcReqTransferField *pReqTransfer, int nRequestID) = 0;
820
908
 
821
- ///期货发起期货资金转银行请求
909
+ ///�ڻ������ڻ��ʽ�ת��������
822
910
  virtual int ReqFromFutureToBankByFuture(CThostFtdcReqTransferField *pReqTransfer, int nRequestID) = 0;
823
911
 
824
- ///期货发起查询银行余额请求
912
+ ///�ڻ������ѯ�����������
825
913
  virtual int ReqQueryBankAccountMoneyByFuture(CThostFtdcReqQueryAccountField *pReqQueryAccount, int nRequestID) = 0;
826
914
 
827
- ///请求查询分类合约
915
+ ///�����ѯ�����Լ
828
916
  virtual int ReqQryClassifiedInstrument(CThostFtdcQryClassifiedInstrumentField *pQryClassifiedInstrument, int nRequestID) = 0;
829
917
 
830
- ///请求组合优惠比例
918
+ ///��������Żݱ���
831
919
  virtual int ReqQryCombPromotionParam(CThostFtdcQryCombPromotionParamField *pQryCombPromotionParam, int nRequestID) = 0;
832
920
 
833
- ///投资者风险结算持仓查询
921
+ ///Ͷ���߷��ս���ֲֲ�ѯ
834
922
  virtual int ReqQryRiskSettleInvstPosition(CThostFtdcQryRiskSettleInvstPositionField *pQryRiskSettleInvstPosition, int nRequestID) = 0;
835
923
 
836
- ///风险结算产品查询
924
+ ///���ս����Ʒ��ѯ
837
925
  virtual int ReqQryRiskSettleProductStatus(CThostFtdcQryRiskSettleProductStatusField *pQryRiskSettleProductStatus, int nRequestID) = 0;
838
926
 
839
- ///SPBM期货合约参数查询
927
+ ///SPBM�ڻ���Լ������ѯ
840
928
  virtual int ReqQrySPBMFutureParameter(CThostFtdcQrySPBMFutureParameterField *pQrySPBMFutureParameter, int nRequestID) = 0;
841
929
 
842
- ///SPBM期权合约参数查询
930
+ ///SPBM��Ȩ��Լ������ѯ
843
931
  virtual int ReqQrySPBMOptionParameter(CThostFtdcQrySPBMOptionParameterField *pQrySPBMOptionParameter, int nRequestID) = 0;
844
932
 
845
- ///SPBM品种内对锁仓折扣参数查询
933
+ ///SPBMƷ���ڶ������ۿ۲�����ѯ
846
934
  virtual int ReqQrySPBMIntraParameter(CThostFtdcQrySPBMIntraParameterField *pQrySPBMIntraParameter, int nRequestID) = 0;
847
935
 
848
- ///SPBM跨品种抵扣参数查询
936
+ ///SPBM��Ʒ�ֵֿ۲�����ѯ
849
937
  virtual int ReqQrySPBMInterParameter(CThostFtdcQrySPBMInterParameterField *pQrySPBMInterParameter, int nRequestID) = 0;
850
938
 
851
- ///SPBM组合保证金套餐查询
939
+ ///SPBM��ϱ�֤���ײͲ�ѯ
852
940
  virtual int ReqQrySPBMPortfDefinition(CThostFtdcQrySPBMPortfDefinitionField *pQrySPBMPortfDefinition, int nRequestID) = 0;
853
941
 
854
- ///投资者SPBM套餐选择查询
942
+ ///Ͷ����SPBM�ײ�ѡ���ѯ
855
943
  virtual int ReqQrySPBMInvestorPortfDef(CThostFtdcQrySPBMInvestorPortfDefField *pQrySPBMInvestorPortfDef, int nRequestID) = 0;
856
944
 
857
- ///投资者新型组合保证金系数查询
945
+ ///Ͷ����������ϱ�֤��ϵ����ѯ
858
946
  virtual int ReqQryInvestorPortfMarginRatio(CThostFtdcQryInvestorPortfMarginRatioField *pQryInvestorPortfMarginRatio, int nRequestID) = 0;
859
947
 
860
- ///投资者产品SPBM明细查询
948
+ ///Ͷ���߲�ƷSPBM��ϸ��ѯ
861
949
  virtual int ReqQryInvestorProdSPBMDetail(CThostFtdcQryInvestorProdSPBMDetailField *pQryInvestorProdSPBMDetail, int nRequestID) = 0;
862
950
 
863
- ///投资者商品组SPMM记录查询
951
+ ///Ͷ������Ʒ��SPMM��¼��ѯ
864
952
  virtual int ReqQryInvestorCommoditySPMMMargin(CThostFtdcQryInvestorCommoditySPMMMarginField *pQryInvestorCommoditySPMMMargin, int nRequestID) = 0;
865
953
 
866
- ///投资者商品群SPMM记录查询
954
+ ///Ͷ������ƷȺSPMM��¼��ѯ
867
955
  virtual int ReqQryInvestorCommodityGroupSPMMMargin(CThostFtdcQryInvestorCommodityGroupSPMMMarginField *pQryInvestorCommodityGroupSPMMMargin, int nRequestID) = 0;
868
956
 
869
- ///SPMM合约参数查询
957
+ ///SPMM��Լ������ѯ
870
958
  virtual int ReqQrySPMMInstParam(CThostFtdcQrySPMMInstParamField *pQrySPMMInstParam, int nRequestID) = 0;
871
959
 
872
- ///SPMM产品参数查询
960
+ ///SPMM��Ʒ������ѯ
873
961
  virtual int ReqQrySPMMProductParam(CThostFtdcQrySPMMProductParamField *pQrySPMMProductParam, int nRequestID) = 0;
874
962
 
875
- ///SPBM附加跨品种抵扣参数查询
963
+ ///SPBM���ӿ�Ʒ�ֵֿ۲�����ѯ
876
964
  virtual int ReqQrySPBMAddOnInterParameter(CThostFtdcQrySPBMAddOnInterParameterField *pQrySPBMAddOnInterParameter, int nRequestID) = 0;
877
965
 
878
- ///RCAMS产品组合信息查询
966
+ ///RCAMS��Ʒ�����Ϣ��ѯ
879
967
  virtual int ReqQryRCAMSCombProductInfo(CThostFtdcQryRCAMSCombProductInfoField *pQryRCAMSCombProductInfo, int nRequestID) = 0;
880
968
 
881
- ///RCAMS同合约风险对冲参数查询
969
+ ///RCAMSͬ��Լ���նԳ������ѯ
882
970
  virtual int ReqQryRCAMSInstrParameter(CThostFtdcQryRCAMSInstrParameterField *pQryRCAMSInstrParameter, int nRequestID) = 0;
883
971
 
884
- ///RCAMS品种内风险对冲参数查询
972
+ ///RCAMSƷ���ڷ��նԳ������ѯ
885
973
  virtual int ReqQryRCAMSIntraParameter(CThostFtdcQryRCAMSIntraParameterField *pQryRCAMSIntraParameter, int nRequestID) = 0;
886
974
 
887
- ///RCAMS跨品种风险折抵参数查询
975
+ ///RCAMS��Ʒ�ַ����۵ֲ�����ѯ
888
976
  virtual int ReqQryRCAMSInterParameter(CThostFtdcQryRCAMSInterParameterField *pQryRCAMSInterParameter, int nRequestID) = 0;
889
977
 
890
- ///RCAMS空头期权风险调整参数查询
978
+ ///RCAMS��ͷ��Ȩ���յ���������ѯ
891
979
  virtual int ReqQryRCAMSShortOptAdjustParam(CThostFtdcQryRCAMSShortOptAdjustParamField *pQryRCAMSShortOptAdjustParam, int nRequestID) = 0;
892
980
 
893
- ///RCAMS策略组合持仓查询
981
+ ///RCAMS������ϳֲֲ�ѯ
894
982
  virtual int ReqQryRCAMSInvestorCombPosition(CThostFtdcQryRCAMSInvestorCombPositionField *pQryRCAMSInvestorCombPosition, int nRequestID) = 0;
895
983
 
896
- ///投资者品种RCAMS保证金查询
984
+ ///Ͷ����Ʒ��RCAMS��֤���ѯ
897
985
  virtual int ReqQryInvestorProdRCAMSMargin(CThostFtdcQryInvestorProdRCAMSMarginField *pQryInvestorProdRCAMSMargin, int nRequestID) = 0;
898
986
 
899
- ///RULE合约保证金参数查询
987
+ ///RULE��Լ��֤�������ѯ
900
988
  virtual int ReqQryRULEInstrParameter(CThostFtdcQryRULEInstrParameterField *pQryRULEInstrParameter, int nRequestID) = 0;
901
989
 
902
- ///RULE品种内对锁仓折扣参数查询
990
+ ///RULEƷ���ڶ������ۿ۲�����ѯ
903
991
  virtual int ReqQryRULEIntraParameter(CThostFtdcQryRULEIntraParameterField *pQryRULEIntraParameter, int nRequestID) = 0;
904
992
 
905
- ///RULE跨品种抵扣参数查询
993
+ ///RULE��Ʒ�ֵֿ۲�����ѯ
906
994
  virtual int ReqQryRULEInterParameter(CThostFtdcQryRULEInterParameterField *pQryRULEInterParameter, int nRequestID) = 0;
907
995
 
908
- ///投资者产品RULE保证金查询
996
+ ///Ͷ���߲�ƷRULE��֤���ѯ
909
997
  virtual int ReqQryInvestorProdRULEMargin(CThostFtdcQryInvestorProdRULEMarginField *pQryInvestorProdRULEMargin, int nRequestID) = 0;
998
+
999
+ ///Ͷ����������ϱ�֤�𿪹ز�ѯ
1000
+ virtual int ReqQryInvestorPortfSetting(CThostFtdcQryInvestorPortfSettingField *pQryInvestorPortfSetting, int nRequestID) = 0;
1001
+
1002
+ ///Ͷ�����걨�ѽ�����ȡ��¼��ѯ
1003
+ virtual int ReqQryInvestorInfoCommRec(CThostFtdcQryInvestorInfoCommRecField *pQryInvestorInfoCommRec, int nRequestID) = 0;
1004
+
1005
+ ///�������Ϣ��ѯ
1006
+ virtual int ReqQryCombLeg(CThostFtdcQryCombLegField *pQryCombLeg, int nRequestID) = 0;
1007
+
1008
+ ///�Գ���������
1009
+ virtual int ReqOffsetSetting(CThostFtdcInputOffsetSettingField *pInputOffsetSetting, int nRequestID) = 0;
1010
+
1011
+ ///�Գ����ó�������
1012
+ virtual int ReqCancelOffsetSetting(CThostFtdcInputOffsetSettingField *pInputOffsetSetting, int nRequestID) = 0;
1013
+
1014
+ ///Ͷ���߶Գ����ò�ѯ
1015
+ virtual int ReqQryOffsetSetting(CThostFtdcQryOffsetSettingField *pQryOffsetSetting, int nRequestID) = 0;
1016
+
1017
+ ///���������֤������
1018
+ virtual int ReqGenSMSCode(CThostFtdcReqGenSMSCodeField *pReqGenSMSCode, int nRequestID) = 0;
1019
+
1020
+ ///����ȷ������
1021
+ virtual int ReqSpdApply(CThostFtdcInputSpdApplyField *pInputSpdApply, int nRequestID) = 0;
1022
+
1023
+ ///����ȷ�ϳ�������
1024
+ virtual int ReqSpdApplyAction(CThostFtdcInputSpdApplyActionField *pInputSpdApplyAction, int nRequestID) = 0;
1025
+
1026
+ ///����ȷ�ϲ�ѯ����
1027
+ virtual int ReqQrySpdApply(CThostFtdcQrySpdApplyField *pQrySpdApply, int nRequestID) = 0;
1028
+
1029
+ ///�ױ�ȷ������
1030
+ virtual int ReqHedgeCfm(CThostFtdcInputHedgeCfmField *pInputHedgeCfm, int nRequestID) = 0;
1031
+
1032
+ ///�ױ�ȷ�ϳ�������
1033
+ virtual int ReqHedgeCfmAction(CThostFtdcInputHedgeCfmActionField *pInputHedgeCfmAction, int nRequestID) = 0;
1034
+
1035
+ ///�ױ�ȷ�ϲ�ѯ����
1036
+ virtual int ReqQryHedgeCfm(CThostFtdcQryHedgeCfmField *pQryHedgeCfm, int nRequestID) = 0;
910
1037
  protected:
911
1038
  ~CThostFtdcTraderApi(){};
912
1039
  };