libctp_sys/
bindings_linux.rs

1/* automatically generated by rust-bindgen 0.69.4 */
2
3pub const __GENTOO_NOT_FREESTANDING: u32 = 1;
4pub const _STDC_PREDEF_H: u32 = 1;
5pub const __STDC_IEC_559__: u32 = 1;
6pub const __STDC_IEC_60559_BFP__: u32 = 201404;
7pub const __STDC_IEC_559_COMPLEX__: u32 = 1;
8pub const __STDC_IEC_60559_COMPLEX__: u32 = 201404;
9pub const __STDC_ISO_10646__: u32 = 201706;
10pub const THOST_FTDC_EXP_Normal: u8 = 48u8;
11pub const THOST_FTDC_EXP_GenOrderByTrade: u8 = 49u8;
12pub const THOST_FTDC_ICT_EID: u8 = 48u8;
13pub const THOST_FTDC_ICT_IDCard: u8 = 49u8;
14pub const THOST_FTDC_ICT_OfficerIDCard: u8 = 50u8;
15pub const THOST_FTDC_ICT_PoliceIDCard: u8 = 51u8;
16pub const THOST_FTDC_ICT_SoldierIDCard: u8 = 52u8;
17pub const THOST_FTDC_ICT_HouseholdRegister: u8 = 53u8;
18pub const THOST_FTDC_ICT_Passport: u8 = 54u8;
19pub const THOST_FTDC_ICT_TaiwanCompatriotIDCard: u8 = 55u8;
20pub const THOST_FTDC_ICT_HomeComingCard: u8 = 56u8;
21pub const THOST_FTDC_ICT_LicenseNo: u8 = 57u8;
22pub const THOST_FTDC_ICT_TaxNo: u8 = 65u8;
23pub const THOST_FTDC_ICT_HMMainlandTravelPermit: u8 = 66u8;
24pub const THOST_FTDC_ICT_TwMainlandTravelPermit: u8 = 67u8;
25pub const THOST_FTDC_ICT_DrivingLicense: u8 = 68u8;
26pub const THOST_FTDC_ICT_SocialID: u8 = 70u8;
27pub const THOST_FTDC_ICT_LocalID: u8 = 71u8;
28pub const THOST_FTDC_ICT_BusinessRegistration: u8 = 72u8;
29pub const THOST_FTDC_ICT_HKMCIDCard: u8 = 73u8;
30pub const THOST_FTDC_ICT_AccountsPermits: u8 = 74u8;
31pub const THOST_FTDC_ICT_FrgPrmtRdCard: u8 = 75u8;
32pub const THOST_FTDC_ICT_CptMngPrdLetter: u8 = 76u8;
33pub const THOST_FTDC_ICT_HKMCTwResidencePermit: u8 = 77u8;
34pub const THOST_FTDC_ICT_UniformSocialCreditCode: u8 = 78u8;
35pub const THOST_FTDC_ICT_CorporationCertNo: u8 = 79u8;
36pub const THOST_FTDC_ICT_OtherCard: u8 = 120u8;
37pub const THOST_FTDC_IR_All: u8 = 49u8;
38pub const THOST_FTDC_IR_Group: u8 = 50u8;
39pub const THOST_FTDC_IR_Single: u8 = 51u8;
40pub const THOST_FTDC_DR_All: u8 = 49u8;
41pub const THOST_FTDC_DR_Group: u8 = 50u8;
42pub const THOST_FTDC_DR_Single: u8 = 51u8;
43pub const THOST_FTDC_DS_Asynchronous: u8 = 49u8;
44pub const THOST_FTDC_DS_Synchronizing: u8 = 50u8;
45pub const THOST_FTDC_DS_Synchronized: u8 = 51u8;
46pub const THOST_FTDC_BDS_Synchronized: u8 = 49u8;
47pub const THOST_FTDC_BDS_Synchronizing: u8 = 50u8;
48pub const THOST_FTDC_ECS_NoConnection: u8 = 49u8;
49pub const THOST_FTDC_ECS_QryInstrumentSent: u8 = 50u8;
50pub const THOST_FTDC_ECS_GotInformation: u8 = 57u8;
51pub const THOST_FTDC_TCS_NotConnected: u8 = 49u8;
52pub const THOST_FTDC_TCS_Connected: u8 = 50u8;
53pub const THOST_FTDC_TCS_QryInstrumentSent: u8 = 51u8;
54pub const THOST_FTDC_TCS_SubPrivateFlow: u8 = 52u8;
55pub const THOST_FTDC_FC_DataAsync: u8 = 49u8;
56pub const THOST_FTDC_FC_ForceUserLogout: u8 = 50u8;
57pub const THOST_FTDC_FC_UserPasswordUpdate: u8 = 51u8;
58pub const THOST_FTDC_FC_BrokerPasswordUpdate: u8 = 52u8;
59pub const THOST_FTDC_FC_InvestorPasswordUpdate: u8 = 53u8;
60pub const THOST_FTDC_FC_OrderInsert: u8 = 54u8;
61pub const THOST_FTDC_FC_OrderAction: u8 = 55u8;
62pub const THOST_FTDC_FC_SyncSystemData: u8 = 56u8;
63pub const THOST_FTDC_FC_SyncBrokerData: u8 = 57u8;
64pub const THOST_FTDC_FC_BachSyncBrokerData: u8 = 65u8;
65pub const THOST_FTDC_FC_SuperQuery: u8 = 66u8;
66pub const THOST_FTDC_FC_ParkedOrderInsert: u8 = 67u8;
67pub const THOST_FTDC_FC_ParkedOrderAction: u8 = 68u8;
68pub const THOST_FTDC_FC_SyncOTP: u8 = 69u8;
69pub const THOST_FTDC_FC_DeleteOrder: u8 = 70u8;
70pub const THOST_FTDC_BFC_ForceUserLogout: u8 = 49u8;
71pub const THOST_FTDC_BFC_UserPasswordUpdate: u8 = 50u8;
72pub const THOST_FTDC_BFC_SyncBrokerData: u8 = 51u8;
73pub const THOST_FTDC_BFC_BachSyncBrokerData: u8 = 52u8;
74pub const THOST_FTDC_BFC_OrderInsert: u8 = 53u8;
75pub const THOST_FTDC_BFC_OrderAction: u8 = 54u8;
76pub const THOST_FTDC_BFC_AllQuery: u8 = 55u8;
77pub const THOST_FTDC_BFC_log: u8 = 97u8;
78pub const THOST_FTDC_BFC_BaseQry: u8 = 98u8;
79pub const THOST_FTDC_BFC_TradeQry: u8 = 99u8;
80pub const THOST_FTDC_BFC_Trade: u8 = 100u8;
81pub const THOST_FTDC_BFC_Virement: u8 = 101u8;
82pub const THOST_FTDC_BFC_Risk: u8 = 102u8;
83pub const THOST_FTDC_BFC_Session: u8 = 103u8;
84pub const THOST_FTDC_BFC_RiskNoticeCtl: u8 = 104u8;
85pub const THOST_FTDC_BFC_RiskNotice: u8 = 105u8;
86pub const THOST_FTDC_BFC_BrokerDeposit: u8 = 106u8;
87pub const THOST_FTDC_BFC_QueryFund: u8 = 107u8;
88pub const THOST_FTDC_BFC_QueryOrder: u8 = 108u8;
89pub const THOST_FTDC_BFC_QueryTrade: u8 = 109u8;
90pub const THOST_FTDC_BFC_QueryPosition: u8 = 110u8;
91pub const THOST_FTDC_BFC_QueryMarketData: u8 = 111u8;
92pub const THOST_FTDC_BFC_QueryUserEvent: u8 = 112u8;
93pub const THOST_FTDC_BFC_QueryRiskNotify: u8 = 113u8;
94pub const THOST_FTDC_BFC_QueryFundChange: u8 = 114u8;
95pub const THOST_FTDC_BFC_QueryInvestor: u8 = 115u8;
96pub const THOST_FTDC_BFC_QueryTradingCode: u8 = 116u8;
97pub const THOST_FTDC_BFC_ForceClose: u8 = 117u8;
98pub const THOST_FTDC_BFC_PressTest: u8 = 118u8;
99pub const THOST_FTDC_BFC_RemainCalc: u8 = 119u8;
100pub const THOST_FTDC_BFC_NetPositionInd: u8 = 120u8;
101pub const THOST_FTDC_BFC_RiskPredict: u8 = 121u8;
102pub const THOST_FTDC_BFC_DataExport: u8 = 122u8;
103pub const THOST_FTDC_BFC_RiskTargetSetup: u8 = 65u8;
104pub const THOST_FTDC_BFC_MarketDataWarn: u8 = 66u8;
105pub const THOST_FTDC_BFC_QryBizNotice: u8 = 67u8;
106pub const THOST_FTDC_BFC_CfgBizNotice: u8 = 68u8;
107pub const THOST_FTDC_BFC_SyncOTP: u8 = 69u8;
108pub const THOST_FTDC_BFC_SendBizNotice: u8 = 70u8;
109pub const THOST_FTDC_BFC_CfgRiskLevelStd: u8 = 71u8;
110pub const THOST_FTDC_BFC_TbCommand: u8 = 72u8;
111pub const THOST_FTDC_BFC_DeleteOrder: u8 = 74u8;
112pub const THOST_FTDC_BFC_ParkedOrderInsert: u8 = 75u8;
113pub const THOST_FTDC_BFC_ParkedOrderAction: u8 = 76u8;
114pub const THOST_FTDC_BFC_ExecOrderNoCheck: u8 = 77u8;
115pub const THOST_FTDC_BFC_Designate: u8 = 78u8;
116pub const THOST_FTDC_BFC_StockDisposal: u8 = 79u8;
117pub const THOST_FTDC_BFC_BrokerDepositWarn: u8 = 81u8;
118pub const THOST_FTDC_BFC_CoverWarn: u8 = 83u8;
119pub const THOST_FTDC_BFC_PreExecOrder: u8 = 84u8;
120pub const THOST_FTDC_BFC_ExecOrderRisk: u8 = 80u8;
121pub const THOST_FTDC_BFC_PosiLimitWarn: u8 = 85u8;
122pub const THOST_FTDC_BFC_QryPosiLimit: u8 = 86u8;
123pub const THOST_FTDC_BFC_FBSign: u8 = 87u8;
124pub const THOST_FTDC_BFC_FBAccount: u8 = 88u8;
125pub const THOST_FTDC_OAS_Submitted: u8 = 97u8;
126pub const THOST_FTDC_OAS_Accepted: u8 = 98u8;
127pub const THOST_FTDC_OAS_Rejected: u8 = 99u8;
128pub const THOST_FTDC_OST_AllTraded: u8 = 48u8;
129pub const THOST_FTDC_OST_PartTradedQueueing: u8 = 49u8;
130pub const THOST_FTDC_OST_PartTradedNotQueueing: u8 = 50u8;
131pub const THOST_FTDC_OST_NoTradeQueueing: u8 = 51u8;
132pub const THOST_FTDC_OST_NoTradeNotQueueing: u8 = 52u8;
133pub const THOST_FTDC_OST_Canceled: u8 = 53u8;
134pub const THOST_FTDC_OST_Unknown: u8 = 97u8;
135pub const THOST_FTDC_OST_NotTouched: u8 = 98u8;
136pub const THOST_FTDC_OST_Touched: u8 = 99u8;
137pub const THOST_FTDC_OSS_InsertSubmitted: u8 = 48u8;
138pub const THOST_FTDC_OSS_CancelSubmitted: u8 = 49u8;
139pub const THOST_FTDC_OSS_ModifySubmitted: u8 = 50u8;
140pub const THOST_FTDC_OSS_Accepted: u8 = 51u8;
141pub const THOST_FTDC_OSS_InsertRejected: u8 = 52u8;
142pub const THOST_FTDC_OSS_CancelRejected: u8 = 53u8;
143pub const THOST_FTDC_OSS_ModifyRejected: u8 = 54u8;
144pub const THOST_FTDC_PSD_Today: u8 = 49u8;
145pub const THOST_FTDC_PSD_History: u8 = 50u8;
146pub const THOST_FTDC_PDT_UseHistory: u8 = 49u8;
147pub const THOST_FTDC_PDT_NoUseHistory: u8 = 50u8;
148pub const THOST_FTDC_ER_Broker: u8 = 49u8;
149pub const THOST_FTDC_ER_Host: u8 = 50u8;
150pub const THOST_FTDC_ER_Maker: u8 = 51u8;
151pub const THOST_FTDC_PC_Futures: u8 = 49u8;
152pub const THOST_FTDC_PC_Options: u8 = 50u8;
153pub const THOST_FTDC_PC_Combination: u8 = 51u8;
154pub const THOST_FTDC_PC_Spot: u8 = 52u8;
155pub const THOST_FTDC_PC_EFP: u8 = 53u8;
156pub const THOST_FTDC_PC_SpotOption: u8 = 54u8;
157pub const THOST_FTDC_PC_TAS: u8 = 55u8;
158pub const THOST_FTDC_PC_MI: u8 = 73u8;
159pub const THOST_FTDC_APC_FutureSingle: u8 = 49u8;
160pub const THOST_FTDC_APC_OptionSingle: u8 = 50u8;
161pub const THOST_FTDC_APC_Futures: u8 = 51u8;
162pub const THOST_FTDC_APC_Options: u8 = 52u8;
163pub const THOST_FTDC_APC_TradingComb: u8 = 53u8;
164pub const THOST_FTDC_APC_UnTradingComb: u8 = 54u8;
165pub const THOST_FTDC_APC_AllTrading: u8 = 55u8;
166pub const THOST_FTDC_APC_All: u8 = 56u8;
167pub const THOST_FTDC_IP_NotStart: u8 = 48u8;
168pub const THOST_FTDC_IP_Started: u8 = 49u8;
169pub const THOST_FTDC_IP_Pause: u8 = 50u8;
170pub const THOST_FTDC_IP_Expired: u8 = 51u8;
171pub const THOST_FTDC_D_Buy: u8 = 48u8;
172pub const THOST_FTDC_D_Sell: u8 = 49u8;
173pub const THOST_FTDC_PT_Net: u8 = 49u8;
174pub const THOST_FTDC_PT_Gross: u8 = 50u8;
175pub const THOST_FTDC_PD_Net: u8 = 49u8;
176pub const THOST_FTDC_PD_Long: u8 = 50u8;
177pub const THOST_FTDC_PD_Short: u8 = 51u8;
178pub const THOST_FTDC_SS_NonActive: u8 = 49u8;
179pub const THOST_FTDC_SS_Startup: u8 = 50u8;
180pub const THOST_FTDC_SS_Operating: u8 = 51u8;
181pub const THOST_FTDC_SS_Settlement: u8 = 52u8;
182pub const THOST_FTDC_SS_SettlementFinished: u8 = 53u8;
183pub const THOST_FTDC_RA_Trade: u8 = 48u8;
184pub const THOST_FTDC_RA_Settlement: u8 = 49u8;
185pub const THOST_FTDC_HF_Speculation: u8 = 49u8;
186pub const THOST_FTDC_HF_Arbitrage: u8 = 50u8;
187pub const THOST_FTDC_HF_Hedge: u8 = 51u8;
188pub const THOST_FTDC_HF_MarketMaker: u8 = 53u8;
189pub const THOST_FTDC_HF_SpecHedge: u8 = 54u8;
190pub const THOST_FTDC_HF_HedgeSpec: u8 = 55u8;
191pub const THOST_FTDC_BHF_Speculation: u8 = 49u8;
192pub const THOST_FTDC_BHF_Arbitrage: u8 = 50u8;
193pub const THOST_FTDC_BHF_Hedge: u8 = 51u8;
194pub const THOST_FTDC_CIDT_Speculation: u8 = 49u8;
195pub const THOST_FTDC_CIDT_Arbitrage: u8 = 50u8;
196pub const THOST_FTDC_CIDT_Hedge: u8 = 51u8;
197pub const THOST_FTDC_CIDT_MarketMaker: u8 = 53u8;
198pub const THOST_FTDC_OPT_AnyPrice: u8 = 49u8;
199pub const THOST_FTDC_OPT_LimitPrice: u8 = 50u8;
200pub const THOST_FTDC_OPT_BestPrice: u8 = 51u8;
201pub const THOST_FTDC_OPT_LastPrice: u8 = 52u8;
202pub const THOST_FTDC_OPT_LastPricePlusOneTicks: u8 = 53u8;
203pub const THOST_FTDC_OPT_LastPricePlusTwoTicks: u8 = 54u8;
204pub const THOST_FTDC_OPT_LastPricePlusThreeTicks: u8 = 55u8;
205pub const THOST_FTDC_OPT_AskPrice1: u8 = 56u8;
206pub const THOST_FTDC_OPT_AskPrice1PlusOneTicks: u8 = 57u8;
207pub const THOST_FTDC_OPT_AskPrice1PlusTwoTicks: u8 = 65u8;
208pub const THOST_FTDC_OPT_AskPrice1PlusThreeTicks: u8 = 66u8;
209pub const THOST_FTDC_OPT_BidPrice1: u8 = 67u8;
210pub const THOST_FTDC_OPT_BidPrice1PlusOneTicks: u8 = 68u8;
211pub const THOST_FTDC_OPT_BidPrice1PlusTwoTicks: u8 = 69u8;
212pub const THOST_FTDC_OPT_BidPrice1PlusThreeTicks: u8 = 70u8;
213pub const THOST_FTDC_OPT_FiveLevelPrice: u8 = 71u8;
214pub const THOST_FTDC_OF_Open: u8 = 48u8;
215pub const THOST_FTDC_OF_Close: u8 = 49u8;
216pub const THOST_FTDC_OF_ForceClose: u8 = 50u8;
217pub const THOST_FTDC_OF_CloseToday: u8 = 51u8;
218pub const THOST_FTDC_OF_CloseYesterday: u8 = 52u8;
219pub const THOST_FTDC_OF_ForceOff: u8 = 53u8;
220pub const THOST_FTDC_OF_LocalForceClose: u8 = 54u8;
221pub const THOST_FTDC_FCC_NotForceClose: u8 = 48u8;
222pub const THOST_FTDC_FCC_LackDeposit: u8 = 49u8;
223pub const THOST_FTDC_FCC_ClientOverPositionLimit: u8 = 50u8;
224pub const THOST_FTDC_FCC_MemberOverPositionLimit: u8 = 51u8;
225pub const THOST_FTDC_FCC_NotMultiple: u8 = 52u8;
226pub const THOST_FTDC_FCC_Violation: u8 = 53u8;
227pub const THOST_FTDC_FCC_Other: u8 = 54u8;
228pub const THOST_FTDC_FCC_PersonDeliv: u8 = 55u8;
229pub const THOST_FTDC_FCC_Notverifycapital: u8 = 56u8;
230pub const THOST_FTDC_ORDT_Normal: u8 = 48u8;
231pub const THOST_FTDC_ORDT_DeriveFromQuote: u8 = 49u8;
232pub const THOST_FTDC_ORDT_DeriveFromCombination: u8 = 50u8;
233pub const THOST_FTDC_ORDT_Combination: u8 = 51u8;
234pub const THOST_FTDC_ORDT_ConditionalOrder: u8 = 52u8;
235pub const THOST_FTDC_ORDT_Swap: u8 = 53u8;
236pub const THOST_FTDC_ORDT_DeriveFromBlockTrade: u8 = 54u8;
237pub const THOST_FTDC_ORDT_DeriveFromEFPTrade: u8 = 55u8;
238pub const THOST_FTDC_TC_IOC: u8 = 49u8;
239pub const THOST_FTDC_TC_GFS: u8 = 50u8;
240pub const THOST_FTDC_TC_GFD: u8 = 51u8;
241pub const THOST_FTDC_TC_GTD: u8 = 52u8;
242pub const THOST_FTDC_TC_GTC: u8 = 53u8;
243pub const THOST_FTDC_TC_GFA: u8 = 54u8;
244pub const THOST_FTDC_VC_AV: u8 = 49u8;
245pub const THOST_FTDC_VC_MV: u8 = 50u8;
246pub const THOST_FTDC_VC_CV: u8 = 51u8;
247pub const THOST_FTDC_CC_Immediately: u8 = 49u8;
248pub const THOST_FTDC_CC_Touch: u8 = 50u8;
249pub const THOST_FTDC_CC_TouchProfit: u8 = 51u8;
250pub const THOST_FTDC_CC_ParkedOrder: u8 = 52u8;
251pub const THOST_FTDC_CC_LastPriceGreaterThanStopPrice: u8 = 53u8;
252pub const THOST_FTDC_CC_LastPriceGreaterEqualStopPrice: u8 = 54u8;
253pub const THOST_FTDC_CC_LastPriceLesserThanStopPrice: u8 = 55u8;
254pub const THOST_FTDC_CC_LastPriceLesserEqualStopPrice: u8 = 56u8;
255pub const THOST_FTDC_CC_AskPriceGreaterThanStopPrice: u8 = 57u8;
256pub const THOST_FTDC_CC_AskPriceGreaterEqualStopPrice: u8 = 65u8;
257pub const THOST_FTDC_CC_AskPriceLesserThanStopPrice: u8 = 66u8;
258pub const THOST_FTDC_CC_AskPriceLesserEqualStopPrice: u8 = 67u8;
259pub const THOST_FTDC_CC_BidPriceGreaterThanStopPrice: u8 = 68u8;
260pub const THOST_FTDC_CC_BidPriceGreaterEqualStopPrice: u8 = 69u8;
261pub const THOST_FTDC_CC_BidPriceLesserThanStopPrice: u8 = 70u8;
262pub const THOST_FTDC_CC_BidPriceLesserEqualStopPrice: u8 = 72u8;
263pub const THOST_FTDC_AF_Delete: u8 = 48u8;
264pub const THOST_FTDC_AF_Modify: u8 = 51u8;
265pub const THOST_FTDC_TR_Allow: u8 = 48u8;
266pub const THOST_FTDC_TR_CloseOnly: u8 = 49u8;
267pub const THOST_FTDC_TR_Forbidden: u8 = 50u8;
268pub const THOST_FTDC_OSRC_Participant: u8 = 48u8;
269pub const THOST_FTDC_OSRC_Administrator: u8 = 49u8;
270pub const THOST_FTDC_TRDT_SplitCombination: u8 = 35u8;
271pub const THOST_FTDC_TRDT_Common: u8 = 48u8;
272pub const THOST_FTDC_TRDT_OptionsExecution: u8 = 49u8;
273pub const THOST_FTDC_TRDT_OTC: u8 = 50u8;
274pub const THOST_FTDC_TRDT_EFPDerived: u8 = 51u8;
275pub const THOST_FTDC_TRDT_CombinationDerived: u8 = 52u8;
276pub const THOST_FTDC_TRDT_BlockTrade: u8 = 53u8;
277pub const THOST_FTDC_SPOST_Common: u8 = 35u8;
278pub const THOST_FTDC_SPOST_Tas: u8 = 48u8;
279pub const THOST_FTDC_PSRC_LastPrice: u8 = 48u8;
280pub const THOST_FTDC_PSRC_Buy: u8 = 49u8;
281pub const THOST_FTDC_PSRC_Sell: u8 = 50u8;
282pub const THOST_FTDC_PSRC_OTC: u8 = 51u8;
283pub const THOST_FTDC_IS_BeforeTrading: u8 = 48u8;
284pub const THOST_FTDC_IS_NoTrading: u8 = 49u8;
285pub const THOST_FTDC_IS_Continous: u8 = 50u8;
286pub const THOST_FTDC_IS_AuctionOrdering: u8 = 51u8;
287pub const THOST_FTDC_IS_AuctionBalance: u8 = 52u8;
288pub const THOST_FTDC_IS_AuctionMatch: u8 = 53u8;
289pub const THOST_FTDC_IS_Closed: u8 = 54u8;
290pub const THOST_FTDC_IER_Automatic: u8 = 49u8;
291pub const THOST_FTDC_IER_Manual: u8 = 50u8;
292pub const THOST_FTDC_IER_Fuse: u8 = 51u8;
293pub const THOST_FTDC_BS_NoUpload: u8 = 49u8;
294pub const THOST_FTDC_BS_Uploaded: u8 = 50u8;
295pub const THOST_FTDC_BS_Failed: u8 = 51u8;
296pub const THOST_FTDC_RS_All: u8 = 49u8;
297pub const THOST_FTDC_RS_ByProduct: u8 = 50u8;
298pub const THOST_FTDC_RP_ByVolume: u8 = 49u8;
299pub const THOST_FTDC_RP_ByFeeOnHand: u8 = 50u8;
300pub const THOST_FTDC_RL_Level1: u8 = 49u8;
301pub const THOST_FTDC_RL_Level2: u8 = 50u8;
302pub const THOST_FTDC_RL_Level3: u8 = 51u8;
303pub const THOST_FTDC_RL_Level4: u8 = 52u8;
304pub const THOST_FTDC_RL_Level5: u8 = 53u8;
305pub const THOST_FTDC_RL_Level6: u8 = 54u8;
306pub const THOST_FTDC_RL_Level7: u8 = 55u8;
307pub const THOST_FTDC_RL_Level8: u8 = 56u8;
308pub const THOST_FTDC_RL_Level9: u8 = 57u8;
309pub const THOST_FTDC_RSD_ByPeriod: u8 = 49u8;
310pub const THOST_FTDC_RSD_ByStandard: u8 = 50u8;
311pub const THOST_FTDC_MT_Out: u8 = 48u8;
312pub const THOST_FTDC_MT_In: u8 = 49u8;
313pub const THOST_FTDC_ISPI_MortgageRatio: u8 = 52u8;
314pub const THOST_FTDC_ISPI_MarginWay: u8 = 53u8;
315pub const THOST_FTDC_ISPI_BillDeposit: u8 = 57u8;
316pub const THOST_FTDC_ESPI_MortgageRatio: u8 = 49u8;
317pub const THOST_FTDC_ESPI_OtherFundItem: u8 = 50u8;
318pub const THOST_FTDC_ESPI_OtherFundImport: u8 = 51u8;
319pub const THOST_FTDC_ESPI_CFFEXMinPrepa: u8 = 54u8;
320pub const THOST_FTDC_ESPI_CZCESettlementType: u8 = 55u8;
321pub const THOST_FTDC_ESPI_ExchDelivFeeMode: u8 = 57u8;
322pub const THOST_FTDC_ESPI_DelivFeeMode: u8 = 48u8;
323pub const THOST_FTDC_ESPI_CZCEComMarginType: u8 = 65u8;
324pub const THOST_FTDC_ESPI_DceComMarginType: u8 = 66u8;
325pub const THOST_FTDC_ESPI_OptOutDisCountRate: u8 = 97u8;
326pub const THOST_FTDC_ESPI_OptMiniGuarantee: u8 = 98u8;
327pub const THOST_FTDC_SPI_InvestorIDMinLength: u8 = 49u8;
328pub const THOST_FTDC_SPI_AccountIDMinLength: u8 = 50u8;
329pub const THOST_FTDC_SPI_UserRightLogon: u8 = 51u8;
330pub const THOST_FTDC_SPI_SettlementBillTrade: u8 = 52u8;
331pub const THOST_FTDC_SPI_TradingCode: u8 = 53u8;
332pub const THOST_FTDC_SPI_CheckFund: u8 = 54u8;
333pub const THOST_FTDC_SPI_CommModelRight: u8 = 55u8;
334pub const THOST_FTDC_SPI_MarginModelRight: u8 = 57u8;
335pub const THOST_FTDC_SPI_IsStandardActive: u8 = 56u8;
336pub const THOST_FTDC_SPI_UploadSettlementFile: u8 = 85u8;
337pub const THOST_FTDC_SPI_DownloadCSRCFile: u8 = 68u8;
338pub const THOST_FTDC_SPI_SettlementBillFile: u8 = 83u8;
339pub const THOST_FTDC_SPI_CSRCOthersFile: u8 = 67u8;
340pub const THOST_FTDC_SPI_InvestorPhoto: u8 = 80u8;
341pub const THOST_FTDC_SPI_CSRCData: u8 = 82u8;
342pub const THOST_FTDC_SPI_InvestorPwdModel: u8 = 73u8;
343pub const THOST_FTDC_SPI_CFFEXInvestorSettleFile: u8 = 70u8;
344pub const THOST_FTDC_SPI_InvestorIDType: u8 = 97u8;
345pub const THOST_FTDC_SPI_FreezeMaxReMain: u8 = 114u8;
346pub const THOST_FTDC_SPI_IsSync: u8 = 65u8;
347pub const THOST_FTDC_SPI_RelieveOpenLimit: u8 = 79u8;
348pub const THOST_FTDC_SPI_IsStandardFreeze: u8 = 88u8;
349pub const THOST_FTDC_SPI_CZCENormalProductHedge: u8 = 66u8;
350pub const THOST_FTDC_TPID_EncryptionStandard: u8 = 69u8;
351pub const THOST_FTDC_TPID_RiskMode: u8 = 82u8;
352pub const THOST_FTDC_TPID_RiskModeGlobal: u8 = 71u8;
353pub const THOST_FTDC_TPID_modeEncode: u8 = 80u8;
354pub const THOST_FTDC_TPID_tickMode: u8 = 84u8;
355pub const THOST_FTDC_TPID_SingleUserSessionMaxNum: u8 = 83u8;
356pub const THOST_FTDC_TPID_LoginFailMaxNum: u8 = 76u8;
357pub const THOST_FTDC_TPID_IsAuthForce: u8 = 65u8;
358pub const THOST_FTDC_TPID_IsPosiFreeze: u8 = 70u8;
359pub const THOST_FTDC_TPID_IsPosiLimit: u8 = 77u8;
360pub const THOST_FTDC_TPID_ForQuoteTimeInterval: u8 = 81u8;
361pub const THOST_FTDC_TPID_IsFuturePosiLimit: u8 = 66u8;
362pub const THOST_FTDC_TPID_IsFutureOrderFreq: u8 = 67u8;
363pub const THOST_FTDC_TPID_IsExecOrderProfit: u8 = 72u8;
364pub const THOST_FTDC_TPID_IsCheckBankAcc: u8 = 73u8;
365pub const THOST_FTDC_TPID_PasswordDeadLine: u8 = 74u8;
366pub const THOST_FTDC_TPID_IsStrongPassword: u8 = 75u8;
367pub const THOST_FTDC_TPID_BalanceMorgage: u8 = 97u8;
368pub const THOST_FTDC_TPID_MinPwdLen: u8 = 79u8;
369pub const THOST_FTDC_TPID_LoginFailMaxNumForIP: u8 = 85u8;
370pub const THOST_FTDC_TPID_PasswordPeriod: u8 = 86u8;
371pub const THOST_FTDC_FI_SettlementFund: u8 = 70u8;
372pub const THOST_FTDC_FI_Trade: u8 = 84u8;
373pub const THOST_FTDC_FI_InvestorPosition: u8 = 80u8;
374pub const THOST_FTDC_FI_SubEntryFund: u8 = 79u8;
375pub const THOST_FTDC_FI_CZCECombinationPos: u8 = 67u8;
376pub const THOST_FTDC_FI_CSRCData: u8 = 82u8;
377pub const THOST_FTDC_FI_CZCEClose: u8 = 76u8;
378pub const THOST_FTDC_FI_CZCENoClose: u8 = 78u8;
379pub const THOST_FTDC_FI_PositionDtl: u8 = 68u8;
380pub const THOST_FTDC_FI_OptionStrike: u8 = 83u8;
381pub const THOST_FTDC_FI_SettlementPriceComparison: u8 = 77u8;
382pub const THOST_FTDC_FI_NonTradePosChange: u8 = 66u8;
383pub const THOST_FTDC_FUT_Settlement: u8 = 48u8;
384pub const THOST_FTDC_FUT_Check: u8 = 49u8;
385pub const THOST_FTDC_FFT_Txt: u8 = 48u8;
386pub const THOST_FTDC_FFT_Zip: u8 = 49u8;
387pub const THOST_FTDC_FFT_DBF: u8 = 50u8;
388pub const THOST_FTDC_FUS_SucceedUpload: u8 = 49u8;
389pub const THOST_FTDC_FUS_FailedUpload: u8 = 50u8;
390pub const THOST_FTDC_FUS_SucceedLoad: u8 = 51u8;
391pub const THOST_FTDC_FUS_PartSucceedLoad: u8 = 52u8;
392pub const THOST_FTDC_FUS_FailedLoad: u8 = 53u8;
393pub const THOST_FTDC_TD_Out: u8 = 48u8;
394pub const THOST_FTDC_TD_In: u8 = 49u8;
395pub const THOST_FTDC_SC_NoSpecialRule: u8 = 48u8;
396pub const THOST_FTDC_SC_NoSpringFestival: u8 = 49u8;
397pub const THOST_FTDC_IPT_LastSettlement: u8 = 49u8;
398pub const THOST_FTDC_IPT_LaseClose: u8 = 50u8;
399pub const THOST_FTDC_PLP_Active: u8 = 49u8;
400pub const THOST_FTDC_PLP_NonActive: u8 = 50u8;
401pub const THOST_FTDC_PLP_Canceled: u8 = 51u8;
402pub const THOST_FTDC_DM_CashDeliv: u8 = 49u8;
403pub const THOST_FTDC_DM_CommodityDeliv: u8 = 50u8;
404pub const THOST_FTDC_FIOT_FundIO: u8 = 49u8;
405pub const THOST_FTDC_FIOT_Transfer: u8 = 50u8;
406pub const THOST_FTDC_FIOT_SwapCurrency: u8 = 51u8;
407pub const THOST_FTDC_FT_Deposite: u8 = 49u8;
408pub const THOST_FTDC_FT_ItemFund: u8 = 50u8;
409pub const THOST_FTDC_FT_Company: u8 = 51u8;
410pub const THOST_FTDC_FT_InnerTransfer: u8 = 52u8;
411pub const THOST_FTDC_FD_In: u8 = 49u8;
412pub const THOST_FTDC_FD_Out: u8 = 50u8;
413pub const THOST_FTDC_FS_Record: u8 = 49u8;
414pub const THOST_FTDC_FS_Check: u8 = 50u8;
415pub const THOST_FTDC_FS_Charge: u8 = 51u8;
416pub const THOST_FTDC_PS_None: u8 = 49u8;
417pub const THOST_FTDC_PS_Publishing: u8 = 50u8;
418pub const THOST_FTDC_PS_Published: u8 = 51u8;
419pub const THOST_FTDC_ES_NonActive: u8 = 49u8;
420pub const THOST_FTDC_ES_Startup: u8 = 50u8;
421pub const THOST_FTDC_ES_Initialize: u8 = 51u8;
422pub const THOST_FTDC_ES_Initialized: u8 = 52u8;
423pub const THOST_FTDC_ES_Close: u8 = 53u8;
424pub const THOST_FTDC_ES_Closed: u8 = 54u8;
425pub const THOST_FTDC_ES_Settlement: u8 = 55u8;
426pub const THOST_FTDC_STS_Initialize: u8 = 48u8;
427pub const THOST_FTDC_STS_Settlementing: u8 = 49u8;
428pub const THOST_FTDC_STS_Settlemented: u8 = 50u8;
429pub const THOST_FTDC_STS_Finished: u8 = 51u8;
430pub const THOST_FTDC_CT_Person: u8 = 48u8;
431pub const THOST_FTDC_CT_Company: u8 = 49u8;
432pub const THOST_FTDC_CT_Fund: u8 = 50u8;
433pub const THOST_FTDC_CT_SpecialOrgan: u8 = 51u8;
434pub const THOST_FTDC_CT_Asset: u8 = 52u8;
435pub const THOST_FTDC_BT_Trade: u8 = 48u8;
436pub const THOST_FTDC_BT_TradeSettle: u8 = 49u8;
437pub const THOST_FTDC_FAS_Low: u8 = 49u8;
438pub const THOST_FTDC_FAS_Normal: u8 = 50u8;
439pub const THOST_FTDC_FAS_Focus: u8 = 51u8;
440pub const THOST_FTDC_FAS_Risk: u8 = 52u8;
441pub const THOST_FTDC_FAS_ByTrade: u8 = 49u8;
442pub const THOST_FTDC_FAS_ByDeliv: u8 = 50u8;
443pub const THOST_FTDC_FAS_None: u8 = 51u8;
444pub const THOST_FTDC_FAS_FixFee: u8 = 52u8;
445pub const THOST_FTDC_PWDT_Trade: u8 = 49u8;
446pub const THOST_FTDC_PWDT_Account: u8 = 50u8;
447pub const THOST_FTDC_AG_All: u8 = 49u8;
448pub const THOST_FTDC_AG_OnlyLost: u8 = 50u8;
449pub const THOST_FTDC_AG_OnlyGain: u8 = 51u8;
450pub const THOST_FTDC_AG_None: u8 = 52u8;
451pub const THOST_FTDC_ICP_Include: u8 = 48u8;
452pub const THOST_FTDC_ICP_NotInclude: u8 = 50u8;
453pub const THOST_FTDC_AWT_Enable: u8 = 48u8;
454pub const THOST_FTDC_AWT_Disable: u8 = 50u8;
455pub const THOST_FTDC_AWT_NoHoldEnable: u8 = 51u8;
456pub const THOST_FTDC_FPWD_UnCheck: u8 = 48u8;
457pub const THOST_FTDC_FPWD_Check: u8 = 49u8;
458pub const THOST_FTDC_TT_BankToFuture: u8 = 48u8;
459pub const THOST_FTDC_TT_FutureToBank: u8 = 49u8;
460pub const THOST_FTDC_TVF_Invalid: u8 = 48u8;
461pub const THOST_FTDC_TVF_Valid: u8 = 49u8;
462pub const THOST_FTDC_TVF_Reverse: u8 = 50u8;
463pub const THOST_FTDC_RN_CD: u8 = 48u8;
464pub const THOST_FTDC_RN_ZT: u8 = 49u8;
465pub const THOST_FTDC_RN_QT: u8 = 50u8;
466pub const THOST_FTDC_SEX_None: u8 = 48u8;
467pub const THOST_FTDC_SEX_Man: u8 = 49u8;
468pub const THOST_FTDC_SEX_Woman: u8 = 50u8;
469pub const THOST_FTDC_UT_Investor: u8 = 48u8;
470pub const THOST_FTDC_UT_Operator: u8 = 49u8;
471pub const THOST_FTDC_UT_SuperUser: u8 = 50u8;
472pub const THOST_FTDC_RATETYPE_MarginRate: u8 = 50u8;
473pub const THOST_FTDC_NOTETYPE_TradeSettleBill: u8 = 49u8;
474pub const THOST_FTDC_NOTETYPE_TradeSettleMonth: u8 = 50u8;
475pub const THOST_FTDC_NOTETYPE_CallMarginNotes: u8 = 51u8;
476pub const THOST_FTDC_NOTETYPE_ForceCloseNotes: u8 = 52u8;
477pub const THOST_FTDC_NOTETYPE_TradeNotes: u8 = 53u8;
478pub const THOST_FTDC_NOTETYPE_DelivNotes: u8 = 54u8;
479pub const THOST_FTDC_SBS_Day: u8 = 49u8;
480pub const THOST_FTDC_SBS_Volume: u8 = 50u8;
481pub const THOST_FTDC_ST_Day: u8 = 48u8;
482pub const THOST_FTDC_ST_Month: u8 = 49u8;
483pub const THOST_FTDC_URT_Logon: u8 = 49u8;
484pub const THOST_FTDC_URT_Transfer: u8 = 50u8;
485pub const THOST_FTDC_URT_EMail: u8 = 51u8;
486pub const THOST_FTDC_URT_Fax: u8 = 52u8;
487pub const THOST_FTDC_URT_ConditionOrder: u8 = 53u8;
488pub const THOST_FTDC_MPT_PreSettlementPrice: u8 = 49u8;
489pub const THOST_FTDC_MPT_SettlementPrice: u8 = 50u8;
490pub const THOST_FTDC_MPT_AveragePrice: u8 = 51u8;
491pub const THOST_FTDC_MPT_OpenPrice: u8 = 52u8;
492pub const THOST_FTDC_BGS_None: u8 = 48u8;
493pub const THOST_FTDC_BGS_NoGenerated: u8 = 49u8;
494pub const THOST_FTDC_BGS_Generated: u8 = 50u8;
495pub const THOST_FTDC_AT_HandlePositionAlgo: u8 = 49u8;
496pub const THOST_FTDC_AT_FindMarginRateAlgo: u8 = 50u8;
497pub const THOST_FTDC_HPA_Base: u8 = 49u8;
498pub const THOST_FTDC_HPA_DCE: u8 = 50u8;
499pub const THOST_FTDC_HPA_CZCE: u8 = 51u8;
500pub const THOST_FTDC_FMRA_Base: u8 = 49u8;
501pub const THOST_FTDC_FMRA_DCE: u8 = 50u8;
502pub const THOST_FTDC_FMRA_CZCE: u8 = 51u8;
503pub const THOST_FTDC_HTAA_Base: u8 = 49u8;
504pub const THOST_FTDC_HTAA_DCE: u8 = 50u8;
505pub const THOST_FTDC_HTAA_CZCE: u8 = 51u8;
506pub const THOST_FTDC_PST_Order: u8 = 49u8;
507pub const THOST_FTDC_PST_Open: u8 = 50u8;
508pub const THOST_FTDC_PST_Fund: u8 = 51u8;
509pub const THOST_FTDC_PST_Settlement: u8 = 52u8;
510pub const THOST_FTDC_PST_Company: u8 = 53u8;
511pub const THOST_FTDC_PST_Corporation: u8 = 54u8;
512pub const THOST_FTDC_PST_LinkMan: u8 = 55u8;
513pub const THOST_FTDC_PST_Ledger: u8 = 56u8;
514pub const THOST_FTDC_PST_Trustee: u8 = 57u8;
515pub const THOST_FTDC_PST_TrusteeCorporation: u8 = 65u8;
516pub const THOST_FTDC_PST_TrusteeOpen: u8 = 66u8;
517pub const THOST_FTDC_PST_TrusteeContact: u8 = 67u8;
518pub const THOST_FTDC_PST_ForeignerRefer: u8 = 68u8;
519pub const THOST_FTDC_PST_CorporationRefer: u8 = 69u8;
520pub const THOST_FTDC_QIR_All: u8 = 49u8;
521pub const THOST_FTDC_QIR_Group: u8 = 50u8;
522pub const THOST_FTDC_QIR_Single: u8 = 51u8;
523pub const THOST_FTDC_IRS_Normal: u8 = 49u8;
524pub const THOST_FTDC_IRS_Warn: u8 = 50u8;
525pub const THOST_FTDC_IRS_Call: u8 = 51u8;
526pub const THOST_FTDC_IRS_Force: u8 = 52u8;
527pub const THOST_FTDC_IRS_Exception: u8 = 53u8;
528pub const THOST_FTDC_UET_Login: u8 = 49u8;
529pub const THOST_FTDC_UET_Logout: u8 = 50u8;
530pub const THOST_FTDC_UET_Trading: u8 = 51u8;
531pub const THOST_FTDC_UET_TradingError: u8 = 52u8;
532pub const THOST_FTDC_UET_UpdatePassword: u8 = 53u8;
533pub const THOST_FTDC_UET_Authenticate: u8 = 54u8;
534pub const THOST_FTDC_UET_SubmitSysInfo: u8 = 55u8;
535pub const THOST_FTDC_UET_Transfer: u8 = 56u8;
536pub const THOST_FTDC_UET_Other: u8 = 57u8;
537pub const THOST_FTDC_ICS_Close: u8 = 48u8;
538pub const THOST_FTDC_ICS_CloseToday: u8 = 49u8;
539pub const THOST_FTDC_SM_Non: u8 = 48u8;
540pub const THOST_FTDC_SM_Instrument: u8 = 49u8;
541pub const THOST_FTDC_SM_Product: u8 = 50u8;
542pub const THOST_FTDC_SM_Investor: u8 = 51u8;
543pub const THOST_FTDC_PAOS_NotSend: u8 = 49u8;
544pub const THOST_FTDC_PAOS_Send: u8 = 50u8;
545pub const THOST_FTDC_PAOS_Deleted: u8 = 51u8;
546pub const THOST_FTDC_VDS_Dealing: u8 = 49u8;
547pub const THOST_FTDC_VDS_DeaclSucceed: u8 = 50u8;
548pub const THOST_FTDC_ORGS_Standard: u8 = 48u8;
549pub const THOST_FTDC_ORGS_ESunny: u8 = 49u8;
550pub const THOST_FTDC_ORGS_KingStarV6: u8 = 50u8;
551pub const THOST_FTDC_VTS_NaturalDeal: u8 = 48u8;
552pub const THOST_FTDC_VTS_SucceedEnd: u8 = 49u8;
553pub const THOST_FTDC_VTS_FailedEND: u8 = 50u8;
554pub const THOST_FTDC_VTS_Exception: u8 = 51u8;
555pub const THOST_FTDC_VTS_ManualDeal: u8 = 52u8;
556pub const THOST_FTDC_VTS_MesException: u8 = 53u8;
557pub const THOST_FTDC_VTS_SysException: u8 = 54u8;
558pub const THOST_FTDC_VBAT_BankBook: u8 = 49u8;
559pub const THOST_FTDC_VBAT_BankCard: u8 = 50u8;
560pub const THOST_FTDC_VBAT_CreditCard: u8 = 51u8;
561pub const THOST_FTDC_VMS_Natural: u8 = 48u8;
562pub const THOST_FTDC_VMS_Canceled: u8 = 57u8;
563pub const THOST_FTDC_VAA_NoAvailAbility: u8 = 48u8;
564pub const THOST_FTDC_VAA_AvailAbility: u8 = 49u8;
565pub const THOST_FTDC_VAA_Repeal: u8 = 50u8;
566pub const THOST_FTDC_GEN_Program: u8 = 48u8;
567pub const THOST_FTDC_GEN_HandWork: u8 = 49u8;
568pub const THOST_FTDC_CFMMCKK_REQUEST: u8 = 82u8;
569pub const THOST_FTDC_CFMMCKK_AUTO: u8 = 65u8;
570pub const THOST_FTDC_CFMMCKK_MANUAL: u8 = 77u8;
571pub const THOST_FTDC_CFT_IDCard: u8 = 48u8;
572pub const THOST_FTDC_CFT_Passport: u8 = 49u8;
573pub const THOST_FTDC_CFT_OfficerIDCard: u8 = 50u8;
574pub const THOST_FTDC_CFT_SoldierIDCard: u8 = 51u8;
575pub const THOST_FTDC_CFT_HomeComingCard: u8 = 52u8;
576pub const THOST_FTDC_CFT_HouseholdRegister: u8 = 53u8;
577pub const THOST_FTDC_CFT_LicenseNo: u8 = 54u8;
578pub const THOST_FTDC_CFT_InstitutionCodeCard: u8 = 55u8;
579pub const THOST_FTDC_CFT_TempLicenseNo: u8 = 56u8;
580pub const THOST_FTDC_CFT_NoEnterpriseLicenseNo: u8 = 57u8;
581pub const THOST_FTDC_CFT_OtherCard: u8 = 120u8;
582pub const THOST_FTDC_CFT_SuperDepAgree: u8 = 97u8;
583pub const THOST_FTDC_FBC_Others: u8 = 48u8;
584pub const THOST_FTDC_FBC_TransferDetails: u8 = 49u8;
585pub const THOST_FTDC_FBC_CustAccStatus: u8 = 50u8;
586pub const THOST_FTDC_FBC_AccountTradeDetails: u8 = 51u8;
587pub const THOST_FTDC_FBC_FutureAccountChangeInfoDetails: u8 = 52u8;
588pub const THOST_FTDC_FBC_CustMoneyDetail: u8 = 53u8;
589pub const THOST_FTDC_FBC_CustCancelAccountInfo: u8 = 54u8;
590pub const THOST_FTDC_FBC_CustMoneyResult: u8 = 55u8;
591pub const THOST_FTDC_FBC_OthersExceptionResult: u8 = 56u8;
592pub const THOST_FTDC_FBC_CustInterestNetMoneyDetails: u8 = 57u8;
593pub const THOST_FTDC_FBC_CustMoneySendAndReceiveDetails: u8 = 97u8;
594pub const THOST_FTDC_FBC_CorporationMoneyTotal: u8 = 98u8;
595pub const THOST_FTDC_FBC_MainbodyMoneyTotal: u8 = 99u8;
596pub const THOST_FTDC_FBC_MainPartMonitorData: u8 = 100u8;
597pub const THOST_FTDC_FBC_PreparationMoney: u8 = 101u8;
598pub const THOST_FTDC_FBC_BankMoneyMonitorData: u8 = 102u8;
599pub const THOST_FTDC_CEC_Exchange: u8 = 49u8;
600pub const THOST_FTDC_CEC_Cash: u8 = 50u8;
601pub const THOST_FTDC_YNI_Yes: u8 = 48u8;
602pub const THOST_FTDC_YNI_No: u8 = 49u8;
603pub const THOST_FTDC_BLT_CurrentMoney: u8 = 48u8;
604pub const THOST_FTDC_BLT_UsableMoney: u8 = 49u8;
605pub const THOST_FTDC_BLT_FetchableMoney: u8 = 50u8;
606pub const THOST_FTDC_BLT_FreezeMoney: u8 = 51u8;
607pub const THOST_FTDC_GD_Unknown: u8 = 48u8;
608pub const THOST_FTDC_GD_Male: u8 = 49u8;
609pub const THOST_FTDC_GD_Female: u8 = 50u8;
610pub const THOST_FTDC_FPF_BEN: u8 = 48u8;
611pub const THOST_FTDC_FPF_OUR: u8 = 49u8;
612pub const THOST_FTDC_FPF_SHA: u8 = 50u8;
613pub const THOST_FTDC_PWKT_ExchangeKey: u8 = 48u8;
614pub const THOST_FTDC_PWKT_PassWordKey: u8 = 49u8;
615pub const THOST_FTDC_PWKT_MACKey: u8 = 50u8;
616pub const THOST_FTDC_PWKT_MessageKey: u8 = 51u8;
617pub const THOST_FTDC_PWT_Query: u8 = 48u8;
618pub const THOST_FTDC_PWT_Fetch: u8 = 49u8;
619pub const THOST_FTDC_PWT_Transfer: u8 = 50u8;
620pub const THOST_FTDC_PWT_Trade: u8 = 51u8;
621pub const THOST_FTDC_EM_NoEncry: u8 = 48u8;
622pub const THOST_FTDC_EM_DES: u8 = 49u8;
623pub const THOST_FTDC_EM_3DES: u8 = 50u8;
624pub const THOST_FTDC_BRF_BankNotNeedRepeal: u8 = 48u8;
625pub const THOST_FTDC_BRF_BankWaitingRepeal: u8 = 49u8;
626pub const THOST_FTDC_BRF_BankBeenRepealed: u8 = 50u8;
627pub const THOST_FTDC_BRORF_BrokerNotNeedRepeal: u8 = 48u8;
628pub const THOST_FTDC_BRORF_BrokerWaitingRepeal: u8 = 49u8;
629pub const THOST_FTDC_BRORF_BrokerBeenRepealed: u8 = 50u8;
630pub const THOST_FTDC_TS_Bank: u8 = 48u8;
631pub const THOST_FTDC_TS_Future: u8 = 49u8;
632pub const THOST_FTDC_TS_Store: u8 = 50u8;
633pub const THOST_FTDC_LF_Yes: u8 = 48u8;
634pub const THOST_FTDC_LF_No: u8 = 49u8;
635pub const THOST_FTDC_BAS_Normal: u8 = 48u8;
636pub const THOST_FTDC_BAS_Freeze: u8 = 49u8;
637pub const THOST_FTDC_BAS_ReportLoss: u8 = 50u8;
638pub const THOST_FTDC_MAS_Normal: u8 = 48u8;
639pub const THOST_FTDC_MAS_Cancel: u8 = 49u8;
640pub const THOST_FTDC_MSS_Point: u8 = 48u8;
641pub const THOST_FTDC_MSS_PrePoint: u8 = 49u8;
642pub const THOST_FTDC_MSS_CancelPoint: u8 = 50u8;
643pub const THOST_FTDC_SYT_FutureBankTransfer: u8 = 48u8;
644pub const THOST_FTDC_SYT_StockBankTransfer: u8 = 49u8;
645pub const THOST_FTDC_SYT_TheThirdPartStore: u8 = 50u8;
646pub const THOST_FTDC_TEF_NormalProcessing: u8 = 48u8;
647pub const THOST_FTDC_TEF_Success: u8 = 49u8;
648pub const THOST_FTDC_TEF_Failed: u8 = 50u8;
649pub const THOST_FTDC_TEF_Abnormal: u8 = 51u8;
650pub const THOST_FTDC_TEF_ManualProcessedForException: u8 = 52u8;
651pub const THOST_FTDC_TEF_CommuFailedNeedManualProcess: u8 = 53u8;
652pub const THOST_FTDC_TEF_SysErrorNeedManualProcess: u8 = 54u8;
653pub const THOST_FTDC_PSS_NotProcess: u8 = 48u8;
654pub const THOST_FTDC_PSS_StartProcess: u8 = 49u8;
655pub const THOST_FTDC_PSS_Finished: u8 = 50u8;
656pub const THOST_FTDC_CUSTT_Person: u8 = 48u8;
657pub const THOST_FTDC_CUSTT_Institution: u8 = 49u8;
658pub const THOST_FTDC_FBTTD_FromBankToFuture: u8 = 49u8;
659pub const THOST_FTDC_FBTTD_FromFutureToBank: u8 = 50u8;
660pub const THOST_FTDC_OOD_Open: u8 = 49u8;
661pub const THOST_FTDC_OOD_Destroy: u8 = 48u8;
662pub const THOST_FTDC_AVAF_Invalid: u8 = 48u8;
663pub const THOST_FTDC_AVAF_Valid: u8 = 49u8;
664pub const THOST_FTDC_AVAF_Repeal: u8 = 50u8;
665pub const THOST_FTDC_OT_Bank: u8 = 49u8;
666pub const THOST_FTDC_OT_Future: u8 = 50u8;
667pub const THOST_FTDC_OT_PlateForm: u8 = 57u8;
668pub const THOST_FTDC_OL_HeadQuarters: u8 = 49u8;
669pub const THOST_FTDC_OL_Branch: u8 = 50u8;
670pub const THOST_FTDC_PID_FutureProtocal: u8 = 48u8;
671pub const THOST_FTDC_PID_ICBCProtocal: u8 = 49u8;
672pub const THOST_FTDC_PID_ABCProtocal: u8 = 50u8;
673pub const THOST_FTDC_PID_CBCProtocal: u8 = 51u8;
674pub const THOST_FTDC_PID_CCBProtocal: u8 = 52u8;
675pub const THOST_FTDC_PID_BOCOMProtocal: u8 = 53u8;
676pub const THOST_FTDC_PID_FBTPlateFormProtocal: u8 = 88u8;
677pub const THOST_FTDC_CM_ShortConnect: u8 = 48u8;
678pub const THOST_FTDC_CM_LongConnect: u8 = 49u8;
679pub const THOST_FTDC_SRM_ASync: u8 = 48u8;
680pub const THOST_FTDC_SRM_Sync: u8 = 49u8;
681pub const THOST_FTDC_BAT_BankBook: u8 = 49u8;
682pub const THOST_FTDC_BAT_SavingCard: u8 = 50u8;
683pub const THOST_FTDC_BAT_CreditCard: u8 = 51u8;
684pub const THOST_FTDC_FAT_BankBook: u8 = 49u8;
685pub const THOST_FTDC_FAT_SavingCard: u8 = 50u8;
686pub const THOST_FTDC_FAT_CreditCard: u8 = 51u8;
687pub const THOST_FTDC_OS_Ready: u8 = 48u8;
688pub const THOST_FTDC_OS_CheckIn: u8 = 49u8;
689pub const THOST_FTDC_OS_CheckOut: u8 = 50u8;
690pub const THOST_FTDC_OS_CheckFileArrived: u8 = 51u8;
691pub const THOST_FTDC_OS_CheckDetail: u8 = 52u8;
692pub const THOST_FTDC_OS_DayEndClean: u8 = 53u8;
693pub const THOST_FTDC_OS_Invalid: u8 = 57u8;
694pub const THOST_FTDC_CCBFM_ByAmount: u8 = 49u8;
695pub const THOST_FTDC_CCBFM_ByMonth: u8 = 50u8;
696pub const THOST_FTDC_CAPIT_Client: u8 = 49u8;
697pub const THOST_FTDC_CAPIT_Server: u8 = 50u8;
698pub const THOST_FTDC_CAPIT_UserApi: u8 = 51u8;
699pub const THOST_FTDC_LS_Connected: u8 = 49u8;
700pub const THOST_FTDC_LS_Disconnected: u8 = 50u8;
701pub const THOST_FTDC_BPWDF_NoCheck: u8 = 48u8;
702pub const THOST_FTDC_BPWDF_BlankCheck: u8 = 49u8;
703pub const THOST_FTDC_BPWDF_EncryptCheck: u8 = 50u8;
704pub const THOST_FTDC_SAT_AccountID: u8 = 49u8;
705pub const THOST_FTDC_SAT_CardID: u8 = 50u8;
706pub const THOST_FTDC_SAT_SHStockholderID: u8 = 51u8;
707pub const THOST_FTDC_SAT_SZStockholderID: u8 = 52u8;
708pub const THOST_FTDC_TRFS_Normal: u8 = 48u8;
709pub const THOST_FTDC_TRFS_Repealed: u8 = 49u8;
710pub const THOST_FTDC_SPTYPE_Broker: u8 = 48u8;
711pub const THOST_FTDC_SPTYPE_Bank: u8 = 49u8;
712pub const THOST_FTDC_REQRSP_Request: u8 = 48u8;
713pub const THOST_FTDC_REQRSP_Response: u8 = 49u8;
714pub const THOST_FTDC_FBTUET_SignIn: u8 = 48u8;
715pub const THOST_FTDC_FBTUET_FromBankToFuture: u8 = 49u8;
716pub const THOST_FTDC_FBTUET_FromFutureToBank: u8 = 50u8;
717pub const THOST_FTDC_FBTUET_OpenAccount: u8 = 51u8;
718pub const THOST_FTDC_FBTUET_CancelAccount: u8 = 52u8;
719pub const THOST_FTDC_FBTUET_ChangeAccount: u8 = 53u8;
720pub const THOST_FTDC_FBTUET_RepealFromBankToFuture: u8 = 54u8;
721pub const THOST_FTDC_FBTUET_RepealFromFutureToBank: u8 = 55u8;
722pub const THOST_FTDC_FBTUET_QueryBankAccount: u8 = 56u8;
723pub const THOST_FTDC_FBTUET_QueryFutureAccount: u8 = 57u8;
724pub const THOST_FTDC_FBTUET_SignOut: u8 = 65u8;
725pub const THOST_FTDC_FBTUET_SyncKey: u8 = 66u8;
726pub const THOST_FTDC_FBTUET_ReserveOpenAccount: u8 = 67u8;
727pub const THOST_FTDC_FBTUET_CancelReserveOpenAccount: u8 = 68u8;
728pub const THOST_FTDC_FBTUET_ReserveOpenAccountConfirm: u8 = 69u8;
729pub const THOST_FTDC_FBTUET_Other: u8 = 90u8;
730pub const THOST_FTDC_DBOP_Insert: u8 = 48u8;
731pub const THOST_FTDC_DBOP_Update: u8 = 49u8;
732pub const THOST_FTDC_DBOP_Delete: u8 = 50u8;
733pub const THOST_FTDC_SYNF_Yes: u8 = 48u8;
734pub const THOST_FTDC_SYNF_No: u8 = 49u8;
735pub const THOST_FTDC_SYNT_OneOffSync: u8 = 48u8;
736pub const THOST_FTDC_SYNT_TimerSync: u8 = 49u8;
737pub const THOST_FTDC_SYNT_TimerFullSync: u8 = 50u8;
738pub const THOST_FTDC_FBEDIR_Settlement: u8 = 48u8;
739pub const THOST_FTDC_FBEDIR_Sale: u8 = 49u8;
740pub const THOST_FTDC_FBERES_Success: u8 = 48u8;
741pub const THOST_FTDC_FBERES_InsufficientBalance: u8 = 49u8;
742pub const THOST_FTDC_FBERES_UnknownTrading: u8 = 56u8;
743pub const THOST_FTDC_FBERES_Fail: u8 = 120u8;
744pub const THOST_FTDC_FBEES_Normal: u8 = 48u8;
745pub const THOST_FTDC_FBEES_ReExchange: u8 = 49u8;
746pub const THOST_FTDC_FBEFG_DataPackage: u8 = 48u8;
747pub const THOST_FTDC_FBEFG_File: u8 = 49u8;
748pub const THOST_FTDC_FBEAT_NotTrade: u8 = 48u8;
749pub const THOST_FTDC_FBEAT_Trade: u8 = 49u8;
750pub const THOST_FTDC_FBEUET_SignIn: u8 = 48u8;
751pub const THOST_FTDC_FBEUET_Exchange: u8 = 49u8;
752pub const THOST_FTDC_FBEUET_ReExchange: u8 = 50u8;
753pub const THOST_FTDC_FBEUET_QueryBankAccount: u8 = 51u8;
754pub const THOST_FTDC_FBEUET_QueryExchDetial: u8 = 52u8;
755pub const THOST_FTDC_FBEUET_QueryExchSummary: u8 = 53u8;
756pub const THOST_FTDC_FBEUET_QueryExchRate: u8 = 54u8;
757pub const THOST_FTDC_FBEUET_CheckBankAccount: u8 = 55u8;
758pub const THOST_FTDC_FBEUET_SignOut: u8 = 56u8;
759pub const THOST_FTDC_FBEUET_Other: u8 = 90u8;
760pub const THOST_FTDC_FBERF_UnProcessed: u8 = 48u8;
761pub const THOST_FTDC_FBERF_WaitSend: u8 = 49u8;
762pub const THOST_FTDC_FBERF_SendSuccess: u8 = 50u8;
763pub const THOST_FTDC_FBERF_SendFailed: u8 = 51u8;
764pub const THOST_FTDC_FBERF_WaitReSend: u8 = 52u8;
765pub const THOST_FTDC_NC_NOERROR: u8 = 48u8;
766pub const THOST_FTDC_NC_Warn: u8 = 49u8;
767pub const THOST_FTDC_NC_Call: u8 = 50u8;
768pub const THOST_FTDC_NC_Force: u8 = 51u8;
769pub const THOST_FTDC_NC_CHUANCANG: u8 = 52u8;
770pub const THOST_FTDC_NC_Exception: u8 = 53u8;
771pub const THOST_FTDC_FCT_Manual: u8 = 48u8;
772pub const THOST_FTDC_FCT_Single: u8 = 49u8;
773pub const THOST_FTDC_FCT_Group: u8 = 50u8;
774pub const THOST_FTDC_RNM_System: u8 = 48u8;
775pub const THOST_FTDC_RNM_SMS: u8 = 49u8;
776pub const THOST_FTDC_RNM_EMail: u8 = 50u8;
777pub const THOST_FTDC_RNM_Manual: u8 = 51u8;
778pub const THOST_FTDC_RNS_NotGen: u8 = 48u8;
779pub const THOST_FTDC_RNS_Generated: u8 = 49u8;
780pub const THOST_FTDC_RNS_SendError: u8 = 50u8;
781pub const THOST_FTDC_RNS_SendOk: u8 = 51u8;
782pub const THOST_FTDC_RNS_Received: u8 = 52u8;
783pub const THOST_FTDC_RNS_Confirmed: u8 = 53u8;
784pub const THOST_FTDC_RUE_ExportData: u8 = 48u8;
785pub const THOST_FTDC_COST_LastPriceAsc: u8 = 48u8;
786pub const THOST_FTDC_COST_LastPriceDesc: u8 = 49u8;
787pub const THOST_FTDC_COST_AskPriceAsc: u8 = 50u8;
788pub const THOST_FTDC_COST_AskPriceDesc: u8 = 51u8;
789pub const THOST_FTDC_COST_BidPriceAsc: u8 = 52u8;
790pub const THOST_FTDC_COST_BidPriceDesc: u8 = 53u8;
791pub const THOST_FTDC_UOAST_NoSend: u8 = 48u8;
792pub const THOST_FTDC_UOAST_Sended: u8 = 49u8;
793pub const THOST_FTDC_UOAST_Generated: u8 = 50u8;
794pub const THOST_FTDC_UOAST_SendFail: u8 = 51u8;
795pub const THOST_FTDC_UOAST_Success: u8 = 52u8;
796pub const THOST_FTDC_UOAST_Fail: u8 = 53u8;
797pub const THOST_FTDC_UOAST_Cancel: u8 = 54u8;
798pub const THOST_FTDC_UOACS_NoApply: u8 = 49u8;
799pub const THOST_FTDC_UOACS_Submited: u8 = 50u8;
800pub const THOST_FTDC_UOACS_Sended: u8 = 51u8;
801pub const THOST_FTDC_UOACS_Success: u8 = 52u8;
802pub const THOST_FTDC_UOACS_Refuse: u8 = 53u8;
803pub const THOST_FTDC_UOACS_Cancel: u8 = 54u8;
804pub const THOST_FTDC_QT_Radio: u8 = 49u8;
805pub const THOST_FTDC_QT_Option: u8 = 50u8;
806pub const THOST_FTDC_QT_Blank: u8 = 51u8;
807pub const THOST_FTDC_BT_Request: u8 = 49u8;
808pub const THOST_FTDC_BT_Response: u8 = 50u8;
809pub const THOST_FTDC_BT_Notice: u8 = 51u8;
810pub const THOST_FTDC_CRC_Success: u8 = 48u8;
811pub const THOST_FTDC_CRC_Working: u8 = 49u8;
812pub const THOST_FTDC_CRC_InfoFail: u8 = 50u8;
813pub const THOST_FTDC_CRC_IDCardFail: u8 = 51u8;
814pub const THOST_FTDC_CRC_OtherFail: u8 = 52u8;
815pub const THOST_FTDC_CfMMCCT_All: u8 = 48u8;
816pub const THOST_FTDC_CfMMCCT_Person: u8 = 49u8;
817pub const THOST_FTDC_CfMMCCT_Company: u8 = 50u8;
818pub const THOST_FTDC_CfMMCCT_Other: u8 = 51u8;
819pub const THOST_FTDC_CfMMCCT_SpecialOrgan: u8 = 52u8;
820pub const THOST_FTDC_CfMMCCT_Asset: u8 = 53u8;
821pub const THOST_FTDC_EIDT_SHFE: u8 = 83u8;
822pub const THOST_FTDC_EIDT_CZCE: u8 = 90u8;
823pub const THOST_FTDC_EIDT_DCE: u8 = 68u8;
824pub const THOST_FTDC_EIDT_CFFEX: u8 = 74u8;
825pub const THOST_FTDC_EIDT_INE: u8 = 78u8;
826pub const THOST_FTDC_ECIDT_Hedge: u8 = 49u8;
827pub const THOST_FTDC_ECIDT_Arbitrage: u8 = 50u8;
828pub const THOST_FTDC_ECIDT_Speculation: u8 = 51u8;
829pub const THOST_FTDC_UF_NoUpdate: u8 = 48u8;
830pub const THOST_FTDC_UF_Success: u8 = 49u8;
831pub const THOST_FTDC_UF_Fail: u8 = 50u8;
832pub const THOST_FTDC_UF_TCSuccess: u8 = 51u8;
833pub const THOST_FTDC_UF_TCFail: u8 = 52u8;
834pub const THOST_FTDC_UF_Cancel: u8 = 53u8;
835pub const THOST_FTDC_AOID_OpenInvestor: u8 = 49u8;
836pub const THOST_FTDC_AOID_ModifyIDCard: u8 = 50u8;
837pub const THOST_FTDC_AOID_ModifyNoIDCard: u8 = 51u8;
838pub const THOST_FTDC_AOID_ApplyTradingCode: u8 = 52u8;
839pub const THOST_FTDC_AOID_CancelTradingCode: u8 = 53u8;
840pub const THOST_FTDC_AOID_CancelInvestor: u8 = 54u8;
841pub const THOST_FTDC_AOID_FreezeAccount: u8 = 56u8;
842pub const THOST_FTDC_AOID_ActiveFreezeAccount: u8 = 57u8;
843pub const THOST_FTDC_ASID_NoComplete: u8 = 49u8;
844pub const THOST_FTDC_ASID_Submited: u8 = 50u8;
845pub const THOST_FTDC_ASID_Checked: u8 = 51u8;
846pub const THOST_FTDC_ASID_Refused: u8 = 52u8;
847pub const THOST_FTDC_ASID_Deleted: u8 = 53u8;
848pub const THOST_FTDC_UOASM_ByAPI: u8 = 49u8;
849pub const THOST_FTDC_UOASM_ByFile: u8 = 50u8;
850pub const THOST_FTDC_EvM_ADD: u8 = 49u8;
851pub const THOST_FTDC_EvM_UPDATE: u8 = 50u8;
852pub const THOST_FTDC_EvM_DELETE: u8 = 51u8;
853pub const THOST_FTDC_EvM_CHECK: u8 = 52u8;
854pub const THOST_FTDC_EvM_COPY: u8 = 53u8;
855pub const THOST_FTDC_EvM_CANCEL: u8 = 54u8;
856pub const THOST_FTDC_EvM_Reverse: u8 = 55u8;
857pub const THOST_FTDC_UOAA_ASR: u8 = 49u8;
858pub const THOST_FTDC_UOAA_ASNR: u8 = 50u8;
859pub const THOST_FTDC_UOAA_NSAR: u8 = 51u8;
860pub const THOST_FTDC_UOAA_NSR: u8 = 52u8;
861pub const THOST_FTDC_EvM_InvestorGroupFlow: u8 = 49u8;
862pub const THOST_FTDC_EvM_InvestorRate: u8 = 50u8;
863pub const THOST_FTDC_EvM_InvestorCommRateModel: u8 = 51u8;
864pub const THOST_FTDC_CL_Zero: u8 = 48u8;
865pub const THOST_FTDC_CL_One: u8 = 49u8;
866pub const THOST_FTDC_CL_Two: u8 = 50u8;
867pub const THOST_FTDC_CHS_Init: u8 = 48u8;
868pub const THOST_FTDC_CHS_Checking: u8 = 49u8;
869pub const THOST_FTDC_CHS_Checked: u8 = 50u8;
870pub const THOST_FTDC_CHS_Refuse: u8 = 51u8;
871pub const THOST_FTDC_CHS_Cancel: u8 = 52u8;
872pub const THOST_FTDC_CHU_Unused: u8 = 48u8;
873pub const THOST_FTDC_CHU_Used: u8 = 49u8;
874pub const THOST_FTDC_CHU_Fail: u8 = 50u8;
875pub const THOST_FTDC_BAO_ByAccProperty: u8 = 48u8;
876pub const THOST_FTDC_BAO_ByFBTransfer: u8 = 49u8;
877pub const THOST_FTDC_MBTS_ByInstrument: u8 = 48u8;
878pub const THOST_FTDC_MBTS_ByDayInsPrc: u8 = 49u8;
879pub const THOST_FTDC_MBTS_ByDayIns: u8 = 50u8;
880pub const THOST_FTDC_OTP_NONE: u8 = 48u8;
881pub const THOST_FTDC_OTP_TOTP: u8 = 49u8;
882pub const THOST_FTDC_OTPS_Unused: u8 = 48u8;
883pub const THOST_FTDC_OTPS_Used: u8 = 49u8;
884pub const THOST_FTDC_OTPS_Disuse: u8 = 50u8;
885pub const THOST_FTDC_BUT_Investor: u8 = 49u8;
886pub const THOST_FTDC_BUT_BrokerUser: u8 = 50u8;
887pub const THOST_FTDC_FUTT_Commodity: u8 = 49u8;
888pub const THOST_FTDC_FUTT_Financial: u8 = 50u8;
889pub const THOST_FTDC_FET_Restriction: u8 = 48u8;
890pub const THOST_FTDC_FET_TodayRestriction: u8 = 49u8;
891pub const THOST_FTDC_FET_Transfer: u8 = 50u8;
892pub const THOST_FTDC_FET_Credit: u8 = 51u8;
893pub const THOST_FTDC_FET_InvestorWithdrawAlm: u8 = 52u8;
894pub const THOST_FTDC_FET_BankRestriction: u8 = 53u8;
895pub const THOST_FTDC_FET_Accountregister: u8 = 54u8;
896pub const THOST_FTDC_FET_ExchangeFundIO: u8 = 55u8;
897pub const THOST_FTDC_FET_InvestorFundIO: u8 = 56u8;
898pub const THOST_FTDC_AST_FBTransfer: u8 = 48u8;
899pub const THOST_FTDC_AST_ManualEntry: u8 = 49u8;
900pub const THOST_FTDC_CST_UnifyAccount: u8 = 48u8;
901pub const THOST_FTDC_CST_ManualEntry: u8 = 49u8;
902pub const THOST_FTDC_UR_All: u8 = 48u8;
903pub const THOST_FTDC_UR_Single: u8 = 49u8;
904pub const THOST_FTDC_BG_Investor: u8 = 50u8;
905pub const THOST_FTDC_BG_Group: u8 = 49u8;
906pub const THOST_FTDC_TSSM_Instrument: u8 = 49u8;
907pub const THOST_FTDC_TSSM_Product: u8 = 50u8;
908pub const THOST_FTDC_TSSM_Exchange: u8 = 51u8;
909pub const THOST_FTDC_ESM_Relative: u8 = 49u8;
910pub const THOST_FTDC_ESM_Typical: u8 = 50u8;
911pub const THOST_FTDC_RIR_All: u8 = 49u8;
912pub const THOST_FTDC_RIR_Model: u8 = 50u8;
913pub const THOST_FTDC_RIR_Single: u8 = 51u8;
914pub const THOST_FTDC_SDS_Initialize: u8 = 48u8;
915pub const THOST_FTDC_SDS_Settlementing: u8 = 49u8;
916pub const THOST_FTDC_SDS_Settlemented: u8 = 50u8;
917pub const THOST_FTDC_TSRC_NORMAL: u8 = 48u8;
918pub const THOST_FTDC_TSRC_QUERY: u8 = 49u8;
919pub const THOST_FTDC_FSM_Product: u8 = 49u8;
920pub const THOST_FTDC_FSM_Exchange: u8 = 50u8;
921pub const THOST_FTDC_FSM_All: u8 = 51u8;
922pub const THOST_FTDC_BIR_Property: u8 = 49u8;
923pub const THOST_FTDC_BIR_All: u8 = 50u8;
924pub const THOST_FTDC_PIR_All: u8 = 49u8;
925pub const THOST_FTDC_PIR_Property: u8 = 50u8;
926pub const THOST_FTDC_PIR_Single: u8 = 51u8;
927pub const THOST_FTDC_FIS_NoCreate: u8 = 48u8;
928pub const THOST_FTDC_FIS_Created: u8 = 49u8;
929pub const THOST_FTDC_FIS_Failed: u8 = 50u8;
930pub const THOST_FTDC_FGS_FileTransmit: u8 = 48u8;
931pub const THOST_FTDC_FGS_FileGen: u8 = 49u8;
932pub const THOST_FTDC_SoM_Add: u8 = 49u8;
933pub const THOST_FTDC_SoM_Update: u8 = 50u8;
934pub const THOST_FTDC_SoM_Delete: u8 = 51u8;
935pub const THOST_FTDC_SoM_Copy: u8 = 52u8;
936pub const THOST_FTDC_SoM_AcTive: u8 = 53u8;
937pub const THOST_FTDC_SoM_CanCel: u8 = 54u8;
938pub const THOST_FTDC_SoM_ReSet: u8 = 55u8;
939pub const THOST_FTDC_SoT_UpdatePassword: u8 = 48u8;
940pub const THOST_FTDC_SoT_UserDepartment: u8 = 49u8;
941pub const THOST_FTDC_SoT_RoleManager: u8 = 50u8;
942pub const THOST_FTDC_SoT_RoleFunction: u8 = 51u8;
943pub const THOST_FTDC_SoT_BaseParam: u8 = 52u8;
944pub const THOST_FTDC_SoT_SetUserID: u8 = 53u8;
945pub const THOST_FTDC_SoT_SetUserRole: u8 = 54u8;
946pub const THOST_FTDC_SoT_UserIpRestriction: u8 = 55u8;
947pub const THOST_FTDC_SoT_DepartmentManager: u8 = 56u8;
948pub const THOST_FTDC_SoT_DepartmentCopy: u8 = 57u8;
949pub const THOST_FTDC_SoT_Tradingcode: u8 = 65u8;
950pub const THOST_FTDC_SoT_InvestorStatus: u8 = 66u8;
951pub const THOST_FTDC_SoT_InvestorAuthority: u8 = 67u8;
952pub const THOST_FTDC_SoT_PropertySet: u8 = 68u8;
953pub const THOST_FTDC_SoT_ReSetInvestorPasswd: u8 = 69u8;
954pub const THOST_FTDC_SoT_InvestorPersonalityInfo: u8 = 70u8;
955pub const THOST_FTDC_CSRCQ_Current: u8 = 48u8;
956pub const THOST_FTDC_CSRCQ_History: u8 = 49u8;
957pub const THOST_FTDC_FRS_Normal: u8 = 49u8;
958pub const THOST_FTDC_FRS_Freeze: u8 = 48u8;
959pub const THOST_FTDC_STST_Standard: u8 = 48u8;
960pub const THOST_FTDC_STST_NonStandard: u8 = 49u8;
961pub const THOST_FTDC_RPT_Freeze: u8 = 49u8;
962pub const THOST_FTDC_RPT_FreezeActive: u8 = 50u8;
963pub const THOST_FTDC_RPT_OpenLimit: u8 = 51u8;
964pub const THOST_FTDC_RPT_RelieveOpenLimit: u8 = 52u8;
965pub const THOST_FTDC_AMLDS_Normal: u8 = 48u8;
966pub const THOST_FTDC_AMLDS_Deleted: u8 = 49u8;
967pub const THOST_FTDC_AMLCHS_Init: u8 = 48u8;
968pub const THOST_FTDC_AMLCHS_Checking: u8 = 49u8;
969pub const THOST_FTDC_AMLCHS_Checked: u8 = 50u8;
970pub const THOST_FTDC_AMLCHS_RefuseReport: u8 = 51u8;
971pub const THOST_FTDC_AMLDT_DrawDay: u8 = 48u8;
972pub const THOST_FTDC_AMLDT_TouchDay: u8 = 49u8;
973pub const THOST_FTDC_AMLCL_CheckLevel0: u8 = 48u8;
974pub const THOST_FTDC_AMLCL_CheckLevel1: u8 = 49u8;
975pub const THOST_FTDC_AMLCL_CheckLevel2: u8 = 50u8;
976pub const THOST_FTDC_AMLCL_CheckLevel3: u8 = 51u8;
977pub const THOST_FTDC_EFT_CSV: u8 = 48u8;
978pub const THOST_FTDC_EFT_EXCEL: u8 = 49u8;
979pub const THOST_FTDC_EFT_DBF: u8 = 50u8;
980pub const THOST_FTDC_SMT_Before: u8 = 49u8;
981pub const THOST_FTDC_SMT_Settlement: u8 = 50u8;
982pub const THOST_FTDC_SMT_After: u8 = 51u8;
983pub const THOST_FTDC_SMT_Settlemented: u8 = 52u8;
984pub const THOST_FTDC_SML_Must: u8 = 49u8;
985pub const THOST_FTDC_SML_Alarm: u8 = 50u8;
986pub const THOST_FTDC_SML_Prompt: u8 = 51u8;
987pub const THOST_FTDC_SML_Ignore: u8 = 52u8;
988pub const THOST_FTDC_SMG_Exhcange: u8 = 49u8;
989pub const THOST_FTDC_SMG_ASP: u8 = 50u8;
990pub const THOST_FTDC_SMG_CSRC: u8 = 51u8;
991pub const THOST_FTDC_LUT_Repeatable: u8 = 49u8;
992pub const THOST_FTDC_LUT_Unrepeatable: u8 = 50u8;
993pub const THOST_FTDC_DAR_Settle: u8 = 49u8;
994pub const THOST_FTDC_DAR_Exchange: u8 = 50u8;
995pub const THOST_FTDC_DAR_CSRC: u8 = 51u8;
996pub const THOST_FTDC_MGT_ExchMarginRate: u8 = 48u8;
997pub const THOST_FTDC_MGT_InstrMarginRate: u8 = 49u8;
998pub const THOST_FTDC_MGT_InstrMarginRateTrade: u8 = 50u8;
999pub const THOST_FTDC_ACT_Intraday: u8 = 49u8;
1000pub const THOST_FTDC_ACT_Long: u8 = 50u8;
1001pub const THOST_FTDC_MRT_Exchange: u8 = 49u8;
1002pub const THOST_FTDC_MRT_Investor: u8 = 50u8;
1003pub const THOST_FTDC_MRT_InvestorTrade: u8 = 51u8;
1004pub const THOST_FTDC_BUS_UnBak: u8 = 48u8;
1005pub const THOST_FTDC_BUS_BakUp: u8 = 49u8;
1006pub const THOST_FTDC_BUS_BakUped: u8 = 50u8;
1007pub const THOST_FTDC_BUS_BakFail: u8 = 51u8;
1008pub const THOST_FTDC_SIS_UnInitialize: u8 = 48u8;
1009pub const THOST_FTDC_SIS_Initialize: u8 = 49u8;
1010pub const THOST_FTDC_SIS_Initialized: u8 = 50u8;
1011pub const THOST_FTDC_SRS_NoCreate: u8 = 48u8;
1012pub const THOST_FTDC_SRS_Create: u8 = 49u8;
1013pub const THOST_FTDC_SRS_Created: u8 = 50u8;
1014pub const THOST_FTDC_SRS_CreateFail: u8 = 51u8;
1015pub const THOST_FTDC_SSS_UnSaveData: u8 = 48u8;
1016pub const THOST_FTDC_SSS_SaveDatad: u8 = 49u8;
1017pub const THOST_FTDC_SAS_UnArchived: u8 = 48u8;
1018pub const THOST_FTDC_SAS_Archiving: u8 = 49u8;
1019pub const THOST_FTDC_SAS_Archived: u8 = 50u8;
1020pub const THOST_FTDC_SAS_ArchiveFail: u8 = 51u8;
1021pub const THOST_FTDC_CTPT_Unkown: u8 = 48u8;
1022pub const THOST_FTDC_CTPT_MainCenter: u8 = 49u8;
1023pub const THOST_FTDC_CTPT_BackUp: u8 = 50u8;
1024pub const THOST_FTDC_CDT_Normal: u8 = 48u8;
1025pub const THOST_FTDC_CDT_SpecFirst: u8 = 49u8;
1026pub const THOST_FTDC_MFUR_None: u8 = 48u8;
1027pub const THOST_FTDC_MFUR_Margin: u8 = 49u8;
1028pub const THOST_FTDC_MFUR_All: u8 = 50u8;
1029pub const THOST_FTDC_MFUR_CNY3: u8 = 51u8;
1030pub const THOST_FTDC_SPT_CzceHedge: u8 = 49u8;
1031pub const THOST_FTDC_SPT_IneForeignCurrency: u8 = 50u8;
1032pub const THOST_FTDC_SPT_DceOpenClose: u8 = 51u8;
1033pub const THOST_FTDC_FMT_Mortgage: u8 = 49u8;
1034pub const THOST_FTDC_FMT_Redemption: u8 = 50u8;
1035pub const THOST_FTDC_ASPI_BaseMargin: u8 = 49u8;
1036pub const THOST_FTDC_ASPI_LowestInterest: u8 = 50u8;
1037pub const THOST_FTDC_FMD_In: u8 = 49u8;
1038pub const THOST_FTDC_FMD_Out: u8 = 50u8;
1039pub const THOST_FTDC_BT_Profit: u8 = 48u8;
1040pub const THOST_FTDC_BT_Loss: u8 = 49u8;
1041pub const THOST_FTDC_BT_Other: u8 = 90u8;
1042pub const THOST_FTDC_SST_Manual: u8 = 48u8;
1043pub const THOST_FTDC_SST_Automatic: u8 = 49u8;
1044pub const THOST_FTDC_CED_Settlement: u8 = 48u8;
1045pub const THOST_FTDC_CED_Sale: u8 = 49u8;
1046pub const THOST_FTDC_CSS_Entry: u8 = 49u8;
1047pub const THOST_FTDC_CSS_Approve: u8 = 50u8;
1048pub const THOST_FTDC_CSS_Refuse: u8 = 51u8;
1049pub const THOST_FTDC_CSS_Revoke: u8 = 52u8;
1050pub const THOST_FTDC_CSS_Send: u8 = 53u8;
1051pub const THOST_FTDC_CSS_Success: u8 = 54u8;
1052pub const THOST_FTDC_CSS_Failure: u8 = 55u8;
1053pub const THOST_FTDC_REQF_NoSend: u8 = 48u8;
1054pub const THOST_FTDC_REQF_SendSuccess: u8 = 49u8;
1055pub const THOST_FTDC_REQF_SendFailed: u8 = 50u8;
1056pub const THOST_FTDC_REQF_WaitReSend: u8 = 51u8;
1057pub const THOST_FTDC_RESF_Success: u8 = 48u8;
1058pub const THOST_FTDC_RESF_InsuffiCient: u8 = 49u8;
1059pub const THOST_FTDC_RESF_UnKnown: u8 = 56u8;
1060pub const THOST_FTDC_EXS_Before: u8 = 48u8;
1061pub const THOST_FTDC_EXS_After: u8 = 49u8;
1062pub const THOST_FTDC_CR_Domestic: u8 = 49u8;
1063pub const THOST_FTDC_CR_GMT: u8 = 50u8;
1064pub const THOST_FTDC_CR_Foreign: u8 = 51u8;
1065pub const THOST_FTDC_HB_No: u8 = 48u8;
1066pub const THOST_FTDC_HB_Yes: u8 = 49u8;
1067pub const THOST_FTDC_SM_Normal: u8 = 49u8;
1068pub const THOST_FTDC_SM_Emerge: u8 = 50u8;
1069pub const THOST_FTDC_SM_Restore: u8 = 51u8;
1070pub const THOST_FTDC_TPT_Full: u8 = 49u8;
1071pub const THOST_FTDC_TPT_Increment: u8 = 50u8;
1072pub const THOST_FTDC_TPT_BackUp: u8 = 51u8;
1073pub const THOST_FTDC_LM_Trade: u8 = 48u8;
1074pub const THOST_FTDC_LM_Transfer: u8 = 49u8;
1075pub const THOST_FTDC_CPT_Instrument: u8 = 49u8;
1076pub const THOST_FTDC_CPT_Margin: u8 = 50u8;
1077pub const THOST_FTDC_HT_Yes: u8 = 49u8;
1078pub const THOST_FTDC_HT_No: u8 = 48u8;
1079pub const THOST_FTDC_AMT_Bank: u8 = 49u8;
1080pub const THOST_FTDC_AMT_Securities: u8 = 50u8;
1081pub const THOST_FTDC_AMT_Fund: u8 = 51u8;
1082pub const THOST_FTDC_AMT_Insurance: u8 = 52u8;
1083pub const THOST_FTDC_AMT_Trust: u8 = 53u8;
1084pub const THOST_FTDC_AMT_Other: u8 = 57u8;
1085pub const THOST_FTDC_CFIOT_FundIO: u8 = 48u8;
1086pub const THOST_FTDC_CFIOT_SwapCurrency: u8 = 49u8;
1087pub const THOST_FTDC_CAT_Futures: u8 = 49u8;
1088pub const THOST_FTDC_CAT_AssetmgrFuture: u8 = 50u8;
1089pub const THOST_FTDC_CAT_AssetmgrTrustee: u8 = 51u8;
1090pub const THOST_FTDC_CAT_AssetmgrTransfer: u8 = 52u8;
1091pub const THOST_FTDC_LT_Chinese: u8 = 49u8;
1092pub const THOST_FTDC_LT_English: u8 = 50u8;
1093pub const THOST_FTDC_AMCT_Person: u8 = 49u8;
1094pub const THOST_FTDC_AMCT_Organ: u8 = 50u8;
1095pub const THOST_FTDC_AMCT_SpecialOrgan: u8 = 52u8;
1096pub const THOST_FTDC_ASST_Futures: u8 = 51u8;
1097pub const THOST_FTDC_ASST_SpecialOrgan: u8 = 52u8;
1098pub const THOST_FTDC_CIT_HasExch: u8 = 48u8;
1099pub const THOST_FTDC_CIT_HasATP: u8 = 49u8;
1100pub const THOST_FTDC_CIT_HasDiff: u8 = 50u8;
1101pub const THOST_FTDC_DT_HandDeliv: u8 = 49u8;
1102pub const THOST_FTDC_DT_PersonDeliv: u8 = 50u8;
1103pub const THOST_FTDC_MMSA_NO: u8 = 48u8;
1104pub const THOST_FTDC_MMSA_YES: u8 = 49u8;
1105pub const THOST_FTDC_CACT_Person: u8 = 48u8;
1106pub const THOST_FTDC_CACT_Company: u8 = 49u8;
1107pub const THOST_FTDC_CACT_Other: u8 = 50u8;
1108pub const THOST_FTDC_UOAAT_Futures: u8 = 49u8;
1109pub const THOST_FTDC_UOAAT_SpecialOrgan: u8 = 50u8;
1110pub const THOST_FTDC_DEN_Buy: u8 = 48u8;
1111pub const THOST_FTDC_DEN_Sell: u8 = 49u8;
1112pub const THOST_FTDC_OFEN_Open: u8 = 48u8;
1113pub const THOST_FTDC_OFEN_Close: u8 = 49u8;
1114pub const THOST_FTDC_OFEN_ForceClose: u8 = 50u8;
1115pub const THOST_FTDC_OFEN_CloseToday: u8 = 51u8;
1116pub const THOST_FTDC_OFEN_CloseYesterday: u8 = 52u8;
1117pub const THOST_FTDC_OFEN_ForceOff: u8 = 53u8;
1118pub const THOST_FTDC_OFEN_LocalForceClose: u8 = 54u8;
1119pub const THOST_FTDC_HFEN_Speculation: u8 = 49u8;
1120pub const THOST_FTDC_HFEN_Arbitrage: u8 = 50u8;
1121pub const THOST_FTDC_HFEN_Hedge: u8 = 51u8;
1122pub const THOST_FTDC_FIOTEN_FundIO: u8 = 49u8;
1123pub const THOST_FTDC_FIOTEN_Transfer: u8 = 50u8;
1124pub const THOST_FTDC_FIOTEN_SwapCurrency: u8 = 51u8;
1125pub const THOST_FTDC_FTEN_Deposite: u8 = 49u8;
1126pub const THOST_FTDC_FTEN_ItemFund: u8 = 50u8;
1127pub const THOST_FTDC_FTEN_Company: u8 = 51u8;
1128pub const THOST_FTDC_FTEN_InnerTransfer: u8 = 52u8;
1129pub const THOST_FTDC_FDEN_In: u8 = 49u8;
1130pub const THOST_FTDC_FDEN_Out: u8 = 50u8;
1131pub const THOST_FTDC_FMDEN_In: u8 = 49u8;
1132pub const THOST_FTDC_FMDEN_Out: u8 = 50u8;
1133pub const THOST_FTDC_CP_CallOptions: u8 = 49u8;
1134pub const THOST_FTDC_CP_PutOptions: u8 = 50u8;
1135pub const THOST_FTDC_STM_Continental: u8 = 48u8;
1136pub const THOST_FTDC_STM_American: u8 = 49u8;
1137pub const THOST_FTDC_STM_Bermuda: u8 = 50u8;
1138pub const THOST_FTDC_STT_Hedge: u8 = 48u8;
1139pub const THOST_FTDC_STT_Match: u8 = 49u8;
1140pub const THOST_FTDC_APPT_NotStrikeNum: u8 = 52u8;
1141pub const THOST_FTDC_GUDS_Gen: u8 = 48u8;
1142pub const THOST_FTDC_GUDS_Hand: u8 = 49u8;
1143pub const THOST_FTDC_OER_NoExec: u8 = 110u8;
1144pub const THOST_FTDC_OER_Canceled: u8 = 99u8;
1145pub const THOST_FTDC_OER_OK: u8 = 48u8;
1146pub const THOST_FTDC_OER_NoPosition: u8 = 49u8;
1147pub const THOST_FTDC_OER_NoDeposit: u8 = 50u8;
1148pub const THOST_FTDC_OER_NoParticipant: u8 = 51u8;
1149pub const THOST_FTDC_OER_NoClient: u8 = 52u8;
1150pub const THOST_FTDC_OER_NoInstrument: u8 = 54u8;
1151pub const THOST_FTDC_OER_NoRight: u8 = 55u8;
1152pub const THOST_FTDC_OER_InvalidVolume: u8 = 56u8;
1153pub const THOST_FTDC_OER_NoEnoughHistoryTrade: u8 = 57u8;
1154pub const THOST_FTDC_OER_Unknown: u8 = 97u8;
1155pub const THOST_FTDC_COMBT_Future: u8 = 48u8;
1156pub const THOST_FTDC_COMBT_BUL: u8 = 49u8;
1157pub const THOST_FTDC_COMBT_BER: u8 = 50u8;
1158pub const THOST_FTDC_COMBT_STD: u8 = 51u8;
1159pub const THOST_FTDC_COMBT_STG: u8 = 52u8;
1160pub const THOST_FTDC_COMBT_PRT: u8 = 53u8;
1161pub const THOST_FTDC_COMBT_CAS: u8 = 54u8;
1162pub const THOST_FTDC_COMBT_OPL: u8 = 55u8;
1163pub const THOST_FTDC_COMBT_BFO: u8 = 56u8;
1164pub const THOST_FTDC_COMBT_BLS: u8 = 57u8;
1165pub const THOST_FTDC_COMBT_BES: u8 = 97u8;
1166pub const THOST_FTDC_DCECOMBT_SPL: u8 = 48u8;
1167pub const THOST_FTDC_DCECOMBT_OPL: u8 = 49u8;
1168pub const THOST_FTDC_DCECOMBT_SP: u8 = 50u8;
1169pub const THOST_FTDC_DCECOMBT_SPC: u8 = 51u8;
1170pub const THOST_FTDC_DCECOMBT_BLS: u8 = 52u8;
1171pub const THOST_FTDC_DCECOMBT_BES: u8 = 53u8;
1172pub const THOST_FTDC_DCECOMBT_CAS: u8 = 54u8;
1173pub const THOST_FTDC_DCECOMBT_STD: u8 = 55u8;
1174pub const THOST_FTDC_DCECOMBT_STG: u8 = 56u8;
1175pub const THOST_FTDC_DCECOMBT_BFO: u8 = 57u8;
1176pub const THOST_FTDC_DCECOMBT_SFO: u8 = 97u8;
1177pub const THOST_FTDC_ORPT_PreSettlementPrice: u8 = 49u8;
1178pub const THOST_FTDC_ORPT_OpenPrice: u8 = 52u8;
1179pub const THOST_FTDC_ORPT_MaxPreSettlementPrice: u8 = 53u8;
1180pub const THOST_FTDC_BLAG_Default: u8 = 49u8;
1181pub const THOST_FTDC_BLAG_IncludeOptValLost: u8 = 50u8;
1182pub const THOST_FTDC_ACTP_Exec: u8 = 49u8;
1183pub const THOST_FTDC_ACTP_Abandon: u8 = 50u8;
1184pub const THOST_FTDC_FQST_Submitted: u8 = 97u8;
1185pub const THOST_FTDC_FQST_Accepted: u8 = 98u8;
1186pub const THOST_FTDC_FQST_Rejected: u8 = 99u8;
1187pub const THOST_FTDC_VM_Absolute: u8 = 48u8;
1188pub const THOST_FTDC_VM_Ratio: u8 = 49u8;
1189pub const THOST_FTDC_EOPF_Reserve: u8 = 48u8;
1190pub const THOST_FTDC_EOPF_UnReserve: u8 = 49u8;
1191pub const THOST_FTDC_EOCF_AutoClose: u8 = 48u8;
1192pub const THOST_FTDC_EOCF_NotToClose: u8 = 49u8;
1193pub const THOST_FTDC_PTE_Futures: u8 = 49u8;
1194pub const THOST_FTDC_PTE_Options: u8 = 50u8;
1195pub const THOST_FTDC_CUFN_CUFN_O: u8 = 79u8;
1196pub const THOST_FTDC_CUFN_CUFN_T: u8 = 84u8;
1197pub const THOST_FTDC_CUFN_CUFN_P: u8 = 80u8;
1198pub const THOST_FTDC_CUFN_CUFN_N: u8 = 78u8;
1199pub const THOST_FTDC_CUFN_CUFN_L: u8 = 76u8;
1200pub const THOST_FTDC_CUFN_CUFN_F: u8 = 70u8;
1201pub const THOST_FTDC_CUFN_CUFN_C: u8 = 67u8;
1202pub const THOST_FTDC_CUFN_CUFN_M: u8 = 77u8;
1203pub const THOST_FTDC_DUFN_DUFN_O: u8 = 79u8;
1204pub const THOST_FTDC_DUFN_DUFN_T: u8 = 84u8;
1205pub const THOST_FTDC_DUFN_DUFN_P: u8 = 80u8;
1206pub const THOST_FTDC_DUFN_DUFN_F: u8 = 70u8;
1207pub const THOST_FTDC_DUFN_DUFN_C: u8 = 67u8;
1208pub const THOST_FTDC_DUFN_DUFN_D: u8 = 68u8;
1209pub const THOST_FTDC_DUFN_DUFN_M: u8 = 77u8;
1210pub const THOST_FTDC_DUFN_DUFN_S: u8 = 83u8;
1211pub const THOST_FTDC_SUFN_SUFN_O: u8 = 79u8;
1212pub const THOST_FTDC_SUFN_SUFN_T: u8 = 84u8;
1213pub const THOST_FTDC_SUFN_SUFN_P: u8 = 80u8;
1214pub const THOST_FTDC_SUFN_SUFN_F: u8 = 70u8;
1215pub const THOST_FTDC_CFUFN_SUFN_T: u8 = 84u8;
1216pub const THOST_FTDC_CFUFN_SUFN_P: u8 = 80u8;
1217pub const THOST_FTDC_CFUFN_SUFN_F: u8 = 70u8;
1218pub const THOST_FTDC_CFUFN_SUFN_S: u8 = 83u8;
1219pub const THOST_FTDC_CMDR_Comb: u8 = 48u8;
1220pub const THOST_FTDC_CMDR_UnComb: u8 = 49u8;
1221pub const THOST_FTDC_CMDR_DelComb: u8 = 50u8;
1222pub const THOST_FTDC_STOV_RealValue: u8 = 49u8;
1223pub const THOST_FTDC_STOV_ProfitValue: u8 = 50u8;
1224pub const THOST_FTDC_STOV_RealRatio: u8 = 51u8;
1225pub const THOST_FTDC_STOV_ProfitRatio: u8 = 52u8;
1226pub const THOST_FTDC_ROAST_Processing: u8 = 48u8;
1227pub const THOST_FTDC_ROAST_Cancelled: u8 = 49u8;
1228pub const THOST_FTDC_ROAST_Opened: u8 = 50u8;
1229pub const THOST_FTDC_ROAST_Invalid: u8 = 51u8;
1230pub const THOST_FTDC_WPSR_Lib: u8 = 49u8;
1231pub const THOST_FTDC_WPSR_Manual: u8 = 50u8;
1232pub const THOST_FTDC_OSCF_CloseSelfOptionPosition: u8 = 49u8;
1233pub const THOST_FTDC_OSCF_ReserveOptionPosition: u8 = 50u8;
1234pub const THOST_FTDC_OSCF_SellCloseSelfFuturePosition: u8 = 51u8;
1235pub const THOST_FTDC_OSCF_ReserveFuturePosition: u8 = 52u8;
1236pub const THOST_FTDC_BZTP_Future: u8 = 49u8;
1237pub const THOST_FTDC_BZTP_Stock: u8 = 50u8;
1238pub const THOST_FTDC_APP_TYPE_Investor: u8 = 49u8;
1239pub const THOST_FTDC_APP_TYPE_InvestorRelay: u8 = 50u8;
1240pub const THOST_FTDC_APP_TYPE_OperatorRelay: u8 = 51u8;
1241pub const THOST_FTDC_APP_TYPE_UnKnown: u8 = 52u8;
1242pub const THOST_FTDC_RV_Right: u8 = 48u8;
1243pub const THOST_FTDC_RV_Refuse: u8 = 49u8;
1244pub const THOST_FTDC_OTC_TRDT_Block: u8 = 48u8;
1245pub const THOST_FTDC_OTC_TRDT_EFP: u8 = 49u8;
1246pub const THOST_FTDC_OTC_MT_DV01: u8 = 49u8;
1247pub const THOST_FTDC_OTC_MT_ParValue: u8 = 50u8;
1248pub const THOST_FTDC_AU_WHITE: u8 = 48u8;
1249pub const THOST_FTDC_AU_BLACK: u8 = 49u8;
1250pub const THOST_FTDC_INS_ALL: u8 = 48u8;
1251pub const THOST_FTDC_INS_FUTURE: u8 = 49u8;
1252pub const THOST_FTDC_INS_OPTION: u8 = 50u8;
1253pub const THOST_FTDC_INS_COMB: u8 = 51u8;
1254pub const THOST_FTDC_TD_ALL: u8 = 48u8;
1255pub const THOST_FTDC_TD_TRADE: u8 = 49u8;
1256pub const THOST_FTDC_TD_UNTRADE: u8 = 50u8;
1257pub const THOST_FTDC_PS_tradeable: u8 = 49u8;
1258pub const THOST_FTDC_PS_untradeable: u8 = 50u8;
1259pub const THOST_FTDC_SDS_Readable: u8 = 49u8;
1260pub const THOST_FTDC_SDS_Reading: u8 = 50u8;
1261pub const THOST_FTDC_SDS_Readend: u8 = 51u8;
1262pub const THOST_FTDC_SDS_OptErr: u8 = 101u8;
1263pub const THOST_FTDC_ACD_Add: u8 = 49u8;
1264pub const THOST_FTDC_ACD_Del: u8 = 50u8;
1265pub const THOST_FTDC_ACD_Upd: u8 = 51u8;
1266pub const THOST_FTDC_OAC_Balance: u8 = 49u8;
1267pub const THOST_FTDC_OAC_OrigFirst: u8 = 50u8;
1268pub const THOST_FTDC_PLCL_None: u8 = 48u8;
1269pub const THOST_FTDC_PLCL_Product: u8 = 49u8;
1270pub const THOST_FTDC_PLCL_Inst: u8 = 50u8;
1271pub const THOST_FTDC_OFCL_None: u8 = 48u8;
1272pub const THOST_FTDC_OFCL_Product: u8 = 49u8;
1273pub const THOST_FTDC_OFCL_Inst: u8 = 50u8;
1274pub const THOST_FTDC_EBL_False: u8 = 48u8;
1275pub const THOST_FTDC_EBL_True: u8 = 49u8;
1276pub const THOST_FTDC_ETR_USUAL: u8 = 49u8;
1277pub const THOST_FTDC_ETR_FNSP: u8 = 50u8;
1278pub const THOST_FTDC_ETR_BNSP: u8 = 51u8;
1279pub const THOST_FTDC_ETR_SPOT: u8 = 52u8;
1280pub const THOST_FTDC_EPF_None: u8 = 48u8;
1281pub const THOST_FTDC_EPF_SPBM: u8 = 49u8;
1282pub const THOST_FTDC_EPF_RULE: u8 = 50u8;
1283pub const THOST_FTDC_EPF_SPMM: u8 = 51u8;
1284pub const THOST_FTDC_EPF_RCAMS: u8 = 52u8;
1285pub const THOST_FTDC_WDPID_CashIn: u8 = 67u8;
1286pub const THOST_FTDC_ITR_CloseOnly: u8 = 49u8;
1287pub const THOST_FTDC_ITR_Forbidden: u8 = 50u8;
1288pub const THOST_FTDC_IMID_BothSide: u8 = 49u8;
1289pub const THOST_FTDC_IMID_MMSA: u8 = 50u8;
1290pub const THOST_FTDC_IMID_SPMM: u8 = 51u8;
1291pub const THOST_FTDC_ERComb_BUC: u8 = 48u8;
1292pub const THOST_FTDC_ERComb_BEC: u8 = 49u8;
1293pub const THOST_FTDC_ERComb_BEP: u8 = 50u8;
1294pub const THOST_FTDC_ERComb_BUP: u8 = 51u8;
1295pub const THOST_FTDC_ERComb_CAS: u8 = 52u8;
1296pub const THOST_FTDC_EET_None: u8 = 48u8;
1297pub const THOST_FTDC_EET_SPBM_AddOnHedge: u8 = 49u8;
1298pub const THOST_FTDC_EIC_Usual: u8 = 49u8;
1299pub const THOST_FTDC_EIC_Delivery: u8 = 50u8;
1300pub const THOST_FTDC_EIC_NonComb: u8 = 51u8;
1301pub const THOST_FTDC_PCF_None: u8 = 48u8;
1302pub const THOST_FTDC_PCF_OnlyFrozen: u8 = 49u8;
1303pub const THOST_FTDC_PCF_PositionChange: u8 = 50u8;
1304pub const THOST_TE_RESUME_TYPE_THOST_TERT_RESTART: THOST_TE_RESUME_TYPE = 0;
1305pub const THOST_TE_RESUME_TYPE_THOST_TERT_RESUME: THOST_TE_RESUME_TYPE = 1;
1306pub const THOST_TE_RESUME_TYPE_THOST_TERT_QUICK: THOST_TE_RESUME_TYPE = 2;
1307pub const THOST_TE_RESUME_TYPE_THOST_TERT_NONE: THOST_TE_RESUME_TYPE = 3;
1308pub type THOST_TE_RESUME_TYPE = ::std::os::raw::c_uint;
1309pub type TThostFtdcTraderIDType = [::std::os::raw::c_char; 21usize];
1310pub type TThostFtdcInvestorIDType = [::std::os::raw::c_char; 13usize];
1311pub type TThostFtdcBrokerIDType = [::std::os::raw::c_char; 11usize];
1312pub type TThostFtdcBrokerAbbrType = [::std::os::raw::c_char; 9usize];
1313pub type TThostFtdcBrokerNameType = [::std::os::raw::c_char; 81usize];
1314pub type TThostFtdcOldExchangeInstIDType = [::std::os::raw::c_char; 31usize];
1315pub type TThostFtdcExchangeInstIDType = [::std::os::raw::c_char; 81usize];
1316pub type TThostFtdcOrderRefType = [::std::os::raw::c_char; 13usize];
1317pub type TThostFtdcParticipantIDType = [::std::os::raw::c_char; 11usize];
1318pub type TThostFtdcUserIDType = [::std::os::raw::c_char; 16usize];
1319pub type TThostFtdcPasswordType = [::std::os::raw::c_char; 41usize];
1320pub type TThostFtdcClientIDType = [::std::os::raw::c_char; 11usize];
1321pub type TThostFtdcInstrumentIDType = [::std::os::raw::c_char; 81usize];
1322pub type TThostFtdcOldInstrumentIDType = [::std::os::raw::c_char; 31usize];
1323pub type TThostFtdcInstrumentCodeType = [::std::os::raw::c_char; 31usize];
1324pub type TThostFtdcMarketIDType = [::std::os::raw::c_char; 31usize];
1325pub type TThostFtdcProductNameType = [::std::os::raw::c_char; 21usize];
1326pub type TThostFtdcExchangeIDType = [::std::os::raw::c_char; 9usize];
1327pub type TThostFtdcExchangeNameType = [::std::os::raw::c_char; 61usize];
1328pub type TThostFtdcExchangeAbbrType = [::std::os::raw::c_char; 9usize];
1329pub type TThostFtdcExchangeFlagType = [::std::os::raw::c_char; 2usize];
1330pub type TThostFtdcMacAddressType = [::std::os::raw::c_char; 21usize];
1331pub type TThostFtdcSystemIDType = [::std::os::raw::c_char; 21usize];
1332pub type TThostFtdcClientLoginRemarkType = [::std::os::raw::c_char; 151usize];
1333pub type TThostFtdcExchangePropertyType = ::std::os::raw::c_char;
1334pub type TThostFtdcDateType = [::std::os::raw::c_char; 9usize];
1335pub type TThostFtdcTimeType = [::std::os::raw::c_char; 9usize];
1336pub type TThostFtdcLongTimeType = [::std::os::raw::c_char; 13usize];
1337pub type TThostFtdcInstrumentNameType = [::std::os::raw::c_char; 21usize];
1338pub type TThostFtdcSettlementGroupIDType = [::std::os::raw::c_char; 9usize];
1339pub type TThostFtdcOrderSysIDType = [::std::os::raw::c_char; 21usize];
1340pub type TThostFtdcTradeIDType = [::std::os::raw::c_char; 21usize];
1341pub type TThostFtdcCommandTypeType = [::std::os::raw::c_char; 65usize];
1342pub type TThostFtdcOldIPAddressType = [::std::os::raw::c_char; 16usize];
1343pub type TThostFtdcIPAddressType = [::std::os::raw::c_char; 33usize];
1344pub type TThostFtdcIPPortType = ::std::os::raw::c_int;
1345pub type TThostFtdcProductInfoType = [::std::os::raw::c_char; 11usize];
1346pub type TThostFtdcProtocolInfoType = [::std::os::raw::c_char; 11usize];
1347pub type TThostFtdcBusinessUnitType = [::std::os::raw::c_char; 21usize];
1348pub type TThostFtdcDepositSeqNoType = [::std::os::raw::c_char; 15usize];
1349pub type TThostFtdcIdentifiedCardNoType = [::std::os::raw::c_char; 51usize];
1350pub type TThostFtdcIdCardTypeType = ::std::os::raw::c_char;
1351pub type TThostFtdcOrderLocalIDType = [::std::os::raw::c_char; 13usize];
1352pub type TThostFtdcUserNameType = [::std::os::raw::c_char; 81usize];
1353pub type TThostFtdcPartyNameType = [::std::os::raw::c_char; 81usize];
1354pub type TThostFtdcErrorMsgType = [::std::os::raw::c_char; 81usize];
1355pub type TThostFtdcFieldNameType = [::std::os::raw::c_char; 2049usize];
1356pub type TThostFtdcFieldContentType = [::std::os::raw::c_char; 2049usize];
1357pub type TThostFtdcSystemNameType = [::std::os::raw::c_char; 41usize];
1358pub type TThostFtdcContentType = [::std::os::raw::c_char; 501usize];
1359pub type TThostFtdcInvestorRangeType = ::std::os::raw::c_char;
1360pub type TThostFtdcDepartmentRangeType = ::std::os::raw::c_char;
1361pub type TThostFtdcDataSyncStatusType = ::std::os::raw::c_char;
1362pub type TThostFtdcBrokerDataSyncStatusType = ::std::os::raw::c_char;
1363pub type TThostFtdcExchangeConnectStatusType = ::std::os::raw::c_char;
1364pub type TThostFtdcTraderConnectStatusType = ::std::os::raw::c_char;
1365pub type TThostFtdcFunctionCodeType = ::std::os::raw::c_char;
1366pub type TThostFtdcBrokerFunctionCodeType = ::std::os::raw::c_char;
1367pub type TThostFtdcOrderActionStatusType = ::std::os::raw::c_char;
1368pub type TThostFtdcOrderStatusType = ::std::os::raw::c_char;
1369pub type TThostFtdcOrderSubmitStatusType = ::std::os::raw::c_char;
1370pub type TThostFtdcPositionDateType = ::std::os::raw::c_char;
1371pub type TThostFtdcPositionDateTypeType = ::std::os::raw::c_char;
1372pub type TThostFtdcTradingRoleType = ::std::os::raw::c_char;
1373pub type TThostFtdcProductClassType = ::std::os::raw::c_char;
1374pub type TThostFtdcAPIProductClassType = ::std::os::raw::c_char;
1375pub type TThostFtdcInstLifePhaseType = ::std::os::raw::c_char;
1376pub type TThostFtdcDirectionType = ::std::os::raw::c_char;
1377pub type TThostFtdcPositionTypeType = ::std::os::raw::c_char;
1378pub type TThostFtdcPosiDirectionType = ::std::os::raw::c_char;
1379pub type TThostFtdcSysSettlementStatusType = ::std::os::raw::c_char;
1380pub type TThostFtdcRatioAttrType = ::std::os::raw::c_char;
1381pub type TThostFtdcHedgeFlagType = ::std::os::raw::c_char;
1382pub type TThostFtdcBillHedgeFlagType = ::std::os::raw::c_char;
1383pub type TThostFtdcClientIDTypeType = ::std::os::raw::c_char;
1384pub type TThostFtdcOrderPriceTypeType = ::std::os::raw::c_char;
1385pub type TThostFtdcOffsetFlagType = ::std::os::raw::c_char;
1386pub type TThostFtdcForceCloseReasonType = ::std::os::raw::c_char;
1387pub type TThostFtdcOrderTypeType = ::std::os::raw::c_char;
1388pub type TThostFtdcTimeConditionType = ::std::os::raw::c_char;
1389pub type TThostFtdcVolumeConditionType = ::std::os::raw::c_char;
1390pub type TThostFtdcContingentConditionType = ::std::os::raw::c_char;
1391pub type TThostFtdcActionFlagType = ::std::os::raw::c_char;
1392pub type TThostFtdcTradingRightType = ::std::os::raw::c_char;
1393pub type TThostFtdcOrderSourceType = ::std::os::raw::c_char;
1394pub type TThostFtdcTradeTypeType = ::std::os::raw::c_char;
1395pub type TThostFtdcSpecPosiTypeType = ::std::os::raw::c_char;
1396pub type TThostFtdcPriceSourceType = ::std::os::raw::c_char;
1397pub type TThostFtdcInstrumentStatusType = ::std::os::raw::c_char;
1398pub type TThostFtdcInstStatusEnterReasonType = ::std::os::raw::c_char;
1399pub type TThostFtdcOrderActionRefType = ::std::os::raw::c_int;
1400pub type TThostFtdcInstallCountType = ::std::os::raw::c_int;
1401pub type TThostFtdcInstallIDType = ::std::os::raw::c_int;
1402pub type TThostFtdcErrorIDType = ::std::os::raw::c_int;
1403pub type TThostFtdcSettlementIDType = ::std::os::raw::c_int;
1404pub type TThostFtdcVolumeType = ::std::os::raw::c_int;
1405pub type TThostFtdcFrontIDType = ::std::os::raw::c_int;
1406pub type TThostFtdcSessionIDType = ::std::os::raw::c_int;
1407pub type TThostFtdcSequenceNoType = ::std::os::raw::c_int;
1408pub type TThostFtdcCommandNoType = ::std::os::raw::c_int;
1409pub type TThostFtdcMillisecType = ::std::os::raw::c_int;
1410pub type TThostFtdcSecType = ::std::os::raw::c_int;
1411pub type TThostFtdcVolumeMultipleType = ::std::os::raw::c_int;
1412pub type TThostFtdcTradingSegmentSNType = ::std::os::raw::c_int;
1413pub type TThostFtdcRequestIDType = ::std::os::raw::c_int;
1414pub type TThostFtdcYearType = ::std::os::raw::c_int;
1415pub type TThostFtdcMonthType = ::std::os::raw::c_int;
1416pub type TThostFtdcBoolType = ::std::os::raw::c_int;
1417pub type TThostFtdcPriceType = f64;
1418pub type TThostFtdcCombOffsetFlagType = [::std::os::raw::c_char; 5usize];
1419pub type TThostFtdcCombHedgeFlagType = [::std::os::raw::c_char; 5usize];
1420pub type TThostFtdcRatioType = f64;
1421pub type TThostFtdcMoneyType = f64;
1422pub type TThostFtdcLargeVolumeType = f64;
1423pub type TThostFtdcSequenceSeriesType = ::std::os::raw::c_short;
1424pub type TThostFtdcCommPhaseNoType = ::std::os::raw::c_short;
1425pub type TThostFtdcSequenceLabelType = [::std::os::raw::c_char; 2usize];
1426pub type TThostFtdcUnderlyingMultipleType = f64;
1427pub type TThostFtdcPriorityType = ::std::os::raw::c_int;
1428pub type TThostFtdcContractCodeType = [::std::os::raw::c_char; 41usize];
1429pub type TThostFtdcCityType = [::std::os::raw::c_char; 51usize];
1430pub type TThostFtdcIsStockType = [::std::os::raw::c_char; 11usize];
1431pub type TThostFtdcChannelType = [::std::os::raw::c_char; 51usize];
1432pub type TThostFtdcAddressType = [::std::os::raw::c_char; 101usize];
1433pub type TThostFtdcZipCodeType = [::std::os::raw::c_char; 7usize];
1434pub type TThostFtdcTelephoneType = [::std::os::raw::c_char; 41usize];
1435pub type TThostFtdcFaxType = [::std::os::raw::c_char; 41usize];
1436pub type TThostFtdcMobileType = [::std::os::raw::c_char; 41usize];
1437pub type TThostFtdcEMailType = [::std::os::raw::c_char; 41usize];
1438pub type TThostFtdcMemoType = [::std::os::raw::c_char; 161usize];
1439pub type TThostFtdcCompanyCodeType = [::std::os::raw::c_char; 51usize];
1440pub type TThostFtdcWebsiteType = [::std::os::raw::c_char; 51usize];
1441pub type TThostFtdcTaxNoType = [::std::os::raw::c_char; 31usize];
1442pub type TThostFtdcBatchStatusType = ::std::os::raw::c_char;
1443pub type TThostFtdcPropertyIDType = [::std::os::raw::c_char; 33usize];
1444pub type TThostFtdcPropertyNameType = [::std::os::raw::c_char; 65usize];
1445pub type TThostFtdcLicenseNoType = [::std::os::raw::c_char; 51usize];
1446pub type TThostFtdcAgentIDType = [::std::os::raw::c_char; 13usize];
1447pub type TThostFtdcAgentNameType = [::std::os::raw::c_char; 41usize];
1448pub type TThostFtdcAgentGroupIDType = [::std::os::raw::c_char; 13usize];
1449pub type TThostFtdcAgentGroupNameType = [::std::os::raw::c_char; 41usize];
1450pub type TThostFtdcReturnStyleType = ::std::os::raw::c_char;
1451pub type TThostFtdcReturnPatternType = ::std::os::raw::c_char;
1452pub type TThostFtdcReturnLevelType = ::std::os::raw::c_char;
1453pub type TThostFtdcReturnStandardType = ::std::os::raw::c_char;
1454pub type TThostFtdcMortgageTypeType = ::std::os::raw::c_char;
1455pub type TThostFtdcInvestorSettlementParamIDType = ::std::os::raw::c_char;
1456pub type TThostFtdcExchangeSettlementParamIDType = ::std::os::raw::c_char;
1457pub type TThostFtdcSystemParamIDType = ::std::os::raw::c_char;
1458pub type TThostFtdcTradeParamIDType = ::std::os::raw::c_char;
1459pub type TThostFtdcSettlementParamValueType = [::std::os::raw::c_char; 256usize];
1460pub type TThostFtdcCounterIDType = [::std::os::raw::c_char; 33usize];
1461pub type TThostFtdcInvestorGroupNameType = [::std::os::raw::c_char; 41usize];
1462pub type TThostFtdcBrandCodeType = [::std::os::raw::c_char; 257usize];
1463pub type TThostFtdcWarehouseType = [::std::os::raw::c_char; 257usize];
1464pub type TThostFtdcProductDateType = [::std::os::raw::c_char; 41usize];
1465pub type TThostFtdcGradeType = [::std::os::raw::c_char; 41usize];
1466pub type TThostFtdcClassifyType = [::std::os::raw::c_char; 41usize];
1467pub type TThostFtdcPositionType = [::std::os::raw::c_char; 41usize];
1468pub type TThostFtdcYieldlyType = [::std::os::raw::c_char; 41usize];
1469pub type TThostFtdcWeightType = [::std::os::raw::c_char; 41usize];
1470pub type TThostFtdcSubEntryFundNoType = ::std::os::raw::c_int;
1471pub type TThostFtdcFileIDType = ::std::os::raw::c_char;
1472pub type TThostFtdcFileNameType = [::std::os::raw::c_char; 257usize];
1473pub type TThostFtdcFileTypeType = ::std::os::raw::c_char;
1474pub type TThostFtdcFileFormatType = ::std::os::raw::c_char;
1475pub type TThostFtdcFileUploadStatusType = ::std::os::raw::c_char;
1476pub type TThostFtdcTransferDirectionType = ::std::os::raw::c_char;
1477pub type TThostFtdcUploadModeType = [::std::os::raw::c_char; 21usize];
1478pub type TThostFtdcAccountIDType = [::std::os::raw::c_char; 13usize];
1479pub type TThostFtdcBankFlagType = [::std::os::raw::c_char; 4usize];
1480pub type TThostFtdcBankAccountType = [::std::os::raw::c_char; 41usize];
1481pub type TThostFtdcOpenNameType = [::std::os::raw::c_char; 61usize];
1482pub type TThostFtdcOpenBankType = [::std::os::raw::c_char; 101usize];
1483pub type TThostFtdcBankNameType = [::std::os::raw::c_char; 101usize];
1484pub type TThostFtdcPublishPathType = [::std::os::raw::c_char; 257usize];
1485pub type TThostFtdcOperatorIDType = [::std::os::raw::c_char; 65usize];
1486pub type TThostFtdcMonthCountType = ::std::os::raw::c_int;
1487pub type TThostFtdcAdvanceMonthArrayType = [::std::os::raw::c_char; 13usize];
1488pub type TThostFtdcDateExprType = [::std::os::raw::c_char; 1025usize];
1489pub type TThostFtdcInstrumentIDExprType = [::std::os::raw::c_char; 41usize];
1490pub type TThostFtdcInstrumentNameExprType = [::std::os::raw::c_char; 41usize];
1491pub type TThostFtdcSpecialCreateRuleType = ::std::os::raw::c_char;
1492pub type TThostFtdcBasisPriceTypeType = ::std::os::raw::c_char;
1493pub type TThostFtdcProductLifePhaseType = ::std::os::raw::c_char;
1494pub type TThostFtdcDeliveryModeType = ::std::os::raw::c_char;
1495pub type TThostFtdcLogLevelType = [::std::os::raw::c_char; 33usize];
1496pub type TThostFtdcProcessNameType = [::std::os::raw::c_char; 257usize];
1497pub type TThostFtdcOperationMemoType = [::std::os::raw::c_char; 1025usize];
1498pub type TThostFtdcFundIOTypeType = ::std::os::raw::c_char;
1499pub type TThostFtdcFundTypeType = ::std::os::raw::c_char;
1500pub type TThostFtdcFundDirectionType = ::std::os::raw::c_char;
1501pub type TThostFtdcFundStatusType = ::std::os::raw::c_char;
1502pub type TThostFtdcBillNoType = [::std::os::raw::c_char; 15usize];
1503pub type TThostFtdcBillNameType = [::std::os::raw::c_char; 33usize];
1504pub type TThostFtdcPublishStatusType = ::std::os::raw::c_char;
1505pub type TThostFtdcEnumValueIDType = [::std::os::raw::c_char; 65usize];
1506pub type TThostFtdcEnumValueTypeType = [::std::os::raw::c_char; 33usize];
1507pub type TThostFtdcEnumValueLabelType = [::std::os::raw::c_char; 65usize];
1508pub type TThostFtdcEnumValueResultType = [::std::os::raw::c_char; 33usize];
1509pub type TThostFtdcSystemStatusType = ::std::os::raw::c_char;
1510pub type TThostFtdcSettlementStatusType = ::std::os::raw::c_char;
1511pub type TThostFtdcRangeIntTypeType = [::std::os::raw::c_char; 33usize];
1512pub type TThostFtdcRangeIntFromType = [::std::os::raw::c_char; 33usize];
1513pub type TThostFtdcRangeIntToType = [::std::os::raw::c_char; 33usize];
1514pub type TThostFtdcFunctionIDType = [::std::os::raw::c_char; 25usize];
1515pub type TThostFtdcFunctionValueCodeType = [::std::os::raw::c_char; 257usize];
1516pub type TThostFtdcFunctionNameType = [::std::os::raw::c_char; 65usize];
1517pub type TThostFtdcRoleIDType = [::std::os::raw::c_char; 11usize];
1518pub type TThostFtdcRoleNameType = [::std::os::raw::c_char; 41usize];
1519pub type TThostFtdcDescriptionType = [::std::os::raw::c_char; 401usize];
1520pub type TThostFtdcCombineIDType = [::std::os::raw::c_char; 25usize];
1521pub type TThostFtdcCombineTypeType = [::std::os::raw::c_char; 25usize];
1522pub type TThostFtdcInvestorTypeType = ::std::os::raw::c_char;
1523pub type TThostFtdcBrokerTypeType = ::std::os::raw::c_char;
1524pub type TThostFtdcRiskLevelType = ::std::os::raw::c_char;
1525pub type TThostFtdcFeeAcceptStyleType = ::std::os::raw::c_char;
1526pub type TThostFtdcPasswordTypeType = ::std::os::raw::c_char;
1527pub type TThostFtdcAlgorithmType = ::std::os::raw::c_char;
1528pub type TThostFtdcIncludeCloseProfitType = ::std::os::raw::c_char;
1529pub type TThostFtdcAllWithoutTradeType = ::std::os::raw::c_char;
1530pub type TThostFtdcCommentType = [::std::os::raw::c_char; 31usize];
1531pub type TThostFtdcVersionType = [::std::os::raw::c_char; 4usize];
1532pub type TThostFtdcTradeCodeType = [::std::os::raw::c_char; 7usize];
1533pub type TThostFtdcTradeDateType = [::std::os::raw::c_char; 9usize];
1534pub type TThostFtdcTradeTimeType = [::std::os::raw::c_char; 9usize];
1535pub type TThostFtdcTradeSerialType = [::std::os::raw::c_char; 9usize];
1536pub type TThostFtdcTradeSerialNoType = ::std::os::raw::c_int;
1537pub type TThostFtdcFutureIDType = [::std::os::raw::c_char; 11usize];
1538pub type TThostFtdcBankIDType = [::std::os::raw::c_char; 4usize];
1539pub type TThostFtdcBankBrchIDType = [::std::os::raw::c_char; 5usize];
1540pub type TThostFtdcBankBranchIDType = [::std::os::raw::c_char; 11usize];
1541pub type TThostFtdcOperNoType = [::std::os::raw::c_char; 17usize];
1542pub type TThostFtdcDeviceIDType = [::std::os::raw::c_char; 3usize];
1543pub type TThostFtdcRecordNumType = [::std::os::raw::c_char; 7usize];
1544pub type TThostFtdcFutureAccountType = [::std::os::raw::c_char; 22usize];
1545pub type TThostFtdcFuturePwdFlagType = ::std::os::raw::c_char;
1546pub type TThostFtdcTransferTypeType = ::std::os::raw::c_char;
1547pub type TThostFtdcFutureAccPwdType = [::std::os::raw::c_char; 17usize];
1548pub type TThostFtdcCurrencyCodeType = [::std::os::raw::c_char; 4usize];
1549pub type TThostFtdcRetCodeType = [::std::os::raw::c_char; 5usize];
1550pub type TThostFtdcRetInfoType = [::std::os::raw::c_char; 129usize];
1551pub type TThostFtdcTradeAmtType = [::std::os::raw::c_char; 20usize];
1552pub type TThostFtdcUseAmtType = [::std::os::raw::c_char; 20usize];
1553pub type TThostFtdcFetchAmtType = [::std::os::raw::c_char; 20usize];
1554pub type TThostFtdcTransferValidFlagType = ::std::os::raw::c_char;
1555pub type TThostFtdcCertCodeType = [::std::os::raw::c_char; 21usize];
1556pub type TThostFtdcReasonType = ::std::os::raw::c_char;
1557pub type TThostFtdcFundProjectIDType = [::std::os::raw::c_char; 5usize];
1558pub type TThostFtdcSexType = ::std::os::raw::c_char;
1559pub type TThostFtdcProfessionType = [::std::os::raw::c_char; 101usize];
1560pub type TThostFtdcNationalType = [::std::os::raw::c_char; 31usize];
1561pub type TThostFtdcProvinceType = [::std::os::raw::c_char; 51usize];
1562pub type TThostFtdcRegionType = [::std::os::raw::c_char; 16usize];
1563pub type TThostFtdcCountryType = [::std::os::raw::c_char; 16usize];
1564pub type TThostFtdcLicenseNOType = [::std::os::raw::c_char; 33usize];
1565pub type TThostFtdcCompanyTypeType = [::std::os::raw::c_char; 16usize];
1566pub type TThostFtdcBusinessScopeType = [::std::os::raw::c_char; 1001usize];
1567pub type TThostFtdcCapitalCurrencyType = [::std::os::raw::c_char; 4usize];
1568pub type TThostFtdcUserTypeType = ::std::os::raw::c_char;
1569pub type TThostFtdcBranchIDType = [::std::os::raw::c_char; 9usize];
1570pub type TThostFtdcRateTypeType = ::std::os::raw::c_char;
1571pub type TThostFtdcNoteTypeType = ::std::os::raw::c_char;
1572pub type TThostFtdcSettlementStyleType = ::std::os::raw::c_char;
1573pub type TThostFtdcBrokerDNSType = [::std::os::raw::c_char; 256usize];
1574pub type TThostFtdcSentenceType = [::std::os::raw::c_char; 501usize];
1575pub type TThostFtdcSettlementBillTypeType = ::std::os::raw::c_char;
1576pub type TThostFtdcUserRightTypeType = ::std::os::raw::c_char;
1577pub type TThostFtdcMarginPriceTypeType = ::std::os::raw::c_char;
1578pub type TThostFtdcBillGenStatusType = ::std::os::raw::c_char;
1579pub type TThostFtdcAlgoTypeType = ::std::os::raw::c_char;
1580pub type TThostFtdcHandlePositionAlgoIDType = ::std::os::raw::c_char;
1581pub type TThostFtdcFindMarginRateAlgoIDType = ::std::os::raw::c_char;
1582pub type TThostFtdcHandleTradingAccountAlgoIDType = ::std::os::raw::c_char;
1583pub type TThostFtdcPersonTypeType = ::std::os::raw::c_char;
1584pub type TThostFtdcQueryInvestorRangeType = ::std::os::raw::c_char;
1585pub type TThostFtdcInvestorRiskStatusType = ::std::os::raw::c_char;
1586pub type TThostFtdcLegIDType = ::std::os::raw::c_int;
1587pub type TThostFtdcLegMultipleType = ::std::os::raw::c_int;
1588pub type TThostFtdcImplyLevelType = ::std::os::raw::c_int;
1589pub type TThostFtdcClearAccountType = [::std::os::raw::c_char; 33usize];
1590pub type TThostFtdcOrganNOType = [::std::os::raw::c_char; 6usize];
1591pub type TThostFtdcClearbarchIDType = [::std::os::raw::c_char; 6usize];
1592pub type TThostFtdcUserEventTypeType = ::std::os::raw::c_char;
1593pub type TThostFtdcUserEventInfoType = [::std::os::raw::c_char; 1025usize];
1594pub type TThostFtdcCloseStyleType = ::std::os::raw::c_char;
1595pub type TThostFtdcStatModeType = ::std::os::raw::c_char;
1596pub type TThostFtdcParkedOrderStatusType = ::std::os::raw::c_char;
1597pub type TThostFtdcParkedOrderIDType = [::std::os::raw::c_char; 13usize];
1598pub type TThostFtdcParkedOrderActionIDType = [::std::os::raw::c_char; 13usize];
1599pub type TThostFtdcVirDealStatusType = ::std::os::raw::c_char;
1600pub type TThostFtdcOrgSystemIDType = ::std::os::raw::c_char;
1601pub type TThostFtdcVirTradeStatusType = ::std::os::raw::c_char;
1602pub type TThostFtdcVirBankAccTypeType = ::std::os::raw::c_char;
1603pub type TThostFtdcVirementStatusType = ::std::os::raw::c_char;
1604pub type TThostFtdcVirementAvailAbilityType = ::std::os::raw::c_char;
1605pub type TThostFtdcVirementTradeCodeType = ::std::os::raw::c_char;
1606pub type TThostFtdcPhotoTypeNameType = [::std::os::raw::c_char; 41usize];
1607pub type TThostFtdcPhotoTypeIDType = [::std::os::raw::c_char; 5usize];
1608pub type TThostFtdcPhotoNameType = [::std::os::raw::c_char; 161usize];
1609pub type TThostFtdcTopicIDType = ::std::os::raw::c_int;
1610pub type TThostFtdcReportTypeIDType = [::std::os::raw::c_char; 3usize];
1611pub type TThostFtdcCharacterIDType = [::std::os::raw::c_char; 5usize];
1612pub type TThostFtdcAMLParamIDType = [::std::os::raw::c_char; 21usize];
1613pub type TThostFtdcAMLInvestorTypeType = [::std::os::raw::c_char; 3usize];
1614pub type TThostFtdcAMLIdCardTypeType = [::std::os::raw::c_char; 3usize];
1615pub type TThostFtdcAMLTradeDirectType = [::std::os::raw::c_char; 3usize];
1616pub type TThostFtdcAMLTradeModelType = [::std::os::raw::c_char; 3usize];
1617pub type TThostFtdcAMLOpParamValueType = f64;
1618pub type TThostFtdcAMLCustomerCardTypeType = [::std::os::raw::c_char; 81usize];
1619pub type TThostFtdcAMLInstitutionNameType = [::std::os::raw::c_char; 65usize];
1620pub type TThostFtdcAMLDistrictIDType = [::std::os::raw::c_char; 7usize];
1621pub type TThostFtdcAMLRelationShipType = [::std::os::raw::c_char; 3usize];
1622pub type TThostFtdcAMLInstitutionTypeType = [::std::os::raw::c_char; 3usize];
1623pub type TThostFtdcAMLInstitutionIDType = [::std::os::raw::c_char; 13usize];
1624pub type TThostFtdcAMLAccountTypeType = [::std::os::raw::c_char; 5usize];
1625pub type TThostFtdcAMLTradingTypeType = [::std::os::raw::c_char; 7usize];
1626pub type TThostFtdcAMLTransactClassType = [::std::os::raw::c_char; 7usize];
1627pub type TThostFtdcAMLCapitalIOType = [::std::os::raw::c_char; 3usize];
1628pub type TThostFtdcAMLSiteType = [::std::os::raw::c_char; 10usize];
1629pub type TThostFtdcAMLCapitalPurposeType = [::std::os::raw::c_char; 129usize];
1630pub type TThostFtdcAMLReportTypeType = [::std::os::raw::c_char; 2usize];
1631pub type TThostFtdcAMLSerialNoType = [::std::os::raw::c_char; 5usize];
1632pub type TThostFtdcAMLStatusType = [::std::os::raw::c_char; 2usize];
1633pub type TThostFtdcAMLGenStatusType = ::std::os::raw::c_char;
1634pub type TThostFtdcAMLSeqCodeType = [::std::os::raw::c_char; 65usize];
1635pub type TThostFtdcAMLFileNameType = [::std::os::raw::c_char; 257usize];
1636pub type TThostFtdcAMLMoneyType = f64;
1637pub type TThostFtdcAMLFileAmountType = ::std::os::raw::c_int;
1638pub type TThostFtdcCFMMCKeyType = [::std::os::raw::c_char; 21usize];
1639pub type TThostFtdcCFMMCTokenType = [::std::os::raw::c_char; 21usize];
1640pub type TThostFtdcCFMMCKeyKindType = ::std::os::raw::c_char;
1641pub type TThostFtdcAMLReportNameType = [::std::os::raw::c_char; 81usize];
1642pub type TThostFtdcIndividualNameType = [::std::os::raw::c_char; 51usize];
1643pub type TThostFtdcCurrencyIDType = [::std::os::raw::c_char; 4usize];
1644pub type TThostFtdcCustNumberType = [::std::os::raw::c_char; 36usize];
1645pub type TThostFtdcOrganCodeType = [::std::os::raw::c_char; 36usize];
1646pub type TThostFtdcOrganNameType = [::std::os::raw::c_char; 71usize];
1647pub type TThostFtdcSuperOrganCodeType = [::std::os::raw::c_char; 12usize];
1648pub type TThostFtdcSubBranchIDType = [::std::os::raw::c_char; 31usize];
1649pub type TThostFtdcSubBranchNameType = [::std::os::raw::c_char; 71usize];
1650pub type TThostFtdcBranchNetCodeType = [::std::os::raw::c_char; 31usize];
1651pub type TThostFtdcBranchNetNameType = [::std::os::raw::c_char; 71usize];
1652pub type TThostFtdcOrganFlagType = [::std::os::raw::c_char; 2usize];
1653pub type TThostFtdcBankCodingForFutureType = [::std::os::raw::c_char; 33usize];
1654pub type TThostFtdcBankReturnCodeType = [::std::os::raw::c_char; 7usize];
1655pub type TThostFtdcPlateReturnCodeType = [::std::os::raw::c_char; 5usize];
1656pub type TThostFtdcBankSubBranchIDType = [::std::os::raw::c_char; 31usize];
1657pub type TThostFtdcFutureBranchIDType = [::std::os::raw::c_char; 31usize];
1658pub type TThostFtdcReturnCodeType = [::std::os::raw::c_char; 7usize];
1659pub type TThostFtdcOperatorCodeType = [::std::os::raw::c_char; 17usize];
1660pub type TThostFtdcClearDepIDType = [::std::os::raw::c_char; 6usize];
1661pub type TThostFtdcClearBrchIDType = [::std::os::raw::c_char; 6usize];
1662pub type TThostFtdcClearNameType = [::std::os::raw::c_char; 71usize];
1663pub type TThostFtdcBankAccountNameType = [::std::os::raw::c_char; 71usize];
1664pub type TThostFtdcInvDepIDType = [::std::os::raw::c_char; 6usize];
1665pub type TThostFtdcInvBrchIDType = [::std::os::raw::c_char; 6usize];
1666pub type TThostFtdcMessageFormatVersionType = [::std::os::raw::c_char; 36usize];
1667pub type TThostFtdcDigestType = [::std::os::raw::c_char; 36usize];
1668pub type TThostFtdcAuthenticDataType = [::std::os::raw::c_char; 129usize];
1669pub type TThostFtdcPasswordKeyType = [::std::os::raw::c_char; 129usize];
1670pub type TThostFtdcFutureAccountNameType = [::std::os::raw::c_char; 129usize];
1671pub type TThostFtdcMobilePhoneType = [::std::os::raw::c_char; 21usize];
1672pub type TThostFtdcFutureMainKeyType = [::std::os::raw::c_char; 129usize];
1673pub type TThostFtdcFutureWorkKeyType = [::std::os::raw::c_char; 129usize];
1674pub type TThostFtdcFutureTransKeyType = [::std::os::raw::c_char; 129usize];
1675pub type TThostFtdcBankMainKeyType = [::std::os::raw::c_char; 129usize];
1676pub type TThostFtdcBankWorkKeyType = [::std::os::raw::c_char; 129usize];
1677pub type TThostFtdcBankTransKeyType = [::std::os::raw::c_char; 129usize];
1678pub type TThostFtdcBankServerDescriptionType = [::std::os::raw::c_char; 129usize];
1679pub type TThostFtdcAddInfoType = [::std::os::raw::c_char; 129usize];
1680pub type TThostFtdcDescrInfoForReturnCodeType = [::std::os::raw::c_char; 129usize];
1681pub type TThostFtdcCountryCodeType = [::std::os::raw::c_char; 21usize];
1682pub type TThostFtdcSerialType = ::std::os::raw::c_int;
1683pub type TThostFtdcPlateSerialType = ::std::os::raw::c_int;
1684pub type TThostFtdcBankSerialType = [::std::os::raw::c_char; 13usize];
1685pub type TThostFtdcCorrectSerialType = ::std::os::raw::c_int;
1686pub type TThostFtdcFutureSerialType = ::std::os::raw::c_int;
1687pub type TThostFtdcApplicationIDType = ::std::os::raw::c_int;
1688pub type TThostFtdcBankProxyIDType = ::std::os::raw::c_int;
1689pub type TThostFtdcFBTCoreIDType = ::std::os::raw::c_int;
1690pub type TThostFtdcServerPortType = ::std::os::raw::c_int;
1691pub type TThostFtdcRepealedTimesType = ::std::os::raw::c_int;
1692pub type TThostFtdcRepealTimeIntervalType = ::std::os::raw::c_int;
1693pub type TThostFtdcTotalTimesType = ::std::os::raw::c_int;
1694pub type TThostFtdcFBTRequestIDType = ::std::os::raw::c_int;
1695pub type TThostFtdcTIDType = ::std::os::raw::c_int;
1696pub type TThostFtdcTradeAmountType = f64;
1697pub type TThostFtdcCustFeeType = f64;
1698pub type TThostFtdcFutureFeeType = f64;
1699pub type TThostFtdcSingleMaxAmtType = f64;
1700pub type TThostFtdcSingleMinAmtType = f64;
1701pub type TThostFtdcTotalAmtType = f64;
1702pub type TThostFtdcCertificationTypeType = ::std::os::raw::c_char;
1703pub type TThostFtdcFileBusinessCodeType = ::std::os::raw::c_char;
1704pub type TThostFtdcCashExchangeCodeType = ::std::os::raw::c_char;
1705pub type TThostFtdcYesNoIndicatorType = ::std::os::raw::c_char;
1706pub type TThostFtdcBanlanceTypeType = ::std::os::raw::c_char;
1707pub type TThostFtdcGenderType = ::std::os::raw::c_char;
1708pub type TThostFtdcFeePayFlagType = ::std::os::raw::c_char;
1709pub type TThostFtdcPassWordKeyTypeType = ::std::os::raw::c_char;
1710pub type TThostFtdcFBTPassWordTypeType = ::std::os::raw::c_char;
1711pub type TThostFtdcFBTEncryModeType = ::std::os::raw::c_char;
1712pub type TThostFtdcBankRepealFlagType = ::std::os::raw::c_char;
1713pub type TThostFtdcBrokerRepealFlagType = ::std::os::raw::c_char;
1714pub type TThostFtdcInstitutionTypeType = ::std::os::raw::c_char;
1715pub type TThostFtdcLastFragmentType = ::std::os::raw::c_char;
1716pub type TThostFtdcBankAccStatusType = ::std::os::raw::c_char;
1717pub type TThostFtdcMoneyAccountStatusType = ::std::os::raw::c_char;
1718pub type TThostFtdcManageStatusType = ::std::os::raw::c_char;
1719pub type TThostFtdcSystemTypeType = ::std::os::raw::c_char;
1720pub type TThostFtdcTxnEndFlagType = ::std::os::raw::c_char;
1721pub type TThostFtdcProcessStatusType = ::std::os::raw::c_char;
1722pub type TThostFtdcCustTypeType = ::std::os::raw::c_char;
1723pub type TThostFtdcFBTTransferDirectionType = ::std::os::raw::c_char;
1724pub type TThostFtdcOpenOrDestroyType = ::std::os::raw::c_char;
1725pub type TThostFtdcAvailabilityFlagType = ::std::os::raw::c_char;
1726pub type TThostFtdcOrganTypeType = ::std::os::raw::c_char;
1727pub type TThostFtdcOrganLevelType = ::std::os::raw::c_char;
1728pub type TThostFtdcProtocalIDType = ::std::os::raw::c_char;
1729pub type TThostFtdcConnectModeType = ::std::os::raw::c_char;
1730pub type TThostFtdcSyncModeType = ::std::os::raw::c_char;
1731pub type TThostFtdcBankAccTypeType = ::std::os::raw::c_char;
1732pub type TThostFtdcFutureAccTypeType = ::std::os::raw::c_char;
1733pub type TThostFtdcOrganStatusType = ::std::os::raw::c_char;
1734pub type TThostFtdcCCBFeeModeType = ::std::os::raw::c_char;
1735pub type TThostFtdcCommApiTypeType = ::std::os::raw::c_char;
1736pub type TThostFtdcServiceIDType = ::std::os::raw::c_int;
1737pub type TThostFtdcServiceLineNoType = ::std::os::raw::c_int;
1738pub type TThostFtdcServiceNameType = [::std::os::raw::c_char; 61usize];
1739pub type TThostFtdcLinkStatusType = ::std::os::raw::c_char;
1740pub type TThostFtdcCommApiPointerType = ::std::os::raw::c_int;
1741pub type TThostFtdcPwdFlagType = ::std::os::raw::c_char;
1742pub type TThostFtdcSecuAccTypeType = ::std::os::raw::c_char;
1743pub type TThostFtdcTransferStatusType = ::std::os::raw::c_char;
1744pub type TThostFtdcSponsorTypeType = ::std::os::raw::c_char;
1745pub type TThostFtdcReqRspTypeType = ::std::os::raw::c_char;
1746pub type TThostFtdcFBTUserEventTypeType = ::std::os::raw::c_char;
1747pub type TThostFtdcBankIDByBankType = [::std::os::raw::c_char; 21usize];
1748pub type TThostFtdcBankOperNoType = [::std::os::raw::c_char; 4usize];
1749pub type TThostFtdcBankCustNoType = [::std::os::raw::c_char; 21usize];
1750pub type TThostFtdcDBOPSeqNoType = ::std::os::raw::c_int;
1751pub type TThostFtdcTableNameType = [::std::os::raw::c_char; 61usize];
1752pub type TThostFtdcPKNameType = [::std::os::raw::c_char; 201usize];
1753pub type TThostFtdcPKValueType = [::std::os::raw::c_char; 501usize];
1754pub type TThostFtdcDBOperationType = ::std::os::raw::c_char;
1755pub type TThostFtdcSyncFlagType = ::std::os::raw::c_char;
1756pub type TThostFtdcTargetIDType = [::std::os::raw::c_char; 4usize];
1757pub type TThostFtdcSyncTypeType = ::std::os::raw::c_char;
1758pub type TThostFtdcFBETimeType = [::std::os::raw::c_char; 7usize];
1759pub type TThostFtdcFBEBankNoType = [::std::os::raw::c_char; 13usize];
1760pub type TThostFtdcFBECertNoType = [::std::os::raw::c_char; 13usize];
1761pub type TThostFtdcExDirectionType = ::std::os::raw::c_char;
1762pub type TThostFtdcFBEBankAccountType = [::std::os::raw::c_char; 33usize];
1763pub type TThostFtdcFBEBankAccountNameType = [::std::os::raw::c_char; 61usize];
1764pub type TThostFtdcFBEAmtType = f64;
1765pub type TThostFtdcFBEBusinessTypeType = [::std::os::raw::c_char; 3usize];
1766pub type TThostFtdcFBEPostScriptType = [::std::os::raw::c_char; 61usize];
1767pub type TThostFtdcFBERemarkType = [::std::os::raw::c_char; 71usize];
1768pub type TThostFtdcExRateType = f64;
1769pub type TThostFtdcFBEResultFlagType = ::std::os::raw::c_char;
1770pub type TThostFtdcFBERtnMsgType = [::std::os::raw::c_char; 61usize];
1771pub type TThostFtdcFBEExtendMsgType = [::std::os::raw::c_char; 61usize];
1772pub type TThostFtdcFBEBusinessSerialType = [::std::os::raw::c_char; 31usize];
1773pub type TThostFtdcFBESystemSerialType = [::std::os::raw::c_char; 21usize];
1774pub type TThostFtdcFBETotalExCntType = ::std::os::raw::c_int;
1775pub type TThostFtdcFBEExchStatusType = ::std::os::raw::c_char;
1776pub type TThostFtdcFBEFileFlagType = ::std::os::raw::c_char;
1777pub type TThostFtdcFBEAlreadyTradeType = ::std::os::raw::c_char;
1778pub type TThostFtdcFBEOpenBankType = [::std::os::raw::c_char; 61usize];
1779pub type TThostFtdcFBEUserEventTypeType = ::std::os::raw::c_char;
1780pub type TThostFtdcFBEFileNameType = [::std::os::raw::c_char; 21usize];
1781pub type TThostFtdcFBEBatchSerialType = [::std::os::raw::c_char; 21usize];
1782pub type TThostFtdcFBEReqFlagType = ::std::os::raw::c_char;
1783pub type TThostFtdcNotifyClassType = ::std::os::raw::c_char;
1784pub type TThostFtdcRiskNofityInfoType = [::std::os::raw::c_char; 257usize];
1785pub type TThostFtdcForceCloseSceneIdType = [::std::os::raw::c_char; 24usize];
1786pub type TThostFtdcForceCloseTypeType = ::std::os::raw::c_char;
1787pub type TThostFtdcInstrumentIDsType = [::std::os::raw::c_char; 101usize];
1788pub type TThostFtdcRiskNotifyMethodType = ::std::os::raw::c_char;
1789pub type TThostFtdcRiskNotifyStatusType = ::std::os::raw::c_char;
1790pub type TThostFtdcRiskUserEventType = ::std::os::raw::c_char;
1791pub type TThostFtdcParamIDType = ::std::os::raw::c_int;
1792pub type TThostFtdcParamNameType = [::std::os::raw::c_char; 41usize];
1793pub type TThostFtdcParamValueType = [::std::os::raw::c_char; 41usize];
1794pub type TThostFtdcConditionalOrderSortTypeType = ::std::os::raw::c_char;
1795pub type TThostFtdcSendTypeType = ::std::os::raw::c_char;
1796pub type TThostFtdcClientIDStatusType = ::std::os::raw::c_char;
1797pub type TThostFtdcIndustryIDType = [::std::os::raw::c_char; 17usize];
1798pub type TThostFtdcQuestionIDType = [::std::os::raw::c_char; 5usize];
1799pub type TThostFtdcQuestionContentType = [::std::os::raw::c_char; 41usize];
1800pub type TThostFtdcOptionIDType = [::std::os::raw::c_char; 13usize];
1801pub type TThostFtdcOptionContentType = [::std::os::raw::c_char; 61usize];
1802pub type TThostFtdcQuestionTypeType = ::std::os::raw::c_char;
1803pub type TThostFtdcProcessIDType = [::std::os::raw::c_char; 33usize];
1804pub type TThostFtdcSeqNoType = ::std::os::raw::c_int;
1805pub type TThostFtdcUOAProcessStatusType = [::std::os::raw::c_char; 3usize];
1806pub type TThostFtdcProcessTypeType = [::std::os::raw::c_char; 3usize];
1807pub type TThostFtdcBusinessTypeType = ::std::os::raw::c_char;
1808pub type TThostFtdcCfmmcReturnCodeType = ::std::os::raw::c_char;
1809pub type TThostFtdcExReturnCodeType = ::std::os::raw::c_int;
1810pub type TThostFtdcClientTypeType = ::std::os::raw::c_char;
1811pub type TThostFtdcExchangeIDTypeType = ::std::os::raw::c_char;
1812pub type TThostFtdcExClientIDTypeType = ::std::os::raw::c_char;
1813pub type TThostFtdcClientClassifyType = [::std::os::raw::c_char; 11usize];
1814pub type TThostFtdcUOAOrganTypeType = [::std::os::raw::c_char; 11usize];
1815pub type TThostFtdcUOACountryCodeType = [::std::os::raw::c_char; 11usize];
1816pub type TThostFtdcAreaCodeType = [::std::os::raw::c_char; 11usize];
1817pub type TThostFtdcFuturesIDType = [::std::os::raw::c_char; 21usize];
1818pub type TThostFtdcCffmcDateType = [::std::os::raw::c_char; 11usize];
1819pub type TThostFtdcCffmcTimeType = [::std::os::raw::c_char; 11usize];
1820pub type TThostFtdcNocIDType = [::std::os::raw::c_char; 21usize];
1821pub type TThostFtdcUpdateFlagType = ::std::os::raw::c_char;
1822pub type TThostFtdcApplyOperateIDType = ::std::os::raw::c_char;
1823pub type TThostFtdcApplyStatusIDType = ::std::os::raw::c_char;
1824pub type TThostFtdcSendMethodType = ::std::os::raw::c_char;
1825pub type TThostFtdcEventTypeType = [::std::os::raw::c_char; 33usize];
1826pub type TThostFtdcEventModeType = ::std::os::raw::c_char;
1827pub type TThostFtdcUOAAutoSendType = ::std::os::raw::c_char;
1828pub type TThostFtdcQueryDepthType = ::std::os::raw::c_int;
1829pub type TThostFtdcDataCenterIDType = ::std::os::raw::c_int;
1830pub type TThostFtdcFlowIDType = ::std::os::raw::c_char;
1831pub type TThostFtdcCheckLevelType = ::std::os::raw::c_char;
1832pub type TThostFtdcCheckNoType = ::std::os::raw::c_int;
1833pub type TThostFtdcCheckStatusType = ::std::os::raw::c_char;
1834pub type TThostFtdcUsedStatusType = ::std::os::raw::c_char;
1835pub type TThostFtdcRateTemplateNameType = [::std::os::raw::c_char; 61usize];
1836pub type TThostFtdcPropertyStringType = [::std::os::raw::c_char; 2049usize];
1837pub type TThostFtdcBankAcountOriginType = ::std::os::raw::c_char;
1838pub type TThostFtdcMonthBillTradeSumType = ::std::os::raw::c_char;
1839pub type TThostFtdcFBTTradeCodeEnumType = ::std::os::raw::c_char;
1840pub type TThostFtdcRateTemplateIDType = [::std::os::raw::c_char; 9usize];
1841pub type TThostFtdcRiskRateType = [::std::os::raw::c_char; 21usize];
1842pub type TThostFtdcTimestampType = ::std::os::raw::c_int;
1843pub type TThostFtdcInvestorIDRuleNameType = [::std::os::raw::c_char; 61usize];
1844pub type TThostFtdcInvestorIDRuleExprType = [::std::os::raw::c_char; 513usize];
1845pub type TThostFtdcLastDriftType = ::std::os::raw::c_int;
1846pub type TThostFtdcLastSuccessType = ::std::os::raw::c_int;
1847pub type TThostFtdcAuthKeyType = [::std::os::raw::c_char; 41usize];
1848pub type TThostFtdcSerialNumberType = [::std::os::raw::c_char; 17usize];
1849pub type TThostFtdcOTPTypeType = ::std::os::raw::c_char;
1850pub type TThostFtdcOTPVendorsIDType = [::std::os::raw::c_char; 2usize];
1851pub type TThostFtdcOTPVendorsNameType = [::std::os::raw::c_char; 61usize];
1852pub type TThostFtdcOTPStatusType = ::std::os::raw::c_char;
1853pub type TThostFtdcBrokerUserTypeType = ::std::os::raw::c_char;
1854pub type TThostFtdcFutureTypeType = ::std::os::raw::c_char;
1855pub type TThostFtdcFundEventTypeType = ::std::os::raw::c_char;
1856pub type TThostFtdcAccountSourceTypeType = ::std::os::raw::c_char;
1857pub type TThostFtdcCodeSourceTypeType = ::std::os::raw::c_char;
1858pub type TThostFtdcUserRangeType = ::std::os::raw::c_char;
1859pub type TThostFtdcTimeSpanType = [::std::os::raw::c_char; 9usize];
1860pub type TThostFtdcImportSequenceIDType = [::std::os::raw::c_char; 17usize];
1861pub type TThostFtdcByGroupType = ::std::os::raw::c_char;
1862pub type TThostFtdcTradeSumStatModeType = ::std::os::raw::c_char;
1863pub type TThostFtdcComTypeType = ::std::os::raw::c_int;
1864pub type TThostFtdcUserProductIDType = [::std::os::raw::c_char; 33usize];
1865pub type TThostFtdcUserProductNameType = [::std::os::raw::c_char; 65usize];
1866pub type TThostFtdcUserProductMemoType = [::std::os::raw::c_char; 129usize];
1867pub type TThostFtdcCSRCCancelFlagType = [::std::os::raw::c_char; 2usize];
1868pub type TThostFtdcCSRCDateType = [::std::os::raw::c_char; 11usize];
1869pub type TThostFtdcCSRCInvestorNameType = [::std::os::raw::c_char; 201usize];
1870pub type TThostFtdcCSRCOpenInvestorNameType = [::std::os::raw::c_char; 101usize];
1871pub type TThostFtdcCSRCInvestorIDType = [::std::os::raw::c_char; 13usize];
1872pub type TThostFtdcCSRCIdentifiedCardNoType = [::std::os::raw::c_char; 51usize];
1873pub type TThostFtdcCSRCClientIDType = [::std::os::raw::c_char; 11usize];
1874pub type TThostFtdcCSRCBankFlagType = [::std::os::raw::c_char; 3usize];
1875pub type TThostFtdcCSRCBankAccountType = [::std::os::raw::c_char; 23usize];
1876pub type TThostFtdcCSRCOpenNameType = [::std::os::raw::c_char; 401usize];
1877pub type TThostFtdcCSRCMemoType = [::std::os::raw::c_char; 101usize];
1878pub type TThostFtdcCSRCTimeType = [::std::os::raw::c_char; 11usize];
1879pub type TThostFtdcCSRCTradeIDType = [::std::os::raw::c_char; 21usize];
1880pub type TThostFtdcCSRCExchangeInstIDType = [::std::os::raw::c_char; 31usize];
1881pub type TThostFtdcCSRCMortgageNameType = [::std::os::raw::c_char; 7usize];
1882pub type TThostFtdcCSRCReasonType = [::std::os::raw::c_char; 3usize];
1883pub type TThostFtdcIsSettlementType = [::std::os::raw::c_char; 2usize];
1884pub type TThostFtdcCSRCMoneyType = f64;
1885pub type TThostFtdcCSRCPriceType = f64;
1886pub type TThostFtdcCSRCOptionsTypeType = [::std::os::raw::c_char; 2usize];
1887pub type TThostFtdcCSRCStrikePriceType = f64;
1888pub type TThostFtdcCSRCTargetProductIDType = [::std::os::raw::c_char; 3usize];
1889pub type TThostFtdcCSRCTargetInstrIDType = [::std::os::raw::c_char; 31usize];
1890pub type TThostFtdcCommModelNameType = [::std::os::raw::c_char; 161usize];
1891pub type TThostFtdcCommModelMemoType = [::std::os::raw::c_char; 1025usize];
1892pub type TThostFtdcExprSetModeType = ::std::os::raw::c_char;
1893pub type TThostFtdcRateInvestorRangeType = ::std::os::raw::c_char;
1894pub type TThostFtdcAgentBrokerIDType = [::std::os::raw::c_char; 13usize];
1895pub type TThostFtdcDRIdentityIDType = ::std::os::raw::c_int;
1896pub type TThostFtdcDRIdentityNameType = [::std::os::raw::c_char; 65usize];
1897pub type TThostFtdcDBLinkIDType = [::std::os::raw::c_char; 31usize];
1898pub type TThostFtdcSyncDataStatusType = ::std::os::raw::c_char;
1899pub type TThostFtdcTradeSourceType = ::std::os::raw::c_char;
1900pub type TThostFtdcFlexStatModeType = ::std::os::raw::c_char;
1901pub type TThostFtdcByInvestorRangeType = ::std::os::raw::c_char;
1902pub type TThostFtdcSRiskRateType = [::std::os::raw::c_char; 21usize];
1903pub type TThostFtdcSequenceNo12Type = ::std::os::raw::c_int;
1904pub type TThostFtdcPropertyInvestorRangeType = ::std::os::raw::c_char;
1905pub type TThostFtdcFileStatusType = ::std::os::raw::c_char;
1906pub type TThostFtdcFileGenStyleType = ::std::os::raw::c_char;
1907pub type TThostFtdcSysOperModeType = ::std::os::raw::c_char;
1908pub type TThostFtdcSysOperTypeType = ::std::os::raw::c_char;
1909pub type TThostFtdcCSRCDataQueyTypeType = ::std::os::raw::c_char;
1910pub type TThostFtdcFreezeStatusType = ::std::os::raw::c_char;
1911pub type TThostFtdcStandardStatusType = ::std::os::raw::c_char;
1912pub type TThostFtdcCSRCFreezeStatusType = [::std::os::raw::c_char; 2usize];
1913pub type TThostFtdcRightParamTypeType = ::std::os::raw::c_char;
1914pub type TThostFtdcRightTemplateIDType = [::std::os::raw::c_char; 9usize];
1915pub type TThostFtdcRightTemplateNameType = [::std::os::raw::c_char; 61usize];
1916pub type TThostFtdcDataStatusType = ::std::os::raw::c_char;
1917pub type TThostFtdcAMLCheckStatusType = ::std::os::raw::c_char;
1918pub type TThostFtdcAmlDateTypeType = ::std::os::raw::c_char;
1919pub type TThostFtdcAmlCheckLevelType = ::std::os::raw::c_char;
1920pub type TThostFtdcAmlCheckFlowType = [::std::os::raw::c_char; 2usize];
1921pub type TThostFtdcDataTypeType = [::std::os::raw::c_char; 129usize];
1922pub type TThostFtdcExportFileTypeType = ::std::os::raw::c_char;
1923pub type TThostFtdcSettleManagerTypeType = ::std::os::raw::c_char;
1924pub type TThostFtdcSettleManagerIDType = [::std::os::raw::c_char; 33usize];
1925pub type TThostFtdcSettleManagerNameType = [::std::os::raw::c_char; 129usize];
1926pub type TThostFtdcSettleManagerLevelType = ::std::os::raw::c_char;
1927pub type TThostFtdcSettleManagerGroupType = ::std::os::raw::c_char;
1928pub type TThostFtdcCheckResultMemoType = [::std::os::raw::c_char; 1025usize];
1929pub type TThostFtdcFunctionUrlType = [::std::os::raw::c_char; 1025usize];
1930pub type TThostFtdcAuthInfoType = [::std::os::raw::c_char; 129usize];
1931pub type TThostFtdcAuthCodeType = [::std::os::raw::c_char; 17usize];
1932pub type TThostFtdcLimitUseTypeType = ::std::os::raw::c_char;
1933pub type TThostFtdcDataResourceType = ::std::os::raw::c_char;
1934pub type TThostFtdcMarginTypeType = ::std::os::raw::c_char;
1935pub type TThostFtdcActiveTypeType = ::std::os::raw::c_char;
1936pub type TThostFtdcMarginRateTypeType = ::std::os::raw::c_char;
1937pub type TThostFtdcBackUpStatusType = ::std::os::raw::c_char;
1938pub type TThostFtdcInitSettlementType = ::std::os::raw::c_char;
1939pub type TThostFtdcReportStatusType = ::std::os::raw::c_char;
1940pub type TThostFtdcSaveStatusType = ::std::os::raw::c_char;
1941pub type TThostFtdcSettArchiveStatusType = ::std::os::raw::c_char;
1942pub type TThostFtdcCTPTypeType = ::std::os::raw::c_char;
1943pub type TThostFtdcToolIDType = [::std::os::raw::c_char; 9usize];
1944pub type TThostFtdcToolNameType = [::std::os::raw::c_char; 81usize];
1945pub type TThostFtdcCloseDealTypeType = ::std::os::raw::c_char;
1946pub type TThostFtdcMortgageFundUseRangeType = ::std::os::raw::c_char;
1947pub type TThostFtdcCurrencyUnitType = f64;
1948pub type TThostFtdcExchangeRateType = f64;
1949pub type TThostFtdcSpecProductTypeType = ::std::os::raw::c_char;
1950pub type TThostFtdcFundMortgageTypeType = ::std::os::raw::c_char;
1951pub type TThostFtdcAccountSettlementParamIDType = ::std::os::raw::c_char;
1952pub type TThostFtdcCurrencyNameType = [::std::os::raw::c_char; 31usize];
1953pub type TThostFtdcCurrencySignType = [::std::os::raw::c_char; 4usize];
1954pub type TThostFtdcFundMortDirectionType = ::std::os::raw::c_char;
1955pub type TThostFtdcBusinessClassType = ::std::os::raw::c_char;
1956pub type TThostFtdcSwapSourceTypeType = ::std::os::raw::c_char;
1957pub type TThostFtdcCurrExDirectionType = ::std::os::raw::c_char;
1958pub type TThostFtdcCurrencySwapStatusType = ::std::os::raw::c_char;
1959pub type TThostFtdcCurrExchCertNoType = [::std::os::raw::c_char; 13usize];
1960pub type TThostFtdcBatchSerialNoType = [::std::os::raw::c_char; 21usize];
1961pub type TThostFtdcReqFlagType = ::std::os::raw::c_char;
1962pub type TThostFtdcResFlagType = ::std::os::raw::c_char;
1963pub type TThostFtdcPageControlType = [::std::os::raw::c_char; 2usize];
1964pub type TThostFtdcRecordCountType = ::std::os::raw::c_int;
1965pub type TThostFtdcCurrencySwapMemoType = [::std::os::raw::c_char; 101usize];
1966pub type TThostFtdcExStatusType = ::std::os::raw::c_char;
1967pub type TThostFtdcClientRegionType = ::std::os::raw::c_char;
1968pub type TThostFtdcWorkPlaceType = [::std::os::raw::c_char; 101usize];
1969pub type TThostFtdcBusinessPeriodType = [::std::os::raw::c_char; 21usize];
1970pub type TThostFtdcWebSiteType = [::std::os::raw::c_char; 101usize];
1971pub type TThostFtdcUOAIdCardTypeType = [::std::os::raw::c_char; 3usize];
1972pub type TThostFtdcClientModeType = [::std::os::raw::c_char; 3usize];
1973pub type TThostFtdcInvestorFullNameType = [::std::os::raw::c_char; 101usize];
1974pub type TThostFtdcUOABrokerIDType = [::std::os::raw::c_char; 11usize];
1975pub type TThostFtdcUOAZipCodeType = [::std::os::raw::c_char; 11usize];
1976pub type TThostFtdcUOAEMailType = [::std::os::raw::c_char; 101usize];
1977pub type TThostFtdcOldCityType = [::std::os::raw::c_char; 41usize];
1978pub type TThostFtdcCorporateIdentifiedCardNoType = [::std::os::raw::c_char; 101usize];
1979pub type TThostFtdcHasBoardType = ::std::os::raw::c_char;
1980pub type TThostFtdcStartModeType = ::std::os::raw::c_char;
1981pub type TThostFtdcTemplateTypeType = ::std::os::raw::c_char;
1982pub type TThostFtdcLoginModeType = ::std::os::raw::c_char;
1983pub type TThostFtdcPromptTypeType = ::std::os::raw::c_char;
1984pub type TThostFtdcLedgerManageIDType = [::std::os::raw::c_char; 51usize];
1985pub type TThostFtdcInvestVarietyType = [::std::os::raw::c_char; 101usize];
1986pub type TThostFtdcBankAccountTypeType = [::std::os::raw::c_char; 2usize];
1987pub type TThostFtdcLedgerManageBankType = [::std::os::raw::c_char; 101usize];
1988pub type TThostFtdcCffexDepartmentNameType = [::std::os::raw::c_char; 101usize];
1989pub type TThostFtdcCffexDepartmentCodeType = [::std::os::raw::c_char; 9usize];
1990pub type TThostFtdcHasTrusteeType = ::std::os::raw::c_char;
1991pub type TThostFtdcCSRCMemo1Type = [::std::os::raw::c_char; 41usize];
1992pub type TThostFtdcAssetmgrCFullNameType = [::std::os::raw::c_char; 101usize];
1993pub type TThostFtdcAssetmgrApprovalNOType = [::std::os::raw::c_char; 51usize];
1994pub type TThostFtdcAssetmgrMgrNameType = [::std::os::raw::c_char; 401usize];
1995pub type TThostFtdcAmTypeType = ::std::os::raw::c_char;
1996pub type TThostFtdcCSRCAmTypeType = [::std::os::raw::c_char; 5usize];
1997pub type TThostFtdcCSRCFundIOTypeType = ::std::os::raw::c_char;
1998pub type TThostFtdcCusAccountTypeType = ::std::os::raw::c_char;
1999pub type TThostFtdcCSRCNationalType = [::std::os::raw::c_char; 4usize];
2000pub type TThostFtdcCSRCSecAgentIDType = [::std::os::raw::c_char; 11usize];
2001pub type TThostFtdcLanguageTypeType = ::std::os::raw::c_char;
2002pub type TThostFtdcAmAccountType = [::std::os::raw::c_char; 23usize];
2003pub type TThostFtdcAssetmgrClientTypeType = ::std::os::raw::c_char;
2004pub type TThostFtdcAssetmgrTypeType = ::std::os::raw::c_char;
2005pub type TThostFtdcUOMType = [::std::os::raw::c_char; 11usize];
2006pub type TThostFtdcSHFEInstLifePhaseType = [::std::os::raw::c_char; 3usize];
2007pub type TThostFtdcSHFEProductClassType = [::std::os::raw::c_char; 11usize];
2008pub type TThostFtdcPriceDecimalType = [::std::os::raw::c_char; 2usize];
2009pub type TThostFtdcInTheMoneyFlagType = [::std::os::raw::c_char; 2usize];
2010pub type TThostFtdcCheckInstrTypeType = ::std::os::raw::c_char;
2011pub type TThostFtdcDeliveryTypeType = ::std::os::raw::c_char;
2012pub type TThostFtdcBigMoneyType = f64;
2013pub type TThostFtdcMaxMarginSideAlgorithmType = ::std::os::raw::c_char;
2014pub type TThostFtdcDAClientTypeType = ::std::os::raw::c_char;
2015pub type TThostFtdcCombinInstrIDType = [::std::os::raw::c_char; 61usize];
2016pub type TThostFtdcCombinSettlePriceType = [::std::os::raw::c_char; 61usize];
2017pub type TThostFtdcDCEPriorityType = ::std::os::raw::c_int;
2018pub type TThostFtdcTradeGroupIDType = ::std::os::raw::c_int;
2019pub type TThostFtdcIsCheckPrepaType = ::std::os::raw::c_int;
2020pub type TThostFtdcUOAAssetmgrTypeType = ::std::os::raw::c_char;
2021pub type TThostFtdcDirectionEnType = ::std::os::raw::c_char;
2022pub type TThostFtdcOffsetFlagEnType = ::std::os::raw::c_char;
2023pub type TThostFtdcHedgeFlagEnType = ::std::os::raw::c_char;
2024pub type TThostFtdcFundIOTypeEnType = ::std::os::raw::c_char;
2025pub type TThostFtdcFundTypeEnType = ::std::os::raw::c_char;
2026pub type TThostFtdcFundDirectionEnType = ::std::os::raw::c_char;
2027pub type TThostFtdcFundMortDirectionEnType = ::std::os::raw::c_char;
2028pub type TThostFtdcSwapBusinessTypeType = [::std::os::raw::c_char; 3usize];
2029pub type TThostFtdcOptionsTypeType = ::std::os::raw::c_char;
2030pub type TThostFtdcStrikeModeType = ::std::os::raw::c_char;
2031pub type TThostFtdcStrikeTypeType = ::std::os::raw::c_char;
2032pub type TThostFtdcApplyTypeType = ::std::os::raw::c_char;
2033pub type TThostFtdcGiveUpDataSourceType = ::std::os::raw::c_char;
2034pub type TThostFtdcExecOrderSysIDType = [::std::os::raw::c_char; 21usize];
2035pub type TThostFtdcExecResultType = ::std::os::raw::c_char;
2036pub type TThostFtdcStrikeSequenceType = ::std::os::raw::c_int;
2037pub type TThostFtdcStrikeTimeType = [::std::os::raw::c_char; 13usize];
2038pub type TThostFtdcCombinationTypeType = ::std::os::raw::c_char;
2039pub type TThostFtdcDceCombinationTypeType = ::std::os::raw::c_char;
2040pub type TThostFtdcOptionRoyaltyPriceTypeType = ::std::os::raw::c_char;
2041pub type TThostFtdcBalanceAlgorithmType = ::std::os::raw::c_char;
2042pub type TThostFtdcActionTypeType = ::std::os::raw::c_char;
2043pub type TThostFtdcForQuoteStatusType = ::std::os::raw::c_char;
2044pub type TThostFtdcValueMethodType = ::std::os::raw::c_char;
2045pub type TThostFtdcExecOrderPositionFlagType = ::std::os::raw::c_char;
2046pub type TThostFtdcExecOrderCloseFlagType = ::std::os::raw::c_char;
2047pub type TThostFtdcProductTypeType = ::std::os::raw::c_char;
2048pub type TThostFtdcCZCEUploadFileNameType = ::std::os::raw::c_char;
2049pub type TThostFtdcDCEUploadFileNameType = ::std::os::raw::c_char;
2050pub type TThostFtdcSHFEUploadFileNameType = ::std::os::raw::c_char;
2051pub type TThostFtdcCFFEXUploadFileNameType = ::std::os::raw::c_char;
2052pub type TThostFtdcCombDirectionType = ::std::os::raw::c_char;
2053pub type TThostFtdcStrikeOffsetTypeType = ::std::os::raw::c_char;
2054pub type TThostFtdcReserveOpenAccStasType = ::std::os::raw::c_char;
2055pub type TThostFtdcLoginRemarkType = [::std::os::raw::c_char; 36usize];
2056pub type TThostFtdcInvestUnitIDType = [::std::os::raw::c_char; 17usize];
2057pub type TThostFtdcBulletinIDType = ::std::os::raw::c_int;
2058pub type TThostFtdcNewsTypeType = [::std::os::raw::c_char; 3usize];
2059pub type TThostFtdcNewsUrgencyType = ::std::os::raw::c_char;
2060pub type TThostFtdcAbstractType = [::std::os::raw::c_char; 81usize];
2061pub type TThostFtdcComeFromType = [::std::os::raw::c_char; 21usize];
2062pub type TThostFtdcURLLinkType = [::std::os::raw::c_char; 201usize];
2063pub type TThostFtdcLongIndividualNameType = [::std::os::raw::c_char; 161usize];
2064pub type TThostFtdcLongFBEBankAccountNameType = [::std::os::raw::c_char; 161usize];
2065pub type TThostFtdcDateTimeType = [::std::os::raw::c_char; 17usize];
2066pub type TThostFtdcWeakPasswordSourceType = ::std::os::raw::c_char;
2067pub type TThostFtdcRandomStringType = [::std::os::raw::c_char; 17usize];
2068pub type TThostFtdcOptSelfCloseFlagType = ::std::os::raw::c_char;
2069pub type TThostFtdcBizTypeType = ::std::os::raw::c_char;
2070pub type TThostFtdcAppTypeType = ::std::os::raw::c_char;
2071pub type TThostFtdcAppIDType = [::std::os::raw::c_char; 33usize];
2072pub type TThostFtdcSystemInfoLenType = ::std::os::raw::c_int;
2073pub type TThostFtdcAdditionalInfoLenType = ::std::os::raw::c_int;
2074pub type TThostFtdcClientSystemInfoType = [::std::os::raw::c_char; 273usize];
2075pub type TThostFtdcAdditionalInfoType = [::std::os::raw::c_char; 261usize];
2076pub type TThostFtdcBase64ClientSystemInfoType = [::std::os::raw::c_char; 365usize];
2077pub type TThostFtdcBase64AdditionalInfoType = [::std::os::raw::c_char; 349usize];
2078pub type TThostFtdcCurrentAuthMethodType = ::std::os::raw::c_int;
2079pub type TThostFtdcCaptchaInfoLenType = ::std::os::raw::c_int;
2080pub type TThostFtdcCaptchaInfoType = [::std::os::raw::c_char; 2561usize];
2081pub type TThostFtdcUserTextSeqType = ::std::os::raw::c_int;
2082pub type TThostFtdcHandshakeDataType = [::std::os::raw::c_char; 301usize];
2083pub type TThostFtdcHandshakeDataLenType = ::std::os::raw::c_int;
2084pub type TThostFtdcCryptoKeyVersionType = [::std::os::raw::c_char; 31usize];
2085pub type TThostFtdcRsaKeyVersionType = ::std::os::raw::c_int;
2086pub type TThostFtdcSoftwareProviderIDType = [::std::os::raw::c_char; 22usize];
2087pub type TThostFtdcCollectTimeType = [::std::os::raw::c_char; 21usize];
2088pub type TThostFtdcQueryFreqType = ::std::os::raw::c_int;
2089pub type TThostFtdcResponseValueType = ::std::os::raw::c_char;
2090pub type TThostFtdcOTCTradeTypeType = ::std::os::raw::c_char;
2091pub type TThostFtdcMatchTypeType = ::std::os::raw::c_char;
2092pub type TThostFtdcOTCTraderIDType = [::std::os::raw::c_char; 31usize];
2093pub type TThostFtdcRiskValueType = f64;
2094pub type TThostFtdcIDBNameType = [::std::os::raw::c_char; 100usize];
2095pub type TThostFtdcDiscountRatioType = f64;
2096pub type TThostFtdcAuthTypeType = ::std::os::raw::c_char;
2097pub type TThostFtdcClassTypeType = ::std::os::raw::c_char;
2098pub type TThostFtdcTradingTypeType = ::std::os::raw::c_char;
2099pub type TThostFtdcProductStatusType = ::std::os::raw::c_char;
2100pub type TThostFtdcSyncDeltaStatusType = ::std::os::raw::c_char;
2101pub type TThostFtdcActionDirectionType = ::std::os::raw::c_char;
2102pub type TThostFtdcOrderCancelAlgType = ::std::os::raw::c_char;
2103pub type TThostFtdcSyncDescriptionType = [::std::os::raw::c_char; 257usize];
2104pub type TThostFtdcCommonIntType = ::std::os::raw::c_int;
2105pub type TThostFtdcSysVersionType = [::std::os::raw::c_char; 41usize];
2106pub type TThostFtdcOpenLimitControlLevelType = ::std::os::raw::c_char;
2107pub type TThostFtdcOrderFreqControlLevelType = ::std::os::raw::c_char;
2108pub type TThostFtdcEnumBoolType = ::std::os::raw::c_char;
2109pub type TThostFtdcTimeRangeType = ::std::os::raw::c_char;
2110pub type TThostFtdcDeltaType = f64;
2111pub type TThostFtdcSpreadIdType = ::std::os::raw::c_int;
2112pub type TThostFtdcPortfolioType = ::std::os::raw::c_char;
2113pub type TThostFtdcPortfolioDefIDType = ::std::os::raw::c_int;
2114pub type TThostFtdcWithDrawParamIDType = ::std::os::raw::c_char;
2115pub type TThostFtdcWithDrawParamValueType = [::std::os::raw::c_char; 41usize];
2116pub type TThostFtdcInvstTradingRightType = ::std::os::raw::c_char;
2117pub type TThostFtdcThostFunctionCodeType = ::std::os::raw::c_int;
2118pub type TThostFtdcSPMMDiscountRatioType = f64;
2119pub type TThostFtdcSPMMModelDescType = [::std::os::raw::c_char; 129usize];
2120pub type TThostFtdcSPMMModelIDType = [::std::os::raw::c_char; 33usize];
2121pub type TThostFtdcSPMMProductIDType = [::std::os::raw::c_char; 41usize];
2122pub type TThostFtdcInstMarginCalIDType = ::std::os::raw::c_char;
2123pub type TThostFtdcProductIDType = [::std::os::raw::c_char; 41usize];
2124pub type TThostFtdcHedgeRateType = f64;
2125pub type TThostFtdcRCAMSPriorityType = ::std::os::raw::c_int;
2126pub type TThostFtdcAdjustValueType = f64;
2127pub type TThostFtdcRCAMSCombinationTypeType = ::std::os::raw::c_char;
2128pub type TThostFtdcRuleIdType = [::std::os::raw::c_char; 51usize];
2129pub type TThostFtdcPortfTypeType = ::std::os::raw::c_char;
2130pub type TThostFtdcInstrumentClassType = ::std::os::raw::c_char;
2131pub type TThostFtdcCommodityGroupIDType = ::std::os::raw::c_int;
2132pub type TThostFtdcStdPositionType = f64;
2133pub type TThostFtdcProdChangeFlagType = ::std::os::raw::c_char;
2134#[repr(C)]
2135#[derive(Debug, Copy, Clone)]
2136pub struct CThostFtdcDisseminationField {
2137    pub SequenceSeries: TThostFtdcSequenceSeriesType,
2138    pub SequenceNo: TThostFtdcSequenceNoType,
2139}
2140#[repr(C)]
2141#[derive(Debug, Copy, Clone)]
2142pub struct CThostFtdcReqUserLoginField {
2143    pub TradingDay: TThostFtdcDateType,
2144    pub BrokerID: TThostFtdcBrokerIDType,
2145    pub UserID: TThostFtdcUserIDType,
2146    pub Password: TThostFtdcPasswordType,
2147    pub UserProductInfo: TThostFtdcProductInfoType,
2148    pub InterfaceProductInfo: TThostFtdcProductInfoType,
2149    pub ProtocolInfo: TThostFtdcProtocolInfoType,
2150    pub MacAddress: TThostFtdcMacAddressType,
2151    pub OneTimePassword: TThostFtdcPasswordType,
2152    pub reserve1: TThostFtdcOldIPAddressType,
2153    pub LoginRemark: TThostFtdcLoginRemarkType,
2154    pub ClientIPPort: TThostFtdcIPPortType,
2155    pub ClientIPAddress: TThostFtdcIPAddressType,
2156}
2157#[repr(C)]
2158#[derive(Debug, Copy, Clone)]
2159pub struct CThostFtdcRspUserLoginField {
2160    pub TradingDay: TThostFtdcDateType,
2161    pub LoginTime: TThostFtdcTimeType,
2162    pub BrokerID: TThostFtdcBrokerIDType,
2163    pub UserID: TThostFtdcUserIDType,
2164    pub SystemName: TThostFtdcSystemNameType,
2165    pub FrontID: TThostFtdcFrontIDType,
2166    pub SessionID: TThostFtdcSessionIDType,
2167    pub MaxOrderRef: TThostFtdcOrderRefType,
2168    pub SHFETime: TThostFtdcTimeType,
2169    pub DCETime: TThostFtdcTimeType,
2170    pub CZCETime: TThostFtdcTimeType,
2171    pub FFEXTime: TThostFtdcTimeType,
2172    pub INETime: TThostFtdcTimeType,
2173    pub SysVersion: TThostFtdcSysVersionType,
2174    pub GFEXTime: TThostFtdcTimeType,
2175}
2176#[repr(C)]
2177#[derive(Debug, Copy, Clone)]
2178pub struct CThostFtdcUserLogoutField {
2179    pub BrokerID: TThostFtdcBrokerIDType,
2180    pub UserID: TThostFtdcUserIDType,
2181}
2182#[repr(C)]
2183#[derive(Debug, Copy, Clone)]
2184pub struct CThostFtdcForceUserLogoutField {
2185    pub BrokerID: TThostFtdcBrokerIDType,
2186    pub UserID: TThostFtdcUserIDType,
2187}
2188#[repr(C)]
2189#[derive(Debug, Copy, Clone)]
2190pub struct CThostFtdcReqAuthenticateField {
2191    pub BrokerID: TThostFtdcBrokerIDType,
2192    pub UserID: TThostFtdcUserIDType,
2193    pub UserProductInfo: TThostFtdcProductInfoType,
2194    pub AuthCode: TThostFtdcAuthCodeType,
2195    pub AppID: TThostFtdcAppIDType,
2196}
2197#[repr(C)]
2198#[derive(Debug, Copy, Clone)]
2199pub struct CThostFtdcRspAuthenticateField {
2200    pub BrokerID: TThostFtdcBrokerIDType,
2201    pub UserID: TThostFtdcUserIDType,
2202    pub UserProductInfo: TThostFtdcProductInfoType,
2203    pub AppID: TThostFtdcAppIDType,
2204    pub AppType: TThostFtdcAppTypeType,
2205}
2206#[repr(C)]
2207#[derive(Debug, Copy, Clone)]
2208pub struct CThostFtdcAuthenticationInfoField {
2209    pub BrokerID: TThostFtdcBrokerIDType,
2210    pub UserID: TThostFtdcUserIDType,
2211    pub UserProductInfo: TThostFtdcProductInfoType,
2212    pub AuthInfo: TThostFtdcAuthInfoType,
2213    pub IsResult: TThostFtdcBoolType,
2214    pub AppID: TThostFtdcAppIDType,
2215    pub AppType: TThostFtdcAppTypeType,
2216    pub reserve1: TThostFtdcOldIPAddressType,
2217    pub ClientIPAddress: TThostFtdcIPAddressType,
2218}
2219#[repr(C)]
2220#[derive(Debug, Copy, Clone)]
2221pub struct CThostFtdcRspUserLogin2Field {
2222    pub TradingDay: TThostFtdcDateType,
2223    pub LoginTime: TThostFtdcTimeType,
2224    pub BrokerID: TThostFtdcBrokerIDType,
2225    pub UserID: TThostFtdcUserIDType,
2226    pub SystemName: TThostFtdcSystemNameType,
2227    pub FrontID: TThostFtdcFrontIDType,
2228    pub SessionID: TThostFtdcSessionIDType,
2229    pub MaxOrderRef: TThostFtdcOrderRefType,
2230    pub SHFETime: TThostFtdcTimeType,
2231    pub DCETime: TThostFtdcTimeType,
2232    pub CZCETime: TThostFtdcTimeType,
2233    pub FFEXTime: TThostFtdcTimeType,
2234    pub INETime: TThostFtdcTimeType,
2235    pub RandomString: TThostFtdcRandomStringType,
2236}
2237#[repr(C)]
2238#[derive(Debug, Copy, Clone)]
2239pub struct CThostFtdcTransferHeaderField {
2240    pub Version: TThostFtdcVersionType,
2241    pub TradeCode: TThostFtdcTradeCodeType,
2242    pub TradeDate: TThostFtdcTradeDateType,
2243    pub TradeTime: TThostFtdcTradeTimeType,
2244    pub TradeSerial: TThostFtdcTradeSerialType,
2245    pub FutureID: TThostFtdcFutureIDType,
2246    pub BankID: TThostFtdcBankIDType,
2247    pub BankBrchID: TThostFtdcBankBrchIDType,
2248    pub OperNo: TThostFtdcOperNoType,
2249    pub DeviceID: TThostFtdcDeviceIDType,
2250    pub RecordNum: TThostFtdcRecordNumType,
2251    pub SessionID: TThostFtdcSessionIDType,
2252    pub RequestID: TThostFtdcRequestIDType,
2253}
2254#[repr(C)]
2255#[derive(Debug, Copy, Clone)]
2256pub struct CThostFtdcTransferBankToFutureReqField {
2257    pub FutureAccount: TThostFtdcAccountIDType,
2258    pub FuturePwdFlag: TThostFtdcFuturePwdFlagType,
2259    pub FutureAccPwd: TThostFtdcFutureAccPwdType,
2260    pub TradeAmt: TThostFtdcMoneyType,
2261    pub CustFee: TThostFtdcMoneyType,
2262    pub CurrencyCode: TThostFtdcCurrencyCodeType,
2263}
2264#[repr(C)]
2265#[derive(Debug, Copy, Clone)]
2266pub struct CThostFtdcTransferBankToFutureRspField {
2267    pub RetCode: TThostFtdcRetCodeType,
2268    pub RetInfo: TThostFtdcRetInfoType,
2269    pub FutureAccount: TThostFtdcAccountIDType,
2270    pub TradeAmt: TThostFtdcMoneyType,
2271    pub CustFee: TThostFtdcMoneyType,
2272    pub CurrencyCode: TThostFtdcCurrencyCodeType,
2273}
2274#[repr(C)]
2275#[derive(Debug, Copy, Clone)]
2276pub struct CThostFtdcTransferFutureToBankReqField {
2277    pub FutureAccount: TThostFtdcAccountIDType,
2278    pub FuturePwdFlag: TThostFtdcFuturePwdFlagType,
2279    pub FutureAccPwd: TThostFtdcFutureAccPwdType,
2280    pub TradeAmt: TThostFtdcMoneyType,
2281    pub CustFee: TThostFtdcMoneyType,
2282    pub CurrencyCode: TThostFtdcCurrencyCodeType,
2283}
2284#[repr(C)]
2285#[derive(Debug, Copy, Clone)]
2286pub struct CThostFtdcTransferFutureToBankRspField {
2287    pub RetCode: TThostFtdcRetCodeType,
2288    pub RetInfo: TThostFtdcRetInfoType,
2289    pub FutureAccount: TThostFtdcAccountIDType,
2290    pub TradeAmt: TThostFtdcMoneyType,
2291    pub CustFee: TThostFtdcMoneyType,
2292    pub CurrencyCode: TThostFtdcCurrencyCodeType,
2293}
2294#[repr(C)]
2295#[derive(Debug, Copy, Clone)]
2296pub struct CThostFtdcTransferQryBankReqField {
2297    pub FutureAccount: TThostFtdcAccountIDType,
2298    pub FuturePwdFlag: TThostFtdcFuturePwdFlagType,
2299    pub FutureAccPwd: TThostFtdcFutureAccPwdType,
2300    pub CurrencyCode: TThostFtdcCurrencyCodeType,
2301}
2302#[repr(C)]
2303#[derive(Debug, Copy, Clone)]
2304pub struct CThostFtdcTransferQryBankRspField {
2305    pub RetCode: TThostFtdcRetCodeType,
2306    pub RetInfo: TThostFtdcRetInfoType,
2307    pub FutureAccount: TThostFtdcAccountIDType,
2308    pub TradeAmt: TThostFtdcMoneyType,
2309    pub UseAmt: TThostFtdcMoneyType,
2310    pub FetchAmt: TThostFtdcMoneyType,
2311    pub CurrencyCode: TThostFtdcCurrencyCodeType,
2312}
2313#[repr(C)]
2314#[derive(Debug, Copy, Clone)]
2315pub struct CThostFtdcTransferQryDetailReqField {
2316    pub FutureAccount: TThostFtdcAccountIDType,
2317}
2318#[repr(C)]
2319#[derive(Debug, Copy, Clone)]
2320pub struct CThostFtdcTransferQryDetailRspField {
2321    pub TradeDate: TThostFtdcDateType,
2322    pub TradeTime: TThostFtdcTradeTimeType,
2323    pub TradeCode: TThostFtdcTradeCodeType,
2324    pub FutureSerial: TThostFtdcTradeSerialNoType,
2325    pub FutureID: TThostFtdcFutureIDType,
2326    pub FutureAccount: TThostFtdcFutureAccountType,
2327    pub BankSerial: TThostFtdcTradeSerialNoType,
2328    pub BankID: TThostFtdcBankIDType,
2329    pub BankBrchID: TThostFtdcBankBrchIDType,
2330    pub BankAccount: TThostFtdcBankAccountType,
2331    pub CertCode: TThostFtdcCertCodeType,
2332    pub CurrencyCode: TThostFtdcCurrencyCodeType,
2333    pub TxAmount: TThostFtdcMoneyType,
2334    pub Flag: TThostFtdcTransferValidFlagType,
2335}
2336#[repr(C)]
2337#[derive(Debug, Copy, Clone)]
2338pub struct CThostFtdcRspInfoField {
2339    pub ErrorID: TThostFtdcErrorIDType,
2340    pub ErrorMsg: TThostFtdcErrorMsgType,
2341}
2342#[repr(C)]
2343#[derive(Debug, Copy, Clone)]
2344pub struct CThostFtdcExchangeField {
2345    pub ExchangeID: TThostFtdcExchangeIDType,
2346    pub ExchangeName: TThostFtdcExchangeNameType,
2347    pub ExchangeProperty: TThostFtdcExchangePropertyType,
2348}
2349#[repr(C)]
2350#[derive(Debug, Copy, Clone)]
2351pub struct CThostFtdcProductField {
2352    pub reserve1: TThostFtdcOldInstrumentIDType,
2353    pub ProductName: TThostFtdcProductNameType,
2354    pub ExchangeID: TThostFtdcExchangeIDType,
2355    pub ProductClass: TThostFtdcProductClassType,
2356    pub VolumeMultiple: TThostFtdcVolumeMultipleType,
2357    pub PriceTick: TThostFtdcPriceType,
2358    pub MaxMarketOrderVolume: TThostFtdcVolumeType,
2359    pub MinMarketOrderVolume: TThostFtdcVolumeType,
2360    pub MaxLimitOrderVolume: TThostFtdcVolumeType,
2361    pub MinLimitOrderVolume: TThostFtdcVolumeType,
2362    pub PositionType: TThostFtdcPositionTypeType,
2363    pub PositionDateType: TThostFtdcPositionDateTypeType,
2364    pub CloseDealType: TThostFtdcCloseDealTypeType,
2365    pub TradeCurrencyID: TThostFtdcCurrencyIDType,
2366    pub MortgageFundUseRange: TThostFtdcMortgageFundUseRangeType,
2367    pub reserve2: TThostFtdcOldInstrumentIDType,
2368    pub UnderlyingMultiple: TThostFtdcUnderlyingMultipleType,
2369    pub ProductID: TThostFtdcInstrumentIDType,
2370    pub ExchangeProductID: TThostFtdcInstrumentIDType,
2371    pub OpenLimitControlLevel: TThostFtdcOpenLimitControlLevelType,
2372    pub OrderFreqControlLevel: TThostFtdcOrderFreqControlLevelType,
2373}
2374#[repr(C)]
2375#[derive(Debug, Copy, Clone)]
2376pub struct CThostFtdcInstrumentField {
2377    pub reserve1: TThostFtdcOldInstrumentIDType,
2378    pub ExchangeID: TThostFtdcExchangeIDType,
2379    pub InstrumentName: TThostFtdcInstrumentNameType,
2380    pub reserve2: TThostFtdcOldExchangeInstIDType,
2381    pub reserve3: TThostFtdcOldInstrumentIDType,
2382    pub ProductClass: TThostFtdcProductClassType,
2383    pub DeliveryYear: TThostFtdcYearType,
2384    pub DeliveryMonth: TThostFtdcMonthType,
2385    pub MaxMarketOrderVolume: TThostFtdcVolumeType,
2386    pub MinMarketOrderVolume: TThostFtdcVolumeType,
2387    pub MaxLimitOrderVolume: TThostFtdcVolumeType,
2388    pub MinLimitOrderVolume: TThostFtdcVolumeType,
2389    pub VolumeMultiple: TThostFtdcVolumeMultipleType,
2390    pub PriceTick: TThostFtdcPriceType,
2391    pub CreateDate: TThostFtdcDateType,
2392    pub OpenDate: TThostFtdcDateType,
2393    pub ExpireDate: TThostFtdcDateType,
2394    pub StartDelivDate: TThostFtdcDateType,
2395    pub EndDelivDate: TThostFtdcDateType,
2396    pub InstLifePhase: TThostFtdcInstLifePhaseType,
2397    pub IsTrading: TThostFtdcBoolType,
2398    pub PositionType: TThostFtdcPositionTypeType,
2399    pub PositionDateType: TThostFtdcPositionDateTypeType,
2400    pub LongMarginRatio: TThostFtdcRatioType,
2401    pub ShortMarginRatio: TThostFtdcRatioType,
2402    pub MaxMarginSideAlgorithm: TThostFtdcMaxMarginSideAlgorithmType,
2403    pub reserve4: TThostFtdcOldInstrumentIDType,
2404    pub StrikePrice: TThostFtdcPriceType,
2405    pub OptionsType: TThostFtdcOptionsTypeType,
2406    pub UnderlyingMultiple: TThostFtdcUnderlyingMultipleType,
2407    pub CombinationType: TThostFtdcCombinationTypeType,
2408    pub InstrumentID: TThostFtdcInstrumentIDType,
2409    pub ExchangeInstID: TThostFtdcExchangeInstIDType,
2410    pub ProductID: TThostFtdcInstrumentIDType,
2411    pub UnderlyingInstrID: TThostFtdcInstrumentIDType,
2412}
2413#[repr(C)]
2414#[derive(Debug, Copy, Clone)]
2415pub struct CThostFtdcBrokerField {
2416    pub BrokerID: TThostFtdcBrokerIDType,
2417    pub BrokerAbbr: TThostFtdcBrokerAbbrType,
2418    pub BrokerName: TThostFtdcBrokerNameType,
2419    pub IsActive: TThostFtdcBoolType,
2420}
2421#[repr(C)]
2422#[derive(Debug, Copy, Clone)]
2423pub struct CThostFtdcTraderField {
2424    pub ExchangeID: TThostFtdcExchangeIDType,
2425    pub TraderID: TThostFtdcTraderIDType,
2426    pub ParticipantID: TThostFtdcParticipantIDType,
2427    pub Password: TThostFtdcPasswordType,
2428    pub InstallCount: TThostFtdcInstallCountType,
2429    pub BrokerID: TThostFtdcBrokerIDType,
2430    pub OrderCancelAlg: TThostFtdcOrderCancelAlgType,
2431    pub TradeInstallCount: TThostFtdcInstallCountType,
2432    pub MDInstallCount: TThostFtdcInstallCountType,
2433}
2434#[repr(C)]
2435#[derive(Debug, Copy, Clone)]
2436pub struct CThostFtdcInvestorField {
2437    pub InvestorID: TThostFtdcInvestorIDType,
2438    pub BrokerID: TThostFtdcBrokerIDType,
2439    pub InvestorGroupID: TThostFtdcInvestorIDType,
2440    pub InvestorName: TThostFtdcPartyNameType,
2441    pub IdentifiedCardType: TThostFtdcIdCardTypeType,
2442    pub IdentifiedCardNo: TThostFtdcIdentifiedCardNoType,
2443    pub IsActive: TThostFtdcBoolType,
2444    pub Telephone: TThostFtdcTelephoneType,
2445    pub Address: TThostFtdcAddressType,
2446    pub OpenDate: TThostFtdcDateType,
2447    pub Mobile: TThostFtdcMobileType,
2448    pub CommModelID: TThostFtdcInvestorIDType,
2449    pub MarginModelID: TThostFtdcInvestorIDType,
2450    pub IsOrderFreq: TThostFtdcEnumBoolType,
2451    pub IsOpenVolLimit: TThostFtdcEnumBoolType,
2452}
2453#[repr(C)]
2454#[derive(Debug, Copy, Clone)]
2455pub struct CThostFtdcTradingCodeField {
2456    pub InvestorID: TThostFtdcInvestorIDType,
2457    pub BrokerID: TThostFtdcBrokerIDType,
2458    pub ExchangeID: TThostFtdcExchangeIDType,
2459    pub ClientID: TThostFtdcClientIDType,
2460    pub IsActive: TThostFtdcBoolType,
2461    pub ClientIDType: TThostFtdcClientIDTypeType,
2462    pub BranchID: TThostFtdcBranchIDType,
2463    pub BizType: TThostFtdcBizTypeType,
2464    pub InvestUnitID: TThostFtdcInvestUnitIDType,
2465}
2466#[repr(C)]
2467#[derive(Debug, Copy, Clone)]
2468pub struct CThostFtdcPartBrokerField {
2469    pub BrokerID: TThostFtdcBrokerIDType,
2470    pub ExchangeID: TThostFtdcExchangeIDType,
2471    pub ParticipantID: TThostFtdcParticipantIDType,
2472    pub IsActive: TThostFtdcBoolType,
2473}
2474#[repr(C)]
2475#[derive(Debug, Copy, Clone)]
2476pub struct CThostFtdcSuperUserField {
2477    pub UserID: TThostFtdcUserIDType,
2478    pub UserName: TThostFtdcUserNameType,
2479    pub Password: TThostFtdcPasswordType,
2480    pub IsActive: TThostFtdcBoolType,
2481}
2482#[repr(C)]
2483#[derive(Debug, Copy, Clone)]
2484pub struct CThostFtdcSuperUserFunctionField {
2485    pub UserID: TThostFtdcUserIDType,
2486    pub FunctionCode: TThostFtdcFunctionCodeType,
2487}
2488#[repr(C)]
2489#[derive(Debug, Copy, Clone)]
2490pub struct CThostFtdcInvestorGroupField {
2491    pub BrokerID: TThostFtdcBrokerIDType,
2492    pub InvestorGroupID: TThostFtdcInvestorIDType,
2493    pub InvestorGroupName: TThostFtdcInvestorGroupNameType,
2494}
2495#[repr(C)]
2496#[derive(Debug, Copy, Clone)]
2497pub struct CThostFtdcTradingAccountField {
2498    pub BrokerID: TThostFtdcBrokerIDType,
2499    pub AccountID: TThostFtdcAccountIDType,
2500    pub PreMortgage: TThostFtdcMoneyType,
2501    pub PreCredit: TThostFtdcMoneyType,
2502    pub PreDeposit: TThostFtdcMoneyType,
2503    pub PreBalance: TThostFtdcMoneyType,
2504    pub PreMargin: TThostFtdcMoneyType,
2505    pub InterestBase: TThostFtdcMoneyType,
2506    pub Interest: TThostFtdcMoneyType,
2507    pub Deposit: TThostFtdcMoneyType,
2508    pub Withdraw: TThostFtdcMoneyType,
2509    pub FrozenMargin: TThostFtdcMoneyType,
2510    pub FrozenCash: TThostFtdcMoneyType,
2511    pub FrozenCommission: TThostFtdcMoneyType,
2512    pub CurrMargin: TThostFtdcMoneyType,
2513    pub CashIn: TThostFtdcMoneyType,
2514    pub Commission: TThostFtdcMoneyType,
2515    pub CloseProfit: TThostFtdcMoneyType,
2516    pub PositionProfit: TThostFtdcMoneyType,
2517    pub Balance: TThostFtdcMoneyType,
2518    pub Available: TThostFtdcMoneyType,
2519    pub WithdrawQuota: TThostFtdcMoneyType,
2520    pub Reserve: TThostFtdcMoneyType,
2521    pub TradingDay: TThostFtdcDateType,
2522    pub SettlementID: TThostFtdcSettlementIDType,
2523    pub Credit: TThostFtdcMoneyType,
2524    pub Mortgage: TThostFtdcMoneyType,
2525    pub ExchangeMargin: TThostFtdcMoneyType,
2526    pub DeliveryMargin: TThostFtdcMoneyType,
2527    pub ExchangeDeliveryMargin: TThostFtdcMoneyType,
2528    pub ReserveBalance: TThostFtdcMoneyType,
2529    pub CurrencyID: TThostFtdcCurrencyIDType,
2530    pub PreFundMortgageIn: TThostFtdcMoneyType,
2531    pub PreFundMortgageOut: TThostFtdcMoneyType,
2532    pub FundMortgageIn: TThostFtdcMoneyType,
2533    pub FundMortgageOut: TThostFtdcMoneyType,
2534    pub FundMortgageAvailable: TThostFtdcMoneyType,
2535    pub MortgageableFund: TThostFtdcMoneyType,
2536    pub SpecProductMargin: TThostFtdcMoneyType,
2537    pub SpecProductFrozenMargin: TThostFtdcMoneyType,
2538    pub SpecProductCommission: TThostFtdcMoneyType,
2539    pub SpecProductFrozenCommission: TThostFtdcMoneyType,
2540    pub SpecProductPositionProfit: TThostFtdcMoneyType,
2541    pub SpecProductCloseProfit: TThostFtdcMoneyType,
2542    pub SpecProductPositionProfitByAlg: TThostFtdcMoneyType,
2543    pub SpecProductExchangeMargin: TThostFtdcMoneyType,
2544    pub BizType: TThostFtdcBizTypeType,
2545    pub FrozenSwap: TThostFtdcMoneyType,
2546    pub RemainSwap: TThostFtdcMoneyType,
2547}
2548#[repr(C)]
2549#[derive(Debug, Copy, Clone)]
2550pub struct CThostFtdcInvestorPositionField {
2551    pub reserve1: TThostFtdcOldInstrumentIDType,
2552    pub BrokerID: TThostFtdcBrokerIDType,
2553    pub InvestorID: TThostFtdcInvestorIDType,
2554    pub PosiDirection: TThostFtdcPosiDirectionType,
2555    pub HedgeFlag: TThostFtdcHedgeFlagType,
2556    pub PositionDate: TThostFtdcPositionDateType,
2557    pub YdPosition: TThostFtdcVolumeType,
2558    pub Position: TThostFtdcVolumeType,
2559    pub LongFrozen: TThostFtdcVolumeType,
2560    pub ShortFrozen: TThostFtdcVolumeType,
2561    pub LongFrozenAmount: TThostFtdcMoneyType,
2562    pub ShortFrozenAmount: TThostFtdcMoneyType,
2563    pub OpenVolume: TThostFtdcVolumeType,
2564    pub CloseVolume: TThostFtdcVolumeType,
2565    pub OpenAmount: TThostFtdcMoneyType,
2566    pub CloseAmount: TThostFtdcMoneyType,
2567    pub PositionCost: TThostFtdcMoneyType,
2568    pub PreMargin: TThostFtdcMoneyType,
2569    pub UseMargin: TThostFtdcMoneyType,
2570    pub FrozenMargin: TThostFtdcMoneyType,
2571    pub FrozenCash: TThostFtdcMoneyType,
2572    pub FrozenCommission: TThostFtdcMoneyType,
2573    pub CashIn: TThostFtdcMoneyType,
2574    pub Commission: TThostFtdcMoneyType,
2575    pub CloseProfit: TThostFtdcMoneyType,
2576    pub PositionProfit: TThostFtdcMoneyType,
2577    pub PreSettlementPrice: TThostFtdcPriceType,
2578    pub SettlementPrice: TThostFtdcPriceType,
2579    pub TradingDay: TThostFtdcDateType,
2580    pub SettlementID: TThostFtdcSettlementIDType,
2581    pub OpenCost: TThostFtdcMoneyType,
2582    pub ExchangeMargin: TThostFtdcMoneyType,
2583    pub CombPosition: TThostFtdcVolumeType,
2584    pub CombLongFrozen: TThostFtdcVolumeType,
2585    pub CombShortFrozen: TThostFtdcVolumeType,
2586    pub CloseProfitByDate: TThostFtdcMoneyType,
2587    pub CloseProfitByTrade: TThostFtdcMoneyType,
2588    pub TodayPosition: TThostFtdcVolumeType,
2589    pub MarginRateByMoney: TThostFtdcRatioType,
2590    pub MarginRateByVolume: TThostFtdcRatioType,
2591    pub StrikeFrozen: TThostFtdcVolumeType,
2592    pub StrikeFrozenAmount: TThostFtdcMoneyType,
2593    pub AbandonFrozen: TThostFtdcVolumeType,
2594    pub ExchangeID: TThostFtdcExchangeIDType,
2595    pub YdStrikeFrozen: TThostFtdcVolumeType,
2596    pub InvestUnitID: TThostFtdcInvestUnitIDType,
2597    pub PositionCostOffset: TThostFtdcMoneyType,
2598    pub TasPosition: TThostFtdcVolumeType,
2599    pub TasPositionCost: TThostFtdcMoneyType,
2600    pub InstrumentID: TThostFtdcInstrumentIDType,
2601}
2602#[repr(C)]
2603#[derive(Debug, Copy, Clone)]
2604pub struct CThostFtdcInstrumentMarginRateField {
2605    pub reserve1: TThostFtdcOldInstrumentIDType,
2606    pub InvestorRange: TThostFtdcInvestorRangeType,
2607    pub BrokerID: TThostFtdcBrokerIDType,
2608    pub InvestorID: TThostFtdcInvestorIDType,
2609    pub HedgeFlag: TThostFtdcHedgeFlagType,
2610    pub LongMarginRatioByMoney: TThostFtdcRatioType,
2611    pub LongMarginRatioByVolume: TThostFtdcMoneyType,
2612    pub ShortMarginRatioByMoney: TThostFtdcRatioType,
2613    pub ShortMarginRatioByVolume: TThostFtdcMoneyType,
2614    pub IsRelative: TThostFtdcBoolType,
2615    pub ExchangeID: TThostFtdcExchangeIDType,
2616    pub InvestUnitID: TThostFtdcInvestUnitIDType,
2617    pub InstrumentID: TThostFtdcInstrumentIDType,
2618}
2619#[repr(C)]
2620#[derive(Debug, Copy, Clone)]
2621pub struct CThostFtdcInstrumentCommissionRateField {
2622    pub reserve1: TThostFtdcOldInstrumentIDType,
2623    pub InvestorRange: TThostFtdcInvestorRangeType,
2624    pub BrokerID: TThostFtdcBrokerIDType,
2625    pub InvestorID: TThostFtdcInvestorIDType,
2626    pub OpenRatioByMoney: TThostFtdcRatioType,
2627    pub OpenRatioByVolume: TThostFtdcRatioType,
2628    pub CloseRatioByMoney: TThostFtdcRatioType,
2629    pub CloseRatioByVolume: TThostFtdcRatioType,
2630    pub CloseTodayRatioByMoney: TThostFtdcRatioType,
2631    pub CloseTodayRatioByVolume: TThostFtdcRatioType,
2632    pub ExchangeID: TThostFtdcExchangeIDType,
2633    pub BizType: TThostFtdcBizTypeType,
2634    pub InvestUnitID: TThostFtdcInvestUnitIDType,
2635    pub InstrumentID: TThostFtdcInstrumentIDType,
2636}
2637#[repr(C)]
2638#[derive(Debug, Copy, Clone)]
2639pub struct CThostFtdcDepthMarketDataField {
2640    pub TradingDay: TThostFtdcDateType,
2641    pub reserve1: TThostFtdcOldInstrumentIDType,
2642    pub ExchangeID: TThostFtdcExchangeIDType,
2643    pub reserve2: TThostFtdcOldExchangeInstIDType,
2644    pub LastPrice: TThostFtdcPriceType,
2645    pub PreSettlementPrice: TThostFtdcPriceType,
2646    pub PreClosePrice: TThostFtdcPriceType,
2647    pub PreOpenInterest: TThostFtdcLargeVolumeType,
2648    pub OpenPrice: TThostFtdcPriceType,
2649    pub HighestPrice: TThostFtdcPriceType,
2650    pub LowestPrice: TThostFtdcPriceType,
2651    pub Volume: TThostFtdcVolumeType,
2652    pub Turnover: TThostFtdcMoneyType,
2653    pub OpenInterest: TThostFtdcLargeVolumeType,
2654    pub ClosePrice: TThostFtdcPriceType,
2655    pub SettlementPrice: TThostFtdcPriceType,
2656    pub UpperLimitPrice: TThostFtdcPriceType,
2657    pub LowerLimitPrice: TThostFtdcPriceType,
2658    pub PreDelta: TThostFtdcRatioType,
2659    pub CurrDelta: TThostFtdcRatioType,
2660    pub UpdateTime: TThostFtdcTimeType,
2661    pub UpdateMillisec: TThostFtdcMillisecType,
2662    pub BidPrice1: TThostFtdcPriceType,
2663    pub BidVolume1: TThostFtdcVolumeType,
2664    pub AskPrice1: TThostFtdcPriceType,
2665    pub AskVolume1: TThostFtdcVolumeType,
2666    pub BidPrice2: TThostFtdcPriceType,
2667    pub BidVolume2: TThostFtdcVolumeType,
2668    pub AskPrice2: TThostFtdcPriceType,
2669    pub AskVolume2: TThostFtdcVolumeType,
2670    pub BidPrice3: TThostFtdcPriceType,
2671    pub BidVolume3: TThostFtdcVolumeType,
2672    pub AskPrice3: TThostFtdcPriceType,
2673    pub AskVolume3: TThostFtdcVolumeType,
2674    pub BidPrice4: TThostFtdcPriceType,
2675    pub BidVolume4: TThostFtdcVolumeType,
2676    pub AskPrice4: TThostFtdcPriceType,
2677    pub AskVolume4: TThostFtdcVolumeType,
2678    pub BidPrice5: TThostFtdcPriceType,
2679    pub BidVolume5: TThostFtdcVolumeType,
2680    pub AskPrice5: TThostFtdcPriceType,
2681    pub AskVolume5: TThostFtdcVolumeType,
2682    pub AveragePrice: TThostFtdcPriceType,
2683    pub ActionDay: TThostFtdcDateType,
2684    pub InstrumentID: TThostFtdcInstrumentIDType,
2685    pub ExchangeInstID: TThostFtdcExchangeInstIDType,
2686    pub BandingUpperPrice: TThostFtdcPriceType,
2687    pub BandingLowerPrice: TThostFtdcPriceType,
2688}
2689#[repr(C)]
2690#[derive(Debug, Copy, Clone)]
2691pub struct CThostFtdcInstrumentTradingRightField {
2692    pub reserve1: TThostFtdcOldInstrumentIDType,
2693    pub InvestorRange: TThostFtdcInvestorRangeType,
2694    pub BrokerID: TThostFtdcBrokerIDType,
2695    pub InvestorID: TThostFtdcInvestorIDType,
2696    pub TradingRight: TThostFtdcTradingRightType,
2697    pub InstrumentID: TThostFtdcInstrumentIDType,
2698}
2699#[repr(C)]
2700#[derive(Debug, Copy, Clone)]
2701pub struct CThostFtdcBrokerUserField {
2702    pub BrokerID: TThostFtdcBrokerIDType,
2703    pub UserID: TThostFtdcUserIDType,
2704    pub UserName: TThostFtdcUserNameType,
2705    pub UserType: TThostFtdcUserTypeType,
2706    pub IsActive: TThostFtdcBoolType,
2707    pub IsUsingOTP: TThostFtdcBoolType,
2708    pub IsAuthForce: TThostFtdcBoolType,
2709}
2710#[repr(C)]
2711#[derive(Debug, Copy, Clone)]
2712pub struct CThostFtdcBrokerUserPasswordField {
2713    pub BrokerID: TThostFtdcBrokerIDType,
2714    pub UserID: TThostFtdcUserIDType,
2715    pub Password: TThostFtdcPasswordType,
2716    pub LastUpdateTime: TThostFtdcDateTimeType,
2717    pub LastLoginTime: TThostFtdcDateTimeType,
2718    pub ExpireDate: TThostFtdcDateType,
2719    pub WeakExpireDate: TThostFtdcDateType,
2720}
2721#[repr(C)]
2722#[derive(Debug, Copy, Clone)]
2723pub struct CThostFtdcBrokerUserFunctionField {
2724    pub BrokerID: TThostFtdcBrokerIDType,
2725    pub UserID: TThostFtdcUserIDType,
2726    pub BrokerFunctionCode: TThostFtdcBrokerFunctionCodeType,
2727}
2728#[repr(C)]
2729#[derive(Debug, Copy, Clone)]
2730pub struct CThostFtdcTraderOfferField {
2731    pub ExchangeID: TThostFtdcExchangeIDType,
2732    pub TraderID: TThostFtdcTraderIDType,
2733    pub ParticipantID: TThostFtdcParticipantIDType,
2734    pub Password: TThostFtdcPasswordType,
2735    pub InstallID: TThostFtdcInstallIDType,
2736    pub OrderLocalID: TThostFtdcOrderLocalIDType,
2737    pub TraderConnectStatus: TThostFtdcTraderConnectStatusType,
2738    pub ConnectRequestDate: TThostFtdcDateType,
2739    pub ConnectRequestTime: TThostFtdcTimeType,
2740    pub LastReportDate: TThostFtdcDateType,
2741    pub LastReportTime: TThostFtdcTimeType,
2742    pub ConnectDate: TThostFtdcDateType,
2743    pub ConnectTime: TThostFtdcTimeType,
2744    pub StartDate: TThostFtdcDateType,
2745    pub StartTime: TThostFtdcTimeType,
2746    pub TradingDay: TThostFtdcDateType,
2747    pub BrokerID: TThostFtdcBrokerIDType,
2748    pub MaxTradeID: TThostFtdcTradeIDType,
2749    pub MaxOrderMessageReference: TThostFtdcReturnCodeType,
2750    pub OrderCancelAlg: TThostFtdcOrderCancelAlgType,
2751}
2752#[repr(C)]
2753#[derive(Debug, Copy, Clone)]
2754pub struct CThostFtdcSettlementInfoField {
2755    pub TradingDay: TThostFtdcDateType,
2756    pub SettlementID: TThostFtdcSettlementIDType,
2757    pub BrokerID: TThostFtdcBrokerIDType,
2758    pub InvestorID: TThostFtdcInvestorIDType,
2759    pub SequenceNo: TThostFtdcSequenceNoType,
2760    pub Content: TThostFtdcContentType,
2761    pub AccountID: TThostFtdcAccountIDType,
2762    pub CurrencyID: TThostFtdcCurrencyIDType,
2763}
2764#[repr(C)]
2765#[derive(Debug, Copy, Clone)]
2766pub struct CThostFtdcInstrumentMarginRateAdjustField {
2767    pub reserve1: TThostFtdcOldInstrumentIDType,
2768    pub InvestorRange: TThostFtdcInvestorRangeType,
2769    pub BrokerID: TThostFtdcBrokerIDType,
2770    pub InvestorID: TThostFtdcInvestorIDType,
2771    pub HedgeFlag: TThostFtdcHedgeFlagType,
2772    pub LongMarginRatioByMoney: TThostFtdcRatioType,
2773    pub LongMarginRatioByVolume: TThostFtdcMoneyType,
2774    pub ShortMarginRatioByMoney: TThostFtdcRatioType,
2775    pub ShortMarginRatioByVolume: TThostFtdcMoneyType,
2776    pub IsRelative: TThostFtdcBoolType,
2777    pub InstrumentID: TThostFtdcInstrumentIDType,
2778}
2779#[repr(C)]
2780#[derive(Debug, Copy, Clone)]
2781pub struct CThostFtdcExchangeMarginRateField {
2782    pub BrokerID: TThostFtdcBrokerIDType,
2783    pub reserve1: TThostFtdcOldInstrumentIDType,
2784    pub HedgeFlag: TThostFtdcHedgeFlagType,
2785    pub LongMarginRatioByMoney: TThostFtdcRatioType,
2786    pub LongMarginRatioByVolume: TThostFtdcMoneyType,
2787    pub ShortMarginRatioByMoney: TThostFtdcRatioType,
2788    pub ShortMarginRatioByVolume: TThostFtdcMoneyType,
2789    pub ExchangeID: TThostFtdcExchangeIDType,
2790    pub InstrumentID: TThostFtdcInstrumentIDType,
2791}
2792#[repr(C)]
2793#[derive(Debug, Copy, Clone)]
2794pub struct CThostFtdcExchangeMarginRateAdjustField {
2795    pub BrokerID: TThostFtdcBrokerIDType,
2796    pub reserve1: TThostFtdcOldInstrumentIDType,
2797    pub HedgeFlag: TThostFtdcHedgeFlagType,
2798    pub LongMarginRatioByMoney: TThostFtdcRatioType,
2799    pub LongMarginRatioByVolume: TThostFtdcMoneyType,
2800    pub ShortMarginRatioByMoney: TThostFtdcRatioType,
2801    pub ShortMarginRatioByVolume: TThostFtdcMoneyType,
2802    pub ExchLongMarginRatioByMoney: TThostFtdcRatioType,
2803    pub ExchLongMarginRatioByVolume: TThostFtdcMoneyType,
2804    pub ExchShortMarginRatioByMoney: TThostFtdcRatioType,
2805    pub ExchShortMarginRatioByVolume: TThostFtdcMoneyType,
2806    pub NoLongMarginRatioByMoney: TThostFtdcRatioType,
2807    pub NoLongMarginRatioByVolume: TThostFtdcMoneyType,
2808    pub NoShortMarginRatioByMoney: TThostFtdcRatioType,
2809    pub NoShortMarginRatioByVolume: TThostFtdcMoneyType,
2810    pub InstrumentID: TThostFtdcInstrumentIDType,
2811}
2812#[repr(C)]
2813#[derive(Debug, Copy, Clone)]
2814pub struct CThostFtdcExchangeRateField {
2815    pub BrokerID: TThostFtdcBrokerIDType,
2816    pub FromCurrencyID: TThostFtdcCurrencyIDType,
2817    pub FromCurrencyUnit: TThostFtdcCurrencyUnitType,
2818    pub ToCurrencyID: TThostFtdcCurrencyIDType,
2819    pub ExchangeRate: TThostFtdcExchangeRateType,
2820}
2821#[repr(C)]
2822#[derive(Debug, Copy, Clone)]
2823pub struct CThostFtdcSettlementRefField {
2824    pub TradingDay: TThostFtdcDateType,
2825    pub SettlementID: TThostFtdcSettlementIDType,
2826}
2827#[repr(C)]
2828#[derive(Debug, Copy, Clone)]
2829pub struct CThostFtdcCurrentTimeField {
2830    pub CurrDate: TThostFtdcDateType,
2831    pub CurrTime: TThostFtdcTimeType,
2832    pub CurrMillisec: TThostFtdcMillisecType,
2833    pub ActionDay: TThostFtdcDateType,
2834}
2835#[repr(C)]
2836#[derive(Debug, Copy, Clone)]
2837pub struct CThostFtdcCommPhaseField {
2838    pub TradingDay: TThostFtdcDateType,
2839    pub CommPhaseNo: TThostFtdcCommPhaseNoType,
2840    pub SystemID: TThostFtdcSystemIDType,
2841}
2842#[repr(C)]
2843#[derive(Debug, Copy, Clone)]
2844pub struct CThostFtdcLoginInfoField {
2845    pub FrontID: TThostFtdcFrontIDType,
2846    pub SessionID: TThostFtdcSessionIDType,
2847    pub BrokerID: TThostFtdcBrokerIDType,
2848    pub UserID: TThostFtdcUserIDType,
2849    pub LoginDate: TThostFtdcDateType,
2850    pub LoginTime: TThostFtdcTimeType,
2851    pub reserve1: TThostFtdcOldIPAddressType,
2852    pub UserProductInfo: TThostFtdcProductInfoType,
2853    pub InterfaceProductInfo: TThostFtdcProductInfoType,
2854    pub ProtocolInfo: TThostFtdcProtocolInfoType,
2855    pub SystemName: TThostFtdcSystemNameType,
2856    pub PasswordDeprecated: TThostFtdcPasswordType,
2857    pub MaxOrderRef: TThostFtdcOrderRefType,
2858    pub SHFETime: TThostFtdcTimeType,
2859    pub DCETime: TThostFtdcTimeType,
2860    pub CZCETime: TThostFtdcTimeType,
2861    pub FFEXTime: TThostFtdcTimeType,
2862    pub MacAddress: TThostFtdcMacAddressType,
2863    pub OneTimePassword: TThostFtdcPasswordType,
2864    pub INETime: TThostFtdcTimeType,
2865    pub IsQryControl: TThostFtdcBoolType,
2866    pub LoginRemark: TThostFtdcLoginRemarkType,
2867    pub Password: TThostFtdcPasswordType,
2868    pub IPAddress: TThostFtdcIPAddressType,
2869}
2870#[repr(C)]
2871#[derive(Debug, Copy, Clone)]
2872pub struct CThostFtdcLogoutAllField {
2873    pub FrontID: TThostFtdcFrontIDType,
2874    pub SessionID: TThostFtdcSessionIDType,
2875    pub SystemName: TThostFtdcSystemNameType,
2876}
2877#[repr(C)]
2878#[derive(Debug, Copy, Clone)]
2879pub struct CThostFtdcFrontStatusField {
2880    pub FrontID: TThostFtdcFrontIDType,
2881    pub LastReportDate: TThostFtdcDateType,
2882    pub LastReportTime: TThostFtdcTimeType,
2883    pub IsActive: TThostFtdcBoolType,
2884}
2885#[repr(C)]
2886#[derive(Debug, Copy, Clone)]
2887pub struct CThostFtdcUserPasswordUpdateField {
2888    pub BrokerID: TThostFtdcBrokerIDType,
2889    pub UserID: TThostFtdcUserIDType,
2890    pub OldPassword: TThostFtdcPasswordType,
2891    pub NewPassword: TThostFtdcPasswordType,
2892}
2893#[repr(C)]
2894#[derive(Debug, Copy, Clone)]
2895pub struct CThostFtdcInputOrderField {
2896    pub BrokerID: TThostFtdcBrokerIDType,
2897    pub InvestorID: TThostFtdcInvestorIDType,
2898    pub reserve1: TThostFtdcOldInstrumentIDType,
2899    pub OrderRef: TThostFtdcOrderRefType,
2900    pub UserID: TThostFtdcUserIDType,
2901    pub OrderPriceType: TThostFtdcOrderPriceTypeType,
2902    pub Direction: TThostFtdcDirectionType,
2903    pub CombOffsetFlag: TThostFtdcCombOffsetFlagType,
2904    pub CombHedgeFlag: TThostFtdcCombHedgeFlagType,
2905    pub LimitPrice: TThostFtdcPriceType,
2906    pub VolumeTotalOriginal: TThostFtdcVolumeType,
2907    pub TimeCondition: TThostFtdcTimeConditionType,
2908    pub GTDDate: TThostFtdcDateType,
2909    pub VolumeCondition: TThostFtdcVolumeConditionType,
2910    pub MinVolume: TThostFtdcVolumeType,
2911    pub ContingentCondition: TThostFtdcContingentConditionType,
2912    pub StopPrice: TThostFtdcPriceType,
2913    pub ForceCloseReason: TThostFtdcForceCloseReasonType,
2914    pub IsAutoSuspend: TThostFtdcBoolType,
2915    pub BusinessUnit: TThostFtdcBusinessUnitType,
2916    pub RequestID: TThostFtdcRequestIDType,
2917    pub UserForceClose: TThostFtdcBoolType,
2918    pub IsSwapOrder: TThostFtdcBoolType,
2919    pub ExchangeID: TThostFtdcExchangeIDType,
2920    pub InvestUnitID: TThostFtdcInvestUnitIDType,
2921    pub AccountID: TThostFtdcAccountIDType,
2922    pub CurrencyID: TThostFtdcCurrencyIDType,
2923    pub ClientID: TThostFtdcClientIDType,
2924    pub reserve2: TThostFtdcOldIPAddressType,
2925    pub MacAddress: TThostFtdcMacAddressType,
2926    pub InstrumentID: TThostFtdcInstrumentIDType,
2927    pub IPAddress: TThostFtdcIPAddressType,
2928}
2929#[repr(C)]
2930#[derive(Debug, Copy, Clone)]
2931pub struct CThostFtdcOrderField {
2932    pub BrokerID: TThostFtdcBrokerIDType,
2933    pub InvestorID: TThostFtdcInvestorIDType,
2934    pub reserve1: TThostFtdcOldInstrumentIDType,
2935    pub OrderRef: TThostFtdcOrderRefType,
2936    pub UserID: TThostFtdcUserIDType,
2937    pub OrderPriceType: TThostFtdcOrderPriceTypeType,
2938    pub Direction: TThostFtdcDirectionType,
2939    pub CombOffsetFlag: TThostFtdcCombOffsetFlagType,
2940    pub CombHedgeFlag: TThostFtdcCombHedgeFlagType,
2941    pub LimitPrice: TThostFtdcPriceType,
2942    pub VolumeTotalOriginal: TThostFtdcVolumeType,
2943    pub TimeCondition: TThostFtdcTimeConditionType,
2944    pub GTDDate: TThostFtdcDateType,
2945    pub VolumeCondition: TThostFtdcVolumeConditionType,
2946    pub MinVolume: TThostFtdcVolumeType,
2947    pub ContingentCondition: TThostFtdcContingentConditionType,
2948    pub StopPrice: TThostFtdcPriceType,
2949    pub ForceCloseReason: TThostFtdcForceCloseReasonType,
2950    pub IsAutoSuspend: TThostFtdcBoolType,
2951    pub BusinessUnit: TThostFtdcBusinessUnitType,
2952    pub RequestID: TThostFtdcRequestIDType,
2953    pub OrderLocalID: TThostFtdcOrderLocalIDType,
2954    pub ExchangeID: TThostFtdcExchangeIDType,
2955    pub ParticipantID: TThostFtdcParticipantIDType,
2956    pub ClientID: TThostFtdcClientIDType,
2957    pub reserve2: TThostFtdcOldExchangeInstIDType,
2958    pub TraderID: TThostFtdcTraderIDType,
2959    pub InstallID: TThostFtdcInstallIDType,
2960    pub OrderSubmitStatus: TThostFtdcOrderSubmitStatusType,
2961    pub NotifySequence: TThostFtdcSequenceNoType,
2962    pub TradingDay: TThostFtdcDateType,
2963    pub SettlementID: TThostFtdcSettlementIDType,
2964    pub OrderSysID: TThostFtdcOrderSysIDType,
2965    pub OrderSource: TThostFtdcOrderSourceType,
2966    pub OrderStatus: TThostFtdcOrderStatusType,
2967    pub OrderType: TThostFtdcOrderTypeType,
2968    pub VolumeTraded: TThostFtdcVolumeType,
2969    pub VolumeTotal: TThostFtdcVolumeType,
2970    pub InsertDate: TThostFtdcDateType,
2971    pub InsertTime: TThostFtdcTimeType,
2972    pub ActiveTime: TThostFtdcTimeType,
2973    pub SuspendTime: TThostFtdcTimeType,
2974    pub UpdateTime: TThostFtdcTimeType,
2975    pub CancelTime: TThostFtdcTimeType,
2976    pub ActiveTraderID: TThostFtdcTraderIDType,
2977    pub ClearingPartID: TThostFtdcParticipantIDType,
2978    pub SequenceNo: TThostFtdcSequenceNoType,
2979    pub FrontID: TThostFtdcFrontIDType,
2980    pub SessionID: TThostFtdcSessionIDType,
2981    pub UserProductInfo: TThostFtdcProductInfoType,
2982    pub StatusMsg: TThostFtdcErrorMsgType,
2983    pub UserForceClose: TThostFtdcBoolType,
2984    pub ActiveUserID: TThostFtdcUserIDType,
2985    pub BrokerOrderSeq: TThostFtdcSequenceNoType,
2986    pub RelativeOrderSysID: TThostFtdcOrderSysIDType,
2987    pub ZCETotalTradedVolume: TThostFtdcVolumeType,
2988    pub IsSwapOrder: TThostFtdcBoolType,
2989    pub BranchID: TThostFtdcBranchIDType,
2990    pub InvestUnitID: TThostFtdcInvestUnitIDType,
2991    pub AccountID: TThostFtdcAccountIDType,
2992    pub CurrencyID: TThostFtdcCurrencyIDType,
2993    pub reserve3: TThostFtdcOldIPAddressType,
2994    pub MacAddress: TThostFtdcMacAddressType,
2995    pub InstrumentID: TThostFtdcInstrumentIDType,
2996    pub ExchangeInstID: TThostFtdcExchangeInstIDType,
2997    pub IPAddress: TThostFtdcIPAddressType,
2998}
2999#[repr(C)]
3000#[derive(Debug, Copy, Clone)]
3001pub struct CThostFtdcExchangeOrderField {
3002    pub OrderPriceType: TThostFtdcOrderPriceTypeType,
3003    pub Direction: TThostFtdcDirectionType,
3004    pub CombOffsetFlag: TThostFtdcCombOffsetFlagType,
3005    pub CombHedgeFlag: TThostFtdcCombHedgeFlagType,
3006    pub LimitPrice: TThostFtdcPriceType,
3007    pub VolumeTotalOriginal: TThostFtdcVolumeType,
3008    pub TimeCondition: TThostFtdcTimeConditionType,
3009    pub GTDDate: TThostFtdcDateType,
3010    pub VolumeCondition: TThostFtdcVolumeConditionType,
3011    pub MinVolume: TThostFtdcVolumeType,
3012    pub ContingentCondition: TThostFtdcContingentConditionType,
3013    pub StopPrice: TThostFtdcPriceType,
3014    pub ForceCloseReason: TThostFtdcForceCloseReasonType,
3015    pub IsAutoSuspend: TThostFtdcBoolType,
3016    pub BusinessUnit: TThostFtdcBusinessUnitType,
3017    pub RequestID: TThostFtdcRequestIDType,
3018    pub OrderLocalID: TThostFtdcOrderLocalIDType,
3019    pub ExchangeID: TThostFtdcExchangeIDType,
3020    pub ParticipantID: TThostFtdcParticipantIDType,
3021    pub ClientID: TThostFtdcClientIDType,
3022    pub reserve1: TThostFtdcOldExchangeInstIDType,
3023    pub TraderID: TThostFtdcTraderIDType,
3024    pub InstallID: TThostFtdcInstallIDType,
3025    pub OrderSubmitStatus: TThostFtdcOrderSubmitStatusType,
3026    pub NotifySequence: TThostFtdcSequenceNoType,
3027    pub TradingDay: TThostFtdcDateType,
3028    pub SettlementID: TThostFtdcSettlementIDType,
3029    pub OrderSysID: TThostFtdcOrderSysIDType,
3030    pub OrderSource: TThostFtdcOrderSourceType,
3031    pub OrderStatus: TThostFtdcOrderStatusType,
3032    pub OrderType: TThostFtdcOrderTypeType,
3033    pub VolumeTraded: TThostFtdcVolumeType,
3034    pub VolumeTotal: TThostFtdcVolumeType,
3035    pub InsertDate: TThostFtdcDateType,
3036    pub InsertTime: TThostFtdcTimeType,
3037    pub ActiveTime: TThostFtdcTimeType,
3038    pub SuspendTime: TThostFtdcTimeType,
3039    pub UpdateTime: TThostFtdcTimeType,
3040    pub CancelTime: TThostFtdcTimeType,
3041    pub ActiveTraderID: TThostFtdcTraderIDType,
3042    pub ClearingPartID: TThostFtdcParticipantIDType,
3043    pub SequenceNo: TThostFtdcSequenceNoType,
3044    pub BranchID: TThostFtdcBranchIDType,
3045    pub reserve2: TThostFtdcOldIPAddressType,
3046    pub MacAddress: TThostFtdcMacAddressType,
3047    pub ExchangeInstID: TThostFtdcExchangeInstIDType,
3048    pub IPAddress: TThostFtdcIPAddressType,
3049}
3050#[repr(C)]
3051#[derive(Debug, Copy, Clone)]
3052pub struct CThostFtdcExchangeOrderInsertErrorField {
3053    pub ExchangeID: TThostFtdcExchangeIDType,
3054    pub ParticipantID: TThostFtdcParticipantIDType,
3055    pub TraderID: TThostFtdcTraderIDType,
3056    pub InstallID: TThostFtdcInstallIDType,
3057    pub OrderLocalID: TThostFtdcOrderLocalIDType,
3058    pub ErrorID: TThostFtdcErrorIDType,
3059    pub ErrorMsg: TThostFtdcErrorMsgType,
3060}
3061#[repr(C)]
3062#[derive(Debug, Copy, Clone)]
3063pub struct CThostFtdcInputOrderActionField {
3064    pub BrokerID: TThostFtdcBrokerIDType,
3065    pub InvestorID: TThostFtdcInvestorIDType,
3066    pub OrderActionRef: TThostFtdcOrderActionRefType,
3067    pub OrderRef: TThostFtdcOrderRefType,
3068    pub RequestID: TThostFtdcRequestIDType,
3069    pub FrontID: TThostFtdcFrontIDType,
3070    pub SessionID: TThostFtdcSessionIDType,
3071    pub ExchangeID: TThostFtdcExchangeIDType,
3072    pub OrderSysID: TThostFtdcOrderSysIDType,
3073    pub ActionFlag: TThostFtdcActionFlagType,
3074    pub LimitPrice: TThostFtdcPriceType,
3075    pub VolumeChange: TThostFtdcVolumeType,
3076    pub UserID: TThostFtdcUserIDType,
3077    pub reserve1: TThostFtdcOldInstrumentIDType,
3078    pub InvestUnitID: TThostFtdcInvestUnitIDType,
3079    pub reserve2: TThostFtdcOldIPAddressType,
3080    pub MacAddress: TThostFtdcMacAddressType,
3081    pub InstrumentID: TThostFtdcInstrumentIDType,
3082    pub IPAddress: TThostFtdcIPAddressType,
3083}
3084#[repr(C)]
3085#[derive(Debug, Copy, Clone)]
3086pub struct CThostFtdcOrderActionField {
3087    pub BrokerID: TThostFtdcBrokerIDType,
3088    pub InvestorID: TThostFtdcInvestorIDType,
3089    pub OrderActionRef: TThostFtdcOrderActionRefType,
3090    pub OrderRef: TThostFtdcOrderRefType,
3091    pub RequestID: TThostFtdcRequestIDType,
3092    pub FrontID: TThostFtdcFrontIDType,
3093    pub SessionID: TThostFtdcSessionIDType,
3094    pub ExchangeID: TThostFtdcExchangeIDType,
3095    pub OrderSysID: TThostFtdcOrderSysIDType,
3096    pub ActionFlag: TThostFtdcActionFlagType,
3097    pub LimitPrice: TThostFtdcPriceType,
3098    pub VolumeChange: TThostFtdcVolumeType,
3099    pub ActionDate: TThostFtdcDateType,
3100    pub ActionTime: TThostFtdcTimeType,
3101    pub TraderID: TThostFtdcTraderIDType,
3102    pub InstallID: TThostFtdcInstallIDType,
3103    pub OrderLocalID: TThostFtdcOrderLocalIDType,
3104    pub ActionLocalID: TThostFtdcOrderLocalIDType,
3105    pub ParticipantID: TThostFtdcParticipantIDType,
3106    pub ClientID: TThostFtdcClientIDType,
3107    pub BusinessUnit: TThostFtdcBusinessUnitType,
3108    pub OrderActionStatus: TThostFtdcOrderActionStatusType,
3109    pub UserID: TThostFtdcUserIDType,
3110    pub StatusMsg: TThostFtdcErrorMsgType,
3111    pub reserve1: TThostFtdcOldInstrumentIDType,
3112    pub BranchID: TThostFtdcBranchIDType,
3113    pub InvestUnitID: TThostFtdcInvestUnitIDType,
3114    pub reserve2: TThostFtdcOldIPAddressType,
3115    pub MacAddress: TThostFtdcMacAddressType,
3116    pub InstrumentID: TThostFtdcInstrumentIDType,
3117    pub IPAddress: TThostFtdcIPAddressType,
3118}
3119#[repr(C)]
3120#[derive(Debug, Copy, Clone)]
3121pub struct CThostFtdcExchangeOrderActionField {
3122    pub ExchangeID: TThostFtdcExchangeIDType,
3123    pub OrderSysID: TThostFtdcOrderSysIDType,
3124    pub ActionFlag: TThostFtdcActionFlagType,
3125    pub LimitPrice: TThostFtdcPriceType,
3126    pub VolumeChange: TThostFtdcVolumeType,
3127    pub ActionDate: TThostFtdcDateType,
3128    pub ActionTime: TThostFtdcTimeType,
3129    pub TraderID: TThostFtdcTraderIDType,
3130    pub InstallID: TThostFtdcInstallIDType,
3131    pub OrderLocalID: TThostFtdcOrderLocalIDType,
3132    pub ActionLocalID: TThostFtdcOrderLocalIDType,
3133    pub ParticipantID: TThostFtdcParticipantIDType,
3134    pub ClientID: TThostFtdcClientIDType,
3135    pub BusinessUnit: TThostFtdcBusinessUnitType,
3136    pub OrderActionStatus: TThostFtdcOrderActionStatusType,
3137    pub UserID: TThostFtdcUserIDType,
3138    pub BranchID: TThostFtdcBranchIDType,
3139    pub reserve1: TThostFtdcOldIPAddressType,
3140    pub MacAddress: TThostFtdcMacAddressType,
3141    pub IPAddress: TThostFtdcIPAddressType,
3142}
3143#[repr(C)]
3144#[derive(Debug, Copy, Clone)]
3145pub struct CThostFtdcExchangeOrderActionErrorField {
3146    pub ExchangeID: TThostFtdcExchangeIDType,
3147    pub OrderSysID: TThostFtdcOrderSysIDType,
3148    pub TraderID: TThostFtdcTraderIDType,
3149    pub InstallID: TThostFtdcInstallIDType,
3150    pub OrderLocalID: TThostFtdcOrderLocalIDType,
3151    pub ActionLocalID: TThostFtdcOrderLocalIDType,
3152    pub ErrorID: TThostFtdcErrorIDType,
3153    pub ErrorMsg: TThostFtdcErrorMsgType,
3154}
3155#[repr(C)]
3156#[derive(Debug, Copy, Clone)]
3157pub struct CThostFtdcExchangeTradeField {
3158    pub ExchangeID: TThostFtdcExchangeIDType,
3159    pub TradeID: TThostFtdcTradeIDType,
3160    pub Direction: TThostFtdcDirectionType,
3161    pub OrderSysID: TThostFtdcOrderSysIDType,
3162    pub ParticipantID: TThostFtdcParticipantIDType,
3163    pub ClientID: TThostFtdcClientIDType,
3164    pub TradingRole: TThostFtdcTradingRoleType,
3165    pub reserve1: TThostFtdcOldExchangeInstIDType,
3166    pub OffsetFlag: TThostFtdcOffsetFlagType,
3167    pub HedgeFlag: TThostFtdcHedgeFlagType,
3168    pub Price: TThostFtdcPriceType,
3169    pub Volume: TThostFtdcVolumeType,
3170    pub TradeDate: TThostFtdcDateType,
3171    pub TradeTime: TThostFtdcTimeType,
3172    pub TradeType: TThostFtdcTradeTypeType,
3173    pub PriceSource: TThostFtdcPriceSourceType,
3174    pub TraderID: TThostFtdcTraderIDType,
3175    pub OrderLocalID: TThostFtdcOrderLocalIDType,
3176    pub ClearingPartID: TThostFtdcParticipantIDType,
3177    pub BusinessUnit: TThostFtdcBusinessUnitType,
3178    pub SequenceNo: TThostFtdcSequenceNoType,
3179    pub TradeSource: TThostFtdcTradeSourceType,
3180    pub ExchangeInstID: TThostFtdcExchangeInstIDType,
3181}
3182#[repr(C)]
3183#[derive(Debug, Copy, Clone)]
3184pub struct CThostFtdcTradeField {
3185    pub BrokerID: TThostFtdcBrokerIDType,
3186    pub InvestorID: TThostFtdcInvestorIDType,
3187    pub reserve1: TThostFtdcOldInstrumentIDType,
3188    pub OrderRef: TThostFtdcOrderRefType,
3189    pub UserID: TThostFtdcUserIDType,
3190    pub ExchangeID: TThostFtdcExchangeIDType,
3191    pub TradeID: TThostFtdcTradeIDType,
3192    pub Direction: TThostFtdcDirectionType,
3193    pub OrderSysID: TThostFtdcOrderSysIDType,
3194    pub ParticipantID: TThostFtdcParticipantIDType,
3195    pub ClientID: TThostFtdcClientIDType,
3196    pub TradingRole: TThostFtdcTradingRoleType,
3197    pub reserve2: TThostFtdcOldExchangeInstIDType,
3198    pub OffsetFlag: TThostFtdcOffsetFlagType,
3199    pub HedgeFlag: TThostFtdcHedgeFlagType,
3200    pub Price: TThostFtdcPriceType,
3201    pub Volume: TThostFtdcVolumeType,
3202    pub TradeDate: TThostFtdcDateType,
3203    pub TradeTime: TThostFtdcTimeType,
3204    pub TradeType: TThostFtdcTradeTypeType,
3205    pub PriceSource: TThostFtdcPriceSourceType,
3206    pub TraderID: TThostFtdcTraderIDType,
3207    pub OrderLocalID: TThostFtdcOrderLocalIDType,
3208    pub ClearingPartID: TThostFtdcParticipantIDType,
3209    pub BusinessUnit: TThostFtdcBusinessUnitType,
3210    pub SequenceNo: TThostFtdcSequenceNoType,
3211    pub TradingDay: TThostFtdcDateType,
3212    pub SettlementID: TThostFtdcSettlementIDType,
3213    pub BrokerOrderSeq: TThostFtdcSequenceNoType,
3214    pub TradeSource: TThostFtdcTradeSourceType,
3215    pub InvestUnitID: TThostFtdcInvestUnitIDType,
3216    pub InstrumentID: TThostFtdcInstrumentIDType,
3217    pub ExchangeInstID: TThostFtdcExchangeInstIDType,
3218}
3219#[repr(C)]
3220#[derive(Debug, Copy, Clone)]
3221pub struct CThostFtdcUserSessionField {
3222    pub FrontID: TThostFtdcFrontIDType,
3223    pub SessionID: TThostFtdcSessionIDType,
3224    pub BrokerID: TThostFtdcBrokerIDType,
3225    pub UserID: TThostFtdcUserIDType,
3226    pub LoginDate: TThostFtdcDateType,
3227    pub LoginTime: TThostFtdcTimeType,
3228    pub reserve1: TThostFtdcOldIPAddressType,
3229    pub UserProductInfo: TThostFtdcProductInfoType,
3230    pub InterfaceProductInfo: TThostFtdcProductInfoType,
3231    pub ProtocolInfo: TThostFtdcProtocolInfoType,
3232    pub MacAddress: TThostFtdcMacAddressType,
3233    pub LoginRemark: TThostFtdcLoginRemarkType,
3234    pub IPAddress: TThostFtdcIPAddressType,
3235}
3236#[repr(C)]
3237#[derive(Debug, Copy, Clone)]
3238pub struct CThostFtdcQryMaxOrderVolumeField {
3239    pub BrokerID: TThostFtdcBrokerIDType,
3240    pub InvestorID: TThostFtdcInvestorIDType,
3241    pub reserve1: TThostFtdcOldInstrumentIDType,
3242    pub Direction: TThostFtdcDirectionType,
3243    pub OffsetFlag: TThostFtdcOffsetFlagType,
3244    pub HedgeFlag: TThostFtdcHedgeFlagType,
3245    pub MaxVolume: TThostFtdcVolumeType,
3246    pub ExchangeID: TThostFtdcExchangeIDType,
3247    pub InvestUnitID: TThostFtdcInvestUnitIDType,
3248    pub InstrumentID: TThostFtdcInstrumentIDType,
3249}
3250#[repr(C)]
3251#[derive(Debug, Copy, Clone)]
3252pub struct CThostFtdcSettlementInfoConfirmField {
3253    pub BrokerID: TThostFtdcBrokerIDType,
3254    pub InvestorID: TThostFtdcInvestorIDType,
3255    pub ConfirmDate: TThostFtdcDateType,
3256    pub ConfirmTime: TThostFtdcTimeType,
3257    pub SettlementID: TThostFtdcSettlementIDType,
3258    pub AccountID: TThostFtdcAccountIDType,
3259    pub CurrencyID: TThostFtdcCurrencyIDType,
3260}
3261#[repr(C)]
3262#[derive(Debug, Copy, Clone)]
3263pub struct CThostFtdcSyncDepositField {
3264    pub DepositSeqNo: TThostFtdcDepositSeqNoType,
3265    pub BrokerID: TThostFtdcBrokerIDType,
3266    pub InvestorID: TThostFtdcInvestorIDType,
3267    pub Deposit: TThostFtdcMoneyType,
3268    pub IsForce: TThostFtdcBoolType,
3269    pub CurrencyID: TThostFtdcCurrencyIDType,
3270    pub IsFromSopt: TThostFtdcBoolType,
3271    pub TradingPassword: TThostFtdcPasswordType,
3272}
3273#[repr(C)]
3274#[derive(Debug, Copy, Clone)]
3275pub struct CThostFtdcSyncFundMortgageField {
3276    pub MortgageSeqNo: TThostFtdcDepositSeqNoType,
3277    pub BrokerID: TThostFtdcBrokerIDType,
3278    pub InvestorID: TThostFtdcInvestorIDType,
3279    pub FromCurrencyID: TThostFtdcCurrencyIDType,
3280    pub MortgageAmount: TThostFtdcMoneyType,
3281    pub ToCurrencyID: TThostFtdcCurrencyIDType,
3282}
3283#[repr(C)]
3284#[derive(Debug, Copy, Clone)]
3285pub struct CThostFtdcBrokerSyncField {
3286    pub BrokerID: TThostFtdcBrokerIDType,
3287}
3288#[repr(C)]
3289#[derive(Debug, Copy, Clone)]
3290pub struct CThostFtdcSyncingInvestorField {
3291    pub InvestorID: TThostFtdcInvestorIDType,
3292    pub BrokerID: TThostFtdcBrokerIDType,
3293    pub InvestorGroupID: TThostFtdcInvestorIDType,
3294    pub InvestorName: TThostFtdcPartyNameType,
3295    pub IdentifiedCardType: TThostFtdcIdCardTypeType,
3296    pub IdentifiedCardNo: TThostFtdcIdentifiedCardNoType,
3297    pub IsActive: TThostFtdcBoolType,
3298    pub Telephone: TThostFtdcTelephoneType,
3299    pub Address: TThostFtdcAddressType,
3300    pub OpenDate: TThostFtdcDateType,
3301    pub Mobile: TThostFtdcMobileType,
3302    pub CommModelID: TThostFtdcInvestorIDType,
3303    pub MarginModelID: TThostFtdcInvestorIDType,
3304    pub IsOrderFreq: TThostFtdcEnumBoolType,
3305    pub IsOpenVolLimit: TThostFtdcEnumBoolType,
3306}
3307#[repr(C)]
3308#[derive(Debug, Copy, Clone)]
3309pub struct CThostFtdcSyncingTradingCodeField {
3310    pub InvestorID: TThostFtdcInvestorIDType,
3311    pub BrokerID: TThostFtdcBrokerIDType,
3312    pub ExchangeID: TThostFtdcExchangeIDType,
3313    pub ClientID: TThostFtdcClientIDType,
3314    pub IsActive: TThostFtdcBoolType,
3315    pub ClientIDType: TThostFtdcClientIDTypeType,
3316}
3317#[repr(C)]
3318#[derive(Debug, Copy, Clone)]
3319pub struct CThostFtdcSyncingInvestorGroupField {
3320    pub BrokerID: TThostFtdcBrokerIDType,
3321    pub InvestorGroupID: TThostFtdcInvestorIDType,
3322    pub InvestorGroupName: TThostFtdcInvestorGroupNameType,
3323}
3324#[repr(C)]
3325#[derive(Debug, Copy, Clone)]
3326pub struct CThostFtdcSyncingTradingAccountField {
3327    pub BrokerID: TThostFtdcBrokerIDType,
3328    pub AccountID: TThostFtdcAccountIDType,
3329    pub PreMortgage: TThostFtdcMoneyType,
3330    pub PreCredit: TThostFtdcMoneyType,
3331    pub PreDeposit: TThostFtdcMoneyType,
3332    pub PreBalance: TThostFtdcMoneyType,
3333    pub PreMargin: TThostFtdcMoneyType,
3334    pub InterestBase: TThostFtdcMoneyType,
3335    pub Interest: TThostFtdcMoneyType,
3336    pub Deposit: TThostFtdcMoneyType,
3337    pub Withdraw: TThostFtdcMoneyType,
3338    pub FrozenMargin: TThostFtdcMoneyType,
3339    pub FrozenCash: TThostFtdcMoneyType,
3340    pub FrozenCommission: TThostFtdcMoneyType,
3341    pub CurrMargin: TThostFtdcMoneyType,
3342    pub CashIn: TThostFtdcMoneyType,
3343    pub Commission: TThostFtdcMoneyType,
3344    pub CloseProfit: TThostFtdcMoneyType,
3345    pub PositionProfit: TThostFtdcMoneyType,
3346    pub Balance: TThostFtdcMoneyType,
3347    pub Available: TThostFtdcMoneyType,
3348    pub WithdrawQuota: TThostFtdcMoneyType,
3349    pub Reserve: TThostFtdcMoneyType,
3350    pub TradingDay: TThostFtdcDateType,
3351    pub SettlementID: TThostFtdcSettlementIDType,
3352    pub Credit: TThostFtdcMoneyType,
3353    pub Mortgage: TThostFtdcMoneyType,
3354    pub ExchangeMargin: TThostFtdcMoneyType,
3355    pub DeliveryMargin: TThostFtdcMoneyType,
3356    pub ExchangeDeliveryMargin: TThostFtdcMoneyType,
3357    pub ReserveBalance: TThostFtdcMoneyType,
3358    pub CurrencyID: TThostFtdcCurrencyIDType,
3359    pub PreFundMortgageIn: TThostFtdcMoneyType,
3360    pub PreFundMortgageOut: TThostFtdcMoneyType,
3361    pub FundMortgageIn: TThostFtdcMoneyType,
3362    pub FundMortgageOut: TThostFtdcMoneyType,
3363    pub FundMortgageAvailable: TThostFtdcMoneyType,
3364    pub MortgageableFund: TThostFtdcMoneyType,
3365    pub SpecProductMargin: TThostFtdcMoneyType,
3366    pub SpecProductFrozenMargin: TThostFtdcMoneyType,
3367    pub SpecProductCommission: TThostFtdcMoneyType,
3368    pub SpecProductFrozenCommission: TThostFtdcMoneyType,
3369    pub SpecProductPositionProfit: TThostFtdcMoneyType,
3370    pub SpecProductCloseProfit: TThostFtdcMoneyType,
3371    pub SpecProductPositionProfitByAlg: TThostFtdcMoneyType,
3372    pub SpecProductExchangeMargin: TThostFtdcMoneyType,
3373    pub FrozenSwap: TThostFtdcMoneyType,
3374    pub RemainSwap: TThostFtdcMoneyType,
3375}
3376#[repr(C)]
3377#[derive(Debug, Copy, Clone)]
3378pub struct CThostFtdcSyncingInvestorPositionField {
3379    pub reserve1: TThostFtdcOldInstrumentIDType,
3380    pub BrokerID: TThostFtdcBrokerIDType,
3381    pub InvestorID: TThostFtdcInvestorIDType,
3382    pub PosiDirection: TThostFtdcPosiDirectionType,
3383    pub HedgeFlag: TThostFtdcHedgeFlagType,
3384    pub PositionDate: TThostFtdcPositionDateType,
3385    pub YdPosition: TThostFtdcVolumeType,
3386    pub Position: TThostFtdcVolumeType,
3387    pub LongFrozen: TThostFtdcVolumeType,
3388    pub ShortFrozen: TThostFtdcVolumeType,
3389    pub LongFrozenAmount: TThostFtdcMoneyType,
3390    pub ShortFrozenAmount: TThostFtdcMoneyType,
3391    pub OpenVolume: TThostFtdcVolumeType,
3392    pub CloseVolume: TThostFtdcVolumeType,
3393    pub OpenAmount: TThostFtdcMoneyType,
3394    pub CloseAmount: TThostFtdcMoneyType,
3395    pub PositionCost: TThostFtdcMoneyType,
3396    pub PreMargin: TThostFtdcMoneyType,
3397    pub UseMargin: TThostFtdcMoneyType,
3398    pub FrozenMargin: TThostFtdcMoneyType,
3399    pub FrozenCash: TThostFtdcMoneyType,
3400    pub FrozenCommission: TThostFtdcMoneyType,
3401    pub CashIn: TThostFtdcMoneyType,
3402    pub Commission: TThostFtdcMoneyType,
3403    pub CloseProfit: TThostFtdcMoneyType,
3404    pub PositionProfit: TThostFtdcMoneyType,
3405    pub PreSettlementPrice: TThostFtdcPriceType,
3406    pub SettlementPrice: TThostFtdcPriceType,
3407    pub TradingDay: TThostFtdcDateType,
3408    pub SettlementID: TThostFtdcSettlementIDType,
3409    pub OpenCost: TThostFtdcMoneyType,
3410    pub ExchangeMargin: TThostFtdcMoneyType,
3411    pub CombPosition: TThostFtdcVolumeType,
3412    pub CombLongFrozen: TThostFtdcVolumeType,
3413    pub CombShortFrozen: TThostFtdcVolumeType,
3414    pub CloseProfitByDate: TThostFtdcMoneyType,
3415    pub CloseProfitByTrade: TThostFtdcMoneyType,
3416    pub TodayPosition: TThostFtdcVolumeType,
3417    pub MarginRateByMoney: TThostFtdcRatioType,
3418    pub MarginRateByVolume: TThostFtdcRatioType,
3419    pub StrikeFrozen: TThostFtdcVolumeType,
3420    pub StrikeFrozenAmount: TThostFtdcMoneyType,
3421    pub AbandonFrozen: TThostFtdcVolumeType,
3422    pub ExchangeID: TThostFtdcExchangeIDType,
3423    pub YdStrikeFrozen: TThostFtdcVolumeType,
3424    pub InvestUnitID: TThostFtdcInvestUnitIDType,
3425    pub PositionCostOffset: TThostFtdcMoneyType,
3426    pub TasPosition: TThostFtdcVolumeType,
3427    pub TasPositionCost: TThostFtdcMoneyType,
3428    pub InstrumentID: TThostFtdcInstrumentIDType,
3429}
3430#[repr(C)]
3431#[derive(Debug, Copy, Clone)]
3432pub struct CThostFtdcSyncingInstrumentMarginRateField {
3433    pub reserve1: TThostFtdcOldInstrumentIDType,
3434    pub InvestorRange: TThostFtdcInvestorRangeType,
3435    pub BrokerID: TThostFtdcBrokerIDType,
3436    pub InvestorID: TThostFtdcInvestorIDType,
3437    pub HedgeFlag: TThostFtdcHedgeFlagType,
3438    pub LongMarginRatioByMoney: TThostFtdcRatioType,
3439    pub LongMarginRatioByVolume: TThostFtdcMoneyType,
3440    pub ShortMarginRatioByMoney: TThostFtdcRatioType,
3441    pub ShortMarginRatioByVolume: TThostFtdcMoneyType,
3442    pub IsRelative: TThostFtdcBoolType,
3443    pub InstrumentID: TThostFtdcInstrumentIDType,
3444}
3445#[repr(C)]
3446#[derive(Debug, Copy, Clone)]
3447pub struct CThostFtdcSyncingInstrumentCommissionRateField {
3448    pub reserve1: TThostFtdcOldInstrumentIDType,
3449    pub InvestorRange: TThostFtdcInvestorRangeType,
3450    pub BrokerID: TThostFtdcBrokerIDType,
3451    pub InvestorID: TThostFtdcInvestorIDType,
3452    pub OpenRatioByMoney: TThostFtdcRatioType,
3453    pub OpenRatioByVolume: TThostFtdcRatioType,
3454    pub CloseRatioByMoney: TThostFtdcRatioType,
3455    pub CloseRatioByVolume: TThostFtdcRatioType,
3456    pub CloseTodayRatioByMoney: TThostFtdcRatioType,
3457    pub CloseTodayRatioByVolume: TThostFtdcRatioType,
3458    pub InstrumentID: TThostFtdcInstrumentIDType,
3459}
3460#[repr(C)]
3461#[derive(Debug, Copy, Clone)]
3462pub struct CThostFtdcSyncingInstrumentTradingRightField {
3463    pub reserve1: TThostFtdcOldInstrumentIDType,
3464    pub InvestorRange: TThostFtdcInvestorRangeType,
3465    pub BrokerID: TThostFtdcBrokerIDType,
3466    pub InvestorID: TThostFtdcInvestorIDType,
3467    pub TradingRight: TThostFtdcTradingRightType,
3468    pub InstrumentID: TThostFtdcInstrumentIDType,
3469}
3470#[repr(C)]
3471#[derive(Debug, Copy, Clone)]
3472pub struct CThostFtdcQryOrderField {
3473    pub BrokerID: TThostFtdcBrokerIDType,
3474    pub InvestorID: TThostFtdcInvestorIDType,
3475    pub reserve1: TThostFtdcOldInstrumentIDType,
3476    pub ExchangeID: TThostFtdcExchangeIDType,
3477    pub OrderSysID: TThostFtdcOrderSysIDType,
3478    pub InsertTimeStart: TThostFtdcTimeType,
3479    pub InsertTimeEnd: TThostFtdcTimeType,
3480    pub InvestUnitID: TThostFtdcInvestUnitIDType,
3481    pub InstrumentID: TThostFtdcInstrumentIDType,
3482}
3483#[repr(C)]
3484#[derive(Debug, Copy, Clone)]
3485pub struct CThostFtdcQryTradeField {
3486    pub BrokerID: TThostFtdcBrokerIDType,
3487    pub InvestorID: TThostFtdcInvestorIDType,
3488    pub reserve1: TThostFtdcOldInstrumentIDType,
3489    pub ExchangeID: TThostFtdcExchangeIDType,
3490    pub TradeID: TThostFtdcTradeIDType,
3491    pub TradeTimeStart: TThostFtdcTimeType,
3492    pub TradeTimeEnd: TThostFtdcTimeType,
3493    pub InvestUnitID: TThostFtdcInvestUnitIDType,
3494    pub InstrumentID: TThostFtdcInstrumentIDType,
3495}
3496#[repr(C)]
3497#[derive(Debug, Copy, Clone)]
3498pub struct CThostFtdcQryInvestorPositionField {
3499    pub BrokerID: TThostFtdcBrokerIDType,
3500    pub InvestorID: TThostFtdcInvestorIDType,
3501    pub reserve1: TThostFtdcOldInstrumentIDType,
3502    pub ExchangeID: TThostFtdcExchangeIDType,
3503    pub InvestUnitID: TThostFtdcInvestUnitIDType,
3504    pub InstrumentID: TThostFtdcInstrumentIDType,
3505}
3506#[repr(C)]
3507#[derive(Debug, Copy, Clone)]
3508pub struct CThostFtdcQryTradingAccountField {
3509    pub BrokerID: TThostFtdcBrokerIDType,
3510    pub InvestorID: TThostFtdcInvestorIDType,
3511    pub CurrencyID: TThostFtdcCurrencyIDType,
3512    pub BizType: TThostFtdcBizTypeType,
3513    pub AccountID: TThostFtdcAccountIDType,
3514}
3515#[repr(C)]
3516#[derive(Debug, Copy, Clone)]
3517pub struct CThostFtdcQryInvestorField {
3518    pub BrokerID: TThostFtdcBrokerIDType,
3519    pub InvestorID: TThostFtdcInvestorIDType,
3520}
3521#[repr(C)]
3522#[derive(Debug, Copy, Clone)]
3523pub struct CThostFtdcQryTradingCodeField {
3524    pub BrokerID: TThostFtdcBrokerIDType,
3525    pub InvestorID: TThostFtdcInvestorIDType,
3526    pub ExchangeID: TThostFtdcExchangeIDType,
3527    pub ClientID: TThostFtdcClientIDType,
3528    pub ClientIDType: TThostFtdcClientIDTypeType,
3529    pub InvestUnitID: TThostFtdcInvestUnitIDType,
3530}
3531#[repr(C)]
3532#[derive(Debug, Copy, Clone)]
3533pub struct CThostFtdcQryInvestorGroupField {
3534    pub BrokerID: TThostFtdcBrokerIDType,
3535}
3536#[repr(C)]
3537#[derive(Debug, Copy, Clone)]
3538pub struct CThostFtdcQryInstrumentMarginRateField {
3539    pub BrokerID: TThostFtdcBrokerIDType,
3540    pub InvestorID: TThostFtdcInvestorIDType,
3541    pub reserve1: TThostFtdcOldInstrumentIDType,
3542    pub HedgeFlag: TThostFtdcHedgeFlagType,
3543    pub ExchangeID: TThostFtdcExchangeIDType,
3544    pub InvestUnitID: TThostFtdcInvestUnitIDType,
3545    pub InstrumentID: TThostFtdcInstrumentIDType,
3546}
3547#[repr(C)]
3548#[derive(Debug, Copy, Clone)]
3549pub struct CThostFtdcQryInstrumentCommissionRateField {
3550    pub BrokerID: TThostFtdcBrokerIDType,
3551    pub InvestorID: TThostFtdcInvestorIDType,
3552    pub reserve1: TThostFtdcOldInstrumentIDType,
3553    pub ExchangeID: TThostFtdcExchangeIDType,
3554    pub InvestUnitID: TThostFtdcInvestUnitIDType,
3555    pub InstrumentID: TThostFtdcInstrumentIDType,
3556}
3557#[repr(C)]
3558#[derive(Debug, Copy, Clone)]
3559pub struct CThostFtdcQryInstrumentTradingRightField {
3560    pub BrokerID: TThostFtdcBrokerIDType,
3561    pub InvestorID: TThostFtdcInvestorIDType,
3562    pub reserve1: TThostFtdcOldInstrumentIDType,
3563    pub InstrumentID: TThostFtdcInstrumentIDType,
3564}
3565#[repr(C)]
3566#[derive(Debug, Copy, Clone)]
3567pub struct CThostFtdcQryBrokerField {
3568    pub BrokerID: TThostFtdcBrokerIDType,
3569}
3570#[repr(C)]
3571#[derive(Debug, Copy, Clone)]
3572pub struct CThostFtdcQryTraderField {
3573    pub ExchangeID: TThostFtdcExchangeIDType,
3574    pub ParticipantID: TThostFtdcParticipantIDType,
3575    pub TraderID: TThostFtdcTraderIDType,
3576}
3577#[repr(C)]
3578#[derive(Debug, Copy, Clone)]
3579pub struct CThostFtdcQrySuperUserFunctionField {
3580    pub UserID: TThostFtdcUserIDType,
3581}
3582#[repr(C)]
3583#[derive(Debug, Copy, Clone)]
3584pub struct CThostFtdcQryUserSessionField {
3585    pub FrontID: TThostFtdcFrontIDType,
3586    pub SessionID: TThostFtdcSessionIDType,
3587    pub BrokerID: TThostFtdcBrokerIDType,
3588    pub UserID: TThostFtdcUserIDType,
3589}
3590#[repr(C)]
3591#[derive(Debug, Copy, Clone)]
3592pub struct CThostFtdcQryPartBrokerField {
3593    pub ExchangeID: TThostFtdcExchangeIDType,
3594    pub BrokerID: TThostFtdcBrokerIDType,
3595    pub ParticipantID: TThostFtdcParticipantIDType,
3596}
3597#[repr(C)]
3598#[derive(Debug, Copy, Clone)]
3599pub struct CThostFtdcQryFrontStatusField {
3600    pub FrontID: TThostFtdcFrontIDType,
3601}
3602#[repr(C)]
3603#[derive(Debug, Copy, Clone)]
3604pub struct CThostFtdcQryExchangeOrderField {
3605    pub ParticipantID: TThostFtdcParticipantIDType,
3606    pub ClientID: TThostFtdcClientIDType,
3607    pub reserve1: TThostFtdcOldExchangeInstIDType,
3608    pub ExchangeID: TThostFtdcExchangeIDType,
3609    pub TraderID: TThostFtdcTraderIDType,
3610    pub ExchangeInstID: TThostFtdcExchangeInstIDType,
3611}
3612#[repr(C)]
3613#[derive(Debug, Copy, Clone)]
3614pub struct CThostFtdcQryOrderActionField {
3615    pub BrokerID: TThostFtdcBrokerIDType,
3616    pub InvestorID: TThostFtdcInvestorIDType,
3617    pub ExchangeID: TThostFtdcExchangeIDType,
3618}
3619#[repr(C)]
3620#[derive(Debug, Copy, Clone)]
3621pub struct CThostFtdcQryExchangeOrderActionField {
3622    pub ParticipantID: TThostFtdcParticipantIDType,
3623    pub ClientID: TThostFtdcClientIDType,
3624    pub ExchangeID: TThostFtdcExchangeIDType,
3625    pub TraderID: TThostFtdcTraderIDType,
3626}
3627#[repr(C)]
3628#[derive(Debug, Copy, Clone)]
3629pub struct CThostFtdcQrySuperUserField {
3630    pub UserID: TThostFtdcUserIDType,
3631}
3632#[repr(C)]
3633#[derive(Debug, Copy, Clone)]
3634pub struct CThostFtdcQryExchangeField {
3635    pub ExchangeID: TThostFtdcExchangeIDType,
3636}
3637#[repr(C)]
3638#[derive(Debug, Copy, Clone)]
3639pub struct CThostFtdcQryProductField {
3640    pub reserve1: TThostFtdcOldInstrumentIDType,
3641    pub ProductClass: TThostFtdcProductClassType,
3642    pub ExchangeID: TThostFtdcExchangeIDType,
3643    pub ProductID: TThostFtdcInstrumentIDType,
3644}
3645#[repr(C)]
3646#[derive(Debug, Copy, Clone)]
3647pub struct CThostFtdcQryInstrumentField {
3648    pub reserve1: TThostFtdcOldInstrumentIDType,
3649    pub ExchangeID: TThostFtdcExchangeIDType,
3650    pub reserve2: TThostFtdcOldExchangeInstIDType,
3651    pub reserve3: TThostFtdcOldInstrumentIDType,
3652    pub InstrumentID: TThostFtdcInstrumentIDType,
3653    pub ExchangeInstID: TThostFtdcExchangeInstIDType,
3654    pub ProductID: TThostFtdcInstrumentIDType,
3655}
3656#[repr(C)]
3657#[derive(Debug, Copy, Clone)]
3658pub struct CThostFtdcQryDepthMarketDataField {
3659    pub reserve1: TThostFtdcOldInstrumentIDType,
3660    pub ExchangeID: TThostFtdcExchangeIDType,
3661    pub InstrumentID: TThostFtdcInstrumentIDType,
3662}
3663#[repr(C)]
3664#[derive(Debug, Copy, Clone)]
3665pub struct CThostFtdcQryBrokerUserField {
3666    pub BrokerID: TThostFtdcBrokerIDType,
3667    pub UserID: TThostFtdcUserIDType,
3668}
3669#[repr(C)]
3670#[derive(Debug, Copy, Clone)]
3671pub struct CThostFtdcQryBrokerUserFunctionField {
3672    pub BrokerID: TThostFtdcBrokerIDType,
3673    pub UserID: TThostFtdcUserIDType,
3674}
3675#[repr(C)]
3676#[derive(Debug, Copy, Clone)]
3677pub struct CThostFtdcQryTraderOfferField {
3678    pub ExchangeID: TThostFtdcExchangeIDType,
3679    pub ParticipantID: TThostFtdcParticipantIDType,
3680    pub TraderID: TThostFtdcTraderIDType,
3681}
3682#[repr(C)]
3683#[derive(Debug, Copy, Clone)]
3684pub struct CThostFtdcQrySyncDepositField {
3685    pub BrokerID: TThostFtdcBrokerIDType,
3686    pub DepositSeqNo: TThostFtdcDepositSeqNoType,
3687}
3688#[repr(C)]
3689#[derive(Debug, Copy, Clone)]
3690pub struct CThostFtdcQrySettlementInfoField {
3691    pub BrokerID: TThostFtdcBrokerIDType,
3692    pub InvestorID: TThostFtdcInvestorIDType,
3693    pub TradingDay: TThostFtdcDateType,
3694    pub AccountID: TThostFtdcAccountIDType,
3695    pub CurrencyID: TThostFtdcCurrencyIDType,
3696}
3697#[repr(C)]
3698#[derive(Debug, Copy, Clone)]
3699pub struct CThostFtdcQryExchangeMarginRateField {
3700    pub BrokerID: TThostFtdcBrokerIDType,
3701    pub reserve1: TThostFtdcOldInstrumentIDType,
3702    pub HedgeFlag: TThostFtdcHedgeFlagType,
3703    pub ExchangeID: TThostFtdcExchangeIDType,
3704    pub InstrumentID: TThostFtdcInstrumentIDType,
3705}
3706#[repr(C)]
3707#[derive(Debug, Copy, Clone)]
3708pub struct CThostFtdcQryExchangeMarginRateAdjustField {
3709    pub BrokerID: TThostFtdcBrokerIDType,
3710    pub reserve1: TThostFtdcOldInstrumentIDType,
3711    pub HedgeFlag: TThostFtdcHedgeFlagType,
3712    pub InstrumentID: TThostFtdcInstrumentIDType,
3713}
3714#[repr(C)]
3715#[derive(Debug, Copy, Clone)]
3716pub struct CThostFtdcQryExchangeRateField {
3717    pub BrokerID: TThostFtdcBrokerIDType,
3718    pub FromCurrencyID: TThostFtdcCurrencyIDType,
3719    pub ToCurrencyID: TThostFtdcCurrencyIDType,
3720}
3721#[repr(C)]
3722#[derive(Debug, Copy, Clone)]
3723pub struct CThostFtdcQrySyncFundMortgageField {
3724    pub BrokerID: TThostFtdcBrokerIDType,
3725    pub MortgageSeqNo: TThostFtdcDepositSeqNoType,
3726}
3727#[repr(C)]
3728#[derive(Debug, Copy, Clone)]
3729pub struct CThostFtdcQryHisOrderField {
3730    pub BrokerID: TThostFtdcBrokerIDType,
3731    pub InvestorID: TThostFtdcInvestorIDType,
3732    pub reserve1: TThostFtdcOldInstrumentIDType,
3733    pub ExchangeID: TThostFtdcExchangeIDType,
3734    pub OrderSysID: TThostFtdcOrderSysIDType,
3735    pub InsertTimeStart: TThostFtdcTimeType,
3736    pub InsertTimeEnd: TThostFtdcTimeType,
3737    pub TradingDay: TThostFtdcDateType,
3738    pub SettlementID: TThostFtdcSettlementIDType,
3739    pub InstrumentID: TThostFtdcInstrumentIDType,
3740}
3741#[repr(C)]
3742#[derive(Debug, Copy, Clone)]
3743pub struct CThostFtdcOptionInstrMiniMarginField {
3744    pub reserve1: TThostFtdcOldInstrumentIDType,
3745    pub InvestorRange: TThostFtdcInvestorRangeType,
3746    pub BrokerID: TThostFtdcBrokerIDType,
3747    pub InvestorID: TThostFtdcInvestorIDType,
3748    pub MinMargin: TThostFtdcMoneyType,
3749    pub ValueMethod: TThostFtdcValueMethodType,
3750    pub IsRelative: TThostFtdcBoolType,
3751    pub InstrumentID: TThostFtdcInstrumentIDType,
3752}
3753#[repr(C)]
3754#[derive(Debug, Copy, Clone)]
3755pub struct CThostFtdcOptionInstrMarginAdjustField {
3756    pub reserve1: TThostFtdcOldInstrumentIDType,
3757    pub InvestorRange: TThostFtdcInvestorRangeType,
3758    pub BrokerID: TThostFtdcBrokerIDType,
3759    pub InvestorID: TThostFtdcInvestorIDType,
3760    pub SShortMarginRatioByMoney: TThostFtdcRatioType,
3761    pub SShortMarginRatioByVolume: TThostFtdcMoneyType,
3762    pub HShortMarginRatioByMoney: TThostFtdcRatioType,
3763    pub HShortMarginRatioByVolume: TThostFtdcMoneyType,
3764    pub AShortMarginRatioByMoney: TThostFtdcRatioType,
3765    pub AShortMarginRatioByVolume: TThostFtdcMoneyType,
3766    pub IsRelative: TThostFtdcBoolType,
3767    pub MShortMarginRatioByMoney: TThostFtdcRatioType,
3768    pub MShortMarginRatioByVolume: TThostFtdcMoneyType,
3769    pub InstrumentID: TThostFtdcInstrumentIDType,
3770}
3771#[repr(C)]
3772#[derive(Debug, Copy, Clone)]
3773pub struct CThostFtdcOptionInstrCommRateField {
3774    pub reserve1: TThostFtdcOldInstrumentIDType,
3775    pub InvestorRange: TThostFtdcInvestorRangeType,
3776    pub BrokerID: TThostFtdcBrokerIDType,
3777    pub InvestorID: TThostFtdcInvestorIDType,
3778    pub OpenRatioByMoney: TThostFtdcRatioType,
3779    pub OpenRatioByVolume: TThostFtdcRatioType,
3780    pub CloseRatioByMoney: TThostFtdcRatioType,
3781    pub CloseRatioByVolume: TThostFtdcRatioType,
3782    pub CloseTodayRatioByMoney: TThostFtdcRatioType,
3783    pub CloseTodayRatioByVolume: TThostFtdcRatioType,
3784    pub StrikeRatioByMoney: TThostFtdcRatioType,
3785    pub StrikeRatioByVolume: TThostFtdcRatioType,
3786    pub ExchangeID: TThostFtdcExchangeIDType,
3787    pub InvestUnitID: TThostFtdcInvestUnitIDType,
3788    pub InstrumentID: TThostFtdcInstrumentIDType,
3789}
3790#[repr(C)]
3791#[derive(Debug, Copy, Clone)]
3792pub struct CThostFtdcOptionInstrTradeCostField {
3793    pub BrokerID: TThostFtdcBrokerIDType,
3794    pub InvestorID: TThostFtdcInvestorIDType,
3795    pub reserve1: TThostFtdcOldInstrumentIDType,
3796    pub HedgeFlag: TThostFtdcHedgeFlagType,
3797    pub FixedMargin: TThostFtdcMoneyType,
3798    pub MiniMargin: TThostFtdcMoneyType,
3799    pub Royalty: TThostFtdcMoneyType,
3800    pub ExchFixedMargin: TThostFtdcMoneyType,
3801    pub ExchMiniMargin: TThostFtdcMoneyType,
3802    pub ExchangeID: TThostFtdcExchangeIDType,
3803    pub InvestUnitID: TThostFtdcInvestUnitIDType,
3804    pub InstrumentID: TThostFtdcInstrumentIDType,
3805}
3806#[repr(C)]
3807#[derive(Debug, Copy, Clone)]
3808pub struct CThostFtdcQryOptionInstrTradeCostField {
3809    pub BrokerID: TThostFtdcBrokerIDType,
3810    pub InvestorID: TThostFtdcInvestorIDType,
3811    pub reserve1: TThostFtdcOldInstrumentIDType,
3812    pub HedgeFlag: TThostFtdcHedgeFlagType,
3813    pub InputPrice: TThostFtdcPriceType,
3814    pub UnderlyingPrice: TThostFtdcPriceType,
3815    pub ExchangeID: TThostFtdcExchangeIDType,
3816    pub InvestUnitID: TThostFtdcInvestUnitIDType,
3817    pub InstrumentID: TThostFtdcInstrumentIDType,
3818}
3819#[repr(C)]
3820#[derive(Debug, Copy, Clone)]
3821pub struct CThostFtdcQryOptionInstrCommRateField {
3822    pub BrokerID: TThostFtdcBrokerIDType,
3823    pub InvestorID: TThostFtdcInvestorIDType,
3824    pub reserve1: TThostFtdcOldInstrumentIDType,
3825    pub ExchangeID: TThostFtdcExchangeIDType,
3826    pub InvestUnitID: TThostFtdcInvestUnitIDType,
3827    pub InstrumentID: TThostFtdcInstrumentIDType,
3828}
3829#[repr(C)]
3830#[derive(Debug, Copy, Clone)]
3831pub struct CThostFtdcIndexPriceField {
3832    pub BrokerID: TThostFtdcBrokerIDType,
3833    pub reserve1: TThostFtdcOldInstrumentIDType,
3834    pub ClosePrice: TThostFtdcPriceType,
3835    pub InstrumentID: TThostFtdcInstrumentIDType,
3836}
3837#[repr(C)]
3838#[derive(Debug, Copy, Clone)]
3839pub struct CThostFtdcInputExecOrderField {
3840    pub BrokerID: TThostFtdcBrokerIDType,
3841    pub InvestorID: TThostFtdcInvestorIDType,
3842    pub reserve1: TThostFtdcOldInstrumentIDType,
3843    pub ExecOrderRef: TThostFtdcOrderRefType,
3844    pub UserID: TThostFtdcUserIDType,
3845    pub Volume: TThostFtdcVolumeType,
3846    pub RequestID: TThostFtdcRequestIDType,
3847    pub BusinessUnit: TThostFtdcBusinessUnitType,
3848    pub OffsetFlag: TThostFtdcOffsetFlagType,
3849    pub HedgeFlag: TThostFtdcHedgeFlagType,
3850    pub ActionType: TThostFtdcActionTypeType,
3851    pub PosiDirection: TThostFtdcPosiDirectionType,
3852    pub ReservePositionFlag: TThostFtdcExecOrderPositionFlagType,
3853    pub CloseFlag: TThostFtdcExecOrderCloseFlagType,
3854    pub ExchangeID: TThostFtdcExchangeIDType,
3855    pub InvestUnitID: TThostFtdcInvestUnitIDType,
3856    pub AccountID: TThostFtdcAccountIDType,
3857    pub CurrencyID: TThostFtdcCurrencyIDType,
3858    pub ClientID: TThostFtdcClientIDType,
3859    pub reserve2: TThostFtdcOldIPAddressType,
3860    pub MacAddress: TThostFtdcMacAddressType,
3861    pub InstrumentID: TThostFtdcInstrumentIDType,
3862    pub IPAddress: TThostFtdcIPAddressType,
3863}
3864#[repr(C)]
3865#[derive(Debug, Copy, Clone)]
3866pub struct CThostFtdcInputExecOrderActionField {
3867    pub BrokerID: TThostFtdcBrokerIDType,
3868    pub InvestorID: TThostFtdcInvestorIDType,
3869    pub ExecOrderActionRef: TThostFtdcOrderActionRefType,
3870    pub ExecOrderRef: TThostFtdcOrderRefType,
3871    pub RequestID: TThostFtdcRequestIDType,
3872    pub FrontID: TThostFtdcFrontIDType,
3873    pub SessionID: TThostFtdcSessionIDType,
3874    pub ExchangeID: TThostFtdcExchangeIDType,
3875    pub ExecOrderSysID: TThostFtdcExecOrderSysIDType,
3876    pub ActionFlag: TThostFtdcActionFlagType,
3877    pub UserID: TThostFtdcUserIDType,
3878    pub reserve1: TThostFtdcOldInstrumentIDType,
3879    pub InvestUnitID: TThostFtdcInvestUnitIDType,
3880    pub reserve2: TThostFtdcOldIPAddressType,
3881    pub MacAddress: TThostFtdcMacAddressType,
3882    pub InstrumentID: TThostFtdcInstrumentIDType,
3883    pub IPAddress: TThostFtdcIPAddressType,
3884}
3885#[repr(C)]
3886#[derive(Debug, Copy, Clone)]
3887pub struct CThostFtdcExecOrderField {
3888    pub BrokerID: TThostFtdcBrokerIDType,
3889    pub InvestorID: TThostFtdcInvestorIDType,
3890    pub reserve1: TThostFtdcOldInstrumentIDType,
3891    pub ExecOrderRef: TThostFtdcOrderRefType,
3892    pub UserID: TThostFtdcUserIDType,
3893    pub Volume: TThostFtdcVolumeType,
3894    pub RequestID: TThostFtdcRequestIDType,
3895    pub BusinessUnit: TThostFtdcBusinessUnitType,
3896    pub OffsetFlag: TThostFtdcOffsetFlagType,
3897    pub HedgeFlag: TThostFtdcHedgeFlagType,
3898    pub ActionType: TThostFtdcActionTypeType,
3899    pub PosiDirection: TThostFtdcPosiDirectionType,
3900    pub ReservePositionFlag: TThostFtdcExecOrderPositionFlagType,
3901    pub CloseFlag: TThostFtdcExecOrderCloseFlagType,
3902    pub ExecOrderLocalID: TThostFtdcOrderLocalIDType,
3903    pub ExchangeID: TThostFtdcExchangeIDType,
3904    pub ParticipantID: TThostFtdcParticipantIDType,
3905    pub ClientID: TThostFtdcClientIDType,
3906    pub reserve2: TThostFtdcOldExchangeInstIDType,
3907    pub TraderID: TThostFtdcTraderIDType,
3908    pub InstallID: TThostFtdcInstallIDType,
3909    pub OrderSubmitStatus: TThostFtdcOrderSubmitStatusType,
3910    pub NotifySequence: TThostFtdcSequenceNoType,
3911    pub TradingDay: TThostFtdcDateType,
3912    pub SettlementID: TThostFtdcSettlementIDType,
3913    pub ExecOrderSysID: TThostFtdcExecOrderSysIDType,
3914    pub InsertDate: TThostFtdcDateType,
3915    pub InsertTime: TThostFtdcTimeType,
3916    pub CancelTime: TThostFtdcTimeType,
3917    pub ExecResult: TThostFtdcExecResultType,
3918    pub ClearingPartID: TThostFtdcParticipantIDType,
3919    pub SequenceNo: TThostFtdcSequenceNoType,
3920    pub FrontID: TThostFtdcFrontIDType,
3921    pub SessionID: TThostFtdcSessionIDType,
3922    pub UserProductInfo: TThostFtdcProductInfoType,
3923    pub StatusMsg: TThostFtdcErrorMsgType,
3924    pub ActiveUserID: TThostFtdcUserIDType,
3925    pub BrokerExecOrderSeq: TThostFtdcSequenceNoType,
3926    pub BranchID: TThostFtdcBranchIDType,
3927    pub InvestUnitID: TThostFtdcInvestUnitIDType,
3928    pub AccountID: TThostFtdcAccountIDType,
3929    pub CurrencyID: TThostFtdcCurrencyIDType,
3930    pub reserve3: TThostFtdcOldIPAddressType,
3931    pub MacAddress: TThostFtdcMacAddressType,
3932    pub InstrumentID: TThostFtdcInstrumentIDType,
3933    pub ExchangeInstID: TThostFtdcExchangeInstIDType,
3934    pub IPAddress: TThostFtdcIPAddressType,
3935}
3936#[repr(C)]
3937#[derive(Debug, Copy, Clone)]
3938pub struct CThostFtdcExecOrderActionField {
3939    pub BrokerID: TThostFtdcBrokerIDType,
3940    pub InvestorID: TThostFtdcInvestorIDType,
3941    pub ExecOrderActionRef: TThostFtdcOrderActionRefType,
3942    pub ExecOrderRef: TThostFtdcOrderRefType,
3943    pub RequestID: TThostFtdcRequestIDType,
3944    pub FrontID: TThostFtdcFrontIDType,
3945    pub SessionID: TThostFtdcSessionIDType,
3946    pub ExchangeID: TThostFtdcExchangeIDType,
3947    pub ExecOrderSysID: TThostFtdcExecOrderSysIDType,
3948    pub ActionFlag: TThostFtdcActionFlagType,
3949    pub ActionDate: TThostFtdcDateType,
3950    pub ActionTime: TThostFtdcTimeType,
3951    pub TraderID: TThostFtdcTraderIDType,
3952    pub InstallID: TThostFtdcInstallIDType,
3953    pub ExecOrderLocalID: TThostFtdcOrderLocalIDType,
3954    pub ActionLocalID: TThostFtdcOrderLocalIDType,
3955    pub ParticipantID: TThostFtdcParticipantIDType,
3956    pub ClientID: TThostFtdcClientIDType,
3957    pub BusinessUnit: TThostFtdcBusinessUnitType,
3958    pub OrderActionStatus: TThostFtdcOrderActionStatusType,
3959    pub UserID: TThostFtdcUserIDType,
3960    pub ActionType: TThostFtdcActionTypeType,
3961    pub StatusMsg: TThostFtdcErrorMsgType,
3962    pub reserve1: TThostFtdcOldInstrumentIDType,
3963    pub BranchID: TThostFtdcBranchIDType,
3964    pub InvestUnitID: TThostFtdcInvestUnitIDType,
3965    pub reserve2: TThostFtdcOldIPAddressType,
3966    pub MacAddress: TThostFtdcMacAddressType,
3967    pub InstrumentID: TThostFtdcInstrumentIDType,
3968    pub IPAddress: TThostFtdcIPAddressType,
3969}
3970#[repr(C)]
3971#[derive(Debug, Copy, Clone)]
3972pub struct CThostFtdcQryExecOrderField {
3973    pub BrokerID: TThostFtdcBrokerIDType,
3974    pub InvestorID: TThostFtdcInvestorIDType,
3975    pub reserve1: TThostFtdcOldInstrumentIDType,
3976    pub ExchangeID: TThostFtdcExchangeIDType,
3977    pub ExecOrderSysID: TThostFtdcExecOrderSysIDType,
3978    pub InsertTimeStart: TThostFtdcTimeType,
3979    pub InsertTimeEnd: TThostFtdcTimeType,
3980    pub InstrumentID: TThostFtdcInstrumentIDType,
3981}
3982#[repr(C)]
3983#[derive(Debug, Copy, Clone)]
3984pub struct CThostFtdcExchangeExecOrderField {
3985    pub Volume: TThostFtdcVolumeType,
3986    pub RequestID: TThostFtdcRequestIDType,
3987    pub BusinessUnit: TThostFtdcBusinessUnitType,
3988    pub OffsetFlag: TThostFtdcOffsetFlagType,
3989    pub HedgeFlag: TThostFtdcHedgeFlagType,
3990    pub ActionType: TThostFtdcActionTypeType,
3991    pub PosiDirection: TThostFtdcPosiDirectionType,
3992    pub ReservePositionFlag: TThostFtdcExecOrderPositionFlagType,
3993    pub CloseFlag: TThostFtdcExecOrderCloseFlagType,
3994    pub ExecOrderLocalID: TThostFtdcOrderLocalIDType,
3995    pub ExchangeID: TThostFtdcExchangeIDType,
3996    pub ParticipantID: TThostFtdcParticipantIDType,
3997    pub ClientID: TThostFtdcClientIDType,
3998    pub reserve1: TThostFtdcOldExchangeInstIDType,
3999    pub TraderID: TThostFtdcTraderIDType,
4000    pub InstallID: TThostFtdcInstallIDType,
4001    pub OrderSubmitStatus: TThostFtdcOrderSubmitStatusType,
4002    pub NotifySequence: TThostFtdcSequenceNoType,
4003    pub TradingDay: TThostFtdcDateType,
4004    pub SettlementID: TThostFtdcSettlementIDType,
4005    pub ExecOrderSysID: TThostFtdcExecOrderSysIDType,
4006    pub InsertDate: TThostFtdcDateType,
4007    pub InsertTime: TThostFtdcTimeType,
4008    pub CancelTime: TThostFtdcTimeType,
4009    pub ExecResult: TThostFtdcExecResultType,
4010    pub ClearingPartID: TThostFtdcParticipantIDType,
4011    pub SequenceNo: TThostFtdcSequenceNoType,
4012    pub BranchID: TThostFtdcBranchIDType,
4013    pub reserve2: TThostFtdcOldIPAddressType,
4014    pub MacAddress: TThostFtdcMacAddressType,
4015    pub ExchangeInstID: TThostFtdcExchangeInstIDType,
4016    pub IPAddress: TThostFtdcIPAddressType,
4017}
4018#[repr(C)]
4019#[derive(Debug, Copy, Clone)]
4020pub struct CThostFtdcQryExchangeExecOrderField {
4021    pub ParticipantID: TThostFtdcParticipantIDType,
4022    pub ClientID: TThostFtdcClientIDType,
4023    pub reserve1: TThostFtdcOldExchangeInstIDType,
4024    pub ExchangeID: TThostFtdcExchangeIDType,
4025    pub TraderID: TThostFtdcTraderIDType,
4026    pub ExchangeInstID: TThostFtdcExchangeInstIDType,
4027}
4028#[repr(C)]
4029#[derive(Debug, Copy, Clone)]
4030pub struct CThostFtdcQryExecOrderActionField {
4031    pub BrokerID: TThostFtdcBrokerIDType,
4032    pub InvestorID: TThostFtdcInvestorIDType,
4033    pub ExchangeID: TThostFtdcExchangeIDType,
4034}
4035#[repr(C)]
4036#[derive(Debug, Copy, Clone)]
4037pub struct CThostFtdcExchangeExecOrderActionField {
4038    pub ExchangeID: TThostFtdcExchangeIDType,
4039    pub ExecOrderSysID: TThostFtdcExecOrderSysIDType,
4040    pub ActionFlag: TThostFtdcActionFlagType,
4041    pub ActionDate: TThostFtdcDateType,
4042    pub ActionTime: TThostFtdcTimeType,
4043    pub TraderID: TThostFtdcTraderIDType,
4044    pub InstallID: TThostFtdcInstallIDType,
4045    pub ExecOrderLocalID: TThostFtdcOrderLocalIDType,
4046    pub ActionLocalID: TThostFtdcOrderLocalIDType,
4047    pub ParticipantID: TThostFtdcParticipantIDType,
4048    pub ClientID: TThostFtdcClientIDType,
4049    pub BusinessUnit: TThostFtdcBusinessUnitType,
4050    pub OrderActionStatus: TThostFtdcOrderActionStatusType,
4051    pub UserID: TThostFtdcUserIDType,
4052    pub ActionType: TThostFtdcActionTypeType,
4053    pub BranchID: TThostFtdcBranchIDType,
4054    pub reserve1: TThostFtdcOldIPAddressType,
4055    pub MacAddress: TThostFtdcMacAddressType,
4056    pub reserve2: TThostFtdcOldExchangeInstIDType,
4057    pub Volume: TThostFtdcVolumeType,
4058    pub IPAddress: TThostFtdcIPAddressType,
4059    pub ExchangeInstID: TThostFtdcExchangeInstIDType,
4060}
4061#[repr(C)]
4062#[derive(Debug, Copy, Clone)]
4063pub struct CThostFtdcQryExchangeExecOrderActionField {
4064    pub ParticipantID: TThostFtdcParticipantIDType,
4065    pub ClientID: TThostFtdcClientIDType,
4066    pub ExchangeID: TThostFtdcExchangeIDType,
4067    pub TraderID: TThostFtdcTraderIDType,
4068}
4069#[repr(C)]
4070#[derive(Debug, Copy, Clone)]
4071pub struct CThostFtdcErrExecOrderField {
4072    pub BrokerID: TThostFtdcBrokerIDType,
4073    pub InvestorID: TThostFtdcInvestorIDType,
4074    pub reserve1: TThostFtdcOldInstrumentIDType,
4075    pub ExecOrderRef: TThostFtdcOrderRefType,
4076    pub UserID: TThostFtdcUserIDType,
4077    pub Volume: TThostFtdcVolumeType,
4078    pub RequestID: TThostFtdcRequestIDType,
4079    pub BusinessUnit: TThostFtdcBusinessUnitType,
4080    pub OffsetFlag: TThostFtdcOffsetFlagType,
4081    pub HedgeFlag: TThostFtdcHedgeFlagType,
4082    pub ActionType: TThostFtdcActionTypeType,
4083    pub PosiDirection: TThostFtdcPosiDirectionType,
4084    pub ReservePositionFlag: TThostFtdcExecOrderPositionFlagType,
4085    pub CloseFlag: TThostFtdcExecOrderCloseFlagType,
4086    pub ExchangeID: TThostFtdcExchangeIDType,
4087    pub InvestUnitID: TThostFtdcInvestUnitIDType,
4088    pub AccountID: TThostFtdcAccountIDType,
4089    pub CurrencyID: TThostFtdcCurrencyIDType,
4090    pub ClientID: TThostFtdcClientIDType,
4091    pub reserve2: TThostFtdcOldIPAddressType,
4092    pub MacAddress: TThostFtdcMacAddressType,
4093    pub ErrorID: TThostFtdcErrorIDType,
4094    pub ErrorMsg: TThostFtdcErrorMsgType,
4095    pub InstrumentID: TThostFtdcInstrumentIDType,
4096    pub IPAddress: TThostFtdcIPAddressType,
4097}
4098#[repr(C)]
4099#[derive(Debug, Copy, Clone)]
4100pub struct CThostFtdcQryErrExecOrderField {
4101    pub BrokerID: TThostFtdcBrokerIDType,
4102    pub InvestorID: TThostFtdcInvestorIDType,
4103}
4104#[repr(C)]
4105#[derive(Debug, Copy, Clone)]
4106pub struct CThostFtdcErrExecOrderActionField {
4107    pub BrokerID: TThostFtdcBrokerIDType,
4108    pub InvestorID: TThostFtdcInvestorIDType,
4109    pub ExecOrderActionRef: TThostFtdcOrderActionRefType,
4110    pub ExecOrderRef: TThostFtdcOrderRefType,
4111    pub RequestID: TThostFtdcRequestIDType,
4112    pub FrontID: TThostFtdcFrontIDType,
4113    pub SessionID: TThostFtdcSessionIDType,
4114    pub ExchangeID: TThostFtdcExchangeIDType,
4115    pub ExecOrderSysID: TThostFtdcExecOrderSysIDType,
4116    pub ActionFlag: TThostFtdcActionFlagType,
4117    pub UserID: TThostFtdcUserIDType,
4118    pub reserve1: TThostFtdcOldInstrumentIDType,
4119    pub InvestUnitID: TThostFtdcInvestUnitIDType,
4120    pub reserve2: TThostFtdcOldIPAddressType,
4121    pub MacAddress: TThostFtdcMacAddressType,
4122    pub ErrorID: TThostFtdcErrorIDType,
4123    pub ErrorMsg: TThostFtdcErrorMsgType,
4124    pub InstrumentID: TThostFtdcInstrumentIDType,
4125    pub IPAddress: TThostFtdcIPAddressType,
4126}
4127#[repr(C)]
4128#[derive(Debug, Copy, Clone)]
4129pub struct CThostFtdcQryErrExecOrderActionField {
4130    pub BrokerID: TThostFtdcBrokerIDType,
4131    pub InvestorID: TThostFtdcInvestorIDType,
4132}
4133#[repr(C)]
4134#[derive(Debug, Copy, Clone)]
4135pub struct CThostFtdcOptionInstrTradingRightField {
4136    pub reserve1: TThostFtdcOldInstrumentIDType,
4137    pub InvestorRange: TThostFtdcInvestorRangeType,
4138    pub BrokerID: TThostFtdcBrokerIDType,
4139    pub InvestorID: TThostFtdcInvestorIDType,
4140    pub Direction: TThostFtdcDirectionType,
4141    pub TradingRight: TThostFtdcTradingRightType,
4142    pub InstrumentID: TThostFtdcInstrumentIDType,
4143}
4144#[repr(C)]
4145#[derive(Debug, Copy, Clone)]
4146pub struct CThostFtdcQryOptionInstrTradingRightField {
4147    pub BrokerID: TThostFtdcBrokerIDType,
4148    pub InvestorID: TThostFtdcInvestorIDType,
4149    pub reserve1: TThostFtdcOldInstrumentIDType,
4150    pub Direction: TThostFtdcDirectionType,
4151    pub InstrumentID: TThostFtdcInstrumentIDType,
4152}
4153#[repr(C)]
4154#[derive(Debug, Copy, Clone)]
4155pub struct CThostFtdcInputForQuoteField {
4156    pub BrokerID: TThostFtdcBrokerIDType,
4157    pub InvestorID: TThostFtdcInvestorIDType,
4158    pub reserve1: TThostFtdcOldInstrumentIDType,
4159    pub ForQuoteRef: TThostFtdcOrderRefType,
4160    pub UserID: TThostFtdcUserIDType,
4161    pub ExchangeID: TThostFtdcExchangeIDType,
4162    pub InvestUnitID: TThostFtdcInvestUnitIDType,
4163    pub reserve2: TThostFtdcOldIPAddressType,
4164    pub MacAddress: TThostFtdcMacAddressType,
4165    pub InstrumentID: TThostFtdcInstrumentIDType,
4166    pub IPAddress: TThostFtdcIPAddressType,
4167}
4168#[repr(C)]
4169#[derive(Debug, Copy, Clone)]
4170pub struct CThostFtdcForQuoteField {
4171    pub BrokerID: TThostFtdcBrokerIDType,
4172    pub InvestorID: TThostFtdcInvestorIDType,
4173    pub reserve1: TThostFtdcOldInstrumentIDType,
4174    pub ForQuoteRef: TThostFtdcOrderRefType,
4175    pub UserID: TThostFtdcUserIDType,
4176    pub ForQuoteLocalID: TThostFtdcOrderLocalIDType,
4177    pub ExchangeID: TThostFtdcExchangeIDType,
4178    pub ParticipantID: TThostFtdcParticipantIDType,
4179    pub ClientID: TThostFtdcClientIDType,
4180    pub reserve2: TThostFtdcOldExchangeInstIDType,
4181    pub TraderID: TThostFtdcTraderIDType,
4182    pub InstallID: TThostFtdcInstallIDType,
4183    pub InsertDate: TThostFtdcDateType,
4184    pub InsertTime: TThostFtdcTimeType,
4185    pub ForQuoteStatus: TThostFtdcForQuoteStatusType,
4186    pub FrontID: TThostFtdcFrontIDType,
4187    pub SessionID: TThostFtdcSessionIDType,
4188    pub StatusMsg: TThostFtdcErrorMsgType,
4189    pub ActiveUserID: TThostFtdcUserIDType,
4190    pub BrokerForQutoSeq: TThostFtdcSequenceNoType,
4191    pub InvestUnitID: TThostFtdcInvestUnitIDType,
4192    pub reserve3: TThostFtdcOldIPAddressType,
4193    pub MacAddress: TThostFtdcMacAddressType,
4194    pub InstrumentID: TThostFtdcInstrumentIDType,
4195    pub ExchangeInstID: TThostFtdcExchangeInstIDType,
4196    pub IPAddress: TThostFtdcIPAddressType,
4197}
4198#[repr(C)]
4199#[derive(Debug, Copy, Clone)]
4200pub struct CThostFtdcQryForQuoteField {
4201    pub BrokerID: TThostFtdcBrokerIDType,
4202    pub InvestorID: TThostFtdcInvestorIDType,
4203    pub reserve1: TThostFtdcOldInstrumentIDType,
4204    pub ExchangeID: TThostFtdcExchangeIDType,
4205    pub InsertTimeStart: TThostFtdcTimeType,
4206    pub InsertTimeEnd: TThostFtdcTimeType,
4207    pub InvestUnitID: TThostFtdcInvestUnitIDType,
4208    pub InstrumentID: TThostFtdcInstrumentIDType,
4209}
4210#[repr(C)]
4211#[derive(Debug, Copy, Clone)]
4212pub struct CThostFtdcExchangeForQuoteField {
4213    pub ForQuoteLocalID: TThostFtdcOrderLocalIDType,
4214    pub ExchangeID: TThostFtdcExchangeIDType,
4215    pub ParticipantID: TThostFtdcParticipantIDType,
4216    pub ClientID: TThostFtdcClientIDType,
4217    pub reserve1: TThostFtdcOldExchangeInstIDType,
4218    pub TraderID: TThostFtdcTraderIDType,
4219    pub InstallID: TThostFtdcInstallIDType,
4220    pub InsertDate: TThostFtdcDateType,
4221    pub InsertTime: TThostFtdcTimeType,
4222    pub ForQuoteStatus: TThostFtdcForQuoteStatusType,
4223    pub reserve2: TThostFtdcOldIPAddressType,
4224    pub MacAddress: TThostFtdcMacAddressType,
4225    pub ExchangeInstID: TThostFtdcExchangeInstIDType,
4226    pub IPAddress: TThostFtdcIPAddressType,
4227}
4228#[repr(C)]
4229#[derive(Debug, Copy, Clone)]
4230pub struct CThostFtdcQryExchangeForQuoteField {
4231    pub ParticipantID: TThostFtdcParticipantIDType,
4232    pub ClientID: TThostFtdcClientIDType,
4233    pub reserve1: TThostFtdcOldExchangeInstIDType,
4234    pub ExchangeID: TThostFtdcExchangeIDType,
4235    pub TraderID: TThostFtdcTraderIDType,
4236    pub ExchangeInstID: TThostFtdcExchangeInstIDType,
4237}
4238#[repr(C)]
4239#[derive(Debug, Copy, Clone)]
4240pub struct CThostFtdcInputQuoteField {
4241    pub BrokerID: TThostFtdcBrokerIDType,
4242    pub InvestorID: TThostFtdcInvestorIDType,
4243    pub reserve1: TThostFtdcOldInstrumentIDType,
4244    pub QuoteRef: TThostFtdcOrderRefType,
4245    pub UserID: TThostFtdcUserIDType,
4246    pub AskPrice: TThostFtdcPriceType,
4247    pub BidPrice: TThostFtdcPriceType,
4248    pub AskVolume: TThostFtdcVolumeType,
4249    pub BidVolume: TThostFtdcVolumeType,
4250    pub RequestID: TThostFtdcRequestIDType,
4251    pub BusinessUnit: TThostFtdcBusinessUnitType,
4252    pub AskOffsetFlag: TThostFtdcOffsetFlagType,
4253    pub BidOffsetFlag: TThostFtdcOffsetFlagType,
4254    pub AskHedgeFlag: TThostFtdcHedgeFlagType,
4255    pub BidHedgeFlag: TThostFtdcHedgeFlagType,
4256    pub AskOrderRef: TThostFtdcOrderRefType,
4257    pub BidOrderRef: TThostFtdcOrderRefType,
4258    pub ForQuoteSysID: TThostFtdcOrderSysIDType,
4259    pub ExchangeID: TThostFtdcExchangeIDType,
4260    pub InvestUnitID: TThostFtdcInvestUnitIDType,
4261    pub ClientID: TThostFtdcClientIDType,
4262    pub reserve2: TThostFtdcOldIPAddressType,
4263    pub MacAddress: TThostFtdcMacAddressType,
4264    pub InstrumentID: TThostFtdcInstrumentIDType,
4265    pub IPAddress: TThostFtdcIPAddressType,
4266    pub ReplaceSysID: TThostFtdcOrderSysIDType,
4267    pub TimeCondition: TThostFtdcTimeConditionType,
4268}
4269#[repr(C)]
4270#[derive(Debug, Copy, Clone)]
4271pub struct CThostFtdcInputQuoteActionField {
4272    pub BrokerID: TThostFtdcBrokerIDType,
4273    pub InvestorID: TThostFtdcInvestorIDType,
4274    pub QuoteActionRef: TThostFtdcOrderActionRefType,
4275    pub QuoteRef: TThostFtdcOrderRefType,
4276    pub RequestID: TThostFtdcRequestIDType,
4277    pub FrontID: TThostFtdcFrontIDType,
4278    pub SessionID: TThostFtdcSessionIDType,
4279    pub ExchangeID: TThostFtdcExchangeIDType,
4280    pub QuoteSysID: TThostFtdcOrderSysIDType,
4281    pub ActionFlag: TThostFtdcActionFlagType,
4282    pub UserID: TThostFtdcUserIDType,
4283    pub reserve1: TThostFtdcOldInstrumentIDType,
4284    pub InvestUnitID: TThostFtdcInvestUnitIDType,
4285    pub ClientID: TThostFtdcClientIDType,
4286    pub reserve2: TThostFtdcOldIPAddressType,
4287    pub MacAddress: TThostFtdcMacAddressType,
4288    pub InstrumentID: TThostFtdcInstrumentIDType,
4289    pub IPAddress: TThostFtdcIPAddressType,
4290}
4291#[repr(C)]
4292#[derive(Debug, Copy, Clone)]
4293pub struct CThostFtdcQuoteField {
4294    pub BrokerID: TThostFtdcBrokerIDType,
4295    pub InvestorID: TThostFtdcInvestorIDType,
4296    pub reserve1: TThostFtdcOldInstrumentIDType,
4297    pub QuoteRef: TThostFtdcOrderRefType,
4298    pub UserID: TThostFtdcUserIDType,
4299    pub AskPrice: TThostFtdcPriceType,
4300    pub BidPrice: TThostFtdcPriceType,
4301    pub AskVolume: TThostFtdcVolumeType,
4302    pub BidVolume: TThostFtdcVolumeType,
4303    pub RequestID: TThostFtdcRequestIDType,
4304    pub BusinessUnit: TThostFtdcBusinessUnitType,
4305    pub AskOffsetFlag: TThostFtdcOffsetFlagType,
4306    pub BidOffsetFlag: TThostFtdcOffsetFlagType,
4307    pub AskHedgeFlag: TThostFtdcHedgeFlagType,
4308    pub BidHedgeFlag: TThostFtdcHedgeFlagType,
4309    pub QuoteLocalID: TThostFtdcOrderLocalIDType,
4310    pub ExchangeID: TThostFtdcExchangeIDType,
4311    pub ParticipantID: TThostFtdcParticipantIDType,
4312    pub ClientID: TThostFtdcClientIDType,
4313    pub reserve2: TThostFtdcOldExchangeInstIDType,
4314    pub TraderID: TThostFtdcTraderIDType,
4315    pub InstallID: TThostFtdcInstallIDType,
4316    pub NotifySequence: TThostFtdcSequenceNoType,
4317    pub OrderSubmitStatus: TThostFtdcOrderSubmitStatusType,
4318    pub TradingDay: TThostFtdcDateType,
4319    pub SettlementID: TThostFtdcSettlementIDType,
4320    pub QuoteSysID: TThostFtdcOrderSysIDType,
4321    pub InsertDate: TThostFtdcDateType,
4322    pub InsertTime: TThostFtdcTimeType,
4323    pub CancelTime: TThostFtdcTimeType,
4324    pub QuoteStatus: TThostFtdcOrderStatusType,
4325    pub ClearingPartID: TThostFtdcParticipantIDType,
4326    pub SequenceNo: TThostFtdcSequenceNoType,
4327    pub AskOrderSysID: TThostFtdcOrderSysIDType,
4328    pub BidOrderSysID: TThostFtdcOrderSysIDType,
4329    pub FrontID: TThostFtdcFrontIDType,
4330    pub SessionID: TThostFtdcSessionIDType,
4331    pub UserProductInfo: TThostFtdcProductInfoType,
4332    pub StatusMsg: TThostFtdcErrorMsgType,
4333    pub ActiveUserID: TThostFtdcUserIDType,
4334    pub BrokerQuoteSeq: TThostFtdcSequenceNoType,
4335    pub AskOrderRef: TThostFtdcOrderRefType,
4336    pub BidOrderRef: TThostFtdcOrderRefType,
4337    pub ForQuoteSysID: TThostFtdcOrderSysIDType,
4338    pub BranchID: TThostFtdcBranchIDType,
4339    pub InvestUnitID: TThostFtdcInvestUnitIDType,
4340    pub AccountID: TThostFtdcAccountIDType,
4341    pub CurrencyID: TThostFtdcCurrencyIDType,
4342    pub reserve3: TThostFtdcOldIPAddressType,
4343    pub MacAddress: TThostFtdcMacAddressType,
4344    pub InstrumentID: TThostFtdcInstrumentIDType,
4345    pub ExchangeInstID: TThostFtdcExchangeInstIDType,
4346    pub IPAddress: TThostFtdcIPAddressType,
4347    pub ReplaceSysID: TThostFtdcOrderSysIDType,
4348    pub TimeCondition: TThostFtdcTimeConditionType,
4349}
4350#[repr(C)]
4351#[derive(Debug, Copy, Clone)]
4352pub struct CThostFtdcQuoteActionField {
4353    pub BrokerID: TThostFtdcBrokerIDType,
4354    pub InvestorID: TThostFtdcInvestorIDType,
4355    pub QuoteActionRef: TThostFtdcOrderActionRefType,
4356    pub QuoteRef: TThostFtdcOrderRefType,
4357    pub RequestID: TThostFtdcRequestIDType,
4358    pub FrontID: TThostFtdcFrontIDType,
4359    pub SessionID: TThostFtdcSessionIDType,
4360    pub ExchangeID: TThostFtdcExchangeIDType,
4361    pub QuoteSysID: TThostFtdcOrderSysIDType,
4362    pub ActionFlag: TThostFtdcActionFlagType,
4363    pub ActionDate: TThostFtdcDateType,
4364    pub ActionTime: TThostFtdcTimeType,
4365    pub TraderID: TThostFtdcTraderIDType,
4366    pub InstallID: TThostFtdcInstallIDType,
4367    pub QuoteLocalID: TThostFtdcOrderLocalIDType,
4368    pub ActionLocalID: TThostFtdcOrderLocalIDType,
4369    pub ParticipantID: TThostFtdcParticipantIDType,
4370    pub ClientID: TThostFtdcClientIDType,
4371    pub BusinessUnit: TThostFtdcBusinessUnitType,
4372    pub OrderActionStatus: TThostFtdcOrderActionStatusType,
4373    pub UserID: TThostFtdcUserIDType,
4374    pub StatusMsg: TThostFtdcErrorMsgType,
4375    pub reserve1: TThostFtdcOldInstrumentIDType,
4376    pub BranchID: TThostFtdcBranchIDType,
4377    pub InvestUnitID: TThostFtdcInvestUnitIDType,
4378    pub reserve2: TThostFtdcOldIPAddressType,
4379    pub MacAddress: TThostFtdcMacAddressType,
4380    pub InstrumentID: TThostFtdcInstrumentIDType,
4381    pub IPAddress: TThostFtdcIPAddressType,
4382}
4383#[repr(C)]
4384#[derive(Debug, Copy, Clone)]
4385pub struct CThostFtdcQryQuoteField {
4386    pub BrokerID: TThostFtdcBrokerIDType,
4387    pub InvestorID: TThostFtdcInvestorIDType,
4388    pub reserve1: TThostFtdcOldInstrumentIDType,
4389    pub ExchangeID: TThostFtdcExchangeIDType,
4390    pub QuoteSysID: TThostFtdcOrderSysIDType,
4391    pub InsertTimeStart: TThostFtdcTimeType,
4392    pub InsertTimeEnd: TThostFtdcTimeType,
4393    pub InvestUnitID: TThostFtdcInvestUnitIDType,
4394    pub InstrumentID: TThostFtdcInstrumentIDType,
4395}
4396#[repr(C)]
4397#[derive(Debug, Copy, Clone)]
4398pub struct CThostFtdcExchangeQuoteField {
4399    pub AskPrice: TThostFtdcPriceType,
4400    pub BidPrice: TThostFtdcPriceType,
4401    pub AskVolume: TThostFtdcVolumeType,
4402    pub BidVolume: TThostFtdcVolumeType,
4403    pub RequestID: TThostFtdcRequestIDType,
4404    pub BusinessUnit: TThostFtdcBusinessUnitType,
4405    pub AskOffsetFlag: TThostFtdcOffsetFlagType,
4406    pub BidOffsetFlag: TThostFtdcOffsetFlagType,
4407    pub AskHedgeFlag: TThostFtdcHedgeFlagType,
4408    pub BidHedgeFlag: TThostFtdcHedgeFlagType,
4409    pub QuoteLocalID: TThostFtdcOrderLocalIDType,
4410    pub ExchangeID: TThostFtdcExchangeIDType,
4411    pub ParticipantID: TThostFtdcParticipantIDType,
4412    pub ClientID: TThostFtdcClientIDType,
4413    pub reserve1: TThostFtdcOldExchangeInstIDType,
4414    pub TraderID: TThostFtdcTraderIDType,
4415    pub InstallID: TThostFtdcInstallIDType,
4416    pub NotifySequence: TThostFtdcSequenceNoType,
4417    pub OrderSubmitStatus: TThostFtdcOrderSubmitStatusType,
4418    pub TradingDay: TThostFtdcDateType,
4419    pub SettlementID: TThostFtdcSettlementIDType,
4420    pub QuoteSysID: TThostFtdcOrderSysIDType,
4421    pub InsertDate: TThostFtdcDateType,
4422    pub InsertTime: TThostFtdcTimeType,
4423    pub CancelTime: TThostFtdcTimeType,
4424    pub QuoteStatus: TThostFtdcOrderStatusType,
4425    pub ClearingPartID: TThostFtdcParticipantIDType,
4426    pub SequenceNo: TThostFtdcSequenceNoType,
4427    pub AskOrderSysID: TThostFtdcOrderSysIDType,
4428    pub BidOrderSysID: TThostFtdcOrderSysIDType,
4429    pub ForQuoteSysID: TThostFtdcOrderSysIDType,
4430    pub BranchID: TThostFtdcBranchIDType,
4431    pub reserve2: TThostFtdcOldIPAddressType,
4432    pub MacAddress: TThostFtdcMacAddressType,
4433    pub ExchangeInstID: TThostFtdcExchangeInstIDType,
4434    pub IPAddress: TThostFtdcIPAddressType,
4435    pub TimeCondition: TThostFtdcTimeConditionType,
4436}
4437#[repr(C)]
4438#[derive(Debug, Copy, Clone)]
4439pub struct CThostFtdcQryExchangeQuoteField {
4440    pub ParticipantID: TThostFtdcParticipantIDType,
4441    pub ClientID: TThostFtdcClientIDType,
4442    pub reserve1: TThostFtdcOldExchangeInstIDType,
4443    pub ExchangeID: TThostFtdcExchangeIDType,
4444    pub TraderID: TThostFtdcTraderIDType,
4445    pub ExchangeInstID: TThostFtdcExchangeInstIDType,
4446}
4447#[repr(C)]
4448#[derive(Debug, Copy, Clone)]
4449pub struct CThostFtdcQryQuoteActionField {
4450    pub BrokerID: TThostFtdcBrokerIDType,
4451    pub InvestorID: TThostFtdcInvestorIDType,
4452    pub ExchangeID: TThostFtdcExchangeIDType,
4453}
4454#[repr(C)]
4455#[derive(Debug, Copy, Clone)]
4456pub struct CThostFtdcExchangeQuoteActionField {
4457    pub ExchangeID: TThostFtdcExchangeIDType,
4458    pub QuoteSysID: TThostFtdcOrderSysIDType,
4459    pub ActionFlag: TThostFtdcActionFlagType,
4460    pub ActionDate: TThostFtdcDateType,
4461    pub ActionTime: TThostFtdcTimeType,
4462    pub TraderID: TThostFtdcTraderIDType,
4463    pub InstallID: TThostFtdcInstallIDType,
4464    pub QuoteLocalID: TThostFtdcOrderLocalIDType,
4465    pub ActionLocalID: TThostFtdcOrderLocalIDType,
4466    pub ParticipantID: TThostFtdcParticipantIDType,
4467    pub ClientID: TThostFtdcClientIDType,
4468    pub BusinessUnit: TThostFtdcBusinessUnitType,
4469    pub OrderActionStatus: TThostFtdcOrderActionStatusType,
4470    pub UserID: TThostFtdcUserIDType,
4471    pub reserve1: TThostFtdcOldIPAddressType,
4472    pub MacAddress: TThostFtdcMacAddressType,
4473    pub IPAddress: TThostFtdcIPAddressType,
4474}
4475#[repr(C)]
4476#[derive(Debug, Copy, Clone)]
4477pub struct CThostFtdcQryExchangeQuoteActionField {
4478    pub ParticipantID: TThostFtdcParticipantIDType,
4479    pub ClientID: TThostFtdcClientIDType,
4480    pub ExchangeID: TThostFtdcExchangeIDType,
4481    pub TraderID: TThostFtdcTraderIDType,
4482}
4483#[repr(C)]
4484#[derive(Debug, Copy, Clone)]
4485pub struct CThostFtdcOptionInstrDeltaField {
4486    pub reserve1: TThostFtdcOldInstrumentIDType,
4487    pub InvestorRange: TThostFtdcInvestorRangeType,
4488    pub BrokerID: TThostFtdcBrokerIDType,
4489    pub InvestorID: TThostFtdcInvestorIDType,
4490    pub Delta: TThostFtdcRatioType,
4491    pub InstrumentID: TThostFtdcInstrumentIDType,
4492}
4493#[repr(C)]
4494#[derive(Debug, Copy, Clone)]
4495pub struct CThostFtdcForQuoteRspField {
4496    pub TradingDay: TThostFtdcDateType,
4497    pub reserve1: TThostFtdcOldInstrumentIDType,
4498    pub ForQuoteSysID: TThostFtdcOrderSysIDType,
4499    pub ForQuoteTime: TThostFtdcTimeType,
4500    pub ActionDay: TThostFtdcDateType,
4501    pub ExchangeID: TThostFtdcExchangeIDType,
4502    pub InstrumentID: TThostFtdcInstrumentIDType,
4503}
4504#[repr(C)]
4505#[derive(Debug, Copy, Clone)]
4506pub struct CThostFtdcStrikeOffsetField {
4507    pub reserve1: TThostFtdcOldInstrumentIDType,
4508    pub InvestorRange: TThostFtdcInvestorRangeType,
4509    pub BrokerID: TThostFtdcBrokerIDType,
4510    pub InvestorID: TThostFtdcInvestorIDType,
4511    pub Offset: TThostFtdcMoneyType,
4512    pub OffsetType: TThostFtdcStrikeOffsetTypeType,
4513    pub InstrumentID: TThostFtdcInstrumentIDType,
4514}
4515#[repr(C)]
4516#[derive(Debug, Copy, Clone)]
4517pub struct CThostFtdcQryStrikeOffsetField {
4518    pub BrokerID: TThostFtdcBrokerIDType,
4519    pub InvestorID: TThostFtdcInvestorIDType,
4520    pub reserve1: TThostFtdcOldInstrumentIDType,
4521    pub InstrumentID: TThostFtdcInstrumentIDType,
4522}
4523#[repr(C)]
4524#[derive(Debug, Copy, Clone)]
4525pub struct CThostFtdcInputBatchOrderActionField {
4526    pub BrokerID: TThostFtdcBrokerIDType,
4527    pub InvestorID: TThostFtdcInvestorIDType,
4528    pub OrderActionRef: TThostFtdcOrderActionRefType,
4529    pub RequestID: TThostFtdcRequestIDType,
4530    pub FrontID: TThostFtdcFrontIDType,
4531    pub SessionID: TThostFtdcSessionIDType,
4532    pub ExchangeID: TThostFtdcExchangeIDType,
4533    pub UserID: TThostFtdcUserIDType,
4534    pub InvestUnitID: TThostFtdcInvestUnitIDType,
4535    pub reserve1: TThostFtdcOldIPAddressType,
4536    pub MacAddress: TThostFtdcMacAddressType,
4537    pub IPAddress: TThostFtdcIPAddressType,
4538}
4539#[repr(C)]
4540#[derive(Debug, Copy, Clone)]
4541pub struct CThostFtdcBatchOrderActionField {
4542    pub BrokerID: TThostFtdcBrokerIDType,
4543    pub InvestorID: TThostFtdcInvestorIDType,
4544    pub OrderActionRef: TThostFtdcOrderActionRefType,
4545    pub RequestID: TThostFtdcRequestIDType,
4546    pub FrontID: TThostFtdcFrontIDType,
4547    pub SessionID: TThostFtdcSessionIDType,
4548    pub ExchangeID: TThostFtdcExchangeIDType,
4549    pub ActionDate: TThostFtdcDateType,
4550    pub ActionTime: TThostFtdcTimeType,
4551    pub TraderID: TThostFtdcTraderIDType,
4552    pub InstallID: TThostFtdcInstallIDType,
4553    pub ActionLocalID: TThostFtdcOrderLocalIDType,
4554    pub ParticipantID: TThostFtdcParticipantIDType,
4555    pub ClientID: TThostFtdcClientIDType,
4556    pub BusinessUnit: TThostFtdcBusinessUnitType,
4557    pub OrderActionStatus: TThostFtdcOrderActionStatusType,
4558    pub UserID: TThostFtdcUserIDType,
4559    pub StatusMsg: TThostFtdcErrorMsgType,
4560    pub InvestUnitID: TThostFtdcInvestUnitIDType,
4561    pub reserve1: TThostFtdcOldIPAddressType,
4562    pub MacAddress: TThostFtdcMacAddressType,
4563    pub IPAddress: TThostFtdcIPAddressType,
4564}
4565#[repr(C)]
4566#[derive(Debug, Copy, Clone)]
4567pub struct CThostFtdcExchangeBatchOrderActionField {
4568    pub ExchangeID: TThostFtdcExchangeIDType,
4569    pub ActionDate: TThostFtdcDateType,
4570    pub ActionTime: TThostFtdcTimeType,
4571    pub TraderID: TThostFtdcTraderIDType,
4572    pub InstallID: TThostFtdcInstallIDType,
4573    pub ActionLocalID: TThostFtdcOrderLocalIDType,
4574    pub ParticipantID: TThostFtdcParticipantIDType,
4575    pub ClientID: TThostFtdcClientIDType,
4576    pub BusinessUnit: TThostFtdcBusinessUnitType,
4577    pub OrderActionStatus: TThostFtdcOrderActionStatusType,
4578    pub UserID: TThostFtdcUserIDType,
4579    pub reserve1: TThostFtdcOldIPAddressType,
4580    pub MacAddress: TThostFtdcMacAddressType,
4581    pub IPAddress: TThostFtdcIPAddressType,
4582}
4583#[repr(C)]
4584#[derive(Debug, Copy, Clone)]
4585pub struct CThostFtdcQryBatchOrderActionField {
4586    pub BrokerID: TThostFtdcBrokerIDType,
4587    pub InvestorID: TThostFtdcInvestorIDType,
4588    pub ExchangeID: TThostFtdcExchangeIDType,
4589}
4590#[repr(C)]
4591#[derive(Debug, Copy, Clone)]
4592pub struct CThostFtdcCombInstrumentGuardField {
4593    pub BrokerID: TThostFtdcBrokerIDType,
4594    pub reserve1: TThostFtdcOldInstrumentIDType,
4595    pub GuarantRatio: TThostFtdcRatioType,
4596    pub ExchangeID: TThostFtdcExchangeIDType,
4597    pub InstrumentID: TThostFtdcInstrumentIDType,
4598}
4599#[repr(C)]
4600#[derive(Debug, Copy, Clone)]
4601pub struct CThostFtdcQryCombInstrumentGuardField {
4602    pub BrokerID: TThostFtdcBrokerIDType,
4603    pub reserve1: TThostFtdcOldInstrumentIDType,
4604    pub ExchangeID: TThostFtdcExchangeIDType,
4605    pub InstrumentID: TThostFtdcInstrumentIDType,
4606}
4607#[repr(C)]
4608#[derive(Debug, Copy, Clone)]
4609pub struct CThostFtdcInputCombActionField {
4610    pub BrokerID: TThostFtdcBrokerIDType,
4611    pub InvestorID: TThostFtdcInvestorIDType,
4612    pub reserve1: TThostFtdcOldInstrumentIDType,
4613    pub CombActionRef: TThostFtdcOrderRefType,
4614    pub UserID: TThostFtdcUserIDType,
4615    pub Direction: TThostFtdcDirectionType,
4616    pub Volume: TThostFtdcVolumeType,
4617    pub CombDirection: TThostFtdcCombDirectionType,
4618    pub HedgeFlag: TThostFtdcHedgeFlagType,
4619    pub ExchangeID: TThostFtdcExchangeIDType,
4620    pub reserve2: TThostFtdcOldIPAddressType,
4621    pub MacAddress: TThostFtdcMacAddressType,
4622    pub InvestUnitID: TThostFtdcInvestUnitIDType,
4623    pub FrontID: TThostFtdcFrontIDType,
4624    pub SessionID: TThostFtdcSessionIDType,
4625    pub InstrumentID: TThostFtdcInstrumentIDType,
4626    pub IPAddress: TThostFtdcIPAddressType,
4627}
4628#[repr(C)]
4629#[derive(Debug, Copy, Clone)]
4630pub struct CThostFtdcCombActionField {
4631    pub BrokerID: TThostFtdcBrokerIDType,
4632    pub InvestorID: TThostFtdcInvestorIDType,
4633    pub reserve1: TThostFtdcOldInstrumentIDType,
4634    pub CombActionRef: TThostFtdcOrderRefType,
4635    pub UserID: TThostFtdcUserIDType,
4636    pub Direction: TThostFtdcDirectionType,
4637    pub Volume: TThostFtdcVolumeType,
4638    pub CombDirection: TThostFtdcCombDirectionType,
4639    pub HedgeFlag: TThostFtdcHedgeFlagType,
4640    pub ActionLocalID: TThostFtdcOrderLocalIDType,
4641    pub ExchangeID: TThostFtdcExchangeIDType,
4642    pub ParticipantID: TThostFtdcParticipantIDType,
4643    pub ClientID: TThostFtdcClientIDType,
4644    pub reserve2: TThostFtdcOldExchangeInstIDType,
4645    pub TraderID: TThostFtdcTraderIDType,
4646    pub InstallID: TThostFtdcInstallIDType,
4647    pub ActionStatus: TThostFtdcOrderActionStatusType,
4648    pub NotifySequence: TThostFtdcSequenceNoType,
4649    pub TradingDay: TThostFtdcDateType,
4650    pub SettlementID: TThostFtdcSettlementIDType,
4651    pub SequenceNo: TThostFtdcSequenceNoType,
4652    pub FrontID: TThostFtdcFrontIDType,
4653    pub SessionID: TThostFtdcSessionIDType,
4654    pub UserProductInfo: TThostFtdcProductInfoType,
4655    pub StatusMsg: TThostFtdcErrorMsgType,
4656    pub reserve3: TThostFtdcOldIPAddressType,
4657    pub MacAddress: TThostFtdcMacAddressType,
4658    pub ComTradeID: TThostFtdcTradeIDType,
4659    pub BranchID: TThostFtdcBranchIDType,
4660    pub InvestUnitID: TThostFtdcInvestUnitIDType,
4661    pub InstrumentID: TThostFtdcInstrumentIDType,
4662    pub ExchangeInstID: TThostFtdcExchangeInstIDType,
4663    pub IPAddress: TThostFtdcIPAddressType,
4664}
4665#[repr(C)]
4666#[derive(Debug, Copy, Clone)]
4667pub struct CThostFtdcQryCombActionField {
4668    pub BrokerID: TThostFtdcBrokerIDType,
4669    pub InvestorID: TThostFtdcInvestorIDType,
4670    pub reserve1: TThostFtdcOldInstrumentIDType,
4671    pub ExchangeID: TThostFtdcExchangeIDType,
4672    pub InvestUnitID: TThostFtdcInvestUnitIDType,
4673    pub InstrumentID: TThostFtdcInstrumentIDType,
4674}
4675#[repr(C)]
4676#[derive(Debug, Copy, Clone)]
4677pub struct CThostFtdcExchangeCombActionField {
4678    pub Direction: TThostFtdcDirectionType,
4679    pub Volume: TThostFtdcVolumeType,
4680    pub CombDirection: TThostFtdcCombDirectionType,
4681    pub HedgeFlag: TThostFtdcHedgeFlagType,
4682    pub ActionLocalID: TThostFtdcOrderLocalIDType,
4683    pub ExchangeID: TThostFtdcExchangeIDType,
4684    pub ParticipantID: TThostFtdcParticipantIDType,
4685    pub ClientID: TThostFtdcClientIDType,
4686    pub reserve1: TThostFtdcOldExchangeInstIDType,
4687    pub TraderID: TThostFtdcTraderIDType,
4688    pub InstallID: TThostFtdcInstallIDType,
4689    pub ActionStatus: TThostFtdcOrderActionStatusType,
4690    pub NotifySequence: TThostFtdcSequenceNoType,
4691    pub TradingDay: TThostFtdcDateType,
4692    pub SettlementID: TThostFtdcSettlementIDType,
4693    pub SequenceNo: TThostFtdcSequenceNoType,
4694    pub reserve2: TThostFtdcOldIPAddressType,
4695    pub MacAddress: TThostFtdcMacAddressType,
4696    pub ComTradeID: TThostFtdcTradeIDType,
4697    pub BranchID: TThostFtdcBranchIDType,
4698    pub ExchangeInstID: TThostFtdcExchangeInstIDType,
4699    pub IPAddress: TThostFtdcIPAddressType,
4700}
4701#[repr(C)]
4702#[derive(Debug, Copy, Clone)]
4703pub struct CThostFtdcQryExchangeCombActionField {
4704    pub ParticipantID: TThostFtdcParticipantIDType,
4705    pub ClientID: TThostFtdcClientIDType,
4706    pub reserve1: TThostFtdcOldExchangeInstIDType,
4707    pub ExchangeID: TThostFtdcExchangeIDType,
4708    pub TraderID: TThostFtdcTraderIDType,
4709    pub ExchangeInstID: TThostFtdcExchangeInstIDType,
4710}
4711#[repr(C)]
4712#[derive(Debug, Copy, Clone)]
4713pub struct CThostFtdcProductExchRateField {
4714    pub reserve1: TThostFtdcOldInstrumentIDType,
4715    pub QuoteCurrencyID: TThostFtdcCurrencyIDType,
4716    pub ExchangeRate: TThostFtdcExchangeRateType,
4717    pub ExchangeID: TThostFtdcExchangeIDType,
4718    pub ProductID: TThostFtdcInstrumentIDType,
4719}
4720#[repr(C)]
4721#[derive(Debug, Copy, Clone)]
4722pub struct CThostFtdcQryProductExchRateField {
4723    pub reserve1: TThostFtdcOldInstrumentIDType,
4724    pub ExchangeID: TThostFtdcExchangeIDType,
4725    pub ProductID: TThostFtdcInstrumentIDType,
4726}
4727#[repr(C)]
4728#[derive(Debug, Copy, Clone)]
4729pub struct CThostFtdcQryForQuoteParamField {
4730    pub BrokerID: TThostFtdcBrokerIDType,
4731    pub reserve1: TThostFtdcOldInstrumentIDType,
4732    pub ExchangeID: TThostFtdcExchangeIDType,
4733    pub InstrumentID: TThostFtdcInstrumentIDType,
4734}
4735#[repr(C)]
4736#[derive(Debug, Copy, Clone)]
4737pub struct CThostFtdcForQuoteParamField {
4738    pub BrokerID: TThostFtdcBrokerIDType,
4739    pub reserve1: TThostFtdcOldInstrumentIDType,
4740    pub ExchangeID: TThostFtdcExchangeIDType,
4741    pub LastPrice: TThostFtdcPriceType,
4742    pub PriceInterval: TThostFtdcPriceType,
4743    pub InstrumentID: TThostFtdcInstrumentIDType,
4744}
4745#[repr(C)]
4746#[derive(Debug, Copy, Clone)]
4747pub struct CThostFtdcMMOptionInstrCommRateField {
4748    pub reserve1: TThostFtdcOldInstrumentIDType,
4749    pub InvestorRange: TThostFtdcInvestorRangeType,
4750    pub BrokerID: TThostFtdcBrokerIDType,
4751    pub InvestorID: TThostFtdcInvestorIDType,
4752    pub OpenRatioByMoney: TThostFtdcRatioType,
4753    pub OpenRatioByVolume: TThostFtdcRatioType,
4754    pub CloseRatioByMoney: TThostFtdcRatioType,
4755    pub CloseRatioByVolume: TThostFtdcRatioType,
4756    pub CloseTodayRatioByMoney: TThostFtdcRatioType,
4757    pub CloseTodayRatioByVolume: TThostFtdcRatioType,
4758    pub StrikeRatioByMoney: TThostFtdcRatioType,
4759    pub StrikeRatioByVolume: TThostFtdcRatioType,
4760    pub InstrumentID: TThostFtdcInstrumentIDType,
4761}
4762#[repr(C)]
4763#[derive(Debug, Copy, Clone)]
4764pub struct CThostFtdcQryMMOptionInstrCommRateField {
4765    pub BrokerID: TThostFtdcBrokerIDType,
4766    pub InvestorID: TThostFtdcInvestorIDType,
4767    pub reserve1: TThostFtdcOldInstrumentIDType,
4768    pub InstrumentID: TThostFtdcInstrumentIDType,
4769}
4770#[repr(C)]
4771#[derive(Debug, Copy, Clone)]
4772pub struct CThostFtdcMMInstrumentCommissionRateField {
4773    pub reserve1: TThostFtdcOldInstrumentIDType,
4774    pub InvestorRange: TThostFtdcInvestorRangeType,
4775    pub BrokerID: TThostFtdcBrokerIDType,
4776    pub InvestorID: TThostFtdcInvestorIDType,
4777    pub OpenRatioByMoney: TThostFtdcRatioType,
4778    pub OpenRatioByVolume: TThostFtdcRatioType,
4779    pub CloseRatioByMoney: TThostFtdcRatioType,
4780    pub CloseRatioByVolume: TThostFtdcRatioType,
4781    pub CloseTodayRatioByMoney: TThostFtdcRatioType,
4782    pub CloseTodayRatioByVolume: TThostFtdcRatioType,
4783    pub InstrumentID: TThostFtdcInstrumentIDType,
4784}
4785#[repr(C)]
4786#[derive(Debug, Copy, Clone)]
4787pub struct CThostFtdcQryMMInstrumentCommissionRateField {
4788    pub BrokerID: TThostFtdcBrokerIDType,
4789    pub InvestorID: TThostFtdcInvestorIDType,
4790    pub reserve1: TThostFtdcOldInstrumentIDType,
4791    pub InstrumentID: TThostFtdcInstrumentIDType,
4792}
4793#[repr(C)]
4794#[derive(Debug, Copy, Clone)]
4795pub struct CThostFtdcInstrumentOrderCommRateField {
4796    pub reserve1: TThostFtdcOldInstrumentIDType,
4797    pub InvestorRange: TThostFtdcInvestorRangeType,
4798    pub BrokerID: TThostFtdcBrokerIDType,
4799    pub InvestorID: TThostFtdcInvestorIDType,
4800    pub HedgeFlag: TThostFtdcHedgeFlagType,
4801    pub OrderCommByVolume: TThostFtdcRatioType,
4802    pub OrderActionCommByVolume: TThostFtdcRatioType,
4803    pub ExchangeID: TThostFtdcExchangeIDType,
4804    pub InvestUnitID: TThostFtdcInvestUnitIDType,
4805    pub InstrumentID: TThostFtdcInstrumentIDType,
4806    pub OrderCommByTrade: TThostFtdcRatioType,
4807    pub OrderActionCommByTrade: TThostFtdcRatioType,
4808}
4809#[repr(C)]
4810#[derive(Debug, Copy, Clone)]
4811pub struct CThostFtdcQryInstrumentOrderCommRateField {
4812    pub BrokerID: TThostFtdcBrokerIDType,
4813    pub InvestorID: TThostFtdcInvestorIDType,
4814    pub reserve1: TThostFtdcOldInstrumentIDType,
4815    pub InstrumentID: TThostFtdcInstrumentIDType,
4816}
4817#[repr(C)]
4818#[derive(Debug, Copy, Clone)]
4819pub struct CThostFtdcTradeParamField {
4820    pub BrokerID: TThostFtdcBrokerIDType,
4821    pub TradeParamID: TThostFtdcTradeParamIDType,
4822    pub TradeParamValue: TThostFtdcSettlementParamValueType,
4823    pub Memo: TThostFtdcMemoType,
4824}
4825#[repr(C)]
4826#[derive(Debug, Copy, Clone)]
4827pub struct CThostFtdcInstrumentMarginRateULField {
4828    pub reserve1: TThostFtdcOldInstrumentIDType,
4829    pub InvestorRange: TThostFtdcInvestorRangeType,
4830    pub BrokerID: TThostFtdcBrokerIDType,
4831    pub InvestorID: TThostFtdcInvestorIDType,
4832    pub HedgeFlag: TThostFtdcHedgeFlagType,
4833    pub LongMarginRatioByMoney: TThostFtdcRatioType,
4834    pub LongMarginRatioByVolume: TThostFtdcMoneyType,
4835    pub ShortMarginRatioByMoney: TThostFtdcRatioType,
4836    pub ShortMarginRatioByVolume: TThostFtdcMoneyType,
4837    pub InstrumentID: TThostFtdcInstrumentIDType,
4838}
4839#[repr(C)]
4840#[derive(Debug, Copy, Clone)]
4841pub struct CThostFtdcFutureLimitPosiParamField {
4842    pub InvestorRange: TThostFtdcInvestorRangeType,
4843    pub BrokerID: TThostFtdcBrokerIDType,
4844    pub InvestorID: TThostFtdcInvestorIDType,
4845    pub reserve1: TThostFtdcOldInstrumentIDType,
4846    pub SpecOpenVolume: TThostFtdcVolumeType,
4847    pub ArbiOpenVolume: TThostFtdcVolumeType,
4848    pub OpenVolume: TThostFtdcVolumeType,
4849    pub ProductID: TThostFtdcInstrumentIDType,
4850}
4851#[repr(C)]
4852#[derive(Debug, Copy, Clone)]
4853pub struct CThostFtdcLoginForbiddenIPField {
4854    pub reserve1: TThostFtdcOldIPAddressType,
4855    pub IPAddress: TThostFtdcIPAddressType,
4856}
4857#[repr(C)]
4858#[derive(Debug, Copy, Clone)]
4859pub struct CThostFtdcIPListField {
4860    pub reserve1: TThostFtdcOldIPAddressType,
4861    pub IsWhite: TThostFtdcBoolType,
4862    pub IPAddress: TThostFtdcIPAddressType,
4863}
4864#[repr(C)]
4865#[derive(Debug, Copy, Clone)]
4866pub struct CThostFtdcInputOptionSelfCloseField {
4867    pub BrokerID: TThostFtdcBrokerIDType,
4868    pub InvestorID: TThostFtdcInvestorIDType,
4869    pub reserve1: TThostFtdcOldInstrumentIDType,
4870    pub OptionSelfCloseRef: TThostFtdcOrderRefType,
4871    pub UserID: TThostFtdcUserIDType,
4872    pub Volume: TThostFtdcVolumeType,
4873    pub RequestID: TThostFtdcRequestIDType,
4874    pub BusinessUnit: TThostFtdcBusinessUnitType,
4875    pub HedgeFlag: TThostFtdcHedgeFlagType,
4876    pub OptSelfCloseFlag: TThostFtdcOptSelfCloseFlagType,
4877    pub ExchangeID: TThostFtdcExchangeIDType,
4878    pub InvestUnitID: TThostFtdcInvestUnitIDType,
4879    pub AccountID: TThostFtdcAccountIDType,
4880    pub CurrencyID: TThostFtdcCurrencyIDType,
4881    pub ClientID: TThostFtdcClientIDType,
4882    pub reserve2: TThostFtdcOldIPAddressType,
4883    pub MacAddress: TThostFtdcMacAddressType,
4884    pub InstrumentID: TThostFtdcInstrumentIDType,
4885    pub IPAddress: TThostFtdcIPAddressType,
4886}
4887#[repr(C)]
4888#[derive(Debug, Copy, Clone)]
4889pub struct CThostFtdcInputOptionSelfCloseActionField {
4890    pub BrokerID: TThostFtdcBrokerIDType,
4891    pub InvestorID: TThostFtdcInvestorIDType,
4892    pub OptionSelfCloseActionRef: TThostFtdcOrderActionRefType,
4893    pub OptionSelfCloseRef: TThostFtdcOrderRefType,
4894    pub RequestID: TThostFtdcRequestIDType,
4895    pub FrontID: TThostFtdcFrontIDType,
4896    pub SessionID: TThostFtdcSessionIDType,
4897    pub ExchangeID: TThostFtdcExchangeIDType,
4898    pub OptionSelfCloseSysID: TThostFtdcOrderSysIDType,
4899    pub ActionFlag: TThostFtdcActionFlagType,
4900    pub UserID: TThostFtdcUserIDType,
4901    pub reserve1: TThostFtdcOldInstrumentIDType,
4902    pub InvestUnitID: TThostFtdcInvestUnitIDType,
4903    pub reserve2: TThostFtdcOldIPAddressType,
4904    pub MacAddress: TThostFtdcMacAddressType,
4905    pub InstrumentID: TThostFtdcInstrumentIDType,
4906    pub IPAddress: TThostFtdcIPAddressType,
4907}
4908#[repr(C)]
4909#[derive(Debug, Copy, Clone)]
4910pub struct CThostFtdcOptionSelfCloseField {
4911    pub BrokerID: TThostFtdcBrokerIDType,
4912    pub InvestorID: TThostFtdcInvestorIDType,
4913    pub reserve1: TThostFtdcOldInstrumentIDType,
4914    pub OptionSelfCloseRef: TThostFtdcOrderRefType,
4915    pub UserID: TThostFtdcUserIDType,
4916    pub Volume: TThostFtdcVolumeType,
4917    pub RequestID: TThostFtdcRequestIDType,
4918    pub BusinessUnit: TThostFtdcBusinessUnitType,
4919    pub HedgeFlag: TThostFtdcHedgeFlagType,
4920    pub OptSelfCloseFlag: TThostFtdcOptSelfCloseFlagType,
4921    pub OptionSelfCloseLocalID: TThostFtdcOrderLocalIDType,
4922    pub ExchangeID: TThostFtdcExchangeIDType,
4923    pub ParticipantID: TThostFtdcParticipantIDType,
4924    pub ClientID: TThostFtdcClientIDType,
4925    pub reserve2: TThostFtdcOldExchangeInstIDType,
4926    pub TraderID: TThostFtdcTraderIDType,
4927    pub InstallID: TThostFtdcInstallIDType,
4928    pub OrderSubmitStatus: TThostFtdcOrderSubmitStatusType,
4929    pub NotifySequence: TThostFtdcSequenceNoType,
4930    pub TradingDay: TThostFtdcDateType,
4931    pub SettlementID: TThostFtdcSettlementIDType,
4932    pub OptionSelfCloseSysID: TThostFtdcOrderSysIDType,
4933    pub InsertDate: TThostFtdcDateType,
4934    pub InsertTime: TThostFtdcTimeType,
4935    pub CancelTime: TThostFtdcTimeType,
4936    pub ExecResult: TThostFtdcExecResultType,
4937    pub ClearingPartID: TThostFtdcParticipantIDType,
4938    pub SequenceNo: TThostFtdcSequenceNoType,
4939    pub FrontID: TThostFtdcFrontIDType,
4940    pub SessionID: TThostFtdcSessionIDType,
4941    pub UserProductInfo: TThostFtdcProductInfoType,
4942    pub StatusMsg: TThostFtdcErrorMsgType,
4943    pub ActiveUserID: TThostFtdcUserIDType,
4944    pub BrokerOptionSelfCloseSeq: TThostFtdcSequenceNoType,
4945    pub BranchID: TThostFtdcBranchIDType,
4946    pub InvestUnitID: TThostFtdcInvestUnitIDType,
4947    pub AccountID: TThostFtdcAccountIDType,
4948    pub CurrencyID: TThostFtdcCurrencyIDType,
4949    pub reserve3: TThostFtdcOldIPAddressType,
4950    pub MacAddress: TThostFtdcMacAddressType,
4951    pub InstrumentID: TThostFtdcInstrumentIDType,
4952    pub ExchangeInstID: TThostFtdcExchangeInstIDType,
4953    pub IPAddress: TThostFtdcIPAddressType,
4954}
4955#[repr(C)]
4956#[derive(Debug, Copy, Clone)]
4957pub struct CThostFtdcOptionSelfCloseActionField {
4958    pub BrokerID: TThostFtdcBrokerIDType,
4959    pub InvestorID: TThostFtdcInvestorIDType,
4960    pub OptionSelfCloseActionRef: TThostFtdcOrderActionRefType,
4961    pub OptionSelfCloseRef: TThostFtdcOrderRefType,
4962    pub RequestID: TThostFtdcRequestIDType,
4963    pub FrontID: TThostFtdcFrontIDType,
4964    pub SessionID: TThostFtdcSessionIDType,
4965    pub ExchangeID: TThostFtdcExchangeIDType,
4966    pub OptionSelfCloseSysID: TThostFtdcOrderSysIDType,
4967    pub ActionFlag: TThostFtdcActionFlagType,
4968    pub ActionDate: TThostFtdcDateType,
4969    pub ActionTime: TThostFtdcTimeType,
4970    pub TraderID: TThostFtdcTraderIDType,
4971    pub InstallID: TThostFtdcInstallIDType,
4972    pub OptionSelfCloseLocalID: TThostFtdcOrderLocalIDType,
4973    pub ActionLocalID: TThostFtdcOrderLocalIDType,
4974    pub ParticipantID: TThostFtdcParticipantIDType,
4975    pub ClientID: TThostFtdcClientIDType,
4976    pub BusinessUnit: TThostFtdcBusinessUnitType,
4977    pub OrderActionStatus: TThostFtdcOrderActionStatusType,
4978    pub UserID: TThostFtdcUserIDType,
4979    pub StatusMsg: TThostFtdcErrorMsgType,
4980    pub reserve1: TThostFtdcOldInstrumentIDType,
4981    pub BranchID: TThostFtdcBranchIDType,
4982    pub InvestUnitID: TThostFtdcInvestUnitIDType,
4983    pub reserve2: TThostFtdcOldIPAddressType,
4984    pub MacAddress: TThostFtdcMacAddressType,
4985    pub InstrumentID: TThostFtdcInstrumentIDType,
4986    pub IPAddress: TThostFtdcIPAddressType,
4987}
4988#[repr(C)]
4989#[derive(Debug, Copy, Clone)]
4990pub struct CThostFtdcQryOptionSelfCloseField {
4991    pub BrokerID: TThostFtdcBrokerIDType,
4992    pub InvestorID: TThostFtdcInvestorIDType,
4993    pub reserve1: TThostFtdcOldInstrumentIDType,
4994    pub ExchangeID: TThostFtdcExchangeIDType,
4995    pub OptionSelfCloseSysID: TThostFtdcOrderSysIDType,
4996    pub InsertTimeStart: TThostFtdcTimeType,
4997    pub InsertTimeEnd: TThostFtdcTimeType,
4998    pub InstrumentID: TThostFtdcInstrumentIDType,
4999}
5000#[repr(C)]
5001#[derive(Debug, Copy, Clone)]
5002pub struct CThostFtdcExchangeOptionSelfCloseField {
5003    pub Volume: TThostFtdcVolumeType,
5004    pub RequestID: TThostFtdcRequestIDType,
5005    pub BusinessUnit: TThostFtdcBusinessUnitType,
5006    pub HedgeFlag: TThostFtdcHedgeFlagType,
5007    pub OptSelfCloseFlag: TThostFtdcOptSelfCloseFlagType,
5008    pub OptionSelfCloseLocalID: TThostFtdcOrderLocalIDType,
5009    pub ExchangeID: TThostFtdcExchangeIDType,
5010    pub ParticipantID: TThostFtdcParticipantIDType,
5011    pub ClientID: TThostFtdcClientIDType,
5012    pub reserve1: TThostFtdcOldExchangeInstIDType,
5013    pub TraderID: TThostFtdcTraderIDType,
5014    pub InstallID: TThostFtdcInstallIDType,
5015    pub OrderSubmitStatus: TThostFtdcOrderSubmitStatusType,
5016    pub NotifySequence: TThostFtdcSequenceNoType,
5017    pub TradingDay: TThostFtdcDateType,
5018    pub SettlementID: TThostFtdcSettlementIDType,
5019    pub OptionSelfCloseSysID: TThostFtdcOrderSysIDType,
5020    pub InsertDate: TThostFtdcDateType,
5021    pub InsertTime: TThostFtdcTimeType,
5022    pub CancelTime: TThostFtdcTimeType,
5023    pub ExecResult: TThostFtdcExecResultType,
5024    pub ClearingPartID: TThostFtdcParticipantIDType,
5025    pub SequenceNo: TThostFtdcSequenceNoType,
5026    pub BranchID: TThostFtdcBranchIDType,
5027    pub reserve2: TThostFtdcOldIPAddressType,
5028    pub MacAddress: TThostFtdcMacAddressType,
5029    pub ExchangeInstID: TThostFtdcExchangeInstIDType,
5030    pub IPAddress: TThostFtdcIPAddressType,
5031}
5032#[repr(C)]
5033#[derive(Debug, Copy, Clone)]
5034pub struct CThostFtdcQryOptionSelfCloseActionField {
5035    pub BrokerID: TThostFtdcBrokerIDType,
5036    pub InvestorID: TThostFtdcInvestorIDType,
5037    pub ExchangeID: TThostFtdcExchangeIDType,
5038}
5039#[repr(C)]
5040#[derive(Debug, Copy, Clone)]
5041pub struct CThostFtdcExchangeOptionSelfCloseActionField {
5042    pub ExchangeID: TThostFtdcExchangeIDType,
5043    pub OptionSelfCloseSysID: TThostFtdcOrderSysIDType,
5044    pub ActionFlag: TThostFtdcActionFlagType,
5045    pub ActionDate: TThostFtdcDateType,
5046    pub ActionTime: TThostFtdcTimeType,
5047    pub TraderID: TThostFtdcTraderIDType,
5048    pub InstallID: TThostFtdcInstallIDType,
5049    pub OptionSelfCloseLocalID: TThostFtdcOrderLocalIDType,
5050    pub ActionLocalID: TThostFtdcOrderLocalIDType,
5051    pub ParticipantID: TThostFtdcParticipantIDType,
5052    pub ClientID: TThostFtdcClientIDType,
5053    pub BusinessUnit: TThostFtdcBusinessUnitType,
5054    pub OrderActionStatus: TThostFtdcOrderActionStatusType,
5055    pub UserID: TThostFtdcUserIDType,
5056    pub BranchID: TThostFtdcBranchIDType,
5057    pub reserve1: TThostFtdcOldIPAddressType,
5058    pub MacAddress: TThostFtdcMacAddressType,
5059    pub reserve2: TThostFtdcOldExchangeInstIDType,
5060    pub OptSelfCloseFlag: TThostFtdcOptSelfCloseFlagType,
5061    pub IPAddress: TThostFtdcIPAddressType,
5062    pub ExchangeInstID: TThostFtdcExchangeInstIDType,
5063}
5064#[repr(C)]
5065#[derive(Debug, Copy, Clone)]
5066pub struct CThostFtdcSyncDelaySwapField {
5067    pub DelaySwapSeqNo: TThostFtdcDepositSeqNoType,
5068    pub BrokerID: TThostFtdcBrokerIDType,
5069    pub InvestorID: TThostFtdcInvestorIDType,
5070    pub FromCurrencyID: TThostFtdcCurrencyIDType,
5071    pub FromAmount: TThostFtdcMoneyType,
5072    pub FromFrozenSwap: TThostFtdcMoneyType,
5073    pub FromRemainSwap: TThostFtdcMoneyType,
5074    pub ToCurrencyID: TThostFtdcCurrencyIDType,
5075    pub ToAmount: TThostFtdcMoneyType,
5076    pub IsManualSwap: TThostFtdcBoolType,
5077    pub IsAllRemainSetZero: TThostFtdcBoolType,
5078}
5079#[repr(C)]
5080#[derive(Debug, Copy, Clone)]
5081pub struct CThostFtdcQrySyncDelaySwapField {
5082    pub BrokerID: TThostFtdcBrokerIDType,
5083    pub DelaySwapSeqNo: TThostFtdcDepositSeqNoType,
5084}
5085#[repr(C)]
5086#[derive(Debug, Copy, Clone)]
5087pub struct CThostFtdcInvestUnitField {
5088    pub BrokerID: TThostFtdcBrokerIDType,
5089    pub InvestorID: TThostFtdcInvestorIDType,
5090    pub InvestUnitID: TThostFtdcInvestUnitIDType,
5091    pub InvestorUnitName: TThostFtdcPartyNameType,
5092    pub InvestorGroupID: TThostFtdcInvestorIDType,
5093    pub CommModelID: TThostFtdcInvestorIDType,
5094    pub MarginModelID: TThostFtdcInvestorIDType,
5095    pub AccountID: TThostFtdcAccountIDType,
5096    pub CurrencyID: TThostFtdcCurrencyIDType,
5097}
5098#[repr(C)]
5099#[derive(Debug, Copy, Clone)]
5100pub struct CThostFtdcQryInvestUnitField {
5101    pub BrokerID: TThostFtdcBrokerIDType,
5102    pub InvestorID: TThostFtdcInvestorIDType,
5103    pub InvestUnitID: TThostFtdcInvestUnitIDType,
5104}
5105#[repr(C)]
5106#[derive(Debug, Copy, Clone)]
5107pub struct CThostFtdcSecAgentCheckModeField {
5108    pub InvestorID: TThostFtdcInvestorIDType,
5109    pub BrokerID: TThostFtdcBrokerIDType,
5110    pub CurrencyID: TThostFtdcCurrencyIDType,
5111    pub BrokerSecAgentID: TThostFtdcAccountIDType,
5112    pub CheckSelfAccount: TThostFtdcBoolType,
5113}
5114#[repr(C)]
5115#[derive(Debug, Copy, Clone)]
5116pub struct CThostFtdcSecAgentTradeInfoField {
5117    pub BrokerID: TThostFtdcBrokerIDType,
5118    pub BrokerSecAgentID: TThostFtdcAccountIDType,
5119    pub InvestorID: TThostFtdcInvestorIDType,
5120    pub LongCustomerName: TThostFtdcLongIndividualNameType,
5121}
5122#[repr(C)]
5123#[derive(Debug, Copy, Clone)]
5124pub struct CThostFtdcMarketDataField {
5125    pub TradingDay: TThostFtdcDateType,
5126    pub reserve1: TThostFtdcOldInstrumentIDType,
5127    pub ExchangeID: TThostFtdcExchangeIDType,
5128    pub reserve2: TThostFtdcOldExchangeInstIDType,
5129    pub LastPrice: TThostFtdcPriceType,
5130    pub PreSettlementPrice: TThostFtdcPriceType,
5131    pub PreClosePrice: TThostFtdcPriceType,
5132    pub PreOpenInterest: TThostFtdcLargeVolumeType,
5133    pub OpenPrice: TThostFtdcPriceType,
5134    pub HighestPrice: TThostFtdcPriceType,
5135    pub LowestPrice: TThostFtdcPriceType,
5136    pub Volume: TThostFtdcVolumeType,
5137    pub Turnover: TThostFtdcMoneyType,
5138    pub OpenInterest: TThostFtdcLargeVolumeType,
5139    pub ClosePrice: TThostFtdcPriceType,
5140    pub SettlementPrice: TThostFtdcPriceType,
5141    pub UpperLimitPrice: TThostFtdcPriceType,
5142    pub LowerLimitPrice: TThostFtdcPriceType,
5143    pub PreDelta: TThostFtdcRatioType,
5144    pub CurrDelta: TThostFtdcRatioType,
5145    pub UpdateTime: TThostFtdcTimeType,
5146    pub UpdateMillisec: TThostFtdcMillisecType,
5147    pub ActionDay: TThostFtdcDateType,
5148    pub InstrumentID: TThostFtdcInstrumentIDType,
5149    pub ExchangeInstID: TThostFtdcExchangeInstIDType,
5150}
5151#[repr(C)]
5152#[derive(Debug, Copy, Clone)]
5153pub struct CThostFtdcMarketDataBaseField {
5154    pub TradingDay: TThostFtdcDateType,
5155    pub PreSettlementPrice: TThostFtdcPriceType,
5156    pub PreClosePrice: TThostFtdcPriceType,
5157    pub PreOpenInterest: TThostFtdcLargeVolumeType,
5158    pub PreDelta: TThostFtdcRatioType,
5159}
5160#[repr(C)]
5161#[derive(Debug, Copy, Clone)]
5162pub struct CThostFtdcMarketDataStaticField {
5163    pub OpenPrice: TThostFtdcPriceType,
5164    pub HighestPrice: TThostFtdcPriceType,
5165    pub LowestPrice: TThostFtdcPriceType,
5166    pub ClosePrice: TThostFtdcPriceType,
5167    pub UpperLimitPrice: TThostFtdcPriceType,
5168    pub LowerLimitPrice: TThostFtdcPriceType,
5169    pub SettlementPrice: TThostFtdcPriceType,
5170    pub CurrDelta: TThostFtdcRatioType,
5171}
5172#[repr(C)]
5173#[derive(Debug, Copy, Clone)]
5174pub struct CThostFtdcMarketDataLastMatchField {
5175    pub LastPrice: TThostFtdcPriceType,
5176    pub Volume: TThostFtdcVolumeType,
5177    pub Turnover: TThostFtdcMoneyType,
5178    pub OpenInterest: TThostFtdcLargeVolumeType,
5179}
5180#[repr(C)]
5181#[derive(Debug, Copy, Clone)]
5182pub struct CThostFtdcMarketDataBestPriceField {
5183    pub BidPrice1: TThostFtdcPriceType,
5184    pub BidVolume1: TThostFtdcVolumeType,
5185    pub AskPrice1: TThostFtdcPriceType,
5186    pub AskVolume1: TThostFtdcVolumeType,
5187}
5188#[repr(C)]
5189#[derive(Debug, Copy, Clone)]
5190pub struct CThostFtdcMarketDataBid23Field {
5191    pub BidPrice2: TThostFtdcPriceType,
5192    pub BidVolume2: TThostFtdcVolumeType,
5193    pub BidPrice3: TThostFtdcPriceType,
5194    pub BidVolume3: TThostFtdcVolumeType,
5195}
5196#[repr(C)]
5197#[derive(Debug, Copy, Clone)]
5198pub struct CThostFtdcMarketDataAsk23Field {
5199    pub AskPrice2: TThostFtdcPriceType,
5200    pub AskVolume2: TThostFtdcVolumeType,
5201    pub AskPrice3: TThostFtdcPriceType,
5202    pub AskVolume3: TThostFtdcVolumeType,
5203}
5204#[repr(C)]
5205#[derive(Debug, Copy, Clone)]
5206pub struct CThostFtdcMarketDataBid45Field {
5207    pub BidPrice4: TThostFtdcPriceType,
5208    pub BidVolume4: TThostFtdcVolumeType,
5209    pub BidPrice5: TThostFtdcPriceType,
5210    pub BidVolume5: TThostFtdcVolumeType,
5211}
5212#[repr(C)]
5213#[derive(Debug, Copy, Clone)]
5214pub struct CThostFtdcMarketDataAsk45Field {
5215    pub AskPrice4: TThostFtdcPriceType,
5216    pub AskVolume4: TThostFtdcVolumeType,
5217    pub AskPrice5: TThostFtdcPriceType,
5218    pub AskVolume5: TThostFtdcVolumeType,
5219}
5220#[repr(C)]
5221#[derive(Debug, Copy, Clone)]
5222pub struct CThostFtdcMarketDataUpdateTimeField {
5223    pub reserve1: TThostFtdcOldInstrumentIDType,
5224    pub UpdateTime: TThostFtdcTimeType,
5225    pub UpdateMillisec: TThostFtdcMillisecType,
5226    pub ActionDay: TThostFtdcDateType,
5227    pub InstrumentID: TThostFtdcInstrumentIDType,
5228}
5229#[repr(C)]
5230#[derive(Debug, Copy, Clone)]
5231pub struct CThostFtdcMarketDataBandingPriceField {
5232    pub BandingUpperPrice: TThostFtdcPriceType,
5233    pub BandingLowerPrice: TThostFtdcPriceType,
5234}
5235#[repr(C)]
5236#[derive(Debug, Copy, Clone)]
5237pub struct CThostFtdcMarketDataExchangeField {
5238    pub ExchangeID: TThostFtdcExchangeIDType,
5239}
5240#[repr(C)]
5241#[derive(Debug, Copy, Clone)]
5242pub struct CThostFtdcSpecificInstrumentField {
5243    pub reserve1: TThostFtdcOldInstrumentIDType,
5244    pub InstrumentID: TThostFtdcInstrumentIDType,
5245}
5246#[repr(C)]
5247#[derive(Debug, Copy, Clone)]
5248pub struct CThostFtdcInstrumentStatusField {
5249    pub ExchangeID: TThostFtdcExchangeIDType,
5250    pub reserve1: TThostFtdcOldExchangeInstIDType,
5251    pub SettlementGroupID: TThostFtdcSettlementGroupIDType,
5252    pub reserve2: TThostFtdcOldInstrumentIDType,
5253    pub InstrumentStatus: TThostFtdcInstrumentStatusType,
5254    pub TradingSegmentSN: TThostFtdcTradingSegmentSNType,
5255    pub EnterTime: TThostFtdcTimeType,
5256    pub EnterReason: TThostFtdcInstStatusEnterReasonType,
5257    pub ExchangeInstID: TThostFtdcExchangeInstIDType,
5258    pub InstrumentID: TThostFtdcInstrumentIDType,
5259}
5260#[repr(C)]
5261#[derive(Debug, Copy, Clone)]
5262pub struct CThostFtdcQryInstrumentStatusField {
5263    pub ExchangeID: TThostFtdcExchangeIDType,
5264    pub reserve1: TThostFtdcOldExchangeInstIDType,
5265    pub ExchangeInstID: TThostFtdcExchangeInstIDType,
5266}
5267#[repr(C)]
5268#[derive(Debug, Copy, Clone)]
5269pub struct CThostFtdcInvestorAccountField {
5270    pub BrokerID: TThostFtdcBrokerIDType,
5271    pub InvestorID: TThostFtdcInvestorIDType,
5272    pub AccountID: TThostFtdcAccountIDType,
5273    pub CurrencyID: TThostFtdcCurrencyIDType,
5274}
5275#[repr(C)]
5276#[derive(Debug, Copy, Clone)]
5277pub struct CThostFtdcPositionProfitAlgorithmField {
5278    pub BrokerID: TThostFtdcBrokerIDType,
5279    pub AccountID: TThostFtdcAccountIDType,
5280    pub Algorithm: TThostFtdcAlgorithmType,
5281    pub Memo: TThostFtdcMemoType,
5282    pub CurrencyID: TThostFtdcCurrencyIDType,
5283}
5284#[repr(C)]
5285#[derive(Debug, Copy, Clone)]
5286pub struct CThostFtdcDiscountField {
5287    pub BrokerID: TThostFtdcBrokerIDType,
5288    pub InvestorRange: TThostFtdcInvestorRangeType,
5289    pub InvestorID: TThostFtdcInvestorIDType,
5290    pub Discount: TThostFtdcRatioType,
5291}
5292#[repr(C)]
5293#[derive(Debug, Copy, Clone)]
5294pub struct CThostFtdcQryTransferBankField {
5295    pub BankID: TThostFtdcBankIDType,
5296    pub BankBrchID: TThostFtdcBankBrchIDType,
5297}
5298#[repr(C)]
5299#[derive(Debug, Copy, Clone)]
5300pub struct CThostFtdcTransferBankField {
5301    pub BankID: TThostFtdcBankIDType,
5302    pub BankBrchID: TThostFtdcBankBrchIDType,
5303    pub BankName: TThostFtdcBankNameType,
5304    pub IsActive: TThostFtdcBoolType,
5305}
5306#[repr(C)]
5307#[derive(Debug, Copy, Clone)]
5308pub struct CThostFtdcQryInvestorPositionDetailField {
5309    pub BrokerID: TThostFtdcBrokerIDType,
5310    pub InvestorID: TThostFtdcInvestorIDType,
5311    pub reserve1: TThostFtdcOldInstrumentIDType,
5312    pub ExchangeID: TThostFtdcExchangeIDType,
5313    pub InvestUnitID: TThostFtdcInvestUnitIDType,
5314    pub InstrumentID: TThostFtdcInstrumentIDType,
5315}
5316#[repr(C)]
5317#[derive(Debug, Copy, Clone)]
5318pub struct CThostFtdcInvestorPositionDetailField {
5319    pub reserve1: TThostFtdcOldInstrumentIDType,
5320    pub BrokerID: TThostFtdcBrokerIDType,
5321    pub InvestorID: TThostFtdcInvestorIDType,
5322    pub HedgeFlag: TThostFtdcHedgeFlagType,
5323    pub Direction: TThostFtdcDirectionType,
5324    pub OpenDate: TThostFtdcDateType,
5325    pub TradeID: TThostFtdcTradeIDType,
5326    pub Volume: TThostFtdcVolumeType,
5327    pub OpenPrice: TThostFtdcPriceType,
5328    pub TradingDay: TThostFtdcDateType,
5329    pub SettlementID: TThostFtdcSettlementIDType,
5330    pub TradeType: TThostFtdcTradeTypeType,
5331    pub reserve2: TThostFtdcOldInstrumentIDType,
5332    pub ExchangeID: TThostFtdcExchangeIDType,
5333    pub CloseProfitByDate: TThostFtdcMoneyType,
5334    pub CloseProfitByTrade: TThostFtdcMoneyType,
5335    pub PositionProfitByDate: TThostFtdcMoneyType,
5336    pub PositionProfitByTrade: TThostFtdcMoneyType,
5337    pub Margin: TThostFtdcMoneyType,
5338    pub ExchMargin: TThostFtdcMoneyType,
5339    pub MarginRateByMoney: TThostFtdcRatioType,
5340    pub MarginRateByVolume: TThostFtdcRatioType,
5341    pub LastSettlementPrice: TThostFtdcPriceType,
5342    pub SettlementPrice: TThostFtdcPriceType,
5343    pub CloseVolume: TThostFtdcVolumeType,
5344    pub CloseAmount: TThostFtdcMoneyType,
5345    pub TimeFirstVolume: TThostFtdcVolumeType,
5346    pub InvestUnitID: TThostFtdcInvestUnitIDType,
5347    pub SpecPosiType: TThostFtdcSpecPosiTypeType,
5348    pub InstrumentID: TThostFtdcInstrumentIDType,
5349    pub CombInstrumentID: TThostFtdcInstrumentIDType,
5350}
5351#[repr(C)]
5352#[derive(Debug, Copy, Clone)]
5353pub struct CThostFtdcTradingAccountPasswordField {
5354    pub BrokerID: TThostFtdcBrokerIDType,
5355    pub AccountID: TThostFtdcAccountIDType,
5356    pub Password: TThostFtdcPasswordType,
5357    pub CurrencyID: TThostFtdcCurrencyIDType,
5358}
5359#[repr(C)]
5360#[derive(Debug, Copy, Clone)]
5361pub struct CThostFtdcMDTraderOfferField {
5362    pub ExchangeID: TThostFtdcExchangeIDType,
5363    pub TraderID: TThostFtdcTraderIDType,
5364    pub ParticipantID: TThostFtdcParticipantIDType,
5365    pub Password: TThostFtdcPasswordType,
5366    pub InstallID: TThostFtdcInstallIDType,
5367    pub OrderLocalID: TThostFtdcOrderLocalIDType,
5368    pub TraderConnectStatus: TThostFtdcTraderConnectStatusType,
5369    pub ConnectRequestDate: TThostFtdcDateType,
5370    pub ConnectRequestTime: TThostFtdcTimeType,
5371    pub LastReportDate: TThostFtdcDateType,
5372    pub LastReportTime: TThostFtdcTimeType,
5373    pub ConnectDate: TThostFtdcDateType,
5374    pub ConnectTime: TThostFtdcTimeType,
5375    pub StartDate: TThostFtdcDateType,
5376    pub StartTime: TThostFtdcTimeType,
5377    pub TradingDay: TThostFtdcDateType,
5378    pub BrokerID: TThostFtdcBrokerIDType,
5379    pub MaxTradeID: TThostFtdcTradeIDType,
5380    pub MaxOrderMessageReference: TThostFtdcReturnCodeType,
5381    pub OrderCancelAlg: TThostFtdcOrderCancelAlgType,
5382}
5383#[repr(C)]
5384#[derive(Debug, Copy, Clone)]
5385pub struct CThostFtdcQryMDTraderOfferField {
5386    pub ExchangeID: TThostFtdcExchangeIDType,
5387    pub ParticipantID: TThostFtdcParticipantIDType,
5388    pub TraderID: TThostFtdcTraderIDType,
5389}
5390#[repr(C)]
5391#[derive(Debug, Copy, Clone)]
5392pub struct CThostFtdcQryNoticeField {
5393    pub BrokerID: TThostFtdcBrokerIDType,
5394}
5395#[repr(C)]
5396#[derive(Debug, Copy, Clone)]
5397pub struct CThostFtdcNoticeField {
5398    pub BrokerID: TThostFtdcBrokerIDType,
5399    pub Content: TThostFtdcContentType,
5400    pub SequenceLabel: TThostFtdcSequenceLabelType,
5401}
5402#[repr(C)]
5403#[derive(Debug, Copy, Clone)]
5404pub struct CThostFtdcUserRightField {
5405    pub BrokerID: TThostFtdcBrokerIDType,
5406    pub UserID: TThostFtdcUserIDType,
5407    pub UserRightType: TThostFtdcUserRightTypeType,
5408    pub IsForbidden: TThostFtdcBoolType,
5409}
5410#[repr(C)]
5411#[derive(Debug, Copy, Clone)]
5412pub struct CThostFtdcQrySettlementInfoConfirmField {
5413    pub BrokerID: TThostFtdcBrokerIDType,
5414    pub InvestorID: TThostFtdcInvestorIDType,
5415    pub AccountID: TThostFtdcAccountIDType,
5416    pub CurrencyID: TThostFtdcCurrencyIDType,
5417}
5418#[repr(C)]
5419#[derive(Debug, Copy, Clone)]
5420pub struct CThostFtdcLoadSettlementInfoField {
5421    pub BrokerID: TThostFtdcBrokerIDType,
5422}
5423#[repr(C)]
5424#[derive(Debug, Copy, Clone)]
5425pub struct CThostFtdcBrokerWithdrawAlgorithmField {
5426    pub BrokerID: TThostFtdcBrokerIDType,
5427    pub WithdrawAlgorithm: TThostFtdcAlgorithmType,
5428    pub UsingRatio: TThostFtdcRatioType,
5429    pub IncludeCloseProfit: TThostFtdcIncludeCloseProfitType,
5430    pub AllWithoutTrade: TThostFtdcAllWithoutTradeType,
5431    pub AvailIncludeCloseProfit: TThostFtdcIncludeCloseProfitType,
5432    pub IsBrokerUserEvent: TThostFtdcBoolType,
5433    pub CurrencyID: TThostFtdcCurrencyIDType,
5434    pub FundMortgageRatio: TThostFtdcRatioType,
5435    pub BalanceAlgorithm: TThostFtdcBalanceAlgorithmType,
5436}
5437#[repr(C)]
5438#[derive(Debug, Copy, Clone)]
5439pub struct CThostFtdcTradingAccountPasswordUpdateV1Field {
5440    pub BrokerID: TThostFtdcBrokerIDType,
5441    pub InvestorID: TThostFtdcInvestorIDType,
5442    pub OldPassword: TThostFtdcPasswordType,
5443    pub NewPassword: TThostFtdcPasswordType,
5444}
5445#[repr(C)]
5446#[derive(Debug, Copy, Clone)]
5447pub struct CThostFtdcTradingAccountPasswordUpdateField {
5448    pub BrokerID: TThostFtdcBrokerIDType,
5449    pub AccountID: TThostFtdcAccountIDType,
5450    pub OldPassword: TThostFtdcPasswordType,
5451    pub NewPassword: TThostFtdcPasswordType,
5452    pub CurrencyID: TThostFtdcCurrencyIDType,
5453}
5454#[repr(C)]
5455#[derive(Debug, Copy, Clone)]
5456pub struct CThostFtdcQryCombinationLegField {
5457    pub reserve1: TThostFtdcOldInstrumentIDType,
5458    pub LegID: TThostFtdcLegIDType,
5459    pub reserve2: TThostFtdcOldInstrumentIDType,
5460    pub CombInstrumentID: TThostFtdcInstrumentIDType,
5461    pub LegInstrumentID: TThostFtdcInstrumentIDType,
5462}
5463#[repr(C)]
5464#[derive(Debug, Copy, Clone)]
5465pub struct CThostFtdcQrySyncStatusField {
5466    pub TradingDay: TThostFtdcDateType,
5467}
5468#[repr(C)]
5469#[derive(Debug, Copy, Clone)]
5470pub struct CThostFtdcCombinationLegField {
5471    pub reserve1: TThostFtdcOldInstrumentIDType,
5472    pub LegID: TThostFtdcLegIDType,
5473    pub reserve2: TThostFtdcOldInstrumentIDType,
5474    pub Direction: TThostFtdcDirectionType,
5475    pub LegMultiple: TThostFtdcLegMultipleType,
5476    pub ImplyLevel: TThostFtdcImplyLevelType,
5477    pub CombInstrumentID: TThostFtdcInstrumentIDType,
5478    pub LegInstrumentID: TThostFtdcInstrumentIDType,
5479}
5480#[repr(C)]
5481#[derive(Debug, Copy, Clone)]
5482pub struct CThostFtdcSyncStatusField {
5483    pub TradingDay: TThostFtdcDateType,
5484    pub DataSyncStatus: TThostFtdcDataSyncStatusType,
5485}
5486#[repr(C)]
5487#[derive(Debug, Copy, Clone)]
5488pub struct CThostFtdcQryLinkManField {
5489    pub BrokerID: TThostFtdcBrokerIDType,
5490    pub InvestorID: TThostFtdcInvestorIDType,
5491}
5492#[repr(C)]
5493#[derive(Debug, Copy, Clone)]
5494pub struct CThostFtdcLinkManField {
5495    pub BrokerID: TThostFtdcBrokerIDType,
5496    pub InvestorID: TThostFtdcInvestorIDType,
5497    pub PersonType: TThostFtdcPersonTypeType,
5498    pub IdentifiedCardType: TThostFtdcIdCardTypeType,
5499    pub IdentifiedCardNo: TThostFtdcIdentifiedCardNoType,
5500    pub PersonName: TThostFtdcPartyNameType,
5501    pub Telephone: TThostFtdcTelephoneType,
5502    pub Address: TThostFtdcAddressType,
5503    pub ZipCode: TThostFtdcZipCodeType,
5504    pub Priority: TThostFtdcPriorityType,
5505    pub UOAZipCode: TThostFtdcUOAZipCodeType,
5506    pub PersonFullName: TThostFtdcInvestorFullNameType,
5507}
5508#[repr(C)]
5509#[derive(Debug, Copy, Clone)]
5510pub struct CThostFtdcQryBrokerUserEventField {
5511    pub BrokerID: TThostFtdcBrokerIDType,
5512    pub UserID: TThostFtdcUserIDType,
5513    pub UserEventType: TThostFtdcUserEventTypeType,
5514}
5515#[repr(C)]
5516#[derive(Debug, Copy, Clone)]
5517pub struct CThostFtdcBrokerUserEventField {
5518    pub BrokerID: TThostFtdcBrokerIDType,
5519    pub UserID: TThostFtdcUserIDType,
5520    pub UserEventType: TThostFtdcUserEventTypeType,
5521    pub EventSequenceNo: TThostFtdcSequenceNoType,
5522    pub EventDate: TThostFtdcDateType,
5523    pub EventTime: TThostFtdcTimeType,
5524    pub UserEventInfo: TThostFtdcUserEventInfoType,
5525    pub InvestorID: TThostFtdcInvestorIDType,
5526    pub reserve1: TThostFtdcOldInstrumentIDType,
5527    pub InstrumentID: TThostFtdcInstrumentIDType,
5528    pub DRIdentityID: TThostFtdcDRIdentityIDType,
5529    pub TradingDay: TThostFtdcDateType,
5530}
5531#[repr(C)]
5532#[derive(Debug, Copy, Clone)]
5533pub struct CThostFtdcQryContractBankField {
5534    pub BrokerID: TThostFtdcBrokerIDType,
5535    pub BankID: TThostFtdcBankIDType,
5536    pub BankBrchID: TThostFtdcBankBrchIDType,
5537}
5538#[repr(C)]
5539#[derive(Debug, Copy, Clone)]
5540pub struct CThostFtdcContractBankField {
5541    pub BrokerID: TThostFtdcBrokerIDType,
5542    pub BankID: TThostFtdcBankIDType,
5543    pub BankBrchID: TThostFtdcBankBrchIDType,
5544    pub BankName: TThostFtdcBankNameType,
5545}
5546#[repr(C)]
5547#[derive(Debug, Copy, Clone)]
5548pub struct CThostFtdcInvestorPositionCombineDetailField {
5549    pub TradingDay: TThostFtdcDateType,
5550    pub OpenDate: TThostFtdcDateType,
5551    pub ExchangeID: TThostFtdcExchangeIDType,
5552    pub SettlementID: TThostFtdcSettlementIDType,
5553    pub BrokerID: TThostFtdcBrokerIDType,
5554    pub InvestorID: TThostFtdcInvestorIDType,
5555    pub ComTradeID: TThostFtdcTradeIDType,
5556    pub TradeID: TThostFtdcTradeIDType,
5557    pub reserve1: TThostFtdcOldInstrumentIDType,
5558    pub HedgeFlag: TThostFtdcHedgeFlagType,
5559    pub Direction: TThostFtdcDirectionType,
5560    pub TotalAmt: TThostFtdcVolumeType,
5561    pub Margin: TThostFtdcMoneyType,
5562    pub ExchMargin: TThostFtdcMoneyType,
5563    pub MarginRateByMoney: TThostFtdcRatioType,
5564    pub MarginRateByVolume: TThostFtdcRatioType,
5565    pub LegID: TThostFtdcLegIDType,
5566    pub LegMultiple: TThostFtdcLegMultipleType,
5567    pub reserve2: TThostFtdcOldInstrumentIDType,
5568    pub TradeGroupID: TThostFtdcTradeGroupIDType,
5569    pub InvestUnitID: TThostFtdcInvestUnitIDType,
5570    pub InstrumentID: TThostFtdcInstrumentIDType,
5571    pub CombInstrumentID: TThostFtdcInstrumentIDType,
5572}
5573#[repr(C)]
5574#[derive(Debug, Copy, Clone)]
5575pub struct CThostFtdcParkedOrderField {
5576    pub BrokerID: TThostFtdcBrokerIDType,
5577    pub InvestorID: TThostFtdcInvestorIDType,
5578    pub reserve1: TThostFtdcOldInstrumentIDType,
5579    pub OrderRef: TThostFtdcOrderRefType,
5580    pub UserID: TThostFtdcUserIDType,
5581    pub OrderPriceType: TThostFtdcOrderPriceTypeType,
5582    pub Direction: TThostFtdcDirectionType,
5583    pub CombOffsetFlag: TThostFtdcCombOffsetFlagType,
5584    pub CombHedgeFlag: TThostFtdcCombHedgeFlagType,
5585    pub LimitPrice: TThostFtdcPriceType,
5586    pub VolumeTotalOriginal: TThostFtdcVolumeType,
5587    pub TimeCondition: TThostFtdcTimeConditionType,
5588    pub GTDDate: TThostFtdcDateType,
5589    pub VolumeCondition: TThostFtdcVolumeConditionType,
5590    pub MinVolume: TThostFtdcVolumeType,
5591    pub ContingentCondition: TThostFtdcContingentConditionType,
5592    pub StopPrice: TThostFtdcPriceType,
5593    pub ForceCloseReason: TThostFtdcForceCloseReasonType,
5594    pub IsAutoSuspend: TThostFtdcBoolType,
5595    pub BusinessUnit: TThostFtdcBusinessUnitType,
5596    pub RequestID: TThostFtdcRequestIDType,
5597    pub UserForceClose: TThostFtdcBoolType,
5598    pub ExchangeID: TThostFtdcExchangeIDType,
5599    pub ParkedOrderID: TThostFtdcParkedOrderIDType,
5600    pub UserType: TThostFtdcUserTypeType,
5601    pub Status: TThostFtdcParkedOrderStatusType,
5602    pub ErrorID: TThostFtdcErrorIDType,
5603    pub ErrorMsg: TThostFtdcErrorMsgType,
5604    pub IsSwapOrder: TThostFtdcBoolType,
5605    pub AccountID: TThostFtdcAccountIDType,
5606    pub CurrencyID: TThostFtdcCurrencyIDType,
5607    pub ClientID: TThostFtdcClientIDType,
5608    pub InvestUnitID: TThostFtdcInvestUnitIDType,
5609    pub reserve2: TThostFtdcOldIPAddressType,
5610    pub MacAddress: TThostFtdcMacAddressType,
5611    pub InstrumentID: TThostFtdcInstrumentIDType,
5612    pub IPAddress: TThostFtdcIPAddressType,
5613}
5614#[repr(C)]
5615#[derive(Debug, Copy, Clone)]
5616pub struct CThostFtdcParkedOrderActionField {
5617    pub BrokerID: TThostFtdcBrokerIDType,
5618    pub InvestorID: TThostFtdcInvestorIDType,
5619    pub OrderActionRef: TThostFtdcOrderActionRefType,
5620    pub OrderRef: TThostFtdcOrderRefType,
5621    pub RequestID: TThostFtdcRequestIDType,
5622    pub FrontID: TThostFtdcFrontIDType,
5623    pub SessionID: TThostFtdcSessionIDType,
5624    pub ExchangeID: TThostFtdcExchangeIDType,
5625    pub OrderSysID: TThostFtdcOrderSysIDType,
5626    pub ActionFlag: TThostFtdcActionFlagType,
5627    pub LimitPrice: TThostFtdcPriceType,
5628    pub VolumeChange: TThostFtdcVolumeType,
5629    pub UserID: TThostFtdcUserIDType,
5630    pub reserve1: TThostFtdcOldInstrumentIDType,
5631    pub ParkedOrderActionID: TThostFtdcParkedOrderActionIDType,
5632    pub UserType: TThostFtdcUserTypeType,
5633    pub Status: TThostFtdcParkedOrderStatusType,
5634    pub ErrorID: TThostFtdcErrorIDType,
5635    pub ErrorMsg: TThostFtdcErrorMsgType,
5636    pub InvestUnitID: TThostFtdcInvestUnitIDType,
5637    pub reserve2: TThostFtdcOldIPAddressType,
5638    pub MacAddress: TThostFtdcMacAddressType,
5639    pub InstrumentID: TThostFtdcInstrumentIDType,
5640    pub IPAddress: TThostFtdcIPAddressType,
5641}
5642#[repr(C)]
5643#[derive(Debug, Copy, Clone)]
5644pub struct CThostFtdcQryParkedOrderField {
5645    pub BrokerID: TThostFtdcBrokerIDType,
5646    pub InvestorID: TThostFtdcInvestorIDType,
5647    pub reserve1: TThostFtdcOldInstrumentIDType,
5648    pub ExchangeID: TThostFtdcExchangeIDType,
5649    pub InvestUnitID: TThostFtdcInvestUnitIDType,
5650    pub InstrumentID: TThostFtdcInstrumentIDType,
5651}
5652#[repr(C)]
5653#[derive(Debug, Copy, Clone)]
5654pub struct CThostFtdcQryParkedOrderActionField {
5655    pub BrokerID: TThostFtdcBrokerIDType,
5656    pub InvestorID: TThostFtdcInvestorIDType,
5657    pub reserve1: TThostFtdcOldInstrumentIDType,
5658    pub ExchangeID: TThostFtdcExchangeIDType,
5659    pub InvestUnitID: TThostFtdcInvestUnitIDType,
5660    pub InstrumentID: TThostFtdcInstrumentIDType,
5661}
5662#[repr(C)]
5663#[derive(Debug, Copy, Clone)]
5664pub struct CThostFtdcRemoveParkedOrderField {
5665    pub BrokerID: TThostFtdcBrokerIDType,
5666    pub InvestorID: TThostFtdcInvestorIDType,
5667    pub ParkedOrderID: TThostFtdcParkedOrderIDType,
5668    pub InvestUnitID: TThostFtdcInvestUnitIDType,
5669}
5670#[repr(C)]
5671#[derive(Debug, Copy, Clone)]
5672pub struct CThostFtdcRemoveParkedOrderActionField {
5673    pub BrokerID: TThostFtdcBrokerIDType,
5674    pub InvestorID: TThostFtdcInvestorIDType,
5675    pub ParkedOrderActionID: TThostFtdcParkedOrderActionIDType,
5676    pub InvestUnitID: TThostFtdcInvestUnitIDType,
5677}
5678#[repr(C)]
5679#[derive(Debug, Copy, Clone)]
5680pub struct CThostFtdcInvestorWithdrawAlgorithmField {
5681    pub BrokerID: TThostFtdcBrokerIDType,
5682    pub InvestorRange: TThostFtdcInvestorRangeType,
5683    pub InvestorID: TThostFtdcInvestorIDType,
5684    pub UsingRatio: TThostFtdcRatioType,
5685    pub CurrencyID: TThostFtdcCurrencyIDType,
5686    pub FundMortgageRatio: TThostFtdcRatioType,
5687}
5688#[repr(C)]
5689#[derive(Debug, Copy, Clone)]
5690pub struct CThostFtdcQryInvestorPositionCombineDetailField {
5691    pub BrokerID: TThostFtdcBrokerIDType,
5692    pub InvestorID: TThostFtdcInvestorIDType,
5693    pub reserve1: TThostFtdcOldInstrumentIDType,
5694    pub ExchangeID: TThostFtdcExchangeIDType,
5695    pub InvestUnitID: TThostFtdcInvestUnitIDType,
5696    pub CombInstrumentID: TThostFtdcInstrumentIDType,
5697}
5698#[repr(C)]
5699#[derive(Debug, Copy, Clone)]
5700pub struct CThostFtdcMarketDataAveragePriceField {
5701    pub AveragePrice: TThostFtdcPriceType,
5702}
5703#[repr(C)]
5704#[derive(Debug, Copy, Clone)]
5705pub struct CThostFtdcVerifyInvestorPasswordField {
5706    pub BrokerID: TThostFtdcBrokerIDType,
5707    pub InvestorID: TThostFtdcInvestorIDType,
5708    pub Password: TThostFtdcPasswordType,
5709}
5710#[repr(C)]
5711#[derive(Debug, Copy, Clone)]
5712pub struct CThostFtdcUserIPField {
5713    pub BrokerID: TThostFtdcBrokerIDType,
5714    pub UserID: TThostFtdcUserIDType,
5715    pub reserve1: TThostFtdcOldIPAddressType,
5716    pub reserve2: TThostFtdcOldIPAddressType,
5717    pub MacAddress: TThostFtdcMacAddressType,
5718    pub IPAddress: TThostFtdcIPAddressType,
5719    pub IPMask: TThostFtdcIPAddressType,
5720}
5721#[repr(C)]
5722#[derive(Debug, Copy, Clone)]
5723pub struct CThostFtdcTradingNoticeInfoField {
5724    pub BrokerID: TThostFtdcBrokerIDType,
5725    pub InvestorID: TThostFtdcInvestorIDType,
5726    pub SendTime: TThostFtdcTimeType,
5727    pub FieldContent: TThostFtdcContentType,
5728    pub SequenceSeries: TThostFtdcSequenceSeriesType,
5729    pub SequenceNo: TThostFtdcSequenceNoType,
5730    pub InvestUnitID: TThostFtdcInvestUnitIDType,
5731}
5732#[repr(C)]
5733#[derive(Debug, Copy, Clone)]
5734pub struct CThostFtdcTradingNoticeField {
5735    pub BrokerID: TThostFtdcBrokerIDType,
5736    pub InvestorRange: TThostFtdcInvestorRangeType,
5737    pub InvestorID: TThostFtdcInvestorIDType,
5738    pub SequenceSeries: TThostFtdcSequenceSeriesType,
5739    pub UserID: TThostFtdcUserIDType,
5740    pub SendTime: TThostFtdcTimeType,
5741    pub SequenceNo: TThostFtdcSequenceNoType,
5742    pub FieldContent: TThostFtdcContentType,
5743    pub InvestUnitID: TThostFtdcInvestUnitIDType,
5744}
5745#[repr(C)]
5746#[derive(Debug, Copy, Clone)]
5747pub struct CThostFtdcQryTradingNoticeField {
5748    pub BrokerID: TThostFtdcBrokerIDType,
5749    pub InvestorID: TThostFtdcInvestorIDType,
5750    pub InvestUnitID: TThostFtdcInvestUnitIDType,
5751}
5752#[repr(C)]
5753#[derive(Debug, Copy, Clone)]
5754pub struct CThostFtdcQryErrOrderField {
5755    pub BrokerID: TThostFtdcBrokerIDType,
5756    pub InvestorID: TThostFtdcInvestorIDType,
5757}
5758#[repr(C)]
5759#[derive(Debug, Copy, Clone)]
5760pub struct CThostFtdcErrOrderField {
5761    pub BrokerID: TThostFtdcBrokerIDType,
5762    pub InvestorID: TThostFtdcInvestorIDType,
5763    pub reserve1: TThostFtdcOldInstrumentIDType,
5764    pub OrderRef: TThostFtdcOrderRefType,
5765    pub UserID: TThostFtdcUserIDType,
5766    pub OrderPriceType: TThostFtdcOrderPriceTypeType,
5767    pub Direction: TThostFtdcDirectionType,
5768    pub CombOffsetFlag: TThostFtdcCombOffsetFlagType,
5769    pub CombHedgeFlag: TThostFtdcCombHedgeFlagType,
5770    pub LimitPrice: TThostFtdcPriceType,
5771    pub VolumeTotalOriginal: TThostFtdcVolumeType,
5772    pub TimeCondition: TThostFtdcTimeConditionType,
5773    pub GTDDate: TThostFtdcDateType,
5774    pub VolumeCondition: TThostFtdcVolumeConditionType,
5775    pub MinVolume: TThostFtdcVolumeType,
5776    pub ContingentCondition: TThostFtdcContingentConditionType,
5777    pub StopPrice: TThostFtdcPriceType,
5778    pub ForceCloseReason: TThostFtdcForceCloseReasonType,
5779    pub IsAutoSuspend: TThostFtdcBoolType,
5780    pub BusinessUnit: TThostFtdcBusinessUnitType,
5781    pub RequestID: TThostFtdcRequestIDType,
5782    pub UserForceClose: TThostFtdcBoolType,
5783    pub ErrorID: TThostFtdcErrorIDType,
5784    pub ErrorMsg: TThostFtdcErrorMsgType,
5785    pub IsSwapOrder: TThostFtdcBoolType,
5786    pub ExchangeID: TThostFtdcExchangeIDType,
5787    pub InvestUnitID: TThostFtdcInvestUnitIDType,
5788    pub AccountID: TThostFtdcAccountIDType,
5789    pub CurrencyID: TThostFtdcCurrencyIDType,
5790    pub ClientID: TThostFtdcClientIDType,
5791    pub reserve2: TThostFtdcOldIPAddressType,
5792    pub MacAddress: TThostFtdcMacAddressType,
5793    pub InstrumentID: TThostFtdcInstrumentIDType,
5794    pub IPAddress: TThostFtdcIPAddressType,
5795}
5796#[repr(C)]
5797#[derive(Debug, Copy, Clone)]
5798pub struct CThostFtdcErrorConditionalOrderField {
5799    pub BrokerID: TThostFtdcBrokerIDType,
5800    pub InvestorID: TThostFtdcInvestorIDType,
5801    pub reserve1: TThostFtdcOldInstrumentIDType,
5802    pub OrderRef: TThostFtdcOrderRefType,
5803    pub UserID: TThostFtdcUserIDType,
5804    pub OrderPriceType: TThostFtdcOrderPriceTypeType,
5805    pub Direction: TThostFtdcDirectionType,
5806    pub CombOffsetFlag: TThostFtdcCombOffsetFlagType,
5807    pub CombHedgeFlag: TThostFtdcCombHedgeFlagType,
5808    pub LimitPrice: TThostFtdcPriceType,
5809    pub VolumeTotalOriginal: TThostFtdcVolumeType,
5810    pub TimeCondition: TThostFtdcTimeConditionType,
5811    pub GTDDate: TThostFtdcDateType,
5812    pub VolumeCondition: TThostFtdcVolumeConditionType,
5813    pub MinVolume: TThostFtdcVolumeType,
5814    pub ContingentCondition: TThostFtdcContingentConditionType,
5815    pub StopPrice: TThostFtdcPriceType,
5816    pub ForceCloseReason: TThostFtdcForceCloseReasonType,
5817    pub IsAutoSuspend: TThostFtdcBoolType,
5818    pub BusinessUnit: TThostFtdcBusinessUnitType,
5819    pub RequestID: TThostFtdcRequestIDType,
5820    pub OrderLocalID: TThostFtdcOrderLocalIDType,
5821    pub ExchangeID: TThostFtdcExchangeIDType,
5822    pub ParticipantID: TThostFtdcParticipantIDType,
5823    pub ClientID: TThostFtdcClientIDType,
5824    pub reserve2: TThostFtdcOldExchangeInstIDType,
5825    pub TraderID: TThostFtdcTraderIDType,
5826    pub InstallID: TThostFtdcInstallIDType,
5827    pub OrderSubmitStatus: TThostFtdcOrderSubmitStatusType,
5828    pub NotifySequence: TThostFtdcSequenceNoType,
5829    pub TradingDay: TThostFtdcDateType,
5830    pub SettlementID: TThostFtdcSettlementIDType,
5831    pub OrderSysID: TThostFtdcOrderSysIDType,
5832    pub OrderSource: TThostFtdcOrderSourceType,
5833    pub OrderStatus: TThostFtdcOrderStatusType,
5834    pub OrderType: TThostFtdcOrderTypeType,
5835    pub VolumeTraded: TThostFtdcVolumeType,
5836    pub VolumeTotal: TThostFtdcVolumeType,
5837    pub InsertDate: TThostFtdcDateType,
5838    pub InsertTime: TThostFtdcTimeType,
5839    pub ActiveTime: TThostFtdcTimeType,
5840    pub SuspendTime: TThostFtdcTimeType,
5841    pub UpdateTime: TThostFtdcTimeType,
5842    pub CancelTime: TThostFtdcTimeType,
5843    pub ActiveTraderID: TThostFtdcTraderIDType,
5844    pub ClearingPartID: TThostFtdcParticipantIDType,
5845    pub SequenceNo: TThostFtdcSequenceNoType,
5846    pub FrontID: TThostFtdcFrontIDType,
5847    pub SessionID: TThostFtdcSessionIDType,
5848    pub UserProductInfo: TThostFtdcProductInfoType,
5849    pub StatusMsg: TThostFtdcErrorMsgType,
5850    pub UserForceClose: TThostFtdcBoolType,
5851    pub ActiveUserID: TThostFtdcUserIDType,
5852    pub BrokerOrderSeq: TThostFtdcSequenceNoType,
5853    pub RelativeOrderSysID: TThostFtdcOrderSysIDType,
5854    pub ZCETotalTradedVolume: TThostFtdcVolumeType,
5855    pub ErrorID: TThostFtdcErrorIDType,
5856    pub ErrorMsg: TThostFtdcErrorMsgType,
5857    pub IsSwapOrder: TThostFtdcBoolType,
5858    pub BranchID: TThostFtdcBranchIDType,
5859    pub InvestUnitID: TThostFtdcInvestUnitIDType,
5860    pub AccountID: TThostFtdcAccountIDType,
5861    pub CurrencyID: TThostFtdcCurrencyIDType,
5862    pub reserve3: TThostFtdcOldIPAddressType,
5863    pub MacAddress: TThostFtdcMacAddressType,
5864    pub InstrumentID: TThostFtdcInstrumentIDType,
5865    pub ExchangeInstID: TThostFtdcExchangeInstIDType,
5866    pub IPAddress: TThostFtdcIPAddressType,
5867}
5868#[repr(C)]
5869#[derive(Debug, Copy, Clone)]
5870pub struct CThostFtdcQryErrOrderActionField {
5871    pub BrokerID: TThostFtdcBrokerIDType,
5872    pub InvestorID: TThostFtdcInvestorIDType,
5873}
5874#[repr(C)]
5875#[derive(Debug, Copy, Clone)]
5876pub struct CThostFtdcErrOrderActionField {
5877    pub BrokerID: TThostFtdcBrokerIDType,
5878    pub InvestorID: TThostFtdcInvestorIDType,
5879    pub OrderActionRef: TThostFtdcOrderActionRefType,
5880    pub OrderRef: TThostFtdcOrderRefType,
5881    pub RequestID: TThostFtdcRequestIDType,
5882    pub FrontID: TThostFtdcFrontIDType,
5883    pub SessionID: TThostFtdcSessionIDType,
5884    pub ExchangeID: TThostFtdcExchangeIDType,
5885    pub OrderSysID: TThostFtdcOrderSysIDType,
5886    pub ActionFlag: TThostFtdcActionFlagType,
5887    pub LimitPrice: TThostFtdcPriceType,
5888    pub VolumeChange: TThostFtdcVolumeType,
5889    pub ActionDate: TThostFtdcDateType,
5890    pub ActionTime: TThostFtdcTimeType,
5891    pub TraderID: TThostFtdcTraderIDType,
5892    pub InstallID: TThostFtdcInstallIDType,
5893    pub OrderLocalID: TThostFtdcOrderLocalIDType,
5894    pub ActionLocalID: TThostFtdcOrderLocalIDType,
5895    pub ParticipantID: TThostFtdcParticipantIDType,
5896    pub ClientID: TThostFtdcClientIDType,
5897    pub BusinessUnit: TThostFtdcBusinessUnitType,
5898    pub OrderActionStatus: TThostFtdcOrderActionStatusType,
5899    pub UserID: TThostFtdcUserIDType,
5900    pub StatusMsg: TThostFtdcErrorMsgType,
5901    pub reserve1: TThostFtdcOldInstrumentIDType,
5902    pub BranchID: TThostFtdcBranchIDType,
5903    pub InvestUnitID: TThostFtdcInvestUnitIDType,
5904    pub reserve2: TThostFtdcOldIPAddressType,
5905    pub MacAddress: TThostFtdcMacAddressType,
5906    pub ErrorID: TThostFtdcErrorIDType,
5907    pub ErrorMsg: TThostFtdcErrorMsgType,
5908    pub InstrumentID: TThostFtdcInstrumentIDType,
5909    pub IPAddress: TThostFtdcIPAddressType,
5910}
5911#[repr(C)]
5912#[derive(Debug, Copy, Clone)]
5913pub struct CThostFtdcQryExchangeSequenceField {
5914    pub ExchangeID: TThostFtdcExchangeIDType,
5915}
5916#[repr(C)]
5917#[derive(Debug, Copy, Clone)]
5918pub struct CThostFtdcExchangeSequenceField {
5919    pub ExchangeID: TThostFtdcExchangeIDType,
5920    pub SequenceNo: TThostFtdcSequenceNoType,
5921    pub MarketStatus: TThostFtdcInstrumentStatusType,
5922}
5923#[repr(C)]
5924#[derive(Debug, Copy, Clone)]
5925pub struct CThostFtdcQryMaxOrderVolumeWithPriceField {
5926    pub BrokerID: TThostFtdcBrokerIDType,
5927    pub InvestorID: TThostFtdcInvestorIDType,
5928    pub reserve1: TThostFtdcOldInstrumentIDType,
5929    pub Direction: TThostFtdcDirectionType,
5930    pub OffsetFlag: TThostFtdcOffsetFlagType,
5931    pub HedgeFlag: TThostFtdcHedgeFlagType,
5932    pub MaxVolume: TThostFtdcVolumeType,
5933    pub Price: TThostFtdcPriceType,
5934    pub ExchangeID: TThostFtdcExchangeIDType,
5935    pub InvestUnitID: TThostFtdcInvestUnitIDType,
5936    pub InstrumentID: TThostFtdcInstrumentIDType,
5937}
5938#[repr(C)]
5939#[derive(Debug, Copy, Clone)]
5940pub struct CThostFtdcQryBrokerTradingParamsField {
5941    pub BrokerID: TThostFtdcBrokerIDType,
5942    pub InvestorID: TThostFtdcInvestorIDType,
5943    pub CurrencyID: TThostFtdcCurrencyIDType,
5944    pub AccountID: TThostFtdcAccountIDType,
5945}
5946#[repr(C)]
5947#[derive(Debug, Copy, Clone)]
5948pub struct CThostFtdcBrokerTradingParamsField {
5949    pub BrokerID: TThostFtdcBrokerIDType,
5950    pub InvestorID: TThostFtdcInvestorIDType,
5951    pub MarginPriceType: TThostFtdcMarginPriceTypeType,
5952    pub Algorithm: TThostFtdcAlgorithmType,
5953    pub AvailIncludeCloseProfit: TThostFtdcIncludeCloseProfitType,
5954    pub CurrencyID: TThostFtdcCurrencyIDType,
5955    pub OptionRoyaltyPriceType: TThostFtdcOptionRoyaltyPriceTypeType,
5956    pub AccountID: TThostFtdcAccountIDType,
5957}
5958#[repr(C)]
5959#[derive(Debug, Copy, Clone)]
5960pub struct CThostFtdcQryBrokerTradingAlgosField {
5961    pub BrokerID: TThostFtdcBrokerIDType,
5962    pub ExchangeID: TThostFtdcExchangeIDType,
5963    pub reserve1: TThostFtdcOldInstrumentIDType,
5964    pub InstrumentID: TThostFtdcInstrumentIDType,
5965}
5966#[repr(C)]
5967#[derive(Debug, Copy, Clone)]
5968pub struct CThostFtdcBrokerTradingAlgosField {
5969    pub BrokerID: TThostFtdcBrokerIDType,
5970    pub ExchangeID: TThostFtdcExchangeIDType,
5971    pub reserve1: TThostFtdcOldInstrumentIDType,
5972    pub HandlePositionAlgoID: TThostFtdcHandlePositionAlgoIDType,
5973    pub FindMarginRateAlgoID: TThostFtdcFindMarginRateAlgoIDType,
5974    pub HandleTradingAccountAlgoID: TThostFtdcHandleTradingAccountAlgoIDType,
5975    pub InstrumentID: TThostFtdcInstrumentIDType,
5976}
5977#[repr(C)]
5978#[derive(Debug, Copy, Clone)]
5979pub struct CThostFtdcQueryBrokerDepositField {
5980    pub BrokerID: TThostFtdcBrokerIDType,
5981    pub ExchangeID: TThostFtdcExchangeIDType,
5982}
5983#[repr(C)]
5984#[derive(Debug, Copy, Clone)]
5985pub struct CThostFtdcBrokerDepositField {
5986    pub TradingDay: TThostFtdcTradeDateType,
5987    pub BrokerID: TThostFtdcBrokerIDType,
5988    pub ParticipantID: TThostFtdcParticipantIDType,
5989    pub ExchangeID: TThostFtdcExchangeIDType,
5990    pub PreBalance: TThostFtdcMoneyType,
5991    pub CurrMargin: TThostFtdcMoneyType,
5992    pub CloseProfit: TThostFtdcMoneyType,
5993    pub Balance: TThostFtdcMoneyType,
5994    pub Deposit: TThostFtdcMoneyType,
5995    pub Withdraw: TThostFtdcMoneyType,
5996    pub Available: TThostFtdcMoneyType,
5997    pub Reserve: TThostFtdcMoneyType,
5998    pub FrozenMargin: TThostFtdcMoneyType,
5999}
6000#[repr(C)]
6001#[derive(Debug, Copy, Clone)]
6002pub struct CThostFtdcQryCFMMCBrokerKeyField {
6003    pub BrokerID: TThostFtdcBrokerIDType,
6004}
6005#[repr(C)]
6006#[derive(Debug, Copy, Clone)]
6007pub struct CThostFtdcCFMMCBrokerKeyField {
6008    pub BrokerID: TThostFtdcBrokerIDType,
6009    pub ParticipantID: TThostFtdcParticipantIDType,
6010    pub CreateDate: TThostFtdcDateType,
6011    pub CreateTime: TThostFtdcTimeType,
6012    pub KeyID: TThostFtdcSequenceNoType,
6013    pub CurrentKey: TThostFtdcCFMMCKeyType,
6014    pub KeyKind: TThostFtdcCFMMCKeyKindType,
6015}
6016#[repr(C)]
6017#[derive(Debug, Copy, Clone)]
6018pub struct CThostFtdcCFMMCTradingAccountKeyField {
6019    pub BrokerID: TThostFtdcBrokerIDType,
6020    pub ParticipantID: TThostFtdcParticipantIDType,
6021    pub AccountID: TThostFtdcAccountIDType,
6022    pub KeyID: TThostFtdcSequenceNoType,
6023    pub CurrentKey: TThostFtdcCFMMCKeyType,
6024}
6025#[repr(C)]
6026#[derive(Debug, Copy, Clone)]
6027pub struct CThostFtdcQryCFMMCTradingAccountKeyField {
6028    pub BrokerID: TThostFtdcBrokerIDType,
6029    pub InvestorID: TThostFtdcInvestorIDType,
6030}
6031#[repr(C)]
6032#[derive(Debug, Copy, Clone)]
6033pub struct CThostFtdcBrokerUserOTPParamField {
6034    pub BrokerID: TThostFtdcBrokerIDType,
6035    pub UserID: TThostFtdcUserIDType,
6036    pub OTPVendorsID: TThostFtdcOTPVendorsIDType,
6037    pub SerialNumber: TThostFtdcSerialNumberType,
6038    pub AuthKey: TThostFtdcAuthKeyType,
6039    pub LastDrift: TThostFtdcLastDriftType,
6040    pub LastSuccess: TThostFtdcLastSuccessType,
6041    pub OTPType: TThostFtdcOTPTypeType,
6042}
6043#[repr(C)]
6044#[derive(Debug, Copy, Clone)]
6045pub struct CThostFtdcManualSyncBrokerUserOTPField {
6046    pub BrokerID: TThostFtdcBrokerIDType,
6047    pub UserID: TThostFtdcUserIDType,
6048    pub OTPType: TThostFtdcOTPTypeType,
6049    pub FirstOTP: TThostFtdcPasswordType,
6050    pub SecondOTP: TThostFtdcPasswordType,
6051}
6052#[repr(C)]
6053#[derive(Debug, Copy, Clone)]
6054pub struct CThostFtdcCommRateModelField {
6055    pub BrokerID: TThostFtdcBrokerIDType,
6056    pub CommModelID: TThostFtdcInvestorIDType,
6057    pub CommModelName: TThostFtdcCommModelNameType,
6058}
6059#[repr(C)]
6060#[derive(Debug, Copy, Clone)]
6061pub struct CThostFtdcQryCommRateModelField {
6062    pub BrokerID: TThostFtdcBrokerIDType,
6063    pub CommModelID: TThostFtdcInvestorIDType,
6064}
6065#[repr(C)]
6066#[derive(Debug, Copy, Clone)]
6067pub struct CThostFtdcMarginModelField {
6068    pub BrokerID: TThostFtdcBrokerIDType,
6069    pub MarginModelID: TThostFtdcInvestorIDType,
6070    pub MarginModelName: TThostFtdcCommModelNameType,
6071}
6072#[repr(C)]
6073#[derive(Debug, Copy, Clone)]
6074pub struct CThostFtdcQryMarginModelField {
6075    pub BrokerID: TThostFtdcBrokerIDType,
6076    pub MarginModelID: TThostFtdcInvestorIDType,
6077}
6078#[repr(C)]
6079#[derive(Debug, Copy, Clone)]
6080pub struct CThostFtdcEWarrantOffsetField {
6081    pub TradingDay: TThostFtdcTradeDateType,
6082    pub BrokerID: TThostFtdcBrokerIDType,
6083    pub InvestorID: TThostFtdcInvestorIDType,
6084    pub ExchangeID: TThostFtdcExchangeIDType,
6085    pub reserve1: TThostFtdcOldInstrumentIDType,
6086    pub Direction: TThostFtdcDirectionType,
6087    pub HedgeFlag: TThostFtdcHedgeFlagType,
6088    pub Volume: TThostFtdcVolumeType,
6089    pub InvestUnitID: TThostFtdcInvestUnitIDType,
6090    pub InstrumentID: TThostFtdcInstrumentIDType,
6091}
6092#[repr(C)]
6093#[derive(Debug, Copy, Clone)]
6094pub struct CThostFtdcQryEWarrantOffsetField {
6095    pub BrokerID: TThostFtdcBrokerIDType,
6096    pub InvestorID: TThostFtdcInvestorIDType,
6097    pub ExchangeID: TThostFtdcExchangeIDType,
6098    pub reserve1: TThostFtdcOldInstrumentIDType,
6099    pub InvestUnitID: TThostFtdcInvestUnitIDType,
6100    pub InstrumentID: TThostFtdcInstrumentIDType,
6101}
6102#[repr(C)]
6103#[derive(Debug, Copy, Clone)]
6104pub struct CThostFtdcQryInvestorProductGroupMarginField {
6105    pub BrokerID: TThostFtdcBrokerIDType,
6106    pub InvestorID: TThostFtdcInvestorIDType,
6107    pub reserve1: TThostFtdcOldInstrumentIDType,
6108    pub HedgeFlag: TThostFtdcHedgeFlagType,
6109    pub ExchangeID: TThostFtdcExchangeIDType,
6110    pub InvestUnitID: TThostFtdcInvestUnitIDType,
6111    pub ProductGroupID: TThostFtdcInstrumentIDType,
6112}
6113#[repr(C)]
6114#[derive(Debug, Copy, Clone)]
6115pub struct CThostFtdcInvestorProductGroupMarginField {
6116    pub reserve1: TThostFtdcOldInstrumentIDType,
6117    pub BrokerID: TThostFtdcBrokerIDType,
6118    pub InvestorID: TThostFtdcInvestorIDType,
6119    pub TradingDay: TThostFtdcDateType,
6120    pub SettlementID: TThostFtdcSettlementIDType,
6121    pub FrozenMargin: TThostFtdcMoneyType,
6122    pub LongFrozenMargin: TThostFtdcMoneyType,
6123    pub ShortFrozenMargin: TThostFtdcMoneyType,
6124    pub UseMargin: TThostFtdcMoneyType,
6125    pub LongUseMargin: TThostFtdcMoneyType,
6126    pub ShortUseMargin: TThostFtdcMoneyType,
6127    pub ExchMargin: TThostFtdcMoneyType,
6128    pub LongExchMargin: TThostFtdcMoneyType,
6129    pub ShortExchMargin: TThostFtdcMoneyType,
6130    pub CloseProfit: TThostFtdcMoneyType,
6131    pub FrozenCommission: TThostFtdcMoneyType,
6132    pub Commission: TThostFtdcMoneyType,
6133    pub FrozenCash: TThostFtdcMoneyType,
6134    pub CashIn: TThostFtdcMoneyType,
6135    pub PositionProfit: TThostFtdcMoneyType,
6136    pub OffsetAmount: TThostFtdcMoneyType,
6137    pub LongOffsetAmount: TThostFtdcMoneyType,
6138    pub ShortOffsetAmount: TThostFtdcMoneyType,
6139    pub ExchOffsetAmount: TThostFtdcMoneyType,
6140    pub LongExchOffsetAmount: TThostFtdcMoneyType,
6141    pub ShortExchOffsetAmount: TThostFtdcMoneyType,
6142    pub HedgeFlag: TThostFtdcHedgeFlagType,
6143    pub ExchangeID: TThostFtdcExchangeIDType,
6144    pub InvestUnitID: TThostFtdcInvestUnitIDType,
6145    pub ProductGroupID: TThostFtdcInstrumentIDType,
6146}
6147#[repr(C)]
6148#[derive(Debug, Copy, Clone)]
6149pub struct CThostFtdcQueryCFMMCTradingAccountTokenField {
6150    pub BrokerID: TThostFtdcBrokerIDType,
6151    pub InvestorID: TThostFtdcInvestorIDType,
6152    pub InvestUnitID: TThostFtdcInvestUnitIDType,
6153}
6154#[repr(C)]
6155#[derive(Debug, Copy, Clone)]
6156pub struct CThostFtdcCFMMCTradingAccountTokenField {
6157    pub BrokerID: TThostFtdcBrokerIDType,
6158    pub ParticipantID: TThostFtdcParticipantIDType,
6159    pub AccountID: TThostFtdcAccountIDType,
6160    pub KeyID: TThostFtdcSequenceNoType,
6161    pub Token: TThostFtdcCFMMCTokenType,
6162}
6163#[repr(C)]
6164#[derive(Debug, Copy, Clone)]
6165pub struct CThostFtdcQryProductGroupField {
6166    pub reserve1: TThostFtdcOldInstrumentIDType,
6167    pub ExchangeID: TThostFtdcExchangeIDType,
6168    pub ProductID: TThostFtdcInstrumentIDType,
6169}
6170#[repr(C)]
6171#[derive(Debug, Copy, Clone)]
6172pub struct CThostFtdcProductGroupField {
6173    pub reserve1: TThostFtdcOldInstrumentIDType,
6174    pub ExchangeID: TThostFtdcExchangeIDType,
6175    pub reserve2: TThostFtdcOldInstrumentIDType,
6176    pub ProductID: TThostFtdcInstrumentIDType,
6177    pub ProductGroupID: TThostFtdcInstrumentIDType,
6178}
6179#[repr(C)]
6180#[derive(Debug, Copy, Clone)]
6181pub struct CThostFtdcBulletinField {
6182    pub ExchangeID: TThostFtdcExchangeIDType,
6183    pub TradingDay: TThostFtdcDateType,
6184    pub BulletinID: TThostFtdcBulletinIDType,
6185    pub SequenceNo: TThostFtdcSequenceNoType,
6186    pub NewsType: TThostFtdcNewsTypeType,
6187    pub NewsUrgency: TThostFtdcNewsUrgencyType,
6188    pub SendTime: TThostFtdcTimeType,
6189    pub Abstract: TThostFtdcAbstractType,
6190    pub ComeFrom: TThostFtdcComeFromType,
6191    pub Content: TThostFtdcContentType,
6192    pub URLLink: TThostFtdcURLLinkType,
6193    pub MarketID: TThostFtdcMarketIDType,
6194}
6195#[repr(C)]
6196#[derive(Debug, Copy, Clone)]
6197pub struct CThostFtdcQryBulletinField {
6198    pub ExchangeID: TThostFtdcExchangeIDType,
6199    pub BulletinID: TThostFtdcBulletinIDType,
6200    pub SequenceNo: TThostFtdcSequenceNoType,
6201    pub NewsType: TThostFtdcNewsTypeType,
6202    pub NewsUrgency: TThostFtdcNewsUrgencyType,
6203}
6204#[repr(C)]
6205#[derive(Debug, Copy, Clone)]
6206pub struct CThostFtdcMulticastInstrumentField {
6207    pub TopicID: TThostFtdcInstallIDType,
6208    pub reserve1: TThostFtdcOldInstrumentIDType,
6209    pub InstrumentNo: TThostFtdcInstallIDType,
6210    pub CodePrice: TThostFtdcPriceType,
6211    pub VolumeMultiple: TThostFtdcVolumeMultipleType,
6212    pub PriceTick: TThostFtdcPriceType,
6213    pub InstrumentID: TThostFtdcInstrumentIDType,
6214}
6215#[repr(C)]
6216#[derive(Debug, Copy, Clone)]
6217pub struct CThostFtdcQryMulticastInstrumentField {
6218    pub TopicID: TThostFtdcInstallIDType,
6219    pub reserve1: TThostFtdcOldInstrumentIDType,
6220    pub InstrumentID: TThostFtdcInstrumentIDType,
6221}
6222#[repr(C)]
6223#[derive(Debug, Copy, Clone)]
6224pub struct CThostFtdcAppIDAuthAssignField {
6225    pub BrokerID: TThostFtdcBrokerIDType,
6226    pub AppID: TThostFtdcAppIDType,
6227    pub DRIdentityID: TThostFtdcDRIdentityIDType,
6228}
6229#[repr(C)]
6230#[derive(Debug, Copy, Clone)]
6231pub struct CThostFtdcReqOpenAccountField {
6232    pub TradeCode: TThostFtdcTradeCodeType,
6233    pub BankID: TThostFtdcBankIDType,
6234    pub BankBranchID: TThostFtdcBankBrchIDType,
6235    pub BrokerID: TThostFtdcBrokerIDType,
6236    pub BrokerBranchID: TThostFtdcFutureBranchIDType,
6237    pub TradeDate: TThostFtdcTradeDateType,
6238    pub TradeTime: TThostFtdcTradeTimeType,
6239    pub BankSerial: TThostFtdcBankSerialType,
6240    pub TradingDay: TThostFtdcTradeDateType,
6241    pub PlateSerial: TThostFtdcSerialType,
6242    pub LastFragment: TThostFtdcLastFragmentType,
6243    pub SessionID: TThostFtdcSessionIDType,
6244    pub CustomerName: TThostFtdcIndividualNameType,
6245    pub IdCardType: TThostFtdcIdCardTypeType,
6246    pub IdentifiedCardNo: TThostFtdcIdentifiedCardNoType,
6247    pub Gender: TThostFtdcGenderType,
6248    pub CountryCode: TThostFtdcCountryCodeType,
6249    pub CustType: TThostFtdcCustTypeType,
6250    pub Address: TThostFtdcAddressType,
6251    pub ZipCode: TThostFtdcZipCodeType,
6252    pub Telephone: TThostFtdcTelephoneType,
6253    pub MobilePhone: TThostFtdcMobilePhoneType,
6254    pub Fax: TThostFtdcFaxType,
6255    pub EMail: TThostFtdcEMailType,
6256    pub MoneyAccountStatus: TThostFtdcMoneyAccountStatusType,
6257    pub BankAccount: TThostFtdcBankAccountType,
6258    pub BankPassWord: TThostFtdcPasswordType,
6259    pub AccountID: TThostFtdcAccountIDType,
6260    pub Password: TThostFtdcPasswordType,
6261    pub InstallID: TThostFtdcInstallIDType,
6262    pub VerifyCertNoFlag: TThostFtdcYesNoIndicatorType,
6263    pub CurrencyID: TThostFtdcCurrencyIDType,
6264    pub CashExchangeCode: TThostFtdcCashExchangeCodeType,
6265    pub Digest: TThostFtdcDigestType,
6266    pub BankAccType: TThostFtdcBankAccTypeType,
6267    pub DeviceID: TThostFtdcDeviceIDType,
6268    pub BankSecuAccType: TThostFtdcBankAccTypeType,
6269    pub BrokerIDByBank: TThostFtdcBankCodingForFutureType,
6270    pub BankSecuAcc: TThostFtdcBankAccountType,
6271    pub BankPwdFlag: TThostFtdcPwdFlagType,
6272    pub SecuPwdFlag: TThostFtdcPwdFlagType,
6273    pub OperNo: TThostFtdcOperNoType,
6274    pub TID: TThostFtdcTIDType,
6275    pub UserID: TThostFtdcUserIDType,
6276    pub LongCustomerName: TThostFtdcLongIndividualNameType,
6277}
6278#[repr(C)]
6279#[derive(Debug, Copy, Clone)]
6280pub struct CThostFtdcReqCancelAccountField {
6281    pub TradeCode: TThostFtdcTradeCodeType,
6282    pub BankID: TThostFtdcBankIDType,
6283    pub BankBranchID: TThostFtdcBankBrchIDType,
6284    pub BrokerID: TThostFtdcBrokerIDType,
6285    pub BrokerBranchID: TThostFtdcFutureBranchIDType,
6286    pub TradeDate: TThostFtdcTradeDateType,
6287    pub TradeTime: TThostFtdcTradeTimeType,
6288    pub BankSerial: TThostFtdcBankSerialType,
6289    pub TradingDay: TThostFtdcTradeDateType,
6290    pub PlateSerial: TThostFtdcSerialType,
6291    pub LastFragment: TThostFtdcLastFragmentType,
6292    pub SessionID: TThostFtdcSessionIDType,
6293    pub CustomerName: TThostFtdcIndividualNameType,
6294    pub IdCardType: TThostFtdcIdCardTypeType,
6295    pub IdentifiedCardNo: TThostFtdcIdentifiedCardNoType,
6296    pub Gender: TThostFtdcGenderType,
6297    pub CountryCode: TThostFtdcCountryCodeType,
6298    pub CustType: TThostFtdcCustTypeType,
6299    pub Address: TThostFtdcAddressType,
6300    pub ZipCode: TThostFtdcZipCodeType,
6301    pub Telephone: TThostFtdcTelephoneType,
6302    pub MobilePhone: TThostFtdcMobilePhoneType,
6303    pub Fax: TThostFtdcFaxType,
6304    pub EMail: TThostFtdcEMailType,
6305    pub MoneyAccountStatus: TThostFtdcMoneyAccountStatusType,
6306    pub BankAccount: TThostFtdcBankAccountType,
6307    pub BankPassWord: TThostFtdcPasswordType,
6308    pub AccountID: TThostFtdcAccountIDType,
6309    pub Password: TThostFtdcPasswordType,
6310    pub InstallID: TThostFtdcInstallIDType,
6311    pub VerifyCertNoFlag: TThostFtdcYesNoIndicatorType,
6312    pub CurrencyID: TThostFtdcCurrencyIDType,
6313    pub CashExchangeCode: TThostFtdcCashExchangeCodeType,
6314    pub Digest: TThostFtdcDigestType,
6315    pub BankAccType: TThostFtdcBankAccTypeType,
6316    pub DeviceID: TThostFtdcDeviceIDType,
6317    pub BankSecuAccType: TThostFtdcBankAccTypeType,
6318    pub BrokerIDByBank: TThostFtdcBankCodingForFutureType,
6319    pub BankSecuAcc: TThostFtdcBankAccountType,
6320    pub BankPwdFlag: TThostFtdcPwdFlagType,
6321    pub SecuPwdFlag: TThostFtdcPwdFlagType,
6322    pub OperNo: TThostFtdcOperNoType,
6323    pub TID: TThostFtdcTIDType,
6324    pub UserID: TThostFtdcUserIDType,
6325    pub LongCustomerName: TThostFtdcLongIndividualNameType,
6326}
6327#[repr(C)]
6328#[derive(Debug, Copy, Clone)]
6329pub struct CThostFtdcReqChangeAccountField {
6330    pub TradeCode: TThostFtdcTradeCodeType,
6331    pub BankID: TThostFtdcBankIDType,
6332    pub BankBranchID: TThostFtdcBankBrchIDType,
6333    pub BrokerID: TThostFtdcBrokerIDType,
6334    pub BrokerBranchID: TThostFtdcFutureBranchIDType,
6335    pub TradeDate: TThostFtdcTradeDateType,
6336    pub TradeTime: TThostFtdcTradeTimeType,
6337    pub BankSerial: TThostFtdcBankSerialType,
6338    pub TradingDay: TThostFtdcTradeDateType,
6339    pub PlateSerial: TThostFtdcSerialType,
6340    pub LastFragment: TThostFtdcLastFragmentType,
6341    pub SessionID: TThostFtdcSessionIDType,
6342    pub CustomerName: TThostFtdcIndividualNameType,
6343    pub IdCardType: TThostFtdcIdCardTypeType,
6344    pub IdentifiedCardNo: TThostFtdcIdentifiedCardNoType,
6345    pub Gender: TThostFtdcGenderType,
6346    pub CountryCode: TThostFtdcCountryCodeType,
6347    pub CustType: TThostFtdcCustTypeType,
6348    pub Address: TThostFtdcAddressType,
6349    pub ZipCode: TThostFtdcZipCodeType,
6350    pub Telephone: TThostFtdcTelephoneType,
6351    pub MobilePhone: TThostFtdcMobilePhoneType,
6352    pub Fax: TThostFtdcFaxType,
6353    pub EMail: TThostFtdcEMailType,
6354    pub MoneyAccountStatus: TThostFtdcMoneyAccountStatusType,
6355    pub BankAccount: TThostFtdcBankAccountType,
6356    pub BankPassWord: TThostFtdcPasswordType,
6357    pub NewBankAccount: TThostFtdcBankAccountType,
6358    pub NewBankPassWord: TThostFtdcPasswordType,
6359    pub AccountID: TThostFtdcAccountIDType,
6360    pub Password: TThostFtdcPasswordType,
6361    pub BankAccType: TThostFtdcBankAccTypeType,
6362    pub InstallID: TThostFtdcInstallIDType,
6363    pub VerifyCertNoFlag: TThostFtdcYesNoIndicatorType,
6364    pub CurrencyID: TThostFtdcCurrencyIDType,
6365    pub BrokerIDByBank: TThostFtdcBankCodingForFutureType,
6366    pub BankPwdFlag: TThostFtdcPwdFlagType,
6367    pub SecuPwdFlag: TThostFtdcPwdFlagType,
6368    pub TID: TThostFtdcTIDType,
6369    pub Digest: TThostFtdcDigestType,
6370    pub LongCustomerName: TThostFtdcLongIndividualNameType,
6371}
6372#[repr(C)]
6373#[derive(Debug, Copy, Clone)]
6374pub struct CThostFtdcReqTransferField {
6375    pub TradeCode: TThostFtdcTradeCodeType,
6376    pub BankID: TThostFtdcBankIDType,
6377    pub BankBranchID: TThostFtdcBankBrchIDType,
6378    pub BrokerID: TThostFtdcBrokerIDType,
6379    pub BrokerBranchID: TThostFtdcFutureBranchIDType,
6380    pub TradeDate: TThostFtdcTradeDateType,
6381    pub TradeTime: TThostFtdcTradeTimeType,
6382    pub BankSerial: TThostFtdcBankSerialType,
6383    pub TradingDay: TThostFtdcTradeDateType,
6384    pub PlateSerial: TThostFtdcSerialType,
6385    pub LastFragment: TThostFtdcLastFragmentType,
6386    pub SessionID: TThostFtdcSessionIDType,
6387    pub CustomerName: TThostFtdcIndividualNameType,
6388    pub IdCardType: TThostFtdcIdCardTypeType,
6389    pub IdentifiedCardNo: TThostFtdcIdentifiedCardNoType,
6390    pub CustType: TThostFtdcCustTypeType,
6391    pub BankAccount: TThostFtdcBankAccountType,
6392    pub BankPassWord: TThostFtdcPasswordType,
6393    pub AccountID: TThostFtdcAccountIDType,
6394    pub Password: TThostFtdcPasswordType,
6395    pub InstallID: TThostFtdcInstallIDType,
6396    pub FutureSerial: TThostFtdcFutureSerialType,
6397    pub UserID: TThostFtdcUserIDType,
6398    pub VerifyCertNoFlag: TThostFtdcYesNoIndicatorType,
6399    pub CurrencyID: TThostFtdcCurrencyIDType,
6400    pub TradeAmount: TThostFtdcTradeAmountType,
6401    pub FutureFetchAmount: TThostFtdcTradeAmountType,
6402    pub FeePayFlag: TThostFtdcFeePayFlagType,
6403    pub CustFee: TThostFtdcCustFeeType,
6404    pub BrokerFee: TThostFtdcFutureFeeType,
6405    pub Message: TThostFtdcAddInfoType,
6406    pub Digest: TThostFtdcDigestType,
6407    pub BankAccType: TThostFtdcBankAccTypeType,
6408    pub DeviceID: TThostFtdcDeviceIDType,
6409    pub BankSecuAccType: TThostFtdcBankAccTypeType,
6410    pub BrokerIDByBank: TThostFtdcBankCodingForFutureType,
6411    pub BankSecuAcc: TThostFtdcBankAccountType,
6412    pub BankPwdFlag: TThostFtdcPwdFlagType,
6413    pub SecuPwdFlag: TThostFtdcPwdFlagType,
6414    pub OperNo: TThostFtdcOperNoType,
6415    pub RequestID: TThostFtdcRequestIDType,
6416    pub TID: TThostFtdcTIDType,
6417    pub TransferStatus: TThostFtdcTransferStatusType,
6418    pub LongCustomerName: TThostFtdcLongIndividualNameType,
6419}
6420#[repr(C)]
6421#[derive(Debug, Copy, Clone)]
6422pub struct CThostFtdcRspTransferField {
6423    pub TradeCode: TThostFtdcTradeCodeType,
6424    pub BankID: TThostFtdcBankIDType,
6425    pub BankBranchID: TThostFtdcBankBrchIDType,
6426    pub BrokerID: TThostFtdcBrokerIDType,
6427    pub BrokerBranchID: TThostFtdcFutureBranchIDType,
6428    pub TradeDate: TThostFtdcTradeDateType,
6429    pub TradeTime: TThostFtdcTradeTimeType,
6430    pub BankSerial: TThostFtdcBankSerialType,
6431    pub TradingDay: TThostFtdcTradeDateType,
6432    pub PlateSerial: TThostFtdcSerialType,
6433    pub LastFragment: TThostFtdcLastFragmentType,
6434    pub SessionID: TThostFtdcSessionIDType,
6435    pub CustomerName: TThostFtdcIndividualNameType,
6436    pub IdCardType: TThostFtdcIdCardTypeType,
6437    pub IdentifiedCardNo: TThostFtdcIdentifiedCardNoType,
6438    pub CustType: TThostFtdcCustTypeType,
6439    pub BankAccount: TThostFtdcBankAccountType,
6440    pub BankPassWord: TThostFtdcPasswordType,
6441    pub AccountID: TThostFtdcAccountIDType,
6442    pub Password: TThostFtdcPasswordType,
6443    pub InstallID: TThostFtdcInstallIDType,
6444    pub FutureSerial: TThostFtdcFutureSerialType,
6445    pub UserID: TThostFtdcUserIDType,
6446    pub VerifyCertNoFlag: TThostFtdcYesNoIndicatorType,
6447    pub CurrencyID: TThostFtdcCurrencyIDType,
6448    pub TradeAmount: TThostFtdcTradeAmountType,
6449    pub FutureFetchAmount: TThostFtdcTradeAmountType,
6450    pub FeePayFlag: TThostFtdcFeePayFlagType,
6451    pub CustFee: TThostFtdcCustFeeType,
6452    pub BrokerFee: TThostFtdcFutureFeeType,
6453    pub Message: TThostFtdcAddInfoType,
6454    pub Digest: TThostFtdcDigestType,
6455    pub BankAccType: TThostFtdcBankAccTypeType,
6456    pub DeviceID: TThostFtdcDeviceIDType,
6457    pub BankSecuAccType: TThostFtdcBankAccTypeType,
6458    pub BrokerIDByBank: TThostFtdcBankCodingForFutureType,
6459    pub BankSecuAcc: TThostFtdcBankAccountType,
6460    pub BankPwdFlag: TThostFtdcPwdFlagType,
6461    pub SecuPwdFlag: TThostFtdcPwdFlagType,
6462    pub OperNo: TThostFtdcOperNoType,
6463    pub RequestID: TThostFtdcRequestIDType,
6464    pub TID: TThostFtdcTIDType,
6465    pub TransferStatus: TThostFtdcTransferStatusType,
6466    pub ErrorID: TThostFtdcErrorIDType,
6467    pub ErrorMsg: TThostFtdcErrorMsgType,
6468    pub LongCustomerName: TThostFtdcLongIndividualNameType,
6469}
6470#[repr(C)]
6471#[derive(Debug, Copy, Clone)]
6472pub struct CThostFtdcReqRepealField {
6473    pub RepealTimeInterval: TThostFtdcRepealTimeIntervalType,
6474    pub RepealedTimes: TThostFtdcRepealedTimesType,
6475    pub BankRepealFlag: TThostFtdcBankRepealFlagType,
6476    pub BrokerRepealFlag: TThostFtdcBrokerRepealFlagType,
6477    pub PlateRepealSerial: TThostFtdcPlateSerialType,
6478    pub BankRepealSerial: TThostFtdcBankSerialType,
6479    pub FutureRepealSerial: TThostFtdcFutureSerialType,
6480    pub TradeCode: TThostFtdcTradeCodeType,
6481    pub BankID: TThostFtdcBankIDType,
6482    pub BankBranchID: TThostFtdcBankBrchIDType,
6483    pub BrokerID: TThostFtdcBrokerIDType,
6484    pub BrokerBranchID: TThostFtdcFutureBranchIDType,
6485    pub TradeDate: TThostFtdcTradeDateType,
6486    pub TradeTime: TThostFtdcTradeTimeType,
6487    pub BankSerial: TThostFtdcBankSerialType,
6488    pub TradingDay: TThostFtdcTradeDateType,
6489    pub PlateSerial: TThostFtdcSerialType,
6490    pub LastFragment: TThostFtdcLastFragmentType,
6491    pub SessionID: TThostFtdcSessionIDType,
6492    pub CustomerName: TThostFtdcIndividualNameType,
6493    pub IdCardType: TThostFtdcIdCardTypeType,
6494    pub IdentifiedCardNo: TThostFtdcIdentifiedCardNoType,
6495    pub CustType: TThostFtdcCustTypeType,
6496    pub BankAccount: TThostFtdcBankAccountType,
6497    pub BankPassWord: TThostFtdcPasswordType,
6498    pub AccountID: TThostFtdcAccountIDType,
6499    pub Password: TThostFtdcPasswordType,
6500    pub InstallID: TThostFtdcInstallIDType,
6501    pub FutureSerial: TThostFtdcFutureSerialType,
6502    pub UserID: TThostFtdcUserIDType,
6503    pub VerifyCertNoFlag: TThostFtdcYesNoIndicatorType,
6504    pub CurrencyID: TThostFtdcCurrencyIDType,
6505    pub TradeAmount: TThostFtdcTradeAmountType,
6506    pub FutureFetchAmount: TThostFtdcTradeAmountType,
6507    pub FeePayFlag: TThostFtdcFeePayFlagType,
6508    pub CustFee: TThostFtdcCustFeeType,
6509    pub BrokerFee: TThostFtdcFutureFeeType,
6510    pub Message: TThostFtdcAddInfoType,
6511    pub Digest: TThostFtdcDigestType,
6512    pub BankAccType: TThostFtdcBankAccTypeType,
6513    pub DeviceID: TThostFtdcDeviceIDType,
6514    pub BankSecuAccType: TThostFtdcBankAccTypeType,
6515    pub BrokerIDByBank: TThostFtdcBankCodingForFutureType,
6516    pub BankSecuAcc: TThostFtdcBankAccountType,
6517    pub BankPwdFlag: TThostFtdcPwdFlagType,
6518    pub SecuPwdFlag: TThostFtdcPwdFlagType,
6519    pub OperNo: TThostFtdcOperNoType,
6520    pub RequestID: TThostFtdcRequestIDType,
6521    pub TID: TThostFtdcTIDType,
6522    pub TransferStatus: TThostFtdcTransferStatusType,
6523    pub LongCustomerName: TThostFtdcLongIndividualNameType,
6524}
6525#[repr(C)]
6526#[derive(Debug, Copy, Clone)]
6527pub struct CThostFtdcRspRepealField {
6528    pub RepealTimeInterval: TThostFtdcRepealTimeIntervalType,
6529    pub RepealedTimes: TThostFtdcRepealedTimesType,
6530    pub BankRepealFlag: TThostFtdcBankRepealFlagType,
6531    pub BrokerRepealFlag: TThostFtdcBrokerRepealFlagType,
6532    pub PlateRepealSerial: TThostFtdcPlateSerialType,
6533    pub BankRepealSerial: TThostFtdcBankSerialType,
6534    pub FutureRepealSerial: TThostFtdcFutureSerialType,
6535    pub TradeCode: TThostFtdcTradeCodeType,
6536    pub BankID: TThostFtdcBankIDType,
6537    pub BankBranchID: TThostFtdcBankBrchIDType,
6538    pub BrokerID: TThostFtdcBrokerIDType,
6539    pub BrokerBranchID: TThostFtdcFutureBranchIDType,
6540    pub TradeDate: TThostFtdcTradeDateType,
6541    pub TradeTime: TThostFtdcTradeTimeType,
6542    pub BankSerial: TThostFtdcBankSerialType,
6543    pub TradingDay: TThostFtdcTradeDateType,
6544    pub PlateSerial: TThostFtdcSerialType,
6545    pub LastFragment: TThostFtdcLastFragmentType,
6546    pub SessionID: TThostFtdcSessionIDType,
6547    pub CustomerName: TThostFtdcIndividualNameType,
6548    pub IdCardType: TThostFtdcIdCardTypeType,
6549    pub IdentifiedCardNo: TThostFtdcIdentifiedCardNoType,
6550    pub CustType: TThostFtdcCustTypeType,
6551    pub BankAccount: TThostFtdcBankAccountType,
6552    pub BankPassWord: TThostFtdcPasswordType,
6553    pub AccountID: TThostFtdcAccountIDType,
6554    pub Password: TThostFtdcPasswordType,
6555    pub InstallID: TThostFtdcInstallIDType,
6556    pub FutureSerial: TThostFtdcFutureSerialType,
6557    pub UserID: TThostFtdcUserIDType,
6558    pub VerifyCertNoFlag: TThostFtdcYesNoIndicatorType,
6559    pub CurrencyID: TThostFtdcCurrencyIDType,
6560    pub TradeAmount: TThostFtdcTradeAmountType,
6561    pub FutureFetchAmount: TThostFtdcTradeAmountType,
6562    pub FeePayFlag: TThostFtdcFeePayFlagType,
6563    pub CustFee: TThostFtdcCustFeeType,
6564    pub BrokerFee: TThostFtdcFutureFeeType,
6565    pub Message: TThostFtdcAddInfoType,
6566    pub Digest: TThostFtdcDigestType,
6567    pub BankAccType: TThostFtdcBankAccTypeType,
6568    pub DeviceID: TThostFtdcDeviceIDType,
6569    pub BankSecuAccType: TThostFtdcBankAccTypeType,
6570    pub BrokerIDByBank: TThostFtdcBankCodingForFutureType,
6571    pub BankSecuAcc: TThostFtdcBankAccountType,
6572    pub BankPwdFlag: TThostFtdcPwdFlagType,
6573    pub SecuPwdFlag: TThostFtdcPwdFlagType,
6574    pub OperNo: TThostFtdcOperNoType,
6575    pub RequestID: TThostFtdcRequestIDType,
6576    pub TID: TThostFtdcTIDType,
6577    pub TransferStatus: TThostFtdcTransferStatusType,
6578    pub ErrorID: TThostFtdcErrorIDType,
6579    pub ErrorMsg: TThostFtdcErrorMsgType,
6580    pub LongCustomerName: TThostFtdcLongIndividualNameType,
6581}
6582#[repr(C)]
6583#[derive(Debug, Copy, Clone)]
6584pub struct CThostFtdcReqQueryAccountField {
6585    pub TradeCode: TThostFtdcTradeCodeType,
6586    pub BankID: TThostFtdcBankIDType,
6587    pub BankBranchID: TThostFtdcBankBrchIDType,
6588    pub BrokerID: TThostFtdcBrokerIDType,
6589    pub BrokerBranchID: TThostFtdcFutureBranchIDType,
6590    pub TradeDate: TThostFtdcTradeDateType,
6591    pub TradeTime: TThostFtdcTradeTimeType,
6592    pub BankSerial: TThostFtdcBankSerialType,
6593    pub TradingDay: TThostFtdcTradeDateType,
6594    pub PlateSerial: TThostFtdcSerialType,
6595    pub LastFragment: TThostFtdcLastFragmentType,
6596    pub SessionID: TThostFtdcSessionIDType,
6597    pub CustomerName: TThostFtdcIndividualNameType,
6598    pub IdCardType: TThostFtdcIdCardTypeType,
6599    pub IdentifiedCardNo: TThostFtdcIdentifiedCardNoType,
6600    pub CustType: TThostFtdcCustTypeType,
6601    pub BankAccount: TThostFtdcBankAccountType,
6602    pub BankPassWord: TThostFtdcPasswordType,
6603    pub AccountID: TThostFtdcAccountIDType,
6604    pub Password: TThostFtdcPasswordType,
6605    pub FutureSerial: TThostFtdcFutureSerialType,
6606    pub InstallID: TThostFtdcInstallIDType,
6607    pub UserID: TThostFtdcUserIDType,
6608    pub VerifyCertNoFlag: TThostFtdcYesNoIndicatorType,
6609    pub CurrencyID: TThostFtdcCurrencyIDType,
6610    pub Digest: TThostFtdcDigestType,
6611    pub BankAccType: TThostFtdcBankAccTypeType,
6612    pub DeviceID: TThostFtdcDeviceIDType,
6613    pub BankSecuAccType: TThostFtdcBankAccTypeType,
6614    pub BrokerIDByBank: TThostFtdcBankCodingForFutureType,
6615    pub BankSecuAcc: TThostFtdcBankAccountType,
6616    pub BankPwdFlag: TThostFtdcPwdFlagType,
6617    pub SecuPwdFlag: TThostFtdcPwdFlagType,
6618    pub OperNo: TThostFtdcOperNoType,
6619    pub RequestID: TThostFtdcRequestIDType,
6620    pub TID: TThostFtdcTIDType,
6621    pub LongCustomerName: TThostFtdcLongIndividualNameType,
6622}
6623#[repr(C)]
6624#[derive(Debug, Copy, Clone)]
6625pub struct CThostFtdcRspQueryAccountField {
6626    pub TradeCode: TThostFtdcTradeCodeType,
6627    pub BankID: TThostFtdcBankIDType,
6628    pub BankBranchID: TThostFtdcBankBrchIDType,
6629    pub BrokerID: TThostFtdcBrokerIDType,
6630    pub BrokerBranchID: TThostFtdcFutureBranchIDType,
6631    pub TradeDate: TThostFtdcTradeDateType,
6632    pub TradeTime: TThostFtdcTradeTimeType,
6633    pub BankSerial: TThostFtdcBankSerialType,
6634    pub TradingDay: TThostFtdcTradeDateType,
6635    pub PlateSerial: TThostFtdcSerialType,
6636    pub LastFragment: TThostFtdcLastFragmentType,
6637    pub SessionID: TThostFtdcSessionIDType,
6638    pub CustomerName: TThostFtdcIndividualNameType,
6639    pub IdCardType: TThostFtdcIdCardTypeType,
6640    pub IdentifiedCardNo: TThostFtdcIdentifiedCardNoType,
6641    pub CustType: TThostFtdcCustTypeType,
6642    pub BankAccount: TThostFtdcBankAccountType,
6643    pub BankPassWord: TThostFtdcPasswordType,
6644    pub AccountID: TThostFtdcAccountIDType,
6645    pub Password: TThostFtdcPasswordType,
6646    pub FutureSerial: TThostFtdcFutureSerialType,
6647    pub InstallID: TThostFtdcInstallIDType,
6648    pub UserID: TThostFtdcUserIDType,
6649    pub VerifyCertNoFlag: TThostFtdcYesNoIndicatorType,
6650    pub CurrencyID: TThostFtdcCurrencyIDType,
6651    pub Digest: TThostFtdcDigestType,
6652    pub BankAccType: TThostFtdcBankAccTypeType,
6653    pub DeviceID: TThostFtdcDeviceIDType,
6654    pub BankSecuAccType: TThostFtdcBankAccTypeType,
6655    pub BrokerIDByBank: TThostFtdcBankCodingForFutureType,
6656    pub BankSecuAcc: TThostFtdcBankAccountType,
6657    pub BankPwdFlag: TThostFtdcPwdFlagType,
6658    pub SecuPwdFlag: TThostFtdcPwdFlagType,
6659    pub OperNo: TThostFtdcOperNoType,
6660    pub RequestID: TThostFtdcRequestIDType,
6661    pub TID: TThostFtdcTIDType,
6662    pub BankUseAmount: TThostFtdcTradeAmountType,
6663    pub BankFetchAmount: TThostFtdcTradeAmountType,
6664    pub LongCustomerName: TThostFtdcLongIndividualNameType,
6665}
6666#[repr(C)]
6667#[derive(Debug, Copy, Clone)]
6668pub struct CThostFtdcFutureSignIOField {
6669    pub TradeCode: TThostFtdcTradeCodeType,
6670    pub BankID: TThostFtdcBankIDType,
6671    pub BankBranchID: TThostFtdcBankBrchIDType,
6672    pub BrokerID: TThostFtdcBrokerIDType,
6673    pub BrokerBranchID: TThostFtdcFutureBranchIDType,
6674    pub TradeDate: TThostFtdcTradeDateType,
6675    pub TradeTime: TThostFtdcTradeTimeType,
6676    pub BankSerial: TThostFtdcBankSerialType,
6677    pub TradingDay: TThostFtdcTradeDateType,
6678    pub PlateSerial: TThostFtdcSerialType,
6679    pub LastFragment: TThostFtdcLastFragmentType,
6680    pub SessionID: TThostFtdcSessionIDType,
6681    pub InstallID: TThostFtdcInstallIDType,
6682    pub UserID: TThostFtdcUserIDType,
6683    pub Digest: TThostFtdcDigestType,
6684    pub CurrencyID: TThostFtdcCurrencyIDType,
6685    pub DeviceID: TThostFtdcDeviceIDType,
6686    pub BrokerIDByBank: TThostFtdcBankCodingForFutureType,
6687    pub OperNo: TThostFtdcOperNoType,
6688    pub RequestID: TThostFtdcRequestIDType,
6689    pub TID: TThostFtdcTIDType,
6690}
6691#[repr(C)]
6692#[derive(Debug, Copy, Clone)]
6693pub struct CThostFtdcRspFutureSignInField {
6694    pub TradeCode: TThostFtdcTradeCodeType,
6695    pub BankID: TThostFtdcBankIDType,
6696    pub BankBranchID: TThostFtdcBankBrchIDType,
6697    pub BrokerID: TThostFtdcBrokerIDType,
6698    pub BrokerBranchID: TThostFtdcFutureBranchIDType,
6699    pub TradeDate: TThostFtdcTradeDateType,
6700    pub TradeTime: TThostFtdcTradeTimeType,
6701    pub BankSerial: TThostFtdcBankSerialType,
6702    pub TradingDay: TThostFtdcTradeDateType,
6703    pub PlateSerial: TThostFtdcSerialType,
6704    pub LastFragment: TThostFtdcLastFragmentType,
6705    pub SessionID: TThostFtdcSessionIDType,
6706    pub InstallID: TThostFtdcInstallIDType,
6707    pub UserID: TThostFtdcUserIDType,
6708    pub Digest: TThostFtdcDigestType,
6709    pub CurrencyID: TThostFtdcCurrencyIDType,
6710    pub DeviceID: TThostFtdcDeviceIDType,
6711    pub BrokerIDByBank: TThostFtdcBankCodingForFutureType,
6712    pub OperNo: TThostFtdcOperNoType,
6713    pub RequestID: TThostFtdcRequestIDType,
6714    pub TID: TThostFtdcTIDType,
6715    pub ErrorID: TThostFtdcErrorIDType,
6716    pub ErrorMsg: TThostFtdcErrorMsgType,
6717    pub PinKey: TThostFtdcPasswordKeyType,
6718    pub MacKey: TThostFtdcPasswordKeyType,
6719}
6720#[repr(C)]
6721#[derive(Debug, Copy, Clone)]
6722pub struct CThostFtdcReqFutureSignOutField {
6723    pub TradeCode: TThostFtdcTradeCodeType,
6724    pub BankID: TThostFtdcBankIDType,
6725    pub BankBranchID: TThostFtdcBankBrchIDType,
6726    pub BrokerID: TThostFtdcBrokerIDType,
6727    pub BrokerBranchID: TThostFtdcFutureBranchIDType,
6728    pub TradeDate: TThostFtdcTradeDateType,
6729    pub TradeTime: TThostFtdcTradeTimeType,
6730    pub BankSerial: TThostFtdcBankSerialType,
6731    pub TradingDay: TThostFtdcTradeDateType,
6732    pub PlateSerial: TThostFtdcSerialType,
6733    pub LastFragment: TThostFtdcLastFragmentType,
6734    pub SessionID: TThostFtdcSessionIDType,
6735    pub InstallID: TThostFtdcInstallIDType,
6736    pub UserID: TThostFtdcUserIDType,
6737    pub Digest: TThostFtdcDigestType,
6738    pub CurrencyID: TThostFtdcCurrencyIDType,
6739    pub DeviceID: TThostFtdcDeviceIDType,
6740    pub BrokerIDByBank: TThostFtdcBankCodingForFutureType,
6741    pub OperNo: TThostFtdcOperNoType,
6742    pub RequestID: TThostFtdcRequestIDType,
6743    pub TID: TThostFtdcTIDType,
6744}
6745#[repr(C)]
6746#[derive(Debug, Copy, Clone)]
6747pub struct CThostFtdcRspFutureSignOutField {
6748    pub TradeCode: TThostFtdcTradeCodeType,
6749    pub BankID: TThostFtdcBankIDType,
6750    pub BankBranchID: TThostFtdcBankBrchIDType,
6751    pub BrokerID: TThostFtdcBrokerIDType,
6752    pub BrokerBranchID: TThostFtdcFutureBranchIDType,
6753    pub TradeDate: TThostFtdcTradeDateType,
6754    pub TradeTime: TThostFtdcTradeTimeType,
6755    pub BankSerial: TThostFtdcBankSerialType,
6756    pub TradingDay: TThostFtdcTradeDateType,
6757    pub PlateSerial: TThostFtdcSerialType,
6758    pub LastFragment: TThostFtdcLastFragmentType,
6759    pub SessionID: TThostFtdcSessionIDType,
6760    pub InstallID: TThostFtdcInstallIDType,
6761    pub UserID: TThostFtdcUserIDType,
6762    pub Digest: TThostFtdcDigestType,
6763    pub CurrencyID: TThostFtdcCurrencyIDType,
6764    pub DeviceID: TThostFtdcDeviceIDType,
6765    pub BrokerIDByBank: TThostFtdcBankCodingForFutureType,
6766    pub OperNo: TThostFtdcOperNoType,
6767    pub RequestID: TThostFtdcRequestIDType,
6768    pub TID: TThostFtdcTIDType,
6769    pub ErrorID: TThostFtdcErrorIDType,
6770    pub ErrorMsg: TThostFtdcErrorMsgType,
6771}
6772#[repr(C)]
6773#[derive(Debug, Copy, Clone)]
6774pub struct CThostFtdcReqQueryTradeResultBySerialField {
6775    pub TradeCode: TThostFtdcTradeCodeType,
6776    pub BankID: TThostFtdcBankIDType,
6777    pub BankBranchID: TThostFtdcBankBrchIDType,
6778    pub BrokerID: TThostFtdcBrokerIDType,
6779    pub BrokerBranchID: TThostFtdcFutureBranchIDType,
6780    pub TradeDate: TThostFtdcTradeDateType,
6781    pub TradeTime: TThostFtdcTradeTimeType,
6782    pub BankSerial: TThostFtdcBankSerialType,
6783    pub TradingDay: TThostFtdcTradeDateType,
6784    pub PlateSerial: TThostFtdcSerialType,
6785    pub LastFragment: TThostFtdcLastFragmentType,
6786    pub SessionID: TThostFtdcSessionIDType,
6787    pub Reference: TThostFtdcSerialType,
6788    pub RefrenceIssureType: TThostFtdcInstitutionTypeType,
6789    pub RefrenceIssure: TThostFtdcOrganCodeType,
6790    pub CustomerName: TThostFtdcIndividualNameType,
6791    pub IdCardType: TThostFtdcIdCardTypeType,
6792    pub IdentifiedCardNo: TThostFtdcIdentifiedCardNoType,
6793    pub CustType: TThostFtdcCustTypeType,
6794    pub BankAccount: TThostFtdcBankAccountType,
6795    pub BankPassWord: TThostFtdcPasswordType,
6796    pub AccountID: TThostFtdcAccountIDType,
6797    pub Password: TThostFtdcPasswordType,
6798    pub CurrencyID: TThostFtdcCurrencyIDType,
6799    pub TradeAmount: TThostFtdcTradeAmountType,
6800    pub Digest: TThostFtdcDigestType,
6801    pub LongCustomerName: TThostFtdcLongIndividualNameType,
6802}
6803#[repr(C)]
6804#[derive(Debug, Copy, Clone)]
6805pub struct CThostFtdcRspQueryTradeResultBySerialField {
6806    pub TradeCode: TThostFtdcTradeCodeType,
6807    pub BankID: TThostFtdcBankIDType,
6808    pub BankBranchID: TThostFtdcBankBrchIDType,
6809    pub BrokerID: TThostFtdcBrokerIDType,
6810    pub BrokerBranchID: TThostFtdcFutureBranchIDType,
6811    pub TradeDate: TThostFtdcTradeDateType,
6812    pub TradeTime: TThostFtdcTradeTimeType,
6813    pub BankSerial: TThostFtdcBankSerialType,
6814    pub TradingDay: TThostFtdcTradeDateType,
6815    pub PlateSerial: TThostFtdcSerialType,
6816    pub LastFragment: TThostFtdcLastFragmentType,
6817    pub SessionID: TThostFtdcSessionIDType,
6818    pub ErrorID: TThostFtdcErrorIDType,
6819    pub ErrorMsg: TThostFtdcErrorMsgType,
6820    pub Reference: TThostFtdcSerialType,
6821    pub RefrenceIssureType: TThostFtdcInstitutionTypeType,
6822    pub RefrenceIssure: TThostFtdcOrganCodeType,
6823    pub OriginReturnCode: TThostFtdcReturnCodeType,
6824    pub OriginDescrInfoForReturnCode: TThostFtdcDescrInfoForReturnCodeType,
6825    pub BankAccount: TThostFtdcBankAccountType,
6826    pub BankPassWord: TThostFtdcPasswordType,
6827    pub AccountID: TThostFtdcAccountIDType,
6828    pub Password: TThostFtdcPasswordType,
6829    pub CurrencyID: TThostFtdcCurrencyIDType,
6830    pub TradeAmount: TThostFtdcTradeAmountType,
6831    pub Digest: TThostFtdcDigestType,
6832}
6833#[repr(C)]
6834#[derive(Debug, Copy, Clone)]
6835pub struct CThostFtdcReqDayEndFileReadyField {
6836    pub TradeCode: TThostFtdcTradeCodeType,
6837    pub BankID: TThostFtdcBankIDType,
6838    pub BankBranchID: TThostFtdcBankBrchIDType,
6839    pub BrokerID: TThostFtdcBrokerIDType,
6840    pub BrokerBranchID: TThostFtdcFutureBranchIDType,
6841    pub TradeDate: TThostFtdcTradeDateType,
6842    pub TradeTime: TThostFtdcTradeTimeType,
6843    pub BankSerial: TThostFtdcBankSerialType,
6844    pub TradingDay: TThostFtdcTradeDateType,
6845    pub PlateSerial: TThostFtdcSerialType,
6846    pub LastFragment: TThostFtdcLastFragmentType,
6847    pub SessionID: TThostFtdcSessionIDType,
6848    pub FileBusinessCode: TThostFtdcFileBusinessCodeType,
6849    pub Digest: TThostFtdcDigestType,
6850}
6851#[repr(C)]
6852#[derive(Debug, Copy, Clone)]
6853pub struct CThostFtdcReturnResultField {
6854    pub ReturnCode: TThostFtdcReturnCodeType,
6855    pub DescrInfoForReturnCode: TThostFtdcDescrInfoForReturnCodeType,
6856}
6857#[repr(C)]
6858#[derive(Debug, Copy, Clone)]
6859pub struct CThostFtdcVerifyFuturePasswordField {
6860    pub TradeCode: TThostFtdcTradeCodeType,
6861    pub BankID: TThostFtdcBankIDType,
6862    pub BankBranchID: TThostFtdcBankBrchIDType,
6863    pub BrokerID: TThostFtdcBrokerIDType,
6864    pub BrokerBranchID: TThostFtdcFutureBranchIDType,
6865    pub TradeDate: TThostFtdcTradeDateType,
6866    pub TradeTime: TThostFtdcTradeTimeType,
6867    pub BankSerial: TThostFtdcBankSerialType,
6868    pub TradingDay: TThostFtdcTradeDateType,
6869    pub PlateSerial: TThostFtdcSerialType,
6870    pub LastFragment: TThostFtdcLastFragmentType,
6871    pub SessionID: TThostFtdcSessionIDType,
6872    pub AccountID: TThostFtdcAccountIDType,
6873    pub Password: TThostFtdcPasswordType,
6874    pub BankAccount: TThostFtdcBankAccountType,
6875    pub BankPassWord: TThostFtdcPasswordType,
6876    pub InstallID: TThostFtdcInstallIDType,
6877    pub TID: TThostFtdcTIDType,
6878    pub CurrencyID: TThostFtdcCurrencyIDType,
6879}
6880#[repr(C)]
6881#[derive(Debug, Copy, Clone)]
6882pub struct CThostFtdcVerifyCustInfoField {
6883    pub CustomerName: TThostFtdcIndividualNameType,
6884    pub IdCardType: TThostFtdcIdCardTypeType,
6885    pub IdentifiedCardNo: TThostFtdcIdentifiedCardNoType,
6886    pub CustType: TThostFtdcCustTypeType,
6887    pub LongCustomerName: TThostFtdcLongIndividualNameType,
6888}
6889#[repr(C)]
6890#[derive(Debug, Copy, Clone)]
6891pub struct CThostFtdcVerifyFuturePasswordAndCustInfoField {
6892    pub CustomerName: TThostFtdcIndividualNameType,
6893    pub IdCardType: TThostFtdcIdCardTypeType,
6894    pub IdentifiedCardNo: TThostFtdcIdentifiedCardNoType,
6895    pub CustType: TThostFtdcCustTypeType,
6896    pub AccountID: TThostFtdcAccountIDType,
6897    pub Password: TThostFtdcPasswordType,
6898    pub CurrencyID: TThostFtdcCurrencyIDType,
6899    pub LongCustomerName: TThostFtdcLongIndividualNameType,
6900}
6901#[repr(C)]
6902#[derive(Debug, Copy, Clone)]
6903pub struct CThostFtdcDepositResultInformField {
6904    pub DepositSeqNo: TThostFtdcDepositSeqNoType,
6905    pub BrokerID: TThostFtdcBrokerIDType,
6906    pub InvestorID: TThostFtdcInvestorIDType,
6907    pub Deposit: TThostFtdcMoneyType,
6908    pub RequestID: TThostFtdcRequestIDType,
6909    pub ReturnCode: TThostFtdcReturnCodeType,
6910    pub DescrInfoForReturnCode: TThostFtdcDescrInfoForReturnCodeType,
6911}
6912#[repr(C)]
6913#[derive(Debug, Copy, Clone)]
6914pub struct CThostFtdcReqSyncKeyField {
6915    pub TradeCode: TThostFtdcTradeCodeType,
6916    pub BankID: TThostFtdcBankIDType,
6917    pub BankBranchID: TThostFtdcBankBrchIDType,
6918    pub BrokerID: TThostFtdcBrokerIDType,
6919    pub BrokerBranchID: TThostFtdcFutureBranchIDType,
6920    pub TradeDate: TThostFtdcTradeDateType,
6921    pub TradeTime: TThostFtdcTradeTimeType,
6922    pub BankSerial: TThostFtdcBankSerialType,
6923    pub TradingDay: TThostFtdcTradeDateType,
6924    pub PlateSerial: TThostFtdcSerialType,
6925    pub LastFragment: TThostFtdcLastFragmentType,
6926    pub SessionID: TThostFtdcSessionIDType,
6927    pub InstallID: TThostFtdcInstallIDType,
6928    pub UserID: TThostFtdcUserIDType,
6929    pub Message: TThostFtdcAddInfoType,
6930    pub DeviceID: TThostFtdcDeviceIDType,
6931    pub BrokerIDByBank: TThostFtdcBankCodingForFutureType,
6932    pub OperNo: TThostFtdcOperNoType,
6933    pub RequestID: TThostFtdcRequestIDType,
6934    pub TID: TThostFtdcTIDType,
6935}
6936#[repr(C)]
6937#[derive(Debug, Copy, Clone)]
6938pub struct CThostFtdcRspSyncKeyField {
6939    pub TradeCode: TThostFtdcTradeCodeType,
6940    pub BankID: TThostFtdcBankIDType,
6941    pub BankBranchID: TThostFtdcBankBrchIDType,
6942    pub BrokerID: TThostFtdcBrokerIDType,
6943    pub BrokerBranchID: TThostFtdcFutureBranchIDType,
6944    pub TradeDate: TThostFtdcTradeDateType,
6945    pub TradeTime: TThostFtdcTradeTimeType,
6946    pub BankSerial: TThostFtdcBankSerialType,
6947    pub TradingDay: TThostFtdcTradeDateType,
6948    pub PlateSerial: TThostFtdcSerialType,
6949    pub LastFragment: TThostFtdcLastFragmentType,
6950    pub SessionID: TThostFtdcSessionIDType,
6951    pub InstallID: TThostFtdcInstallIDType,
6952    pub UserID: TThostFtdcUserIDType,
6953    pub Message: TThostFtdcAddInfoType,
6954    pub DeviceID: TThostFtdcDeviceIDType,
6955    pub BrokerIDByBank: TThostFtdcBankCodingForFutureType,
6956    pub OperNo: TThostFtdcOperNoType,
6957    pub RequestID: TThostFtdcRequestIDType,
6958    pub TID: TThostFtdcTIDType,
6959    pub ErrorID: TThostFtdcErrorIDType,
6960    pub ErrorMsg: TThostFtdcErrorMsgType,
6961}
6962#[repr(C)]
6963#[derive(Debug, Copy, Clone)]
6964pub struct CThostFtdcNotifyQueryAccountField {
6965    pub TradeCode: TThostFtdcTradeCodeType,
6966    pub BankID: TThostFtdcBankIDType,
6967    pub BankBranchID: TThostFtdcBankBrchIDType,
6968    pub BrokerID: TThostFtdcBrokerIDType,
6969    pub BrokerBranchID: TThostFtdcFutureBranchIDType,
6970    pub TradeDate: TThostFtdcTradeDateType,
6971    pub TradeTime: TThostFtdcTradeTimeType,
6972    pub BankSerial: TThostFtdcBankSerialType,
6973    pub TradingDay: TThostFtdcTradeDateType,
6974    pub PlateSerial: TThostFtdcSerialType,
6975    pub LastFragment: TThostFtdcLastFragmentType,
6976    pub SessionID: TThostFtdcSessionIDType,
6977    pub CustomerName: TThostFtdcIndividualNameType,
6978    pub IdCardType: TThostFtdcIdCardTypeType,
6979    pub IdentifiedCardNo: TThostFtdcIdentifiedCardNoType,
6980    pub CustType: TThostFtdcCustTypeType,
6981    pub BankAccount: TThostFtdcBankAccountType,
6982    pub BankPassWord: TThostFtdcPasswordType,
6983    pub AccountID: TThostFtdcAccountIDType,
6984    pub Password: TThostFtdcPasswordType,
6985    pub FutureSerial: TThostFtdcFutureSerialType,
6986    pub InstallID: TThostFtdcInstallIDType,
6987    pub UserID: TThostFtdcUserIDType,
6988    pub VerifyCertNoFlag: TThostFtdcYesNoIndicatorType,
6989    pub CurrencyID: TThostFtdcCurrencyIDType,
6990    pub Digest: TThostFtdcDigestType,
6991    pub BankAccType: TThostFtdcBankAccTypeType,
6992    pub DeviceID: TThostFtdcDeviceIDType,
6993    pub BankSecuAccType: TThostFtdcBankAccTypeType,
6994    pub BrokerIDByBank: TThostFtdcBankCodingForFutureType,
6995    pub BankSecuAcc: TThostFtdcBankAccountType,
6996    pub BankPwdFlag: TThostFtdcPwdFlagType,
6997    pub SecuPwdFlag: TThostFtdcPwdFlagType,
6998    pub OperNo: TThostFtdcOperNoType,
6999    pub RequestID: TThostFtdcRequestIDType,
7000    pub TID: TThostFtdcTIDType,
7001    pub BankUseAmount: TThostFtdcTradeAmountType,
7002    pub BankFetchAmount: TThostFtdcTradeAmountType,
7003    pub ErrorID: TThostFtdcErrorIDType,
7004    pub ErrorMsg: TThostFtdcErrorMsgType,
7005    pub LongCustomerName: TThostFtdcLongIndividualNameType,
7006}
7007#[repr(C)]
7008#[derive(Debug, Copy, Clone)]
7009pub struct CThostFtdcTransferSerialField {
7010    pub PlateSerial: TThostFtdcPlateSerialType,
7011    pub TradeDate: TThostFtdcTradeDateType,
7012    pub TradingDay: TThostFtdcDateType,
7013    pub TradeTime: TThostFtdcTradeTimeType,
7014    pub TradeCode: TThostFtdcTradeCodeType,
7015    pub SessionID: TThostFtdcSessionIDType,
7016    pub BankID: TThostFtdcBankIDType,
7017    pub BankBranchID: TThostFtdcBankBrchIDType,
7018    pub BankAccType: TThostFtdcBankAccTypeType,
7019    pub BankAccount: TThostFtdcBankAccountType,
7020    pub BankSerial: TThostFtdcBankSerialType,
7021    pub BrokerID: TThostFtdcBrokerIDType,
7022    pub BrokerBranchID: TThostFtdcFutureBranchIDType,
7023    pub FutureAccType: TThostFtdcFutureAccTypeType,
7024    pub AccountID: TThostFtdcAccountIDType,
7025    pub InvestorID: TThostFtdcInvestorIDType,
7026    pub FutureSerial: TThostFtdcFutureSerialType,
7027    pub IdCardType: TThostFtdcIdCardTypeType,
7028    pub IdentifiedCardNo: TThostFtdcIdentifiedCardNoType,
7029    pub CurrencyID: TThostFtdcCurrencyIDType,
7030    pub TradeAmount: TThostFtdcTradeAmountType,
7031    pub CustFee: TThostFtdcCustFeeType,
7032    pub BrokerFee: TThostFtdcFutureFeeType,
7033    pub AvailabilityFlag: TThostFtdcAvailabilityFlagType,
7034    pub OperatorCode: TThostFtdcOperatorCodeType,
7035    pub BankNewAccount: TThostFtdcBankAccountType,
7036    pub ErrorID: TThostFtdcErrorIDType,
7037    pub ErrorMsg: TThostFtdcErrorMsgType,
7038}
7039#[repr(C)]
7040#[derive(Debug, Copy, Clone)]
7041pub struct CThostFtdcQryTransferSerialField {
7042    pub BrokerID: TThostFtdcBrokerIDType,
7043    pub AccountID: TThostFtdcAccountIDType,
7044    pub BankID: TThostFtdcBankIDType,
7045    pub CurrencyID: TThostFtdcCurrencyIDType,
7046}
7047#[repr(C)]
7048#[derive(Debug, Copy, Clone)]
7049pub struct CThostFtdcNotifyFutureSignInField {
7050    pub TradeCode: TThostFtdcTradeCodeType,
7051    pub BankID: TThostFtdcBankIDType,
7052    pub BankBranchID: TThostFtdcBankBrchIDType,
7053    pub BrokerID: TThostFtdcBrokerIDType,
7054    pub BrokerBranchID: TThostFtdcFutureBranchIDType,
7055    pub TradeDate: TThostFtdcTradeDateType,
7056    pub TradeTime: TThostFtdcTradeTimeType,
7057    pub BankSerial: TThostFtdcBankSerialType,
7058    pub TradingDay: TThostFtdcTradeDateType,
7059    pub PlateSerial: TThostFtdcSerialType,
7060    pub LastFragment: TThostFtdcLastFragmentType,
7061    pub SessionID: TThostFtdcSessionIDType,
7062    pub InstallID: TThostFtdcInstallIDType,
7063    pub UserID: TThostFtdcUserIDType,
7064    pub Digest: TThostFtdcDigestType,
7065    pub CurrencyID: TThostFtdcCurrencyIDType,
7066    pub DeviceID: TThostFtdcDeviceIDType,
7067    pub BrokerIDByBank: TThostFtdcBankCodingForFutureType,
7068    pub OperNo: TThostFtdcOperNoType,
7069    pub RequestID: TThostFtdcRequestIDType,
7070    pub TID: TThostFtdcTIDType,
7071    pub ErrorID: TThostFtdcErrorIDType,
7072    pub ErrorMsg: TThostFtdcErrorMsgType,
7073    pub PinKey: TThostFtdcPasswordKeyType,
7074    pub MacKey: TThostFtdcPasswordKeyType,
7075}
7076#[repr(C)]
7077#[derive(Debug, Copy, Clone)]
7078pub struct CThostFtdcNotifyFutureSignOutField {
7079    pub TradeCode: TThostFtdcTradeCodeType,
7080    pub BankID: TThostFtdcBankIDType,
7081    pub BankBranchID: TThostFtdcBankBrchIDType,
7082    pub BrokerID: TThostFtdcBrokerIDType,
7083    pub BrokerBranchID: TThostFtdcFutureBranchIDType,
7084    pub TradeDate: TThostFtdcTradeDateType,
7085    pub TradeTime: TThostFtdcTradeTimeType,
7086    pub BankSerial: TThostFtdcBankSerialType,
7087    pub TradingDay: TThostFtdcTradeDateType,
7088    pub PlateSerial: TThostFtdcSerialType,
7089    pub LastFragment: TThostFtdcLastFragmentType,
7090    pub SessionID: TThostFtdcSessionIDType,
7091    pub InstallID: TThostFtdcInstallIDType,
7092    pub UserID: TThostFtdcUserIDType,
7093    pub Digest: TThostFtdcDigestType,
7094    pub CurrencyID: TThostFtdcCurrencyIDType,
7095    pub DeviceID: TThostFtdcDeviceIDType,
7096    pub BrokerIDByBank: TThostFtdcBankCodingForFutureType,
7097    pub OperNo: TThostFtdcOperNoType,
7098    pub RequestID: TThostFtdcRequestIDType,
7099    pub TID: TThostFtdcTIDType,
7100    pub ErrorID: TThostFtdcErrorIDType,
7101    pub ErrorMsg: TThostFtdcErrorMsgType,
7102}
7103#[repr(C)]
7104#[derive(Debug, Copy, Clone)]
7105pub struct CThostFtdcNotifySyncKeyField {
7106    pub TradeCode: TThostFtdcTradeCodeType,
7107    pub BankID: TThostFtdcBankIDType,
7108    pub BankBranchID: TThostFtdcBankBrchIDType,
7109    pub BrokerID: TThostFtdcBrokerIDType,
7110    pub BrokerBranchID: TThostFtdcFutureBranchIDType,
7111    pub TradeDate: TThostFtdcTradeDateType,
7112    pub TradeTime: TThostFtdcTradeTimeType,
7113    pub BankSerial: TThostFtdcBankSerialType,
7114    pub TradingDay: TThostFtdcTradeDateType,
7115    pub PlateSerial: TThostFtdcSerialType,
7116    pub LastFragment: TThostFtdcLastFragmentType,
7117    pub SessionID: TThostFtdcSessionIDType,
7118    pub InstallID: TThostFtdcInstallIDType,
7119    pub UserID: TThostFtdcUserIDType,
7120    pub Message: TThostFtdcAddInfoType,
7121    pub DeviceID: TThostFtdcDeviceIDType,
7122    pub BrokerIDByBank: TThostFtdcBankCodingForFutureType,
7123    pub OperNo: TThostFtdcOperNoType,
7124    pub RequestID: TThostFtdcRequestIDType,
7125    pub TID: TThostFtdcTIDType,
7126    pub ErrorID: TThostFtdcErrorIDType,
7127    pub ErrorMsg: TThostFtdcErrorMsgType,
7128}
7129#[repr(C)]
7130#[derive(Debug, Copy, Clone)]
7131pub struct CThostFtdcQryAccountregisterField {
7132    pub BrokerID: TThostFtdcBrokerIDType,
7133    pub AccountID: TThostFtdcAccountIDType,
7134    pub BankID: TThostFtdcBankIDType,
7135    pub BankBranchID: TThostFtdcBankBrchIDType,
7136    pub CurrencyID: TThostFtdcCurrencyIDType,
7137}
7138#[repr(C)]
7139#[derive(Debug, Copy, Clone)]
7140pub struct CThostFtdcAccountregisterField {
7141    pub TradeDay: TThostFtdcTradeDateType,
7142    pub BankID: TThostFtdcBankIDType,
7143    pub BankBranchID: TThostFtdcBankBrchIDType,
7144    pub BankAccount: TThostFtdcBankAccountType,
7145    pub BrokerID: TThostFtdcBrokerIDType,
7146    pub BrokerBranchID: TThostFtdcFutureBranchIDType,
7147    pub AccountID: TThostFtdcAccountIDType,
7148    pub IdCardType: TThostFtdcIdCardTypeType,
7149    pub IdentifiedCardNo: TThostFtdcIdentifiedCardNoType,
7150    pub CustomerName: TThostFtdcIndividualNameType,
7151    pub CurrencyID: TThostFtdcCurrencyIDType,
7152    pub OpenOrDestroy: TThostFtdcOpenOrDestroyType,
7153    pub RegDate: TThostFtdcTradeDateType,
7154    pub OutDate: TThostFtdcTradeDateType,
7155    pub TID: TThostFtdcTIDType,
7156    pub CustType: TThostFtdcCustTypeType,
7157    pub BankAccType: TThostFtdcBankAccTypeType,
7158    pub LongCustomerName: TThostFtdcLongIndividualNameType,
7159}
7160#[repr(C)]
7161#[derive(Debug, Copy, Clone)]
7162pub struct CThostFtdcOpenAccountField {
7163    pub TradeCode: TThostFtdcTradeCodeType,
7164    pub BankID: TThostFtdcBankIDType,
7165    pub BankBranchID: TThostFtdcBankBrchIDType,
7166    pub BrokerID: TThostFtdcBrokerIDType,
7167    pub BrokerBranchID: TThostFtdcFutureBranchIDType,
7168    pub TradeDate: TThostFtdcTradeDateType,
7169    pub TradeTime: TThostFtdcTradeTimeType,
7170    pub BankSerial: TThostFtdcBankSerialType,
7171    pub TradingDay: TThostFtdcTradeDateType,
7172    pub PlateSerial: TThostFtdcSerialType,
7173    pub LastFragment: TThostFtdcLastFragmentType,
7174    pub SessionID: TThostFtdcSessionIDType,
7175    pub CustomerName: TThostFtdcIndividualNameType,
7176    pub IdCardType: TThostFtdcIdCardTypeType,
7177    pub IdentifiedCardNo: TThostFtdcIdentifiedCardNoType,
7178    pub Gender: TThostFtdcGenderType,
7179    pub CountryCode: TThostFtdcCountryCodeType,
7180    pub CustType: TThostFtdcCustTypeType,
7181    pub Address: TThostFtdcAddressType,
7182    pub ZipCode: TThostFtdcZipCodeType,
7183    pub Telephone: TThostFtdcTelephoneType,
7184    pub MobilePhone: TThostFtdcMobilePhoneType,
7185    pub Fax: TThostFtdcFaxType,
7186    pub EMail: TThostFtdcEMailType,
7187    pub MoneyAccountStatus: TThostFtdcMoneyAccountStatusType,
7188    pub BankAccount: TThostFtdcBankAccountType,
7189    pub BankPassWord: TThostFtdcPasswordType,
7190    pub AccountID: TThostFtdcAccountIDType,
7191    pub Password: TThostFtdcPasswordType,
7192    pub InstallID: TThostFtdcInstallIDType,
7193    pub VerifyCertNoFlag: TThostFtdcYesNoIndicatorType,
7194    pub CurrencyID: TThostFtdcCurrencyIDType,
7195    pub CashExchangeCode: TThostFtdcCashExchangeCodeType,
7196    pub Digest: TThostFtdcDigestType,
7197    pub BankAccType: TThostFtdcBankAccTypeType,
7198    pub DeviceID: TThostFtdcDeviceIDType,
7199    pub BankSecuAccType: TThostFtdcBankAccTypeType,
7200    pub BrokerIDByBank: TThostFtdcBankCodingForFutureType,
7201    pub BankSecuAcc: TThostFtdcBankAccountType,
7202    pub BankPwdFlag: TThostFtdcPwdFlagType,
7203    pub SecuPwdFlag: TThostFtdcPwdFlagType,
7204    pub OperNo: TThostFtdcOperNoType,
7205    pub TID: TThostFtdcTIDType,
7206    pub UserID: TThostFtdcUserIDType,
7207    pub ErrorID: TThostFtdcErrorIDType,
7208    pub ErrorMsg: TThostFtdcErrorMsgType,
7209    pub LongCustomerName: TThostFtdcLongIndividualNameType,
7210}
7211#[repr(C)]
7212#[derive(Debug, Copy, Clone)]
7213pub struct CThostFtdcCancelAccountField {
7214    pub TradeCode: TThostFtdcTradeCodeType,
7215    pub BankID: TThostFtdcBankIDType,
7216    pub BankBranchID: TThostFtdcBankBrchIDType,
7217    pub BrokerID: TThostFtdcBrokerIDType,
7218    pub BrokerBranchID: TThostFtdcFutureBranchIDType,
7219    pub TradeDate: TThostFtdcTradeDateType,
7220    pub TradeTime: TThostFtdcTradeTimeType,
7221    pub BankSerial: TThostFtdcBankSerialType,
7222    pub TradingDay: TThostFtdcTradeDateType,
7223    pub PlateSerial: TThostFtdcSerialType,
7224    pub LastFragment: TThostFtdcLastFragmentType,
7225    pub SessionID: TThostFtdcSessionIDType,
7226    pub CustomerName: TThostFtdcIndividualNameType,
7227    pub IdCardType: TThostFtdcIdCardTypeType,
7228    pub IdentifiedCardNo: TThostFtdcIdentifiedCardNoType,
7229    pub Gender: TThostFtdcGenderType,
7230    pub CountryCode: TThostFtdcCountryCodeType,
7231    pub CustType: TThostFtdcCustTypeType,
7232    pub Address: TThostFtdcAddressType,
7233    pub ZipCode: TThostFtdcZipCodeType,
7234    pub Telephone: TThostFtdcTelephoneType,
7235    pub MobilePhone: TThostFtdcMobilePhoneType,
7236    pub Fax: TThostFtdcFaxType,
7237    pub EMail: TThostFtdcEMailType,
7238    pub MoneyAccountStatus: TThostFtdcMoneyAccountStatusType,
7239    pub BankAccount: TThostFtdcBankAccountType,
7240    pub BankPassWord: TThostFtdcPasswordType,
7241    pub AccountID: TThostFtdcAccountIDType,
7242    pub Password: TThostFtdcPasswordType,
7243    pub InstallID: TThostFtdcInstallIDType,
7244    pub VerifyCertNoFlag: TThostFtdcYesNoIndicatorType,
7245    pub CurrencyID: TThostFtdcCurrencyIDType,
7246    pub CashExchangeCode: TThostFtdcCashExchangeCodeType,
7247    pub Digest: TThostFtdcDigestType,
7248    pub BankAccType: TThostFtdcBankAccTypeType,
7249    pub DeviceID: TThostFtdcDeviceIDType,
7250    pub BankSecuAccType: TThostFtdcBankAccTypeType,
7251    pub BrokerIDByBank: TThostFtdcBankCodingForFutureType,
7252    pub BankSecuAcc: TThostFtdcBankAccountType,
7253    pub BankPwdFlag: TThostFtdcPwdFlagType,
7254    pub SecuPwdFlag: TThostFtdcPwdFlagType,
7255    pub OperNo: TThostFtdcOperNoType,
7256    pub TID: TThostFtdcTIDType,
7257    pub UserID: TThostFtdcUserIDType,
7258    pub ErrorID: TThostFtdcErrorIDType,
7259    pub ErrorMsg: TThostFtdcErrorMsgType,
7260    pub LongCustomerName: TThostFtdcLongIndividualNameType,
7261}
7262#[repr(C)]
7263#[derive(Debug, Copy, Clone)]
7264pub struct CThostFtdcChangeAccountField {
7265    pub TradeCode: TThostFtdcTradeCodeType,
7266    pub BankID: TThostFtdcBankIDType,
7267    pub BankBranchID: TThostFtdcBankBrchIDType,
7268    pub BrokerID: TThostFtdcBrokerIDType,
7269    pub BrokerBranchID: TThostFtdcFutureBranchIDType,
7270    pub TradeDate: TThostFtdcTradeDateType,
7271    pub TradeTime: TThostFtdcTradeTimeType,
7272    pub BankSerial: TThostFtdcBankSerialType,
7273    pub TradingDay: TThostFtdcTradeDateType,
7274    pub PlateSerial: TThostFtdcSerialType,
7275    pub LastFragment: TThostFtdcLastFragmentType,
7276    pub SessionID: TThostFtdcSessionIDType,
7277    pub CustomerName: TThostFtdcIndividualNameType,
7278    pub IdCardType: TThostFtdcIdCardTypeType,
7279    pub IdentifiedCardNo: TThostFtdcIdentifiedCardNoType,
7280    pub Gender: TThostFtdcGenderType,
7281    pub CountryCode: TThostFtdcCountryCodeType,
7282    pub CustType: TThostFtdcCustTypeType,
7283    pub Address: TThostFtdcAddressType,
7284    pub ZipCode: TThostFtdcZipCodeType,
7285    pub Telephone: TThostFtdcTelephoneType,
7286    pub MobilePhone: TThostFtdcMobilePhoneType,
7287    pub Fax: TThostFtdcFaxType,
7288    pub EMail: TThostFtdcEMailType,
7289    pub MoneyAccountStatus: TThostFtdcMoneyAccountStatusType,
7290    pub BankAccount: TThostFtdcBankAccountType,
7291    pub BankPassWord: TThostFtdcPasswordType,
7292    pub NewBankAccount: TThostFtdcBankAccountType,
7293    pub NewBankPassWord: TThostFtdcPasswordType,
7294    pub AccountID: TThostFtdcAccountIDType,
7295    pub Password: TThostFtdcPasswordType,
7296    pub BankAccType: TThostFtdcBankAccTypeType,
7297    pub InstallID: TThostFtdcInstallIDType,
7298    pub VerifyCertNoFlag: TThostFtdcYesNoIndicatorType,
7299    pub CurrencyID: TThostFtdcCurrencyIDType,
7300    pub BrokerIDByBank: TThostFtdcBankCodingForFutureType,
7301    pub BankPwdFlag: TThostFtdcPwdFlagType,
7302    pub SecuPwdFlag: TThostFtdcPwdFlagType,
7303    pub TID: TThostFtdcTIDType,
7304    pub Digest: TThostFtdcDigestType,
7305    pub ErrorID: TThostFtdcErrorIDType,
7306    pub ErrorMsg: TThostFtdcErrorMsgType,
7307    pub LongCustomerName: TThostFtdcLongIndividualNameType,
7308}
7309#[repr(C)]
7310#[derive(Debug, Copy, Clone)]
7311pub struct CThostFtdcSecAgentACIDMapField {
7312    pub BrokerID: TThostFtdcBrokerIDType,
7313    pub UserID: TThostFtdcUserIDType,
7314    pub AccountID: TThostFtdcAccountIDType,
7315    pub CurrencyID: TThostFtdcCurrencyIDType,
7316    pub BrokerSecAgentID: TThostFtdcAccountIDType,
7317}
7318#[repr(C)]
7319#[derive(Debug, Copy, Clone)]
7320pub struct CThostFtdcQrySecAgentACIDMapField {
7321    pub BrokerID: TThostFtdcBrokerIDType,
7322    pub UserID: TThostFtdcUserIDType,
7323    pub AccountID: TThostFtdcAccountIDType,
7324    pub CurrencyID: TThostFtdcCurrencyIDType,
7325}
7326#[repr(C)]
7327#[derive(Debug, Copy, Clone)]
7328pub struct CThostFtdcUserRightsAssignField {
7329    pub BrokerID: TThostFtdcBrokerIDType,
7330    pub UserID: TThostFtdcUserIDType,
7331    pub DRIdentityID: TThostFtdcDRIdentityIDType,
7332}
7333#[repr(C)]
7334#[derive(Debug, Copy, Clone)]
7335pub struct CThostFtdcBrokerUserRightAssignField {
7336    pub BrokerID: TThostFtdcBrokerIDType,
7337    pub DRIdentityID: TThostFtdcDRIdentityIDType,
7338    pub Tradeable: TThostFtdcBoolType,
7339}
7340#[repr(C)]
7341#[derive(Debug, Copy, Clone)]
7342pub struct CThostFtdcDRTransferField {
7343    pub OrigDRIdentityID: TThostFtdcDRIdentityIDType,
7344    pub DestDRIdentityID: TThostFtdcDRIdentityIDType,
7345    pub OrigBrokerID: TThostFtdcBrokerIDType,
7346    pub DestBrokerID: TThostFtdcBrokerIDType,
7347}
7348#[repr(C)]
7349#[derive(Debug, Copy, Clone)]
7350pub struct CThostFtdcFensUserInfoField {
7351    pub BrokerID: TThostFtdcBrokerIDType,
7352    pub UserID: TThostFtdcUserIDType,
7353    pub LoginMode: TThostFtdcLoginModeType,
7354}
7355#[repr(C)]
7356#[derive(Debug, Copy, Clone)]
7357pub struct CThostFtdcCurrTransferIdentityField {
7358    pub IdentityID: TThostFtdcDRIdentityIDType,
7359}
7360#[repr(C)]
7361#[derive(Debug, Copy, Clone)]
7362pub struct CThostFtdcLoginForbiddenUserField {
7363    pub BrokerID: TThostFtdcBrokerIDType,
7364    pub UserID: TThostFtdcUserIDType,
7365    pub reserve1: TThostFtdcOldIPAddressType,
7366    pub IPAddress: TThostFtdcIPAddressType,
7367}
7368#[repr(C)]
7369#[derive(Debug, Copy, Clone)]
7370pub struct CThostFtdcQryLoginForbiddenUserField {
7371    pub BrokerID: TThostFtdcBrokerIDType,
7372    pub UserID: TThostFtdcUserIDType,
7373}
7374#[repr(C)]
7375#[derive(Debug, Copy, Clone)]
7376pub struct CThostFtdcTradingAccountReserveField {
7377    pub BrokerID: TThostFtdcBrokerIDType,
7378    pub AccountID: TThostFtdcAccountIDType,
7379    pub Reserve: TThostFtdcMoneyType,
7380    pub CurrencyID: TThostFtdcCurrencyIDType,
7381}
7382#[repr(C)]
7383#[derive(Debug, Copy, Clone)]
7384pub struct CThostFtdcQryLoginForbiddenIPField {
7385    pub reserve1: TThostFtdcOldIPAddressType,
7386    pub IPAddress: TThostFtdcIPAddressType,
7387}
7388#[repr(C)]
7389#[derive(Debug, Copy, Clone)]
7390pub struct CThostFtdcQryIPListField {
7391    pub reserve1: TThostFtdcOldIPAddressType,
7392    pub IPAddress: TThostFtdcIPAddressType,
7393}
7394#[repr(C)]
7395#[derive(Debug, Copy, Clone)]
7396pub struct CThostFtdcQryUserRightsAssignField {
7397    pub BrokerID: TThostFtdcBrokerIDType,
7398    pub UserID: TThostFtdcUserIDType,
7399}
7400#[repr(C)]
7401#[derive(Debug, Copy, Clone)]
7402pub struct CThostFtdcReserveOpenAccountConfirmField {
7403    pub TradeCode: TThostFtdcTradeCodeType,
7404    pub BankID: TThostFtdcBankIDType,
7405    pub BankBranchID: TThostFtdcBankBrchIDType,
7406    pub BrokerID: TThostFtdcBrokerIDType,
7407    pub BrokerBranchID: TThostFtdcFutureBranchIDType,
7408    pub TradeDate: TThostFtdcTradeDateType,
7409    pub TradeTime: TThostFtdcTradeTimeType,
7410    pub BankSerial: TThostFtdcBankSerialType,
7411    pub TradingDay: TThostFtdcTradeDateType,
7412    pub PlateSerial: TThostFtdcSerialType,
7413    pub LastFragment: TThostFtdcLastFragmentType,
7414    pub SessionID: TThostFtdcSessionIDType,
7415    pub CustomerName: TThostFtdcLongIndividualNameType,
7416    pub IdCardType: TThostFtdcIdCardTypeType,
7417    pub IdentifiedCardNo: TThostFtdcIdentifiedCardNoType,
7418    pub Gender: TThostFtdcGenderType,
7419    pub CountryCode: TThostFtdcCountryCodeType,
7420    pub CustType: TThostFtdcCustTypeType,
7421    pub Address: TThostFtdcAddressType,
7422    pub ZipCode: TThostFtdcZipCodeType,
7423    pub Telephone: TThostFtdcTelephoneType,
7424    pub MobilePhone: TThostFtdcMobilePhoneType,
7425    pub Fax: TThostFtdcFaxType,
7426    pub EMail: TThostFtdcEMailType,
7427    pub MoneyAccountStatus: TThostFtdcMoneyAccountStatusType,
7428    pub BankAccount: TThostFtdcBankAccountType,
7429    pub BankPassWord: TThostFtdcPasswordType,
7430    pub InstallID: TThostFtdcInstallIDType,
7431    pub VerifyCertNoFlag: TThostFtdcYesNoIndicatorType,
7432    pub CurrencyID: TThostFtdcCurrencyIDType,
7433    pub Digest: TThostFtdcDigestType,
7434    pub BankAccType: TThostFtdcBankAccTypeType,
7435    pub BrokerIDByBank: TThostFtdcBankCodingForFutureType,
7436    pub TID: TThostFtdcTIDType,
7437    pub AccountID: TThostFtdcAccountIDType,
7438    pub Password: TThostFtdcPasswordType,
7439    pub BankReserveOpenSeq: TThostFtdcBankSerialType,
7440    pub BookDate: TThostFtdcTradeDateType,
7441    pub BookPsw: TThostFtdcPasswordType,
7442    pub ErrorID: TThostFtdcErrorIDType,
7443    pub ErrorMsg: TThostFtdcErrorMsgType,
7444}
7445#[repr(C)]
7446#[derive(Debug, Copy, Clone)]
7447pub struct CThostFtdcReserveOpenAccountField {
7448    pub TradeCode: TThostFtdcTradeCodeType,
7449    pub BankID: TThostFtdcBankIDType,
7450    pub BankBranchID: TThostFtdcBankBrchIDType,
7451    pub BrokerID: TThostFtdcBrokerIDType,
7452    pub BrokerBranchID: TThostFtdcFutureBranchIDType,
7453    pub TradeDate: TThostFtdcTradeDateType,
7454    pub TradeTime: TThostFtdcTradeTimeType,
7455    pub BankSerial: TThostFtdcBankSerialType,
7456    pub TradingDay: TThostFtdcTradeDateType,
7457    pub PlateSerial: TThostFtdcSerialType,
7458    pub LastFragment: TThostFtdcLastFragmentType,
7459    pub SessionID: TThostFtdcSessionIDType,
7460    pub CustomerName: TThostFtdcLongIndividualNameType,
7461    pub IdCardType: TThostFtdcIdCardTypeType,
7462    pub IdentifiedCardNo: TThostFtdcIdentifiedCardNoType,
7463    pub Gender: TThostFtdcGenderType,
7464    pub CountryCode: TThostFtdcCountryCodeType,
7465    pub CustType: TThostFtdcCustTypeType,
7466    pub Address: TThostFtdcAddressType,
7467    pub ZipCode: TThostFtdcZipCodeType,
7468    pub Telephone: TThostFtdcTelephoneType,
7469    pub MobilePhone: TThostFtdcMobilePhoneType,
7470    pub Fax: TThostFtdcFaxType,
7471    pub EMail: TThostFtdcEMailType,
7472    pub MoneyAccountStatus: TThostFtdcMoneyAccountStatusType,
7473    pub BankAccount: TThostFtdcBankAccountType,
7474    pub BankPassWord: TThostFtdcPasswordType,
7475    pub InstallID: TThostFtdcInstallIDType,
7476    pub VerifyCertNoFlag: TThostFtdcYesNoIndicatorType,
7477    pub CurrencyID: TThostFtdcCurrencyIDType,
7478    pub Digest: TThostFtdcDigestType,
7479    pub BankAccType: TThostFtdcBankAccTypeType,
7480    pub BrokerIDByBank: TThostFtdcBankCodingForFutureType,
7481    pub TID: TThostFtdcTIDType,
7482    pub ReserveOpenAccStas: TThostFtdcReserveOpenAccStasType,
7483    pub ErrorID: TThostFtdcErrorIDType,
7484    pub ErrorMsg: TThostFtdcErrorMsgType,
7485}
7486#[repr(C)]
7487#[derive(Debug, Copy, Clone)]
7488pub struct CThostFtdcAccountPropertyField {
7489    pub BrokerID: TThostFtdcBrokerIDType,
7490    pub AccountID: TThostFtdcAccountIDType,
7491    pub BankID: TThostFtdcBankIDType,
7492    pub BankAccount: TThostFtdcBankAccountType,
7493    pub OpenName: TThostFtdcInvestorFullNameType,
7494    pub OpenBank: TThostFtdcOpenBankType,
7495    pub IsActive: TThostFtdcBoolType,
7496    pub AccountSourceType: TThostFtdcAccountSourceTypeType,
7497    pub OpenDate: TThostFtdcDateType,
7498    pub CancelDate: TThostFtdcDateType,
7499    pub OperatorID: TThostFtdcOperatorIDType,
7500    pub OperateDate: TThostFtdcDateType,
7501    pub OperateTime: TThostFtdcTimeType,
7502    pub CurrencyID: TThostFtdcCurrencyIDType,
7503}
7504#[repr(C)]
7505#[derive(Debug, Copy, Clone)]
7506pub struct CThostFtdcQryCurrDRIdentityField {
7507    pub DRIdentityID: TThostFtdcDRIdentityIDType,
7508}
7509#[repr(C)]
7510#[derive(Debug, Copy, Clone)]
7511pub struct CThostFtdcCurrDRIdentityField {
7512    pub DRIdentityID: TThostFtdcDRIdentityIDType,
7513}
7514#[repr(C)]
7515#[derive(Debug, Copy, Clone)]
7516pub struct CThostFtdcQrySecAgentCheckModeField {
7517    pub BrokerID: TThostFtdcBrokerIDType,
7518    pub InvestorID: TThostFtdcInvestorIDType,
7519}
7520#[repr(C)]
7521#[derive(Debug, Copy, Clone)]
7522pub struct CThostFtdcQrySecAgentTradeInfoField {
7523    pub BrokerID: TThostFtdcBrokerIDType,
7524    pub BrokerSecAgentID: TThostFtdcAccountIDType,
7525}
7526#[repr(C)]
7527#[derive(Debug, Copy, Clone)]
7528pub struct CThostFtdcReqUserAuthMethodField {
7529    pub TradingDay: TThostFtdcDateType,
7530    pub BrokerID: TThostFtdcBrokerIDType,
7531    pub UserID: TThostFtdcUserIDType,
7532}
7533#[repr(C)]
7534#[derive(Debug, Copy, Clone)]
7535pub struct CThostFtdcRspUserAuthMethodField {
7536    pub UsableAuthMethod: TThostFtdcCurrentAuthMethodType,
7537}
7538#[repr(C)]
7539#[derive(Debug, Copy, Clone)]
7540pub struct CThostFtdcReqGenUserCaptchaField {
7541    pub TradingDay: TThostFtdcDateType,
7542    pub BrokerID: TThostFtdcBrokerIDType,
7543    pub UserID: TThostFtdcUserIDType,
7544}
7545#[repr(C)]
7546#[derive(Debug, Copy, Clone)]
7547pub struct CThostFtdcRspGenUserCaptchaField {
7548    pub BrokerID: TThostFtdcBrokerIDType,
7549    pub UserID: TThostFtdcUserIDType,
7550    pub CaptchaInfoLen: TThostFtdcCaptchaInfoLenType,
7551    pub CaptchaInfo: TThostFtdcCaptchaInfoType,
7552}
7553#[repr(C)]
7554#[derive(Debug, Copy, Clone)]
7555pub struct CThostFtdcReqGenUserTextField {
7556    pub TradingDay: TThostFtdcDateType,
7557    pub BrokerID: TThostFtdcBrokerIDType,
7558    pub UserID: TThostFtdcUserIDType,
7559}
7560#[repr(C)]
7561#[derive(Debug, Copy, Clone)]
7562pub struct CThostFtdcRspGenUserTextField {
7563    pub UserTextSeq: TThostFtdcUserTextSeqType,
7564}
7565#[repr(C)]
7566#[derive(Debug, Copy, Clone)]
7567pub struct CThostFtdcReqUserLoginWithCaptchaField {
7568    pub TradingDay: TThostFtdcDateType,
7569    pub BrokerID: TThostFtdcBrokerIDType,
7570    pub UserID: TThostFtdcUserIDType,
7571    pub Password: TThostFtdcPasswordType,
7572    pub UserProductInfo: TThostFtdcProductInfoType,
7573    pub InterfaceProductInfo: TThostFtdcProductInfoType,
7574    pub ProtocolInfo: TThostFtdcProtocolInfoType,
7575    pub MacAddress: TThostFtdcMacAddressType,
7576    pub reserve1: TThostFtdcOldIPAddressType,
7577    pub LoginRemark: TThostFtdcLoginRemarkType,
7578    pub Captcha: TThostFtdcPasswordType,
7579    pub ClientIPPort: TThostFtdcIPPortType,
7580    pub ClientIPAddress: TThostFtdcIPAddressType,
7581}
7582#[repr(C)]
7583#[derive(Debug, Copy, Clone)]
7584pub struct CThostFtdcReqUserLoginWithTextField {
7585    pub TradingDay: TThostFtdcDateType,
7586    pub BrokerID: TThostFtdcBrokerIDType,
7587    pub UserID: TThostFtdcUserIDType,
7588    pub Password: TThostFtdcPasswordType,
7589    pub UserProductInfo: TThostFtdcProductInfoType,
7590    pub InterfaceProductInfo: TThostFtdcProductInfoType,
7591    pub ProtocolInfo: TThostFtdcProtocolInfoType,
7592    pub MacAddress: TThostFtdcMacAddressType,
7593    pub reserve1: TThostFtdcOldIPAddressType,
7594    pub LoginRemark: TThostFtdcLoginRemarkType,
7595    pub Text: TThostFtdcPasswordType,
7596    pub ClientIPPort: TThostFtdcIPPortType,
7597    pub ClientIPAddress: TThostFtdcIPAddressType,
7598}
7599#[repr(C)]
7600#[derive(Debug, Copy, Clone)]
7601pub struct CThostFtdcReqUserLoginWithOTPField {
7602    pub TradingDay: TThostFtdcDateType,
7603    pub BrokerID: TThostFtdcBrokerIDType,
7604    pub UserID: TThostFtdcUserIDType,
7605    pub Password: TThostFtdcPasswordType,
7606    pub UserProductInfo: TThostFtdcProductInfoType,
7607    pub InterfaceProductInfo: TThostFtdcProductInfoType,
7608    pub ProtocolInfo: TThostFtdcProtocolInfoType,
7609    pub MacAddress: TThostFtdcMacAddressType,
7610    pub reserve1: TThostFtdcOldIPAddressType,
7611    pub LoginRemark: TThostFtdcLoginRemarkType,
7612    pub OTPPassword: TThostFtdcPasswordType,
7613    pub ClientIPPort: TThostFtdcIPPortType,
7614    pub ClientIPAddress: TThostFtdcIPAddressType,
7615}
7616#[repr(C)]
7617#[derive(Debug, Copy, Clone)]
7618pub struct CThostFtdcReqApiHandshakeField {
7619    pub CryptoKeyVersion: TThostFtdcCryptoKeyVersionType,
7620}
7621#[repr(C)]
7622#[derive(Debug, Copy, Clone)]
7623pub struct CThostFtdcRspApiHandshakeField {
7624    pub FrontHandshakeDataLen: TThostFtdcHandshakeDataLenType,
7625    pub FrontHandshakeData: TThostFtdcHandshakeDataType,
7626    pub IsApiAuthEnabled: TThostFtdcBoolType,
7627}
7628#[repr(C)]
7629#[derive(Debug, Copy, Clone)]
7630pub struct CThostFtdcReqVerifyApiKeyField {
7631    pub ApiHandshakeDataLen: TThostFtdcHandshakeDataLenType,
7632    pub ApiHandshakeData: TThostFtdcHandshakeDataType,
7633}
7634#[repr(C)]
7635#[derive(Debug, Copy, Clone)]
7636pub struct CThostFtdcDepartmentUserField {
7637    pub BrokerID: TThostFtdcBrokerIDType,
7638    pub UserID: TThostFtdcUserIDType,
7639    pub InvestorRange: TThostFtdcDepartmentRangeType,
7640    pub InvestorID: TThostFtdcInvestorIDType,
7641}
7642#[repr(C)]
7643#[derive(Debug, Copy, Clone)]
7644pub struct CThostFtdcQueryFreqField {
7645    pub QueryFreq: TThostFtdcQueryFreqType,
7646}
7647#[repr(C)]
7648#[derive(Debug, Copy, Clone)]
7649pub struct CThostFtdcAuthForbiddenIPField {
7650    pub IPAddress: TThostFtdcIPAddressType,
7651}
7652#[repr(C)]
7653#[derive(Debug, Copy, Clone)]
7654pub struct CThostFtdcQryAuthForbiddenIPField {
7655    pub IPAddress: TThostFtdcIPAddressType,
7656}
7657#[repr(C)]
7658#[derive(Debug, Copy, Clone)]
7659pub struct CThostFtdcSyncDelaySwapFrozenField {
7660    pub DelaySwapSeqNo: TThostFtdcDepositSeqNoType,
7661    pub BrokerID: TThostFtdcBrokerIDType,
7662    pub InvestorID: TThostFtdcInvestorIDType,
7663    pub FromCurrencyID: TThostFtdcCurrencyIDType,
7664    pub FromRemainSwap: TThostFtdcMoneyType,
7665    pub IsManualSwap: TThostFtdcBoolType,
7666}
7667#[repr(C)]
7668#[derive(Debug, Copy, Clone)]
7669pub struct CThostFtdcUserSystemInfoField {
7670    pub BrokerID: TThostFtdcBrokerIDType,
7671    pub UserID: TThostFtdcUserIDType,
7672    pub ClientSystemInfoLen: TThostFtdcSystemInfoLenType,
7673    pub ClientSystemInfo: TThostFtdcClientSystemInfoType,
7674    pub reserve1: TThostFtdcOldIPAddressType,
7675    pub ClientIPPort: TThostFtdcIPPortType,
7676    pub ClientLoginTime: TThostFtdcTimeType,
7677    pub ClientAppID: TThostFtdcAppIDType,
7678    pub ClientPublicIP: TThostFtdcIPAddressType,
7679    pub ClientLoginRemark: TThostFtdcClientLoginRemarkType,
7680}
7681#[repr(C)]
7682#[derive(Debug, Copy, Clone)]
7683pub struct CThostFtdcAuthUserIDField {
7684    pub BrokerID: TThostFtdcBrokerIDType,
7685    pub AppID: TThostFtdcAppIDType,
7686    pub UserID: TThostFtdcUserIDType,
7687    pub AuthType: TThostFtdcAuthTypeType,
7688}
7689#[repr(C)]
7690#[derive(Debug, Copy, Clone)]
7691pub struct CThostFtdcAuthIPField {
7692    pub BrokerID: TThostFtdcBrokerIDType,
7693    pub AppID: TThostFtdcAppIDType,
7694    pub IPAddress: TThostFtdcIPAddressType,
7695}
7696#[repr(C)]
7697#[derive(Debug, Copy, Clone)]
7698pub struct CThostFtdcQryClassifiedInstrumentField {
7699    pub InstrumentID: TThostFtdcInstrumentIDType,
7700    pub ExchangeID: TThostFtdcExchangeIDType,
7701    pub ExchangeInstID: TThostFtdcExchangeInstIDType,
7702    pub ProductID: TThostFtdcInstrumentIDType,
7703    pub TradingType: TThostFtdcTradingTypeType,
7704    pub ClassType: TThostFtdcClassTypeType,
7705}
7706#[repr(C)]
7707#[derive(Debug, Copy, Clone)]
7708pub struct CThostFtdcQryCombPromotionParamField {
7709    pub ExchangeID: TThostFtdcExchangeIDType,
7710    pub InstrumentID: TThostFtdcInstrumentIDType,
7711}
7712#[repr(C)]
7713#[derive(Debug, Copy, Clone)]
7714pub struct CThostFtdcCombPromotionParamField {
7715    pub ExchangeID: TThostFtdcExchangeIDType,
7716    pub InstrumentID: TThostFtdcInstrumentIDType,
7717    pub CombHedgeFlag: TThostFtdcCombHedgeFlagType,
7718    pub Xparameter: TThostFtdcDiscountRatioType,
7719}
7720#[repr(C)]
7721#[derive(Debug, Copy, Clone)]
7722pub struct CThostFtdcReqUserLoginSCField {
7723    pub TradingDay: TThostFtdcDateType,
7724    pub BrokerID: TThostFtdcBrokerIDType,
7725    pub UserID: TThostFtdcUserIDType,
7726    pub Password: TThostFtdcPasswordType,
7727    pub UserProductInfo: TThostFtdcProductInfoType,
7728    pub InterfaceProductInfo: TThostFtdcProductInfoType,
7729    pub ProtocolInfo: TThostFtdcProtocolInfoType,
7730    pub MacAddress: TThostFtdcMacAddressType,
7731    pub OneTimePassword: TThostFtdcPasswordType,
7732    pub ClientIPAddress: TThostFtdcIPAddressType,
7733    pub LoginRemark: TThostFtdcLoginRemarkType,
7734    pub ClientIPPort: TThostFtdcIPPortType,
7735    pub AuthCode: TThostFtdcAuthCodeType,
7736    pub AppID: TThostFtdcAppIDType,
7737}
7738#[repr(C)]
7739#[derive(Debug, Copy, Clone)]
7740pub struct CThostFtdcQryRiskSettleInvstPositionField {
7741    pub BrokerID: TThostFtdcBrokerIDType,
7742    pub InvestorID: TThostFtdcInvestorIDType,
7743    pub InstrumentID: TThostFtdcInstrumentIDType,
7744}
7745#[repr(C)]
7746#[derive(Debug, Copy, Clone)]
7747pub struct CThostFtdcQryRiskSettleProductStatusField {
7748    pub ProductID: TThostFtdcInstrumentIDType,
7749}
7750#[repr(C)]
7751#[derive(Debug, Copy, Clone)]
7752pub struct CThostFtdcRiskSettleInvstPositionField {
7753    pub InstrumentID: TThostFtdcInstrumentIDType,
7754    pub BrokerID: TThostFtdcBrokerIDType,
7755    pub InvestorID: TThostFtdcInvestorIDType,
7756    pub PosiDirection: TThostFtdcPosiDirectionType,
7757    pub HedgeFlag: TThostFtdcHedgeFlagType,
7758    pub PositionDate: TThostFtdcPositionDateType,
7759    pub YdPosition: TThostFtdcVolumeType,
7760    pub Position: TThostFtdcVolumeType,
7761    pub LongFrozen: TThostFtdcVolumeType,
7762    pub ShortFrozen: TThostFtdcVolumeType,
7763    pub LongFrozenAmount: TThostFtdcMoneyType,
7764    pub ShortFrozenAmount: TThostFtdcMoneyType,
7765    pub OpenVolume: TThostFtdcVolumeType,
7766    pub CloseVolume: TThostFtdcVolumeType,
7767    pub OpenAmount: TThostFtdcMoneyType,
7768    pub CloseAmount: TThostFtdcMoneyType,
7769    pub PositionCost: TThostFtdcMoneyType,
7770    pub PreMargin: TThostFtdcMoneyType,
7771    pub UseMargin: TThostFtdcMoneyType,
7772    pub FrozenMargin: TThostFtdcMoneyType,
7773    pub FrozenCash: TThostFtdcMoneyType,
7774    pub FrozenCommission: TThostFtdcMoneyType,
7775    pub CashIn: TThostFtdcMoneyType,
7776    pub Commission: TThostFtdcMoneyType,
7777    pub CloseProfit: TThostFtdcMoneyType,
7778    pub PositionProfit: TThostFtdcMoneyType,
7779    pub PreSettlementPrice: TThostFtdcPriceType,
7780    pub SettlementPrice: TThostFtdcPriceType,
7781    pub TradingDay: TThostFtdcDateType,
7782    pub SettlementID: TThostFtdcSettlementIDType,
7783    pub OpenCost: TThostFtdcMoneyType,
7784    pub ExchangeMargin: TThostFtdcMoneyType,
7785    pub CombPosition: TThostFtdcVolumeType,
7786    pub CombLongFrozen: TThostFtdcVolumeType,
7787    pub CombShortFrozen: TThostFtdcVolumeType,
7788    pub CloseProfitByDate: TThostFtdcMoneyType,
7789    pub CloseProfitByTrade: TThostFtdcMoneyType,
7790    pub TodayPosition: TThostFtdcVolumeType,
7791    pub MarginRateByMoney: TThostFtdcRatioType,
7792    pub MarginRateByVolume: TThostFtdcRatioType,
7793    pub StrikeFrozen: TThostFtdcVolumeType,
7794    pub StrikeFrozenAmount: TThostFtdcMoneyType,
7795    pub AbandonFrozen: TThostFtdcVolumeType,
7796    pub ExchangeID: TThostFtdcExchangeIDType,
7797    pub YdStrikeFrozen: TThostFtdcVolumeType,
7798    pub InvestUnitID: TThostFtdcInvestUnitIDType,
7799    pub PositionCostOffset: TThostFtdcMoneyType,
7800    pub TasPosition: TThostFtdcVolumeType,
7801    pub TasPositionCost: TThostFtdcMoneyType,
7802}
7803#[repr(C)]
7804#[derive(Debug, Copy, Clone)]
7805pub struct CThostFtdcRiskSettleProductStatusField {
7806    pub ExchangeID: TThostFtdcExchangeIDType,
7807    pub ProductID: TThostFtdcInstrumentIDType,
7808    pub ProductStatus: TThostFtdcProductStatusType,
7809}
7810#[repr(C)]
7811#[derive(Debug, Copy, Clone)]
7812pub struct CThostFtdcSyncDeltaInfoField {
7813    pub SyncDeltaSequenceNo: TThostFtdcSequenceNoType,
7814    pub SyncDeltaStatus: TThostFtdcSyncDeltaStatusType,
7815    pub SyncDescription: TThostFtdcSyncDescriptionType,
7816    pub IsOnlyTrdDelta: TThostFtdcBoolType,
7817}
7818#[repr(C)]
7819#[derive(Debug, Copy, Clone)]
7820pub struct CThostFtdcSyncDeltaProductStatusField {
7821    pub SyncDeltaSequenceNo: TThostFtdcSequenceNoType,
7822    pub ExchangeID: TThostFtdcExchangeIDType,
7823    pub ProductID: TThostFtdcInstrumentIDType,
7824    pub ProductStatus: TThostFtdcProductStatusType,
7825}
7826#[repr(C)]
7827#[derive(Debug, Copy, Clone)]
7828pub struct CThostFtdcSyncDeltaInvstPosDtlField {
7829    pub InstrumentID: TThostFtdcInstrumentIDType,
7830    pub BrokerID: TThostFtdcBrokerIDType,
7831    pub InvestorID: TThostFtdcInvestorIDType,
7832    pub HedgeFlag: TThostFtdcHedgeFlagType,
7833    pub Direction: TThostFtdcDirectionType,
7834    pub OpenDate: TThostFtdcDateType,
7835    pub TradeID: TThostFtdcTradeIDType,
7836    pub Volume: TThostFtdcVolumeType,
7837    pub OpenPrice: TThostFtdcPriceType,
7838    pub TradingDay: TThostFtdcDateType,
7839    pub SettlementID: TThostFtdcSettlementIDType,
7840    pub TradeType: TThostFtdcTradeTypeType,
7841    pub CombInstrumentID: TThostFtdcInstrumentIDType,
7842    pub ExchangeID: TThostFtdcExchangeIDType,
7843    pub CloseProfitByDate: TThostFtdcMoneyType,
7844    pub CloseProfitByTrade: TThostFtdcMoneyType,
7845    pub PositionProfitByDate: TThostFtdcMoneyType,
7846    pub PositionProfitByTrade: TThostFtdcMoneyType,
7847    pub Margin: TThostFtdcMoneyType,
7848    pub ExchMargin: TThostFtdcMoneyType,
7849    pub MarginRateByMoney: TThostFtdcRatioType,
7850    pub MarginRateByVolume: TThostFtdcRatioType,
7851    pub LastSettlementPrice: TThostFtdcPriceType,
7852    pub SettlementPrice: TThostFtdcPriceType,
7853    pub CloseVolume: TThostFtdcVolumeType,
7854    pub CloseAmount: TThostFtdcMoneyType,
7855    pub TimeFirstVolume: TThostFtdcVolumeType,
7856    pub SpecPosiType: TThostFtdcSpecPosiTypeType,
7857    pub ActionDirection: TThostFtdcActionDirectionType,
7858    pub SyncDeltaSequenceNo: TThostFtdcSequenceNoType,
7859}
7860#[repr(C)]
7861#[derive(Debug, Copy, Clone)]
7862pub struct CThostFtdcSyncDeltaInvstPosCombDtlField {
7863    pub TradingDay: TThostFtdcDateType,
7864    pub OpenDate: TThostFtdcDateType,
7865    pub ExchangeID: TThostFtdcExchangeIDType,
7866    pub SettlementID: TThostFtdcSettlementIDType,
7867    pub BrokerID: TThostFtdcBrokerIDType,
7868    pub InvestorID: TThostFtdcInvestorIDType,
7869    pub ComTradeID: TThostFtdcTradeIDType,
7870    pub TradeID: TThostFtdcTradeIDType,
7871    pub InstrumentID: TThostFtdcInstrumentIDType,
7872    pub HedgeFlag: TThostFtdcHedgeFlagType,
7873    pub Direction: TThostFtdcDirectionType,
7874    pub TotalAmt: TThostFtdcVolumeType,
7875    pub Margin: TThostFtdcMoneyType,
7876    pub ExchMargin: TThostFtdcMoneyType,
7877    pub MarginRateByMoney: TThostFtdcRatioType,
7878    pub MarginRateByVolume: TThostFtdcRatioType,
7879    pub LegID: TThostFtdcLegIDType,
7880    pub LegMultiple: TThostFtdcLegMultipleType,
7881    pub TradeGroupID: TThostFtdcTradeGroupIDType,
7882    pub ActionDirection: TThostFtdcActionDirectionType,
7883    pub SyncDeltaSequenceNo: TThostFtdcSequenceNoType,
7884}
7885#[repr(C)]
7886#[derive(Debug, Copy, Clone)]
7887pub struct CThostFtdcSyncDeltaTradingAccountField {
7888    pub BrokerID: TThostFtdcBrokerIDType,
7889    pub AccountID: TThostFtdcAccountIDType,
7890    pub PreMortgage: TThostFtdcMoneyType,
7891    pub PreCredit: TThostFtdcMoneyType,
7892    pub PreDeposit: TThostFtdcMoneyType,
7893    pub PreBalance: TThostFtdcMoneyType,
7894    pub PreMargin: TThostFtdcMoneyType,
7895    pub InterestBase: TThostFtdcMoneyType,
7896    pub Interest: TThostFtdcMoneyType,
7897    pub Deposit: TThostFtdcMoneyType,
7898    pub Withdraw: TThostFtdcMoneyType,
7899    pub FrozenMargin: TThostFtdcMoneyType,
7900    pub FrozenCash: TThostFtdcMoneyType,
7901    pub FrozenCommission: TThostFtdcMoneyType,
7902    pub CurrMargin: TThostFtdcMoneyType,
7903    pub CashIn: TThostFtdcMoneyType,
7904    pub Commission: TThostFtdcMoneyType,
7905    pub CloseProfit: TThostFtdcMoneyType,
7906    pub PositionProfit: TThostFtdcMoneyType,
7907    pub Balance: TThostFtdcMoneyType,
7908    pub Available: TThostFtdcMoneyType,
7909    pub WithdrawQuota: TThostFtdcMoneyType,
7910    pub Reserve: TThostFtdcMoneyType,
7911    pub TradingDay: TThostFtdcDateType,
7912    pub SettlementID: TThostFtdcSettlementIDType,
7913    pub Credit: TThostFtdcMoneyType,
7914    pub Mortgage: TThostFtdcMoneyType,
7915    pub ExchangeMargin: TThostFtdcMoneyType,
7916    pub DeliveryMargin: TThostFtdcMoneyType,
7917    pub ExchangeDeliveryMargin: TThostFtdcMoneyType,
7918    pub ReserveBalance: TThostFtdcMoneyType,
7919    pub CurrencyID: TThostFtdcCurrencyIDType,
7920    pub PreFundMortgageIn: TThostFtdcMoneyType,
7921    pub PreFundMortgageOut: TThostFtdcMoneyType,
7922    pub FundMortgageIn: TThostFtdcMoneyType,
7923    pub FundMortgageOut: TThostFtdcMoneyType,
7924    pub FundMortgageAvailable: TThostFtdcMoneyType,
7925    pub MortgageableFund: TThostFtdcMoneyType,
7926    pub SpecProductMargin: TThostFtdcMoneyType,
7927    pub SpecProductFrozenMargin: TThostFtdcMoneyType,
7928    pub SpecProductCommission: TThostFtdcMoneyType,
7929    pub SpecProductFrozenCommission: TThostFtdcMoneyType,
7930    pub SpecProductPositionProfit: TThostFtdcMoneyType,
7931    pub SpecProductCloseProfit: TThostFtdcMoneyType,
7932    pub SpecProductPositionProfitByAlg: TThostFtdcMoneyType,
7933    pub SpecProductExchangeMargin: TThostFtdcMoneyType,
7934    pub FrozenSwap: TThostFtdcMoneyType,
7935    pub RemainSwap: TThostFtdcMoneyType,
7936    pub SyncDeltaSequenceNo: TThostFtdcSequenceNoType,
7937}
7938#[repr(C)]
7939#[derive(Debug, Copy, Clone)]
7940pub struct CThostFtdcSyncDeltaInitInvstMarginField {
7941    pub BrokerID: TThostFtdcBrokerIDType,
7942    pub InvestorID: TThostFtdcInvestorIDType,
7943    pub LastRiskTotalInvstMargin: TThostFtdcMoneyType,
7944    pub LastRiskTotalExchMargin: TThostFtdcMoneyType,
7945    pub ThisSyncInvstMargin: TThostFtdcMoneyType,
7946    pub ThisSyncExchMargin: TThostFtdcMoneyType,
7947    pub RemainRiskInvstMargin: TThostFtdcMoneyType,
7948    pub RemainRiskExchMargin: TThostFtdcMoneyType,
7949    pub LastRiskSpecTotalInvstMargin: TThostFtdcMoneyType,
7950    pub LastRiskSpecTotalExchMargin: TThostFtdcMoneyType,
7951    pub ThisSyncSpecInvstMargin: TThostFtdcMoneyType,
7952    pub ThisSyncSpecExchMargin: TThostFtdcMoneyType,
7953    pub RemainRiskSpecInvstMargin: TThostFtdcMoneyType,
7954    pub RemainRiskSpecExchMargin: TThostFtdcMoneyType,
7955    pub SyncDeltaSequenceNo: TThostFtdcSequenceNoType,
7956}
7957#[repr(C)]
7958#[derive(Debug, Copy, Clone)]
7959pub struct CThostFtdcSyncDeltaDceCombInstrumentField {
7960    pub CombInstrumentID: TThostFtdcInstrumentIDType,
7961    pub ExchangeID: TThostFtdcExchangeIDType,
7962    pub ExchangeInstID: TThostFtdcExchangeInstIDType,
7963    pub TradeGroupID: TThostFtdcTradeGroupIDType,
7964    pub CombHedgeFlag: TThostFtdcHedgeFlagType,
7965    pub CombinationType: TThostFtdcDceCombinationTypeType,
7966    pub Direction: TThostFtdcDirectionType,
7967    pub ProductID: TThostFtdcInstrumentIDType,
7968    pub Xparameter: TThostFtdcDiscountRatioType,
7969    pub ActionDirection: TThostFtdcActionDirectionType,
7970    pub SyncDeltaSequenceNo: TThostFtdcSequenceNoType,
7971}
7972#[repr(C)]
7973#[derive(Debug, Copy, Clone)]
7974pub struct CThostFtdcSyncDeltaInvstMarginRateField {
7975    pub InstrumentID: TThostFtdcInstrumentIDType,
7976    pub InvestorRange: TThostFtdcInvestorRangeType,
7977    pub BrokerID: TThostFtdcBrokerIDType,
7978    pub InvestorID: TThostFtdcInvestorIDType,
7979    pub HedgeFlag: TThostFtdcHedgeFlagType,
7980    pub LongMarginRatioByMoney: TThostFtdcRatioType,
7981    pub LongMarginRatioByVolume: TThostFtdcMoneyType,
7982    pub ShortMarginRatioByMoney: TThostFtdcRatioType,
7983    pub ShortMarginRatioByVolume: TThostFtdcMoneyType,
7984    pub IsRelative: TThostFtdcBoolType,
7985    pub ActionDirection: TThostFtdcActionDirectionType,
7986    pub SyncDeltaSequenceNo: TThostFtdcSequenceNoType,
7987}
7988#[repr(C)]
7989#[derive(Debug, Copy, Clone)]
7990pub struct CThostFtdcSyncDeltaExchMarginRateField {
7991    pub BrokerID: TThostFtdcBrokerIDType,
7992    pub InstrumentID: TThostFtdcInstrumentIDType,
7993    pub HedgeFlag: TThostFtdcHedgeFlagType,
7994    pub LongMarginRatioByMoney: TThostFtdcRatioType,
7995    pub LongMarginRatioByVolume: TThostFtdcMoneyType,
7996    pub ShortMarginRatioByMoney: TThostFtdcRatioType,
7997    pub ShortMarginRatioByVolume: TThostFtdcMoneyType,
7998    pub ActionDirection: TThostFtdcActionDirectionType,
7999    pub SyncDeltaSequenceNo: TThostFtdcSequenceNoType,
8000}
8001#[repr(C)]
8002#[derive(Debug, Copy, Clone)]
8003pub struct CThostFtdcSyncDeltaOptExchMarginField {
8004    pub BrokerID: TThostFtdcBrokerIDType,
8005    pub InstrumentID: TThostFtdcInstrumentIDType,
8006    pub SShortMarginRatioByMoney: TThostFtdcRatioType,
8007    pub SShortMarginRatioByVolume: TThostFtdcMoneyType,
8008    pub HShortMarginRatioByMoney: TThostFtdcRatioType,
8009    pub HShortMarginRatioByVolume: TThostFtdcMoneyType,
8010    pub AShortMarginRatioByMoney: TThostFtdcRatioType,
8011    pub AShortMarginRatioByVolume: TThostFtdcMoneyType,
8012    pub MShortMarginRatioByMoney: TThostFtdcRatioType,
8013    pub MShortMarginRatioByVolume: TThostFtdcMoneyType,
8014    pub ActionDirection: TThostFtdcActionDirectionType,
8015    pub SyncDeltaSequenceNo: TThostFtdcSequenceNoType,
8016}
8017#[repr(C)]
8018#[derive(Debug, Copy, Clone)]
8019pub struct CThostFtdcSyncDeltaOptInvstMarginField {
8020    pub InstrumentID: TThostFtdcInstrumentIDType,
8021    pub InvestorRange: TThostFtdcInvestorRangeType,
8022    pub BrokerID: TThostFtdcBrokerIDType,
8023    pub InvestorID: TThostFtdcInvestorIDType,
8024    pub SShortMarginRatioByMoney: TThostFtdcRatioType,
8025    pub SShortMarginRatioByVolume: TThostFtdcMoneyType,
8026    pub HShortMarginRatioByMoney: TThostFtdcRatioType,
8027    pub HShortMarginRatioByVolume: TThostFtdcMoneyType,
8028    pub AShortMarginRatioByMoney: TThostFtdcRatioType,
8029    pub AShortMarginRatioByVolume: TThostFtdcMoneyType,
8030    pub IsRelative: TThostFtdcBoolType,
8031    pub MShortMarginRatioByMoney: TThostFtdcRatioType,
8032    pub MShortMarginRatioByVolume: TThostFtdcMoneyType,
8033    pub ActionDirection: TThostFtdcActionDirectionType,
8034    pub SyncDeltaSequenceNo: TThostFtdcSequenceNoType,
8035}
8036#[repr(C)]
8037#[derive(Debug, Copy, Clone)]
8038pub struct CThostFtdcSyncDeltaInvstMarginRateULField {
8039    pub InstrumentID: TThostFtdcInstrumentIDType,
8040    pub InvestorRange: TThostFtdcInvestorRangeType,
8041    pub BrokerID: TThostFtdcBrokerIDType,
8042    pub InvestorID: TThostFtdcInvestorIDType,
8043    pub HedgeFlag: TThostFtdcHedgeFlagType,
8044    pub LongMarginRatioByMoney: TThostFtdcRatioType,
8045    pub LongMarginRatioByVolume: TThostFtdcMoneyType,
8046    pub ShortMarginRatioByMoney: TThostFtdcRatioType,
8047    pub ShortMarginRatioByVolume: TThostFtdcMoneyType,
8048    pub ActionDirection: TThostFtdcActionDirectionType,
8049    pub SyncDeltaSequenceNo: TThostFtdcSequenceNoType,
8050}
8051#[repr(C)]
8052#[derive(Debug, Copy, Clone)]
8053pub struct CThostFtdcSyncDeltaOptInvstCommRateField {
8054    pub InstrumentID: TThostFtdcInstrumentIDType,
8055    pub InvestorRange: TThostFtdcInvestorRangeType,
8056    pub BrokerID: TThostFtdcBrokerIDType,
8057    pub InvestorID: TThostFtdcInvestorIDType,
8058    pub OpenRatioByMoney: TThostFtdcRatioType,
8059    pub OpenRatioByVolume: TThostFtdcRatioType,
8060    pub CloseRatioByMoney: TThostFtdcRatioType,
8061    pub CloseRatioByVolume: TThostFtdcRatioType,
8062    pub CloseTodayRatioByMoney: TThostFtdcRatioType,
8063    pub CloseTodayRatioByVolume: TThostFtdcRatioType,
8064    pub StrikeRatioByMoney: TThostFtdcRatioType,
8065    pub StrikeRatioByVolume: TThostFtdcRatioType,
8066    pub ActionDirection: TThostFtdcActionDirectionType,
8067    pub SyncDeltaSequenceNo: TThostFtdcSequenceNoType,
8068}
8069#[repr(C)]
8070#[derive(Debug, Copy, Clone)]
8071pub struct CThostFtdcSyncDeltaInvstCommRateField {
8072    pub InstrumentID: TThostFtdcInstrumentIDType,
8073    pub InvestorRange: TThostFtdcInvestorRangeType,
8074    pub BrokerID: TThostFtdcBrokerIDType,
8075    pub InvestorID: TThostFtdcInvestorIDType,
8076    pub OpenRatioByMoney: TThostFtdcRatioType,
8077    pub OpenRatioByVolume: TThostFtdcRatioType,
8078    pub CloseRatioByMoney: TThostFtdcRatioType,
8079    pub CloseRatioByVolume: TThostFtdcRatioType,
8080    pub CloseTodayRatioByMoney: TThostFtdcRatioType,
8081    pub CloseTodayRatioByVolume: TThostFtdcRatioType,
8082    pub ActionDirection: TThostFtdcActionDirectionType,
8083    pub SyncDeltaSequenceNo: TThostFtdcSequenceNoType,
8084}
8085#[repr(C)]
8086#[derive(Debug, Copy, Clone)]
8087pub struct CThostFtdcSyncDeltaProductExchRateField {
8088    pub ProductID: TThostFtdcInstrumentIDType,
8089    pub QuoteCurrencyID: TThostFtdcCurrencyIDType,
8090    pub ExchangeRate: TThostFtdcExchangeRateType,
8091    pub ActionDirection: TThostFtdcActionDirectionType,
8092    pub SyncDeltaSequenceNo: TThostFtdcSequenceNoType,
8093}
8094#[repr(C)]
8095#[derive(Debug, Copy, Clone)]
8096pub struct CThostFtdcSyncDeltaDepthMarketDataField {
8097    pub TradingDay: TThostFtdcDateType,
8098    pub InstrumentID: TThostFtdcInstrumentIDType,
8099    pub ExchangeID: TThostFtdcExchangeIDType,
8100    pub ExchangeInstID: TThostFtdcExchangeInstIDType,
8101    pub LastPrice: TThostFtdcPriceType,
8102    pub PreSettlementPrice: TThostFtdcPriceType,
8103    pub PreClosePrice: TThostFtdcPriceType,
8104    pub PreOpenInterest: TThostFtdcLargeVolumeType,
8105    pub OpenPrice: TThostFtdcPriceType,
8106    pub HighestPrice: TThostFtdcPriceType,
8107    pub LowestPrice: TThostFtdcPriceType,
8108    pub Volume: TThostFtdcVolumeType,
8109    pub Turnover: TThostFtdcMoneyType,
8110    pub OpenInterest: TThostFtdcLargeVolumeType,
8111    pub ClosePrice: TThostFtdcPriceType,
8112    pub SettlementPrice: TThostFtdcPriceType,
8113    pub UpperLimitPrice: TThostFtdcPriceType,
8114    pub LowerLimitPrice: TThostFtdcPriceType,
8115    pub PreDelta: TThostFtdcRatioType,
8116    pub CurrDelta: TThostFtdcRatioType,
8117    pub UpdateTime: TThostFtdcTimeType,
8118    pub UpdateMillisec: TThostFtdcMillisecType,
8119    pub BidPrice1: TThostFtdcPriceType,
8120    pub BidVolume1: TThostFtdcVolumeType,
8121    pub AskPrice1: TThostFtdcPriceType,
8122    pub AskVolume1: TThostFtdcVolumeType,
8123    pub BidPrice2: TThostFtdcPriceType,
8124    pub BidVolume2: TThostFtdcVolumeType,
8125    pub AskPrice2: TThostFtdcPriceType,
8126    pub AskVolume2: TThostFtdcVolumeType,
8127    pub BidPrice3: TThostFtdcPriceType,
8128    pub BidVolume3: TThostFtdcVolumeType,
8129    pub AskPrice3: TThostFtdcPriceType,
8130    pub AskVolume3: TThostFtdcVolumeType,
8131    pub BidPrice4: TThostFtdcPriceType,
8132    pub BidVolume4: TThostFtdcVolumeType,
8133    pub AskPrice4: TThostFtdcPriceType,
8134    pub AskVolume4: TThostFtdcVolumeType,
8135    pub BidPrice5: TThostFtdcPriceType,
8136    pub BidVolume5: TThostFtdcVolumeType,
8137    pub AskPrice5: TThostFtdcPriceType,
8138    pub AskVolume5: TThostFtdcVolumeType,
8139    pub AveragePrice: TThostFtdcPriceType,
8140    pub ActionDay: TThostFtdcDateType,
8141    pub BandingUpperPrice: TThostFtdcPriceType,
8142    pub BandingLowerPrice: TThostFtdcPriceType,
8143    pub ActionDirection: TThostFtdcActionDirectionType,
8144    pub SyncDeltaSequenceNo: TThostFtdcSequenceNoType,
8145}
8146#[repr(C)]
8147#[derive(Debug, Copy, Clone)]
8148pub struct CThostFtdcSyncDeltaIndexPriceField {
8149    pub BrokerID: TThostFtdcBrokerIDType,
8150    pub InstrumentID: TThostFtdcInstrumentIDType,
8151    pub ClosePrice: TThostFtdcPriceType,
8152    pub ActionDirection: TThostFtdcActionDirectionType,
8153    pub SyncDeltaSequenceNo: TThostFtdcSequenceNoType,
8154}
8155#[repr(C)]
8156#[derive(Debug, Copy, Clone)]
8157pub struct CThostFtdcSyncDeltaEWarrantOffsetField {
8158    pub TradingDay: TThostFtdcTradeDateType,
8159    pub BrokerID: TThostFtdcBrokerIDType,
8160    pub InvestorID: TThostFtdcInvestorIDType,
8161    pub ExchangeID: TThostFtdcExchangeIDType,
8162    pub InstrumentID: TThostFtdcInstrumentIDType,
8163    pub Direction: TThostFtdcDirectionType,
8164    pub HedgeFlag: TThostFtdcHedgeFlagType,
8165    pub Volume: TThostFtdcVolumeType,
8166    pub ActionDirection: TThostFtdcActionDirectionType,
8167    pub SyncDeltaSequenceNo: TThostFtdcSequenceNoType,
8168}
8169#[repr(C)]
8170#[derive(Debug, Copy, Clone)]
8171pub struct CThostFtdcSPBMFutureParameterField {
8172    pub TradingDay: TThostFtdcDateType,
8173    pub ExchangeID: TThostFtdcExchangeIDType,
8174    pub InstrumentID: TThostFtdcInstrumentIDType,
8175    pub ProdFamilyCode: TThostFtdcInstrumentIDType,
8176    pub Cvf: TThostFtdcVolumeMultipleType,
8177    pub TimeRange: TThostFtdcTimeRangeType,
8178    pub MarginRate: TThostFtdcRatioType,
8179    pub LockRateX: TThostFtdcRatioType,
8180    pub AddOnRate: TThostFtdcRatioType,
8181    pub PreSettlementPrice: TThostFtdcPriceType,
8182    pub AddOnLockRateX2: TThostFtdcRatioType,
8183}
8184#[repr(C)]
8185#[derive(Debug, Copy, Clone)]
8186pub struct CThostFtdcSPBMOptionParameterField {
8187    pub TradingDay: TThostFtdcDateType,
8188    pub ExchangeID: TThostFtdcExchangeIDType,
8189    pub InstrumentID: TThostFtdcInstrumentIDType,
8190    pub ProdFamilyCode: TThostFtdcInstrumentIDType,
8191    pub Cvf: TThostFtdcVolumeMultipleType,
8192    pub DownPrice: TThostFtdcPriceType,
8193    pub Delta: TThostFtdcDeltaType,
8194    pub SlimiDelta: TThostFtdcDeltaType,
8195    pub PreSettlementPrice: TThostFtdcPriceType,
8196}
8197#[repr(C)]
8198#[derive(Debug, Copy, Clone)]
8199pub struct CThostFtdcSPBMIntraParameterField {
8200    pub TradingDay: TThostFtdcDateType,
8201    pub ExchangeID: TThostFtdcExchangeIDType,
8202    pub ProdFamilyCode: TThostFtdcInstrumentIDType,
8203    pub IntraRateY: TThostFtdcRatioType,
8204    pub AddOnIntraRateY2: TThostFtdcRatioType,
8205}
8206#[repr(C)]
8207#[derive(Debug, Copy, Clone)]
8208pub struct CThostFtdcSPBMInterParameterField {
8209    pub TradingDay: TThostFtdcDateType,
8210    pub ExchangeID: TThostFtdcExchangeIDType,
8211    pub SpreadId: TThostFtdcSpreadIdType,
8212    pub InterRateZ: TThostFtdcRatioType,
8213    pub Leg1ProdFamilyCode: TThostFtdcInstrumentIDType,
8214    pub Leg2ProdFamilyCode: TThostFtdcInstrumentIDType,
8215}
8216#[repr(C)]
8217#[derive(Debug, Copy, Clone)]
8218pub struct CThostFtdcSyncSPBMParameterEndField {
8219    pub TradingDay: TThostFtdcDateType,
8220}
8221#[repr(C)]
8222#[derive(Debug, Copy, Clone)]
8223pub struct CThostFtdcQrySPBMFutureParameterField {
8224    pub ExchangeID: TThostFtdcExchangeIDType,
8225    pub InstrumentID: TThostFtdcInstrumentIDType,
8226    pub ProdFamilyCode: TThostFtdcInstrumentIDType,
8227}
8228#[repr(C)]
8229#[derive(Debug, Copy, Clone)]
8230pub struct CThostFtdcQrySPBMOptionParameterField {
8231    pub ExchangeID: TThostFtdcExchangeIDType,
8232    pub InstrumentID: TThostFtdcInstrumentIDType,
8233    pub ProdFamilyCode: TThostFtdcInstrumentIDType,
8234}
8235#[repr(C)]
8236#[derive(Debug, Copy, Clone)]
8237pub struct CThostFtdcQrySPBMIntraParameterField {
8238    pub ExchangeID: TThostFtdcExchangeIDType,
8239    pub ProdFamilyCode: TThostFtdcInstrumentIDType,
8240}
8241#[repr(C)]
8242#[derive(Debug, Copy, Clone)]
8243pub struct CThostFtdcQrySPBMInterParameterField {
8244    pub ExchangeID: TThostFtdcExchangeIDType,
8245    pub Leg1ProdFamilyCode: TThostFtdcInstrumentIDType,
8246    pub Leg2ProdFamilyCode: TThostFtdcInstrumentIDType,
8247}
8248#[repr(C)]
8249#[derive(Debug, Copy, Clone)]
8250pub struct CThostFtdcSPBMPortfDefinitionField {
8251    pub ExchangeID: TThostFtdcExchangeIDType,
8252    pub PortfolioDefID: TThostFtdcPortfolioDefIDType,
8253    pub ProdFamilyCode: TThostFtdcInstrumentIDType,
8254    pub IsSPBM: TThostFtdcBoolType,
8255}
8256#[repr(C)]
8257#[derive(Debug, Copy, Clone)]
8258pub struct CThostFtdcSPBMInvestorPortfDefField {
8259    pub ExchangeID: TThostFtdcExchangeIDType,
8260    pub BrokerID: TThostFtdcBrokerIDType,
8261    pub InvestorID: TThostFtdcInvestorIDType,
8262    pub PortfolioDefID: TThostFtdcPortfolioDefIDType,
8263}
8264#[repr(C)]
8265#[derive(Debug, Copy, Clone)]
8266pub struct CThostFtdcInvestorPortfMarginRatioField {
8267    pub InvestorRange: TThostFtdcInvestorRangeType,
8268    pub BrokerID: TThostFtdcBrokerIDType,
8269    pub InvestorID: TThostFtdcInvestorIDType,
8270    pub ExchangeID: TThostFtdcExchangeIDType,
8271    pub MarginRatio: TThostFtdcRatioType,
8272}
8273#[repr(C)]
8274#[derive(Debug, Copy, Clone)]
8275pub struct CThostFtdcQrySPBMPortfDefinitionField {
8276    pub ExchangeID: TThostFtdcExchangeIDType,
8277    pub PortfolioDefID: TThostFtdcPortfolioDefIDType,
8278    pub ProdFamilyCode: TThostFtdcInstrumentIDType,
8279}
8280#[repr(C)]
8281#[derive(Debug, Copy, Clone)]
8282pub struct CThostFtdcQrySPBMInvestorPortfDefField {
8283    pub ExchangeID: TThostFtdcExchangeIDType,
8284    pub BrokerID: TThostFtdcBrokerIDType,
8285    pub InvestorID: TThostFtdcInvestorIDType,
8286}
8287#[repr(C)]
8288#[derive(Debug, Copy, Clone)]
8289pub struct CThostFtdcQryInvestorPortfMarginRatioField {
8290    pub BrokerID: TThostFtdcBrokerIDType,
8291    pub InvestorID: TThostFtdcInvestorIDType,
8292    pub ExchangeID: TThostFtdcExchangeIDType,
8293}
8294#[repr(C)]
8295#[derive(Debug, Copy, Clone)]
8296pub struct CThostFtdcInvestorProdSPBMDetailField {
8297    pub ExchangeID: TThostFtdcExchangeIDType,
8298    pub BrokerID: TThostFtdcBrokerIDType,
8299    pub InvestorID: TThostFtdcInvestorIDType,
8300    pub ProdFamilyCode: TThostFtdcInstrumentIDType,
8301    pub IntraInstrMargin: TThostFtdcMoneyType,
8302    pub BCollectingMargin: TThostFtdcMoneyType,
8303    pub SCollectingMargin: TThostFtdcMoneyType,
8304    pub IntraProdMargin: TThostFtdcMoneyType,
8305    pub NetMargin: TThostFtdcMoneyType,
8306    pub InterProdMargin: TThostFtdcMoneyType,
8307    pub SingleMargin: TThostFtdcMoneyType,
8308    pub AddOnMargin: TThostFtdcMoneyType,
8309    pub DeliveryMargin: TThostFtdcMoneyType,
8310    pub CallOptionMinRisk: TThostFtdcMoneyType,
8311    pub PutOptionMinRisk: TThostFtdcMoneyType,
8312    pub OptionMinRisk: TThostFtdcMoneyType,
8313    pub OptionValueOffset: TThostFtdcMoneyType,
8314    pub OptionRoyalty: TThostFtdcMoneyType,
8315    pub RealOptionValueOffset: TThostFtdcMoneyType,
8316    pub Margin: TThostFtdcMoneyType,
8317    pub ExchMargin: TThostFtdcMoneyType,
8318}
8319#[repr(C)]
8320#[derive(Debug, Copy, Clone)]
8321pub struct CThostFtdcQryInvestorProdSPBMDetailField {
8322    pub ExchangeID: TThostFtdcExchangeIDType,
8323    pub BrokerID: TThostFtdcBrokerIDType,
8324    pub InvestorID: TThostFtdcInvestorIDType,
8325    pub ProdFamilyCode: TThostFtdcInstrumentIDType,
8326}
8327#[repr(C)]
8328#[derive(Debug, Copy, Clone)]
8329pub struct CThostFtdcPortfTradeParamSettingField {
8330    pub ExchangeID: TThostFtdcExchangeIDType,
8331    pub BrokerID: TThostFtdcBrokerIDType,
8332    pub InvestorID: TThostFtdcInvestorIDType,
8333    pub Portfolio: TThostFtdcPortfolioType,
8334    pub IsActionVerify: TThostFtdcBoolType,
8335    pub IsCloseVerify: TThostFtdcBoolType,
8336}
8337#[repr(C)]
8338#[derive(Debug, Copy, Clone)]
8339pub struct CThostFtdcInvestorTradingRightField {
8340    pub BrokerID: TThostFtdcBrokerIDType,
8341    pub InvestorID: TThostFtdcInvestorIDType,
8342    pub InvstTradingRight: TThostFtdcInvstTradingRightType,
8343}
8344#[repr(C)]
8345#[derive(Debug, Copy, Clone)]
8346pub struct CThostFtdcMortgageParamField {
8347    pub BrokerID: TThostFtdcBrokerIDType,
8348    pub AccountID: TThostFtdcAccountIDType,
8349    pub MortgageBalance: TThostFtdcRatioType,
8350    pub CheckMortgageRatio: TThostFtdcBoolType,
8351}
8352#[repr(C)]
8353#[derive(Debug, Copy, Clone)]
8354pub struct CThostFtdcWithDrawParamField {
8355    pub BrokerID: TThostFtdcBrokerIDType,
8356    pub AccountID: TThostFtdcAccountIDType,
8357    pub WithDrawParamID: TThostFtdcWithDrawParamIDType,
8358    pub WithDrawParamValue: TThostFtdcWithDrawParamValueType,
8359}
8360#[repr(C)]
8361#[derive(Debug, Copy, Clone)]
8362pub struct CThostFtdcThostUserFunctionField {
8363    pub BrokerID: TThostFtdcBrokerIDType,
8364    pub UserID: TThostFtdcUserIDType,
8365    pub ThostFunctionCode: TThostFtdcThostFunctionCodeType,
8366}
8367#[repr(C)]
8368#[derive(Debug, Copy, Clone)]
8369pub struct CThostFtdcQryThostUserFunctionField {
8370    pub BrokerID: TThostFtdcBrokerIDType,
8371    pub UserID: TThostFtdcUserIDType,
8372}
8373#[repr(C)]
8374#[derive(Debug, Copy, Clone)]
8375pub struct CThostFtdcSPBMAddOnInterParameterField {
8376    pub TradingDay: TThostFtdcDateType,
8377    pub ExchangeID: TThostFtdcExchangeIDType,
8378    pub SpreadId: TThostFtdcSpreadIdType,
8379    pub AddOnInterRateZ2: TThostFtdcRatioType,
8380    pub Leg1ProdFamilyCode: TThostFtdcInstrumentIDType,
8381    pub Leg2ProdFamilyCode: TThostFtdcInstrumentIDType,
8382}
8383#[repr(C)]
8384#[derive(Debug, Copy, Clone)]
8385pub struct CThostFtdcQrySPBMAddOnInterParameterField {
8386    pub ExchangeID: TThostFtdcExchangeIDType,
8387    pub Leg1ProdFamilyCode: TThostFtdcInstrumentIDType,
8388    pub Leg2ProdFamilyCode: TThostFtdcInstrumentIDType,
8389}
8390#[repr(C)]
8391#[derive(Debug, Copy, Clone)]
8392pub struct CThostFtdcQryInvestorCommoditySPMMMarginField {
8393    pub BrokerID: TThostFtdcBrokerIDType,
8394    pub InvestorID: TThostFtdcInvestorIDType,
8395    pub CommodityID: TThostFtdcSPMMProductIDType,
8396}
8397#[repr(C)]
8398#[derive(Debug, Copy, Clone)]
8399pub struct CThostFtdcQryInvestorCommodityGroupSPMMMarginField {
8400    pub BrokerID: TThostFtdcBrokerIDType,
8401    pub InvestorID: TThostFtdcInvestorIDType,
8402    pub CommodityGroupID: TThostFtdcSPMMProductIDType,
8403}
8404#[repr(C)]
8405#[derive(Debug, Copy, Clone)]
8406pub struct CThostFtdcQrySPMMInstParamField {
8407    pub InstrumentID: TThostFtdcInstrumentIDType,
8408}
8409#[repr(C)]
8410#[derive(Debug, Copy, Clone)]
8411pub struct CThostFtdcQrySPMMProductParamField {
8412    pub ProductID: TThostFtdcSPMMProductIDType,
8413}
8414#[repr(C)]
8415#[derive(Debug, Copy, Clone)]
8416pub struct CThostFtdcInvestorCommoditySPMMMarginField {
8417    pub ExchangeID: TThostFtdcExchangeIDType,
8418    pub BrokerID: TThostFtdcBrokerIDType,
8419    pub InvestorID: TThostFtdcInvestorIDType,
8420    pub CommodityID: TThostFtdcSPMMProductIDType,
8421    pub MarginBeforeDiscount: TThostFtdcMoneyType,
8422    pub MarginNoDiscount: TThostFtdcMoneyType,
8423    pub LongPosRisk: TThostFtdcMoneyType,
8424    pub LongOpenFrozenRisk: TThostFtdcMoneyType,
8425    pub LongCloseFrozenRisk: TThostFtdcMoneyType,
8426    pub ShortPosRisk: TThostFtdcMoneyType,
8427    pub ShortOpenFrozenRisk: TThostFtdcMoneyType,
8428    pub ShortCloseFrozenRisk: TThostFtdcMoneyType,
8429    pub IntraCommodityRate: TThostFtdcSPMMDiscountRatioType,
8430    pub OptionDiscountRate: TThostFtdcSPMMDiscountRatioType,
8431    pub PosDiscount: TThostFtdcMoneyType,
8432    pub OpenFrozenDiscount: TThostFtdcMoneyType,
8433    pub NetRisk: TThostFtdcMoneyType,
8434    pub CloseFrozenMargin: TThostFtdcMoneyType,
8435    pub FrozenCommission: TThostFtdcMoneyType,
8436    pub Commission: TThostFtdcMoneyType,
8437    pub FrozenCash: TThostFtdcMoneyType,
8438    pub CashIn: TThostFtdcMoneyType,
8439    pub StrikeFrozenMargin: TThostFtdcMoneyType,
8440}
8441#[repr(C)]
8442#[derive(Debug, Copy, Clone)]
8443pub struct CThostFtdcInvestorCommodityGroupSPMMMarginField {
8444    pub ExchangeID: TThostFtdcExchangeIDType,
8445    pub BrokerID: TThostFtdcBrokerIDType,
8446    pub InvestorID: TThostFtdcInvestorIDType,
8447    pub CommodityGroupID: TThostFtdcSPMMProductIDType,
8448    pub MarginBeforeDiscount: TThostFtdcMoneyType,
8449    pub MarginNoDiscount: TThostFtdcMoneyType,
8450    pub LongRisk: TThostFtdcMoneyType,
8451    pub ShortRisk: TThostFtdcMoneyType,
8452    pub CloseFrozenMargin: TThostFtdcMoneyType,
8453    pub InterCommodityRate: TThostFtdcSPMMDiscountRatioType,
8454    pub MiniMarginRatio: TThostFtdcSPMMDiscountRatioType,
8455    pub AdjustRatio: TThostFtdcRatioType,
8456    pub IntraCommodityDiscount: TThostFtdcMoneyType,
8457    pub InterCommodityDiscount: TThostFtdcMoneyType,
8458    pub ExchMargin: TThostFtdcMoneyType,
8459    pub InvestorMargin: TThostFtdcMoneyType,
8460    pub FrozenCommission: TThostFtdcMoneyType,
8461    pub Commission: TThostFtdcMoneyType,
8462    pub FrozenCash: TThostFtdcMoneyType,
8463    pub CashIn: TThostFtdcMoneyType,
8464    pub StrikeFrozenMargin: TThostFtdcMoneyType,
8465}
8466#[repr(C)]
8467#[derive(Debug, Copy, Clone)]
8468pub struct CThostFtdcSPMMInstParamField {
8469    pub ExchangeID: TThostFtdcExchangeIDType,
8470    pub InstrumentID: TThostFtdcInstrumentIDType,
8471    pub InstMarginCalID: TThostFtdcInstMarginCalIDType,
8472    pub CommodityID: TThostFtdcSPMMProductIDType,
8473    pub CommodityGroupID: TThostFtdcSPMMProductIDType,
8474}
8475#[repr(C)]
8476#[derive(Debug, Copy, Clone)]
8477pub struct CThostFtdcSPMMProductParamField {
8478    pub ExchangeID: TThostFtdcExchangeIDType,
8479    pub ProductID: TThostFtdcSPMMProductIDType,
8480    pub CommodityID: TThostFtdcSPMMProductIDType,
8481    pub CommodityGroupID: TThostFtdcSPMMProductIDType,
8482}
8483#[repr(C)]
8484#[derive(Debug, Copy, Clone)]
8485pub struct CThostFtdcQryTraderAssignField {
8486    pub TraderID: TThostFtdcTraderIDType,
8487}
8488#[repr(C)]
8489#[derive(Debug, Copy, Clone)]
8490pub struct CThostFtdcTraderAssignField {
8491    pub BrokerID: TThostFtdcBrokerIDType,
8492    pub ExchangeID: TThostFtdcExchangeIDType,
8493    pub TraderID: TThostFtdcTraderIDType,
8494    pub ParticipantID: TThostFtdcParticipantIDType,
8495    pub DRIdentityID: TThostFtdcDRIdentityIDType,
8496}
8497#[repr(C)]
8498#[derive(Debug, Copy, Clone)]
8499pub struct CThostFtdcInvestorInfoCntSettingField {
8500    pub ExchangeID: TThostFtdcExchangeIDType,
8501    pub BrokerID: TThostFtdcBrokerIDType,
8502    pub InvestorID: TThostFtdcInvestorIDType,
8503    pub ProductID: TThostFtdcProductIDType,
8504    pub IsCalInfoComm: TThostFtdcBoolType,
8505    pub IsLimitInfoMax: TThostFtdcBoolType,
8506    pub InfoMaxLimit: TThostFtdcVolumeType,
8507}
8508#[repr(C)]
8509#[derive(Debug, Copy, Clone)]
8510pub struct CThostFtdcRCAMSCombProductInfoField {
8511    pub TradingDay: TThostFtdcDateType,
8512    pub ExchangeID: TThostFtdcExchangeIDType,
8513    pub ProductID: TThostFtdcProductIDType,
8514    pub CombProductID: TThostFtdcProductIDType,
8515    pub ProductGroupID: TThostFtdcProductIDType,
8516}
8517#[repr(C)]
8518#[derive(Debug, Copy, Clone)]
8519pub struct CThostFtdcRCAMSInstrParameterField {
8520    pub TradingDay: TThostFtdcDateType,
8521    pub ExchangeID: TThostFtdcExchangeIDType,
8522    pub ProductID: TThostFtdcProductIDType,
8523    pub HedgeRate: TThostFtdcHedgeRateType,
8524}
8525#[repr(C)]
8526#[derive(Debug, Copy, Clone)]
8527pub struct CThostFtdcRCAMSIntraParameterField {
8528    pub TradingDay: TThostFtdcDateType,
8529    pub ExchangeID: TThostFtdcExchangeIDType,
8530    pub CombProductID: TThostFtdcProductIDType,
8531    pub HedgeRate: TThostFtdcHedgeRateType,
8532}
8533#[repr(C)]
8534#[derive(Debug, Copy, Clone)]
8535pub struct CThostFtdcRCAMSInterParameterField {
8536    pub TradingDay: TThostFtdcDateType,
8537    pub ExchangeID: TThostFtdcExchangeIDType,
8538    pub ProductGroupID: TThostFtdcProductIDType,
8539    pub Priority: TThostFtdcRCAMSPriorityType,
8540    pub CreditRate: TThostFtdcHedgeRateType,
8541    pub CombProduct1: TThostFtdcProductIDType,
8542    pub CombProduct2: TThostFtdcProductIDType,
8543}
8544#[repr(C)]
8545#[derive(Debug, Copy, Clone)]
8546pub struct CThostFtdcRCAMSShortOptAdjustParamField {
8547    pub TradingDay: TThostFtdcDateType,
8548    pub ExchangeID: TThostFtdcExchangeIDType,
8549    pub CombProductID: TThostFtdcProductIDType,
8550    pub HedgeFlag: TThostFtdcHedgeFlagType,
8551    pub AdjustValue: TThostFtdcAdjustValueType,
8552}
8553#[repr(C)]
8554#[derive(Debug, Copy, Clone)]
8555pub struct CThostFtdcRCAMSInvestorCombPositionField {
8556    pub ExchangeID: TThostFtdcExchangeIDType,
8557    pub BrokerID: TThostFtdcBrokerIDType,
8558    pub InvestorID: TThostFtdcInvestorIDType,
8559    pub InstrumentID: TThostFtdcInstrumentIDType,
8560    pub HedgeFlag: TThostFtdcHedgeFlagType,
8561    pub PosiDirection: TThostFtdcPosiDirectionType,
8562    pub CombInstrumentID: TThostFtdcInstrumentIDType,
8563    pub LegID: TThostFtdcLegIDType,
8564    pub ExchangeInstID: TThostFtdcExchangeInstIDType,
8565    pub TotalAmt: TThostFtdcVolumeType,
8566    pub ExchMargin: TThostFtdcMoneyType,
8567    pub Margin: TThostFtdcMoneyType,
8568}
8569#[repr(C)]
8570#[derive(Debug, Copy, Clone)]
8571pub struct CThostFtdcInvestorProdRCAMSMarginField {
8572    pub ExchangeID: TThostFtdcExchangeIDType,
8573    pub BrokerID: TThostFtdcBrokerIDType,
8574    pub InvestorID: TThostFtdcInvestorIDType,
8575    pub CombProductID: TThostFtdcProductIDType,
8576    pub HedgeFlag: TThostFtdcHedgeFlagType,
8577    pub ProductGroupID: TThostFtdcProductIDType,
8578    pub RiskBeforeDiscount: TThostFtdcMoneyType,
8579    pub IntraInstrRisk: TThostFtdcMoneyType,
8580    pub BPosRisk: TThostFtdcMoneyType,
8581    pub SPosRisk: TThostFtdcMoneyType,
8582    pub IntraProdRisk: TThostFtdcMoneyType,
8583    pub NetRisk: TThostFtdcMoneyType,
8584    pub InterProdRisk: TThostFtdcMoneyType,
8585    pub ShortOptRiskAdj: TThostFtdcMoneyType,
8586    pub OptionRoyalty: TThostFtdcMoneyType,
8587    pub MMSACloseFrozenMargin: TThostFtdcMoneyType,
8588    pub CloseCombFrozenMargin: TThostFtdcMoneyType,
8589    pub CloseFrozenMargin: TThostFtdcMoneyType,
8590    pub MMSAOpenFrozenMargin: TThostFtdcMoneyType,
8591    pub DeliveryOpenFrozenMargin: TThostFtdcMoneyType,
8592    pub OpenFrozenMargin: TThostFtdcMoneyType,
8593    pub UseFrozenMargin: TThostFtdcMoneyType,
8594    pub MMSAExchMargin: TThostFtdcMoneyType,
8595    pub DeliveryExchMargin: TThostFtdcMoneyType,
8596    pub CombExchMargin: TThostFtdcMoneyType,
8597    pub ExchMargin: TThostFtdcMoneyType,
8598    pub UseMargin: TThostFtdcMoneyType,
8599}
8600#[repr(C)]
8601#[derive(Debug, Copy, Clone)]
8602pub struct CThostFtdcQryRCAMSCombProductInfoField {
8603    pub ProductID: TThostFtdcProductIDType,
8604    pub CombProductID: TThostFtdcProductIDType,
8605    pub ProductGroupID: TThostFtdcProductIDType,
8606}
8607#[repr(C)]
8608#[derive(Debug, Copy, Clone)]
8609pub struct CThostFtdcQryRCAMSInstrParameterField {
8610    pub ProductID: TThostFtdcProductIDType,
8611}
8612#[repr(C)]
8613#[derive(Debug, Copy, Clone)]
8614pub struct CThostFtdcQryRCAMSIntraParameterField {
8615    pub CombProductID: TThostFtdcProductIDType,
8616}
8617#[repr(C)]
8618#[derive(Debug, Copy, Clone)]
8619pub struct CThostFtdcQryRCAMSInterParameterField {
8620    pub ProductGroupID: TThostFtdcProductIDType,
8621    pub CombProduct1: TThostFtdcProductIDType,
8622    pub CombProduct2: TThostFtdcProductIDType,
8623}
8624#[repr(C)]
8625#[derive(Debug, Copy, Clone)]
8626pub struct CThostFtdcQryRCAMSShortOptAdjustParamField {
8627    pub CombProductID: TThostFtdcProductIDType,
8628}
8629#[repr(C)]
8630#[derive(Debug, Copy, Clone)]
8631pub struct CThostFtdcQryRCAMSInvestorCombPositionField {
8632    pub BrokerID: TThostFtdcBrokerIDType,
8633    pub InvestorID: TThostFtdcInvestorIDType,
8634    pub InstrumentID: TThostFtdcInstrumentIDType,
8635    pub CombInstrumentID: TThostFtdcInstrumentIDType,
8636}
8637#[repr(C)]
8638#[derive(Debug, Copy, Clone)]
8639pub struct CThostFtdcQryInvestorProdRCAMSMarginField {
8640    pub BrokerID: TThostFtdcBrokerIDType,
8641    pub InvestorID: TThostFtdcInvestorIDType,
8642    pub CombProductID: TThostFtdcProductIDType,
8643    pub ProductGroupID: TThostFtdcProductIDType,
8644}
8645#[repr(C)]
8646#[derive(Debug, Copy, Clone)]
8647pub struct CThostFtdcRULEInstrParameterField {
8648    pub TradingDay: TThostFtdcDateType,
8649    pub ExchangeID: TThostFtdcExchangeIDType,
8650    pub InstrumentID: TThostFtdcInstrumentIDType,
8651    pub InstrumentClass: TThostFtdcInstrumentClassType,
8652    pub StdInstrumentID: TThostFtdcInstrumentIDType,
8653    pub BSpecRatio: TThostFtdcRatioType,
8654    pub SSpecRatio: TThostFtdcRatioType,
8655    pub BHedgeRatio: TThostFtdcRatioType,
8656    pub SHedgeRatio: TThostFtdcRatioType,
8657    pub BAddOnMargin: TThostFtdcMoneyType,
8658    pub SAddOnMargin: TThostFtdcMoneyType,
8659    pub CommodityGroupID: TThostFtdcCommodityGroupIDType,
8660}
8661#[repr(C)]
8662#[derive(Debug, Copy, Clone)]
8663pub struct CThostFtdcRULEIntraParameterField {
8664    pub TradingDay: TThostFtdcDateType,
8665    pub ExchangeID: TThostFtdcExchangeIDType,
8666    pub ProdFamilyCode: TThostFtdcInstrumentIDType,
8667    pub StdInstrumentID: TThostFtdcInstrumentIDType,
8668    pub StdInstrMargin: TThostFtdcMoneyType,
8669    pub UsualIntraRate: TThostFtdcRatioType,
8670    pub DeliveryIntraRate: TThostFtdcRatioType,
8671}
8672#[repr(C)]
8673#[derive(Debug, Copy, Clone)]
8674pub struct CThostFtdcRULEInterParameterField {
8675    pub TradingDay: TThostFtdcDateType,
8676    pub ExchangeID: TThostFtdcExchangeIDType,
8677    pub SpreadId: TThostFtdcSpreadIdType,
8678    pub InterRate: TThostFtdcRatioType,
8679    pub Leg1ProdFamilyCode: TThostFtdcInstrumentIDType,
8680    pub Leg2ProdFamilyCode: TThostFtdcInstrumentIDType,
8681    pub Leg1PropFactor: TThostFtdcCommonIntType,
8682    pub Leg2PropFactor: TThostFtdcCommonIntType,
8683    pub CommodityGroupID: TThostFtdcCommodityGroupIDType,
8684    pub CommodityGroupName: TThostFtdcInstrumentNameType,
8685}
8686#[repr(C)]
8687#[derive(Debug, Copy, Clone)]
8688pub struct CThostFtdcQryRULEInstrParameterField {
8689    pub ExchangeID: TThostFtdcExchangeIDType,
8690    pub InstrumentID: TThostFtdcInstrumentIDType,
8691}
8692#[repr(C)]
8693#[derive(Debug, Copy, Clone)]
8694pub struct CThostFtdcQryRULEIntraParameterField {
8695    pub ExchangeID: TThostFtdcExchangeIDType,
8696    pub ProdFamilyCode: TThostFtdcInstrumentIDType,
8697}
8698#[repr(C)]
8699#[derive(Debug, Copy, Clone)]
8700pub struct CThostFtdcQryRULEInterParameterField {
8701    pub ExchangeID: TThostFtdcExchangeIDType,
8702    pub Leg1ProdFamilyCode: TThostFtdcInstrumentIDType,
8703    pub Leg2ProdFamilyCode: TThostFtdcInstrumentIDType,
8704    pub CommodityGroupID: TThostFtdcCommodityGroupIDType,
8705}
8706#[repr(C)]
8707#[derive(Debug, Copy, Clone)]
8708pub struct CThostFtdcInvestorProdRULEMarginField {
8709    pub ExchangeID: TThostFtdcExchangeIDType,
8710    pub BrokerID: TThostFtdcBrokerIDType,
8711    pub InvestorID: TThostFtdcInvestorIDType,
8712    pub ProdFamilyCode: TThostFtdcInstrumentIDType,
8713    pub InstrumentClass: TThostFtdcInstrumentClassType,
8714    pub CommodityGroupID: TThostFtdcCommodityGroupIDType,
8715    pub BStdPosition: TThostFtdcStdPositionType,
8716    pub SStdPosition: TThostFtdcStdPositionType,
8717    pub BStdOpenFrozen: TThostFtdcStdPositionType,
8718    pub SStdOpenFrozen: TThostFtdcStdPositionType,
8719    pub BStdCloseFrozen: TThostFtdcStdPositionType,
8720    pub SStdCloseFrozen: TThostFtdcStdPositionType,
8721    pub IntraProdStdPosition: TThostFtdcStdPositionType,
8722    pub NetStdPosition: TThostFtdcStdPositionType,
8723    pub InterProdStdPosition: TThostFtdcStdPositionType,
8724    pub SingleStdPosition: TThostFtdcStdPositionType,
8725    pub IntraProdMargin: TThostFtdcMoneyType,
8726    pub InterProdMargin: TThostFtdcMoneyType,
8727    pub SingleMargin: TThostFtdcMoneyType,
8728    pub NonCombMargin: TThostFtdcMoneyType,
8729    pub AddOnMargin: TThostFtdcMoneyType,
8730    pub ExchMargin: TThostFtdcMoneyType,
8731    pub AddOnFrozenMargin: TThostFtdcMoneyType,
8732    pub OpenFrozenMargin: TThostFtdcMoneyType,
8733    pub CloseFrozenMargin: TThostFtdcMoneyType,
8734    pub Margin: TThostFtdcMoneyType,
8735    pub FrozenMargin: TThostFtdcMoneyType,
8736}
8737#[repr(C)]
8738#[derive(Debug, Copy, Clone)]
8739pub struct CThostFtdcQryInvestorProdRULEMarginField {
8740    pub ExchangeID: TThostFtdcExchangeIDType,
8741    pub BrokerID: TThostFtdcBrokerIDType,
8742    pub InvestorID: TThostFtdcInvestorIDType,
8743    pub ProdFamilyCode: TThostFtdcInstrumentIDType,
8744    pub CommodityGroupID: TThostFtdcCommodityGroupIDType,
8745}
8746#[repr(C)]
8747#[derive(Debug, Copy, Clone)]
8748pub struct CThostFtdcSyncDeltaSPBMPortfDefinitionField {
8749    pub ExchangeID: TThostFtdcExchangeIDType,
8750    pub PortfolioDefID: TThostFtdcPortfolioDefIDType,
8751    pub ProdFamilyCode: TThostFtdcInstrumentIDType,
8752    pub IsSPBM: TThostFtdcBoolType,
8753    pub ActionDirection: TThostFtdcActionDirectionType,
8754    pub SyncDeltaSequenceNo: TThostFtdcSequenceNoType,
8755}
8756#[repr(C)]
8757#[derive(Debug, Copy, Clone)]
8758pub struct CThostFtdcSyncDeltaSPBMInvstPortfDefField {
8759    pub ExchangeID: TThostFtdcExchangeIDType,
8760    pub BrokerID: TThostFtdcBrokerIDType,
8761    pub InvestorID: TThostFtdcInvestorIDType,
8762    pub PortfolioDefID: TThostFtdcPortfolioDefIDType,
8763    pub ActionDirection: TThostFtdcActionDirectionType,
8764    pub SyncDeltaSequenceNo: TThostFtdcSequenceNoType,
8765}
8766#[repr(C)]
8767#[derive(Debug, Copy, Clone)]
8768pub struct CThostFtdcSyncDeltaSPBMFutureParameterField {
8769    pub TradingDay: TThostFtdcDateType,
8770    pub ExchangeID: TThostFtdcExchangeIDType,
8771    pub InstrumentID: TThostFtdcInstrumentIDType,
8772    pub ProdFamilyCode: TThostFtdcInstrumentIDType,
8773    pub Cvf: TThostFtdcVolumeMultipleType,
8774    pub TimeRange: TThostFtdcTimeRangeType,
8775    pub MarginRate: TThostFtdcRatioType,
8776    pub LockRateX: TThostFtdcRatioType,
8777    pub AddOnRate: TThostFtdcRatioType,
8778    pub PreSettlementPrice: TThostFtdcPriceType,
8779    pub AddOnLockRateX2: TThostFtdcRatioType,
8780    pub ActionDirection: TThostFtdcActionDirectionType,
8781    pub SyncDeltaSequenceNo: TThostFtdcSequenceNoType,
8782}
8783#[repr(C)]
8784#[derive(Debug, Copy, Clone)]
8785pub struct CThostFtdcSyncDeltaSPBMOptionParameterField {
8786    pub TradingDay: TThostFtdcDateType,
8787    pub ExchangeID: TThostFtdcExchangeIDType,
8788    pub InstrumentID: TThostFtdcInstrumentIDType,
8789    pub ProdFamilyCode: TThostFtdcInstrumentIDType,
8790    pub Cvf: TThostFtdcVolumeMultipleType,
8791    pub DownPrice: TThostFtdcPriceType,
8792    pub Delta: TThostFtdcDeltaType,
8793    pub SlimiDelta: TThostFtdcDeltaType,
8794    pub PreSettlementPrice: TThostFtdcPriceType,
8795    pub ActionDirection: TThostFtdcActionDirectionType,
8796    pub SyncDeltaSequenceNo: TThostFtdcSequenceNoType,
8797}
8798#[repr(C)]
8799#[derive(Debug, Copy, Clone)]
8800pub struct CThostFtdcSyncDeltaSPBMIntraParameterField {
8801    pub TradingDay: TThostFtdcDateType,
8802    pub ExchangeID: TThostFtdcExchangeIDType,
8803    pub ProdFamilyCode: TThostFtdcInstrumentIDType,
8804    pub IntraRateY: TThostFtdcRatioType,
8805    pub AddOnIntraRateY2: TThostFtdcRatioType,
8806    pub ActionDirection: TThostFtdcActionDirectionType,
8807    pub SyncDeltaSequenceNo: TThostFtdcSequenceNoType,
8808}
8809#[repr(C)]
8810#[derive(Debug, Copy, Clone)]
8811pub struct CThostFtdcSyncDeltaSPBMInterParameterField {
8812    pub TradingDay: TThostFtdcDateType,
8813    pub ExchangeID: TThostFtdcExchangeIDType,
8814    pub SpreadId: TThostFtdcSpreadIdType,
8815    pub InterRateZ: TThostFtdcRatioType,
8816    pub Leg1ProdFamilyCode: TThostFtdcInstrumentIDType,
8817    pub Leg2ProdFamilyCode: TThostFtdcInstrumentIDType,
8818    pub ActionDirection: TThostFtdcActionDirectionType,
8819    pub SyncDeltaSequenceNo: TThostFtdcSequenceNoType,
8820}
8821#[repr(C)]
8822#[derive(Debug, Copy, Clone)]
8823pub struct CThostFtdcSyncDeltaSPBMAddOnInterParamField {
8824    pub TradingDay: TThostFtdcDateType,
8825    pub ExchangeID: TThostFtdcExchangeIDType,
8826    pub SpreadId: TThostFtdcSpreadIdType,
8827    pub AddOnInterRateZ2: TThostFtdcRatioType,
8828    pub Leg1ProdFamilyCode: TThostFtdcInstrumentIDType,
8829    pub Leg2ProdFamilyCode: TThostFtdcInstrumentIDType,
8830    pub ActionDirection: TThostFtdcActionDirectionType,
8831    pub SyncDeltaSequenceNo: TThostFtdcSequenceNoType,
8832}
8833#[repr(C)]
8834#[derive(Debug, Copy, Clone)]
8835pub struct CThostFtdcSyncDeltaSPMMInstParamField {
8836    pub ExchangeID: TThostFtdcExchangeIDType,
8837    pub InstrumentID: TThostFtdcInstrumentIDType,
8838    pub InstMarginCalID: TThostFtdcInstMarginCalIDType,
8839    pub CommodityID: TThostFtdcSPMMProductIDType,
8840    pub CommodityGroupID: TThostFtdcSPMMProductIDType,
8841    pub ActionDirection: TThostFtdcActionDirectionType,
8842    pub SyncDeltaSequenceNo: TThostFtdcSequenceNoType,
8843}
8844#[repr(C)]
8845#[derive(Debug, Copy, Clone)]
8846pub struct CThostFtdcSyncDeltaSPMMProductParamField {
8847    pub ExchangeID: TThostFtdcExchangeIDType,
8848    pub ProductID: TThostFtdcSPMMProductIDType,
8849    pub CommodityID: TThostFtdcSPMMProductIDType,
8850    pub CommodityGroupID: TThostFtdcSPMMProductIDType,
8851    pub ActionDirection: TThostFtdcActionDirectionType,
8852    pub SyncDeltaSequenceNo: TThostFtdcSequenceNoType,
8853}
8854#[repr(C)]
8855#[derive(Debug, Copy, Clone)]
8856pub struct CThostFtdcSyncDeltaInvestorSPMMModelField {
8857    pub ExchangeID: TThostFtdcExchangeIDType,
8858    pub BrokerID: TThostFtdcBrokerIDType,
8859    pub InvestorID: TThostFtdcInvestorIDType,
8860    pub SPMMModelID: TThostFtdcSPMMModelIDType,
8861    pub ActionDirection: TThostFtdcActionDirectionType,
8862    pub SyncDeltaSequenceNo: TThostFtdcSequenceNoType,
8863}
8864#[repr(C)]
8865#[derive(Debug, Copy, Clone)]
8866pub struct CThostFtdcSyncDeltaSPMMModelParamField {
8867    pub ExchangeID: TThostFtdcExchangeIDType,
8868    pub SPMMModelID: TThostFtdcSPMMModelIDType,
8869    pub CommodityGroupID: TThostFtdcSPMMProductIDType,
8870    pub IntraCommodityRate: TThostFtdcSPMMDiscountRatioType,
8871    pub InterCommodityRate: TThostFtdcSPMMDiscountRatioType,
8872    pub OptionDiscountRate: TThostFtdcSPMMDiscountRatioType,
8873    pub MiniMarginRatio: TThostFtdcSPMMDiscountRatioType,
8874    pub ActionDirection: TThostFtdcActionDirectionType,
8875    pub SyncDeltaSequenceNo: TThostFtdcSequenceNoType,
8876}
8877#[repr(C)]
8878#[derive(Debug, Copy, Clone)]
8879pub struct CThostFtdcSyncDeltaRCAMSCombProdInfoField {
8880    pub TradingDay: TThostFtdcDateType,
8881    pub ExchangeID: TThostFtdcExchangeIDType,
8882    pub ProductID: TThostFtdcProductIDType,
8883    pub CombProductID: TThostFtdcProductIDType,
8884    pub ProductGroupID: TThostFtdcProductIDType,
8885    pub ActionDirection: TThostFtdcActionDirectionType,
8886    pub SyncDeltaSequenceNo: TThostFtdcSequenceNoType,
8887}
8888#[repr(C)]
8889#[derive(Debug, Copy, Clone)]
8890pub struct CThostFtdcSyncDeltaRCAMSInstrParameterField {
8891    pub TradingDay: TThostFtdcDateType,
8892    pub ExchangeID: TThostFtdcExchangeIDType,
8893    pub ProductID: TThostFtdcProductIDType,
8894    pub HedgeRate: TThostFtdcHedgeRateType,
8895    pub ActionDirection: TThostFtdcActionDirectionType,
8896    pub SyncDeltaSequenceNo: TThostFtdcSequenceNoType,
8897}
8898#[repr(C)]
8899#[derive(Debug, Copy, Clone)]
8900pub struct CThostFtdcSyncDeltaRCAMSIntraParameterField {
8901    pub TradingDay: TThostFtdcDateType,
8902    pub ExchangeID: TThostFtdcExchangeIDType,
8903    pub CombProductID: TThostFtdcProductIDType,
8904    pub HedgeRate: TThostFtdcHedgeRateType,
8905    pub ActionDirection: TThostFtdcActionDirectionType,
8906    pub SyncDeltaSequenceNo: TThostFtdcSequenceNoType,
8907}
8908#[repr(C)]
8909#[derive(Debug, Copy, Clone)]
8910pub struct CThostFtdcSyncDeltaRCAMSInterParameterField {
8911    pub TradingDay: TThostFtdcDateType,
8912    pub ExchangeID: TThostFtdcExchangeIDType,
8913    pub ProductGroupID: TThostFtdcProductIDType,
8914    pub Priority: TThostFtdcRCAMSPriorityType,
8915    pub CreditRate: TThostFtdcHedgeRateType,
8916    pub CombProduct1: TThostFtdcProductIDType,
8917    pub CombProduct2: TThostFtdcProductIDType,
8918    pub ActionDirection: TThostFtdcActionDirectionType,
8919    pub SyncDeltaSequenceNo: TThostFtdcSequenceNoType,
8920}
8921#[repr(C)]
8922#[derive(Debug, Copy, Clone)]
8923pub struct CThostFtdcSyncDeltaRCAMSSOptAdjParamField {
8924    pub TradingDay: TThostFtdcDateType,
8925    pub ExchangeID: TThostFtdcExchangeIDType,
8926    pub CombProductID: TThostFtdcProductIDType,
8927    pub HedgeFlag: TThostFtdcHedgeFlagType,
8928    pub AdjustValue: TThostFtdcAdjustValueType,
8929    pub ActionDirection: TThostFtdcActionDirectionType,
8930    pub SyncDeltaSequenceNo: TThostFtdcSequenceNoType,
8931}
8932#[repr(C)]
8933#[derive(Debug, Copy, Clone)]
8934pub struct CThostFtdcSyncDeltaRCAMSCombRuleDtlField {
8935    pub TradingDay: TThostFtdcDateType,
8936    pub ExchangeID: TThostFtdcExchangeIDType,
8937    pub ProdGroup: TThostFtdcProductIDType,
8938    pub RuleId: TThostFtdcRuleIdType,
8939    pub Priority: TThostFtdcRCAMSPriorityType,
8940    pub HedgeFlag: TThostFtdcHedgeFlagType,
8941    pub CombMargin: TThostFtdcMoneyType,
8942    pub ExchangeInstID: TThostFtdcExchangeInstIDType,
8943    pub LegID: TThostFtdcLegIDType,
8944    pub LegInstrumentID: TThostFtdcInstrumentIDType,
8945    pub Direction: TThostFtdcDirectionType,
8946    pub LegMultiple: TThostFtdcLegMultipleType,
8947    pub ActionDirection: TThostFtdcActionDirectionType,
8948    pub SyncDeltaSequenceNo: TThostFtdcSequenceNoType,
8949}
8950#[repr(C)]
8951#[derive(Debug, Copy, Clone)]
8952pub struct CThostFtdcSyncDeltaRCAMSInvstCombPosField {
8953    pub ExchangeID: TThostFtdcExchangeIDType,
8954    pub BrokerID: TThostFtdcBrokerIDType,
8955    pub InvestorID: TThostFtdcInvestorIDType,
8956    pub InstrumentID: TThostFtdcInstrumentIDType,
8957    pub HedgeFlag: TThostFtdcHedgeFlagType,
8958    pub PosiDirection: TThostFtdcPosiDirectionType,
8959    pub CombInstrumentID: TThostFtdcInstrumentIDType,
8960    pub LegID: TThostFtdcLegIDType,
8961    pub ExchangeInstID: TThostFtdcExchangeInstIDType,
8962    pub TotalAmt: TThostFtdcVolumeType,
8963    pub ExchMargin: TThostFtdcMoneyType,
8964    pub Margin: TThostFtdcMoneyType,
8965    pub ActionDirection: TThostFtdcActionDirectionType,
8966    pub SyncDeltaSequenceNo: TThostFtdcSequenceNoType,
8967}
8968#[repr(C)]
8969#[derive(Debug, Copy, Clone)]
8970pub struct CThostFtdcSyncDeltaRULEInstrParameterField {
8971    pub TradingDay: TThostFtdcDateType,
8972    pub ExchangeID: TThostFtdcExchangeIDType,
8973    pub InstrumentID: TThostFtdcInstrumentIDType,
8974    pub InstrumentClass: TThostFtdcInstrumentClassType,
8975    pub StdInstrumentID: TThostFtdcInstrumentIDType,
8976    pub BSpecRatio: TThostFtdcRatioType,
8977    pub SSpecRatio: TThostFtdcRatioType,
8978    pub BHedgeRatio: TThostFtdcRatioType,
8979    pub SHedgeRatio: TThostFtdcRatioType,
8980    pub BAddOnMargin: TThostFtdcMoneyType,
8981    pub SAddOnMargin: TThostFtdcMoneyType,
8982    pub CommodityGroupID: TThostFtdcCommodityGroupIDType,
8983    pub ActionDirection: TThostFtdcActionDirectionType,
8984    pub SyncDeltaSequenceNo: TThostFtdcSequenceNoType,
8985}
8986#[repr(C)]
8987#[derive(Debug, Copy, Clone)]
8988pub struct CThostFtdcSyncDeltaRULEIntraParameterField {
8989    pub TradingDay: TThostFtdcDateType,
8990    pub ExchangeID: TThostFtdcExchangeIDType,
8991    pub ProdFamilyCode: TThostFtdcInstrumentIDType,
8992    pub StdInstrumentID: TThostFtdcInstrumentIDType,
8993    pub StdInstrMargin: TThostFtdcMoneyType,
8994    pub UsualIntraRate: TThostFtdcRatioType,
8995    pub DeliveryIntraRate: TThostFtdcRatioType,
8996    pub ActionDirection: TThostFtdcActionDirectionType,
8997    pub SyncDeltaSequenceNo: TThostFtdcSequenceNoType,
8998}
8999#[repr(C)]
9000#[derive(Debug, Copy, Clone)]
9001pub struct CThostFtdcSyncDeltaRULEInterParameterField {
9002    pub TradingDay: TThostFtdcDateType,
9003    pub ExchangeID: TThostFtdcExchangeIDType,
9004    pub SpreadId: TThostFtdcSpreadIdType,
9005    pub InterRate: TThostFtdcRatioType,
9006    pub Leg1ProdFamilyCode: TThostFtdcInstrumentIDType,
9007    pub Leg2ProdFamilyCode: TThostFtdcInstrumentIDType,
9008    pub Leg1PropFactor: TThostFtdcCommonIntType,
9009    pub Leg2PropFactor: TThostFtdcCommonIntType,
9010    pub CommodityGroupID: TThostFtdcCommodityGroupIDType,
9011    pub CommodityGroupName: TThostFtdcInstrumentNameType,
9012    pub ActionDirection: TThostFtdcActionDirectionType,
9013    pub SyncDeltaSequenceNo: TThostFtdcSequenceNoType,
9014}
9015#[repr(C)]
9016#[repr(align(8))]
9017#[derive(Debug, Copy, Clone)]
9018pub struct CThostFtdcTraderSpi {
9019    pub _bindgen_opaque_blob: u64,
9020}
9021#[repr(C)]
9022#[repr(align(8))]
9023#[derive(Debug, Copy, Clone)]
9024pub struct CThostFtdcTraderApi {
9025    pub _bindgen_opaque_blob: u64,
9026}
9027extern "C" {
9028    #[link_name = "\u{1}_ZN19CThostFtdcTraderApi19CreateFtdcTraderApiEPKc"]
9029    pub fn CThostFtdcTraderApi_CreateFtdcTraderApi(
9030        pszFlowPath: *const ::std::os::raw::c_char,
9031    ) -> *mut CThostFtdcTraderApi;
9032}
9033extern "C" {
9034    #[link_name = "\u{1}_ZN19CThostFtdcTraderApi13GetApiVersionEv"]
9035    pub fn CThostFtdcTraderApi_GetApiVersion() -> *const ::std::os::raw::c_char;
9036}
9037impl CThostFtdcTraderApi {
9038    #[inline]
9039    pub unsafe fn CreateFtdcTraderApi(
9040        pszFlowPath: *const ::std::os::raw::c_char,
9041    ) -> *mut CThostFtdcTraderApi {
9042        CThostFtdcTraderApi_CreateFtdcTraderApi(pszFlowPath)
9043    }
9044    #[inline]
9045    pub unsafe fn GetApiVersion() -> *const ::std::os::raw::c_char {
9046        CThostFtdcTraderApi_GetApiVersion()
9047    }
9048}
9049#[repr(C)]
9050#[repr(align(8))]
9051#[derive(Debug, Copy, Clone)]
9052pub struct CThostFtdcMdSpi {
9053    pub _bindgen_opaque_blob: u64,
9054}
9055#[repr(C)]
9056#[repr(align(8))]
9057#[derive(Debug, Copy, Clone)]
9058pub struct CThostFtdcMdApi {
9059    pub _bindgen_opaque_blob: u64,
9060}
9061extern "C" {
9062    #[link_name = "\u{1}_ZN15CThostFtdcMdApi15CreateFtdcMdApiEPKcbb"]
9063    pub fn CThostFtdcMdApi_CreateFtdcMdApi(
9064        pszFlowPath: *const ::std::os::raw::c_char,
9065        bIsUsingUdp: bool,
9066        bIsMulticast: bool,
9067    ) -> *mut CThostFtdcMdApi;
9068}
9069extern "C" {
9070    #[link_name = "\u{1}_ZN15CThostFtdcMdApi13GetApiVersionEv"]
9071    pub fn CThostFtdcMdApi_GetApiVersion() -> *const ::std::os::raw::c_char;
9072}
9073impl CThostFtdcMdApi {
9074    #[inline]
9075    pub unsafe fn CreateFtdcMdApi(
9076        pszFlowPath: *const ::std::os::raw::c_char,
9077        bIsUsingUdp: bool,
9078        bIsMulticast: bool,
9079    ) -> *mut CThostFtdcMdApi {
9080        CThostFtdcMdApi_CreateFtdcMdApi(pszFlowPath, bIsUsingUdp, bIsMulticast)
9081    }
9082    #[inline]
9083    pub unsafe fn GetApiVersion() -> *const ::std::os::raw::c_char {
9084        CThostFtdcMdApi_GetApiVersion()
9085    }
9086}
9087#[repr(C)]
9088#[derive(Debug)]
9089pub struct Rust_CThostFtdcMdApi {
9090    pub m_member: *mut CThostFtdcMdApi,
9091}
9092extern "C" {
9093    #[link_name = "\u{1}_ZN20Rust_CThostFtdcMdApi7ReleaseEv"]
9094    pub fn Rust_CThostFtdcMdApi_Release(this: *mut Rust_CThostFtdcMdApi);
9095}
9096extern "C" {
9097    #[link_name = "\u{1}_ZN20Rust_CThostFtdcMdApi4InitEv"]
9098    pub fn Rust_CThostFtdcMdApi_Init(this: *mut Rust_CThostFtdcMdApi);
9099}
9100extern "C" {
9101    #[link_name = "\u{1}_ZN20Rust_CThostFtdcMdApi4JoinEv"]
9102    pub fn Rust_CThostFtdcMdApi_Join(this: *mut Rust_CThostFtdcMdApi) -> ::std::os::raw::c_int;
9103}
9104extern "C" {
9105    #[link_name = "\u{1}_ZN20Rust_CThostFtdcMdApi13GetTradingDayEv"]
9106    pub fn Rust_CThostFtdcMdApi_GetTradingDay(
9107        this: *mut Rust_CThostFtdcMdApi,
9108    ) -> *const ::std::os::raw::c_char;
9109}
9110extern "C" {
9111    #[link_name = "\u{1}_ZN20Rust_CThostFtdcMdApi13RegisterFrontEPc"]
9112    pub fn Rust_CThostFtdcMdApi_RegisterFront(
9113        this: *mut Rust_CThostFtdcMdApi,
9114        pszFrontAddress: *mut ::std::os::raw::c_char,
9115    );
9116}
9117extern "C" {
9118    #[link_name = "\u{1}_ZN20Rust_CThostFtdcMdApi18RegisterNameServerEPc"]
9119    pub fn Rust_CThostFtdcMdApi_RegisterNameServer(
9120        this: *mut Rust_CThostFtdcMdApi,
9121        pszNsAddress: *mut ::std::os::raw::c_char,
9122    );
9123}
9124extern "C" {
9125    #[link_name = "\u{1}_ZN20Rust_CThostFtdcMdApi20RegisterFensUserInfoEP27CThostFtdcFensUserInfoField"]
9126    pub fn Rust_CThostFtdcMdApi_RegisterFensUserInfo(
9127        this: *mut Rust_CThostFtdcMdApi,
9128        pFensUserInfo: *mut CThostFtdcFensUserInfoField,
9129    );
9130}
9131extern "C" {
9132    #[link_name = "\u{1}_ZN20Rust_CThostFtdcMdApi11RegisterSpiEP15CThostFtdcMdSpi"]
9133    pub fn Rust_CThostFtdcMdApi_RegisterSpi(
9134        this: *mut Rust_CThostFtdcMdApi,
9135        pSpi: *mut CThostFtdcMdSpi,
9136    );
9137}
9138extern "C" {
9139    #[link_name = "\u{1}_ZN20Rust_CThostFtdcMdApi19SubscribeMarketDataEPPci"]
9140    pub fn Rust_CThostFtdcMdApi_SubscribeMarketData(
9141        this: *mut Rust_CThostFtdcMdApi,
9142        ppInstrumentID: *mut *mut ::std::os::raw::c_char,
9143        nCount: ::std::os::raw::c_int,
9144    ) -> ::std::os::raw::c_int;
9145}
9146extern "C" {
9147    #[link_name = "\u{1}_ZN20Rust_CThostFtdcMdApi21UnSubscribeMarketDataEPPci"]
9148    pub fn Rust_CThostFtdcMdApi_UnSubscribeMarketData(
9149        this: *mut Rust_CThostFtdcMdApi,
9150        ppInstrumentID: *mut *mut ::std::os::raw::c_char,
9151        nCount: ::std::os::raw::c_int,
9152    ) -> ::std::os::raw::c_int;
9153}
9154extern "C" {
9155    #[link_name = "\u{1}_ZN20Rust_CThostFtdcMdApi20SubscribeForQuoteRspEPPci"]
9156    pub fn Rust_CThostFtdcMdApi_SubscribeForQuoteRsp(
9157        this: *mut Rust_CThostFtdcMdApi,
9158        ppInstrumentID: *mut *mut ::std::os::raw::c_char,
9159        nCount: ::std::os::raw::c_int,
9160    ) -> ::std::os::raw::c_int;
9161}
9162extern "C" {
9163    #[link_name = "\u{1}_ZN20Rust_CThostFtdcMdApi22UnSubscribeForQuoteRspEPPci"]
9164    pub fn Rust_CThostFtdcMdApi_UnSubscribeForQuoteRsp(
9165        this: *mut Rust_CThostFtdcMdApi,
9166        ppInstrumentID: *mut *mut ::std::os::raw::c_char,
9167        nCount: ::std::os::raw::c_int,
9168    ) -> ::std::os::raw::c_int;
9169}
9170extern "C" {
9171    #[link_name = "\u{1}_ZN20Rust_CThostFtdcMdApi12ReqUserLoginEP27CThostFtdcReqUserLoginFieldi"]
9172    pub fn Rust_CThostFtdcMdApi_ReqUserLogin(
9173        this: *mut Rust_CThostFtdcMdApi,
9174        pReqUserLoginField: *mut CThostFtdcReqUserLoginField,
9175        nRequestID: ::std::os::raw::c_int,
9176    ) -> ::std::os::raw::c_int;
9177}
9178extern "C" {
9179    #[link_name = "\u{1}_ZN20Rust_CThostFtdcMdApi13ReqUserLogoutEP25CThostFtdcUserLogoutFieldi"]
9180    pub fn Rust_CThostFtdcMdApi_ReqUserLogout(
9181        this: *mut Rust_CThostFtdcMdApi,
9182        pUserLogout: *mut CThostFtdcUserLogoutField,
9183        nRequestID: ::std::os::raw::c_int,
9184    ) -> ::std::os::raw::c_int;
9185}
9186extern "C" {
9187    #[link_name = "\u{1}_ZN20Rust_CThostFtdcMdApi25ReqQryMulticastInstrumentEP37CThostFtdcQryMulticastInstrumentFieldi"]
9188    pub fn Rust_CThostFtdcMdApi_ReqQryMulticastInstrument(
9189        this: *mut Rust_CThostFtdcMdApi,
9190        pQryMulticastInstrument: *mut CThostFtdcQryMulticastInstrumentField,
9191        nRequestID: ::std::os::raw::c_int,
9192    ) -> ::std::os::raw::c_int;
9193}
9194extern "C" {
9195    #[link_name = "\u{1}_ZN20Rust_CThostFtdcMdApiC1EP15CThostFtdcMdApi"]
9196    pub fn Rust_CThostFtdcMdApi_Rust_CThostFtdcMdApi(
9197        this: *mut Rust_CThostFtdcMdApi,
9198        member: *mut CThostFtdcMdApi,
9199    );
9200}
9201extern "C" {
9202    #[link_name = "\u{1}_ZN20Rust_CThostFtdcMdApiD1Ev"]
9203    pub fn Rust_CThostFtdcMdApi_Rust_CThostFtdcMdApi_destructor(this: *mut Rust_CThostFtdcMdApi);
9204}
9205impl Rust_CThostFtdcMdApi {
9206    #[inline]
9207    pub unsafe fn Release(&mut self) {
9208        Rust_CThostFtdcMdApi_Release(self)
9209    }
9210    #[inline]
9211    pub unsafe fn Init(&mut self) {
9212        Rust_CThostFtdcMdApi_Init(self)
9213    }
9214    #[inline]
9215    pub unsafe fn Join(&mut self) -> ::std::os::raw::c_int {
9216        Rust_CThostFtdcMdApi_Join(self)
9217    }
9218    #[inline]
9219    pub unsafe fn GetTradingDay(&mut self) -> *const ::std::os::raw::c_char {
9220        Rust_CThostFtdcMdApi_GetTradingDay(self)
9221    }
9222    #[inline]
9223    pub unsafe fn RegisterFront(&mut self, pszFrontAddress: *mut ::std::os::raw::c_char) {
9224        Rust_CThostFtdcMdApi_RegisterFront(self, pszFrontAddress)
9225    }
9226    #[inline]
9227    pub unsafe fn RegisterNameServer(&mut self, pszNsAddress: *mut ::std::os::raw::c_char) {
9228        Rust_CThostFtdcMdApi_RegisterNameServer(self, pszNsAddress)
9229    }
9230    #[inline]
9231    pub unsafe fn RegisterFensUserInfo(&mut self, pFensUserInfo: *mut CThostFtdcFensUserInfoField) {
9232        Rust_CThostFtdcMdApi_RegisterFensUserInfo(self, pFensUserInfo)
9233    }
9234    #[inline]
9235    pub unsafe fn RegisterSpi(&mut self, pSpi: *mut CThostFtdcMdSpi) {
9236        Rust_CThostFtdcMdApi_RegisterSpi(self, pSpi)
9237    }
9238    #[inline]
9239    pub unsafe fn SubscribeMarketData(
9240        &mut self,
9241        ppInstrumentID: *mut *mut ::std::os::raw::c_char,
9242        nCount: ::std::os::raw::c_int,
9243    ) -> ::std::os::raw::c_int {
9244        Rust_CThostFtdcMdApi_SubscribeMarketData(self, ppInstrumentID, nCount)
9245    }
9246    #[inline]
9247    pub unsafe fn UnSubscribeMarketData(
9248        &mut self,
9249        ppInstrumentID: *mut *mut ::std::os::raw::c_char,
9250        nCount: ::std::os::raw::c_int,
9251    ) -> ::std::os::raw::c_int {
9252        Rust_CThostFtdcMdApi_UnSubscribeMarketData(self, ppInstrumentID, nCount)
9253    }
9254    #[inline]
9255    pub unsafe fn SubscribeForQuoteRsp(
9256        &mut self,
9257        ppInstrumentID: *mut *mut ::std::os::raw::c_char,
9258        nCount: ::std::os::raw::c_int,
9259    ) -> ::std::os::raw::c_int {
9260        Rust_CThostFtdcMdApi_SubscribeForQuoteRsp(self, ppInstrumentID, nCount)
9261    }
9262    #[inline]
9263    pub unsafe fn UnSubscribeForQuoteRsp(
9264        &mut self,
9265        ppInstrumentID: *mut *mut ::std::os::raw::c_char,
9266        nCount: ::std::os::raw::c_int,
9267    ) -> ::std::os::raw::c_int {
9268        Rust_CThostFtdcMdApi_UnSubscribeForQuoteRsp(self, ppInstrumentID, nCount)
9269    }
9270    #[inline]
9271    pub unsafe fn ReqUserLogin(
9272        &mut self,
9273        pReqUserLoginField: *mut CThostFtdcReqUserLoginField,
9274        nRequestID: ::std::os::raw::c_int,
9275    ) -> ::std::os::raw::c_int {
9276        Rust_CThostFtdcMdApi_ReqUserLogin(self, pReqUserLoginField, nRequestID)
9277    }
9278    #[inline]
9279    pub unsafe fn ReqUserLogout(
9280        &mut self,
9281        pUserLogout: *mut CThostFtdcUserLogoutField,
9282        nRequestID: ::std::os::raw::c_int,
9283    ) -> ::std::os::raw::c_int {
9284        Rust_CThostFtdcMdApi_ReqUserLogout(self, pUserLogout, nRequestID)
9285    }
9286    #[inline]
9287    pub unsafe fn ReqQryMulticastInstrument(
9288        &mut self,
9289        pQryMulticastInstrument: *mut CThostFtdcQryMulticastInstrumentField,
9290        nRequestID: ::std::os::raw::c_int,
9291    ) -> ::std::os::raw::c_int {
9292        Rust_CThostFtdcMdApi_ReqQryMulticastInstrument(self, pQryMulticastInstrument, nRequestID)
9293    }
9294    #[inline]
9295    pub unsafe fn new(member: *mut CThostFtdcMdApi) -> Self {
9296        let mut __bindgen_tmp = ::std::mem::MaybeUninit::uninit();
9297        Rust_CThostFtdcMdApi_Rust_CThostFtdcMdApi(__bindgen_tmp.as_mut_ptr(), member);
9298        __bindgen_tmp.assume_init()
9299    }
9300    #[inline]
9301    pub unsafe fn destruct(&mut self) {
9302        Rust_CThostFtdcMdApi_Rust_CThostFtdcMdApi_destructor(self)
9303    }
9304}
9305#[repr(C)]
9306#[derive(Debug)]
9307pub struct Rust_CThostFtdcMdSpi {
9308    pub _base: CThostFtdcMdSpi,
9309    pub m_rust: *mut ::std::os::raw::c_void,
9310}
9311extern "C" {
9312    #[link_name = "\u{1}_ZN20Rust_CThostFtdcMdSpiC1EPv"]
9313    pub fn Rust_CThostFtdcMdSpi_Rust_CThostFtdcMdSpi(
9314        this: *mut Rust_CThostFtdcMdSpi,
9315        rust: *mut ::std::os::raw::c_void,
9316    );
9317}
9318extern "C" {
9319    #[link_name = "\u{1}_ZN20Rust_CThostFtdcMdSpiD1Ev"]
9320    pub fn Rust_CThostFtdcMdSpi_Rust_CThostFtdcMdSpi_destructor(this: *mut Rust_CThostFtdcMdSpi);
9321}
9322impl Rust_CThostFtdcMdSpi {
9323    #[inline]
9324    pub unsafe fn new(rust: *mut ::std::os::raw::c_void) -> Self {
9325        let mut __bindgen_tmp = ::std::mem::MaybeUninit::uninit();
9326        Rust_CThostFtdcMdSpi_Rust_CThostFtdcMdSpi(__bindgen_tmp.as_mut_ptr(), rust);
9327        __bindgen_tmp.assume_init()
9328    }
9329    #[inline]
9330    pub unsafe fn destruct(&mut self) {
9331        Rust_CThostFtdcMdSpi_Rust_CThostFtdcMdSpi_destructor(self)
9332    }
9333}
9334extern "C" {
9335    #[link_name = "\u{1}_ZN20Rust_CThostFtdcMdSpi16OnFrontConnectedEv"]
9336    pub fn Rust_CThostFtdcMdSpi_OnFrontConnected(this: *mut ::std::os::raw::c_void);
9337}
9338extern "C" {
9339    #[link_name = "\u{1}_ZN20Rust_CThostFtdcMdSpi19OnFrontDisconnectedEi"]
9340    pub fn Rust_CThostFtdcMdSpi_OnFrontDisconnected(
9341        this: *mut ::std::os::raw::c_void,
9342        nReason: ::std::os::raw::c_int,
9343    );
9344}
9345extern "C" {
9346    #[link_name = "\u{1}_ZN20Rust_CThostFtdcMdSpi18OnHeartBeatWarningEi"]
9347    pub fn Rust_CThostFtdcMdSpi_OnHeartBeatWarning(
9348        this: *mut ::std::os::raw::c_void,
9349        nTimeLapse: ::std::os::raw::c_int,
9350    );
9351}
9352extern "C" {
9353    #[link_name = "\u{1}_ZN20Rust_CThostFtdcMdSpi14OnRspUserLoginEP27CThostFtdcRspUserLoginFieldP22CThostFtdcRspInfoFieldib"]
9354    pub fn Rust_CThostFtdcMdSpi_OnRspUserLogin(
9355        this: *mut ::std::os::raw::c_void,
9356        pRspUserLogin: *mut CThostFtdcRspUserLoginField,
9357        pRspInfo: *mut CThostFtdcRspInfoField,
9358        nRequestID: ::std::os::raw::c_int,
9359        bIsLast: bool,
9360    );
9361}
9362extern "C" {
9363    #[link_name = "\u{1}_ZN20Rust_CThostFtdcMdSpi15OnRspUserLogoutEP25CThostFtdcUserLogoutFieldP22CThostFtdcRspInfoFieldib"]
9364    pub fn Rust_CThostFtdcMdSpi_OnRspUserLogout(
9365        this: *mut ::std::os::raw::c_void,
9366        pUserLogout: *mut CThostFtdcUserLogoutField,
9367        pRspInfo: *mut CThostFtdcRspInfoField,
9368        nRequestID: ::std::os::raw::c_int,
9369        bIsLast: bool,
9370    );
9371}
9372extern "C" {
9373    #[link_name = "\u{1}_ZN20Rust_CThostFtdcMdSpi27OnRspQryMulticastInstrumentEP34CThostFtdcMulticastInstrumentFieldP22CThostFtdcRspInfoFieldib"]
9374    pub fn Rust_CThostFtdcMdSpi_OnRspQryMulticastInstrument(
9375        this: *mut ::std::os::raw::c_void,
9376        pMulticastInstrument: *mut CThostFtdcMulticastInstrumentField,
9377        pRspInfo: *mut CThostFtdcRspInfoField,
9378        nRequestID: ::std::os::raw::c_int,
9379        bIsLast: bool,
9380    );
9381}
9382extern "C" {
9383    #[link_name = "\u{1}_ZN20Rust_CThostFtdcMdSpi10OnRspErrorEP22CThostFtdcRspInfoFieldib"]
9384    pub fn Rust_CThostFtdcMdSpi_OnRspError(
9385        this: *mut ::std::os::raw::c_void,
9386        pRspInfo: *mut CThostFtdcRspInfoField,
9387        nRequestID: ::std::os::raw::c_int,
9388        bIsLast: bool,
9389    );
9390}
9391extern "C" {
9392    #[link_name = "\u{1}_ZN20Rust_CThostFtdcMdSpi18OnRspSubMarketDataEP33CThostFtdcSpecificInstrumentFieldP22CThostFtdcRspInfoFieldib"]
9393    pub fn Rust_CThostFtdcMdSpi_OnRspSubMarketData(
9394        this: *mut ::std::os::raw::c_void,
9395        pSpecificInstrument: *mut CThostFtdcSpecificInstrumentField,
9396        pRspInfo: *mut CThostFtdcRspInfoField,
9397        nRequestID: ::std::os::raw::c_int,
9398        bIsLast: bool,
9399    );
9400}
9401extern "C" {
9402    #[link_name = "\u{1}_ZN20Rust_CThostFtdcMdSpi20OnRspUnSubMarketDataEP33CThostFtdcSpecificInstrumentFieldP22CThostFtdcRspInfoFieldib"]
9403    pub fn Rust_CThostFtdcMdSpi_OnRspUnSubMarketData(
9404        this: *mut ::std::os::raw::c_void,
9405        pSpecificInstrument: *mut CThostFtdcSpecificInstrumentField,
9406        pRspInfo: *mut CThostFtdcRspInfoField,
9407        nRequestID: ::std::os::raw::c_int,
9408        bIsLast: bool,
9409    );
9410}
9411extern "C" {
9412    #[link_name = "\u{1}_ZN20Rust_CThostFtdcMdSpi19OnRspSubForQuoteRspEP33CThostFtdcSpecificInstrumentFieldP22CThostFtdcRspInfoFieldib"]
9413    pub fn Rust_CThostFtdcMdSpi_OnRspSubForQuoteRsp(
9414        this: *mut ::std::os::raw::c_void,
9415        pSpecificInstrument: *mut CThostFtdcSpecificInstrumentField,
9416        pRspInfo: *mut CThostFtdcRspInfoField,
9417        nRequestID: ::std::os::raw::c_int,
9418        bIsLast: bool,
9419    );
9420}
9421extern "C" {
9422    #[link_name = "\u{1}_ZN20Rust_CThostFtdcMdSpi21OnRspUnSubForQuoteRspEP33CThostFtdcSpecificInstrumentFieldP22CThostFtdcRspInfoFieldib"]
9423    pub fn Rust_CThostFtdcMdSpi_OnRspUnSubForQuoteRsp(
9424        this: *mut ::std::os::raw::c_void,
9425        pSpecificInstrument: *mut CThostFtdcSpecificInstrumentField,
9426        pRspInfo: *mut CThostFtdcRspInfoField,
9427        nRequestID: ::std::os::raw::c_int,
9428        bIsLast: bool,
9429    );
9430}
9431extern "C" {
9432    #[link_name = "\u{1}_ZN20Rust_CThostFtdcMdSpi20OnRtnDepthMarketDataEP30CThostFtdcDepthMarketDataField"]
9433    pub fn Rust_CThostFtdcMdSpi_OnRtnDepthMarketData(
9434        this: *mut ::std::os::raw::c_void,
9435        pDepthMarketData: *mut CThostFtdcDepthMarketDataField,
9436    );
9437}
9438extern "C" {
9439    #[link_name = "\u{1}_ZN20Rust_CThostFtdcMdSpi16OnRtnForQuoteRspEP26CThostFtdcForQuoteRspField"]
9440    pub fn Rust_CThostFtdcMdSpi_OnRtnForQuoteRsp(
9441        this: *mut ::std::os::raw::c_void,
9442        pForQuoteRsp: *mut CThostFtdcForQuoteRspField,
9443    );
9444}
9445#[repr(C)]
9446#[derive(Debug)]
9447pub struct Rust_CThostFtdcTraderApi {
9448    pub m_member: *mut CThostFtdcTraderApi,
9449}
9450extern "C" {
9451    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi7ReleaseEv"]
9452    pub fn Rust_CThostFtdcTraderApi_Release(this: *mut Rust_CThostFtdcTraderApi);
9453}
9454extern "C" {
9455    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi4InitEv"]
9456    pub fn Rust_CThostFtdcTraderApi_Init(this: *mut Rust_CThostFtdcTraderApi);
9457}
9458extern "C" {
9459    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi4JoinEv"]
9460    pub fn Rust_CThostFtdcTraderApi_Join(
9461        this: *mut Rust_CThostFtdcTraderApi,
9462    ) -> ::std::os::raw::c_int;
9463}
9464extern "C" {
9465    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi13GetTradingDayEv"]
9466    pub fn Rust_CThostFtdcTraderApi_GetTradingDay(
9467        this: *mut Rust_CThostFtdcTraderApi,
9468    ) -> *const ::std::os::raw::c_char;
9469}
9470extern "C" {
9471    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi13RegisterFrontEPc"]
9472    pub fn Rust_CThostFtdcTraderApi_RegisterFront(
9473        this: *mut Rust_CThostFtdcTraderApi,
9474        pszFrontAddress: *mut ::std::os::raw::c_char,
9475    );
9476}
9477extern "C" {
9478    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi18RegisterNameServerEPc"]
9479    pub fn Rust_CThostFtdcTraderApi_RegisterNameServer(
9480        this: *mut Rust_CThostFtdcTraderApi,
9481        pszNsAddress: *mut ::std::os::raw::c_char,
9482    );
9483}
9484extern "C" {
9485    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi20RegisterFensUserInfoEP27CThostFtdcFensUserInfoField"]
9486    pub fn Rust_CThostFtdcTraderApi_RegisterFensUserInfo(
9487        this: *mut Rust_CThostFtdcTraderApi,
9488        pFensUserInfo: *mut CThostFtdcFensUserInfoField,
9489    );
9490}
9491extern "C" {
9492    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi11RegisterSpiEP19CThostFtdcTraderSpi"]
9493    pub fn Rust_CThostFtdcTraderApi_RegisterSpi(
9494        this: *mut Rust_CThostFtdcTraderApi,
9495        pSpi: *mut CThostFtdcTraderSpi,
9496    );
9497}
9498extern "C" {
9499    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi21SubscribePrivateTopicE20THOST_TE_RESUME_TYPE"]
9500    pub fn Rust_CThostFtdcTraderApi_SubscribePrivateTopic(
9501        this: *mut Rust_CThostFtdcTraderApi,
9502        nResumeType: THOST_TE_RESUME_TYPE,
9503    );
9504}
9505extern "C" {
9506    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi20SubscribePublicTopicE20THOST_TE_RESUME_TYPE"]
9507    pub fn Rust_CThostFtdcTraderApi_SubscribePublicTopic(
9508        this: *mut Rust_CThostFtdcTraderApi,
9509        nResumeType: THOST_TE_RESUME_TYPE,
9510    );
9511}
9512extern "C" {
9513    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi15ReqAuthenticateEP30CThostFtdcReqAuthenticateFieldi"]
9514    pub fn Rust_CThostFtdcTraderApi_ReqAuthenticate(
9515        this: *mut Rust_CThostFtdcTraderApi,
9516        pReqAuthenticateField: *mut CThostFtdcReqAuthenticateField,
9517        nRequestID: ::std::os::raw::c_int,
9518    ) -> ::std::os::raw::c_int;
9519}
9520extern "C" {
9521    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi22RegisterUserSystemInfoEP29CThostFtdcUserSystemInfoField"]
9522    pub fn Rust_CThostFtdcTraderApi_RegisterUserSystemInfo(
9523        this: *mut Rust_CThostFtdcTraderApi,
9524        pUserSystemInfo: *mut CThostFtdcUserSystemInfoField,
9525    ) -> ::std::os::raw::c_int;
9526}
9527extern "C" {
9528    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi20SubmitUserSystemInfoEP29CThostFtdcUserSystemInfoField"]
9529    pub fn Rust_CThostFtdcTraderApi_SubmitUserSystemInfo(
9530        this: *mut Rust_CThostFtdcTraderApi,
9531        pUserSystemInfo: *mut CThostFtdcUserSystemInfoField,
9532    ) -> ::std::os::raw::c_int;
9533}
9534extern "C" {
9535    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi12ReqUserLoginEP27CThostFtdcReqUserLoginFieldi"]
9536    pub fn Rust_CThostFtdcTraderApi_ReqUserLogin(
9537        this: *mut Rust_CThostFtdcTraderApi,
9538        pReqUserLoginField: *mut CThostFtdcReqUserLoginField,
9539        nRequestID: ::std::os::raw::c_int,
9540    ) -> ::std::os::raw::c_int;
9541}
9542extern "C" {
9543    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi13ReqUserLogoutEP25CThostFtdcUserLogoutFieldi"]
9544    pub fn Rust_CThostFtdcTraderApi_ReqUserLogout(
9545        this: *mut Rust_CThostFtdcTraderApi,
9546        pUserLogout: *mut CThostFtdcUserLogoutField,
9547        nRequestID: ::std::os::raw::c_int,
9548    ) -> ::std::os::raw::c_int;
9549}
9550extern "C" {
9551    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi21ReqUserPasswordUpdateEP33CThostFtdcUserPasswordUpdateFieldi"]
9552    pub fn Rust_CThostFtdcTraderApi_ReqUserPasswordUpdate(
9553        this: *mut Rust_CThostFtdcTraderApi,
9554        pUserPasswordUpdate: *mut CThostFtdcUserPasswordUpdateField,
9555        nRequestID: ::std::os::raw::c_int,
9556    ) -> ::std::os::raw::c_int;
9557}
9558extern "C" {
9559    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi31ReqTradingAccountPasswordUpdateEP43CThostFtdcTradingAccountPasswordUpdateFieldi"]
9560    pub fn Rust_CThostFtdcTraderApi_ReqTradingAccountPasswordUpdate(
9561        this: *mut Rust_CThostFtdcTraderApi,
9562        pTradingAccountPasswordUpdate: *mut CThostFtdcTradingAccountPasswordUpdateField,
9563        nRequestID: ::std::os::raw::c_int,
9564    ) -> ::std::os::raw::c_int;
9565}
9566extern "C" {
9567    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi17ReqUserAuthMethodEP32CThostFtdcReqUserAuthMethodFieldi"]
9568    pub fn Rust_CThostFtdcTraderApi_ReqUserAuthMethod(
9569        this: *mut Rust_CThostFtdcTraderApi,
9570        pReqUserAuthMethod: *mut CThostFtdcReqUserAuthMethodField,
9571        nRequestID: ::std::os::raw::c_int,
9572    ) -> ::std::os::raw::c_int;
9573}
9574extern "C" {
9575    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi17ReqGenUserCaptchaEP32CThostFtdcReqGenUserCaptchaFieldi"]
9576    pub fn Rust_CThostFtdcTraderApi_ReqGenUserCaptcha(
9577        this: *mut Rust_CThostFtdcTraderApi,
9578        pReqGenUserCaptcha: *mut CThostFtdcReqGenUserCaptchaField,
9579        nRequestID: ::std::os::raw::c_int,
9580    ) -> ::std::os::raw::c_int;
9581}
9582extern "C" {
9583    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi14ReqGenUserTextEP29CThostFtdcReqGenUserTextFieldi"]
9584    pub fn Rust_CThostFtdcTraderApi_ReqGenUserText(
9585        this: *mut Rust_CThostFtdcTraderApi,
9586        pReqGenUserText: *mut CThostFtdcReqGenUserTextField,
9587        nRequestID: ::std::os::raw::c_int,
9588    ) -> ::std::os::raw::c_int;
9589}
9590extern "C" {
9591    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi23ReqUserLoginWithCaptchaEP38CThostFtdcReqUserLoginWithCaptchaFieldi"]
9592    pub fn Rust_CThostFtdcTraderApi_ReqUserLoginWithCaptcha(
9593        this: *mut Rust_CThostFtdcTraderApi,
9594        pReqUserLoginWithCaptcha: *mut CThostFtdcReqUserLoginWithCaptchaField,
9595        nRequestID: ::std::os::raw::c_int,
9596    ) -> ::std::os::raw::c_int;
9597}
9598extern "C" {
9599    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi20ReqUserLoginWithTextEP35CThostFtdcReqUserLoginWithTextFieldi"]
9600    pub fn Rust_CThostFtdcTraderApi_ReqUserLoginWithText(
9601        this: *mut Rust_CThostFtdcTraderApi,
9602        pReqUserLoginWithText: *mut CThostFtdcReqUserLoginWithTextField,
9603        nRequestID: ::std::os::raw::c_int,
9604    ) -> ::std::os::raw::c_int;
9605}
9606extern "C" {
9607    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi19ReqUserLoginWithOTPEP34CThostFtdcReqUserLoginWithOTPFieldi"]
9608    pub fn Rust_CThostFtdcTraderApi_ReqUserLoginWithOTP(
9609        this: *mut Rust_CThostFtdcTraderApi,
9610        pReqUserLoginWithOTP: *mut CThostFtdcReqUserLoginWithOTPField,
9611        nRequestID: ::std::os::raw::c_int,
9612    ) -> ::std::os::raw::c_int;
9613}
9614extern "C" {
9615    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi14ReqOrderInsertEP25CThostFtdcInputOrderFieldi"]
9616    pub fn Rust_CThostFtdcTraderApi_ReqOrderInsert(
9617        this: *mut Rust_CThostFtdcTraderApi,
9618        pInputOrder: *mut CThostFtdcInputOrderField,
9619        nRequestID: ::std::os::raw::c_int,
9620    ) -> ::std::os::raw::c_int;
9621}
9622extern "C" {
9623    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi20ReqParkedOrderInsertEP26CThostFtdcParkedOrderFieldi"]
9624    pub fn Rust_CThostFtdcTraderApi_ReqParkedOrderInsert(
9625        this: *mut Rust_CThostFtdcTraderApi,
9626        pParkedOrder: *mut CThostFtdcParkedOrderField,
9627        nRequestID: ::std::os::raw::c_int,
9628    ) -> ::std::os::raw::c_int;
9629}
9630extern "C" {
9631    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi20ReqParkedOrderActionEP32CThostFtdcParkedOrderActionFieldi"]
9632    pub fn Rust_CThostFtdcTraderApi_ReqParkedOrderAction(
9633        this: *mut Rust_CThostFtdcTraderApi,
9634        pParkedOrderAction: *mut CThostFtdcParkedOrderActionField,
9635        nRequestID: ::std::os::raw::c_int,
9636    ) -> ::std::os::raw::c_int;
9637}
9638extern "C" {
9639    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi14ReqOrderActionEP31CThostFtdcInputOrderActionFieldi"]
9640    pub fn Rust_CThostFtdcTraderApi_ReqOrderAction(
9641        this: *mut Rust_CThostFtdcTraderApi,
9642        pInputOrderAction: *mut CThostFtdcInputOrderActionField,
9643        nRequestID: ::std::os::raw::c_int,
9644    ) -> ::std::os::raw::c_int;
9645}
9646extern "C" {
9647    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi20ReqQryMaxOrderVolumeEP32CThostFtdcQryMaxOrderVolumeFieldi"]
9648    pub fn Rust_CThostFtdcTraderApi_ReqQryMaxOrderVolume(
9649        this: *mut Rust_CThostFtdcTraderApi,
9650        pQryMaxOrderVolume: *mut CThostFtdcQryMaxOrderVolumeField,
9651        nRequestID: ::std::os::raw::c_int,
9652    ) -> ::std::os::raw::c_int;
9653}
9654extern "C" {
9655    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi24ReqSettlementInfoConfirmEP36CThostFtdcSettlementInfoConfirmFieldi"]
9656    pub fn Rust_CThostFtdcTraderApi_ReqSettlementInfoConfirm(
9657        this: *mut Rust_CThostFtdcTraderApi,
9658        pSettlementInfoConfirm: *mut CThostFtdcSettlementInfoConfirmField,
9659        nRequestID: ::std::os::raw::c_int,
9660    ) -> ::std::os::raw::c_int;
9661}
9662extern "C" {
9663    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi20ReqRemoveParkedOrderEP32CThostFtdcRemoveParkedOrderFieldi"]
9664    pub fn Rust_CThostFtdcTraderApi_ReqRemoveParkedOrder(
9665        this: *mut Rust_CThostFtdcTraderApi,
9666        pRemoveParkedOrder: *mut CThostFtdcRemoveParkedOrderField,
9667        nRequestID: ::std::os::raw::c_int,
9668    ) -> ::std::os::raw::c_int;
9669}
9670extern "C" {
9671    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi26ReqRemoveParkedOrderActionEP38CThostFtdcRemoveParkedOrderActionFieldi"]
9672    pub fn Rust_CThostFtdcTraderApi_ReqRemoveParkedOrderAction(
9673        this: *mut Rust_CThostFtdcTraderApi,
9674        pRemoveParkedOrderAction: *mut CThostFtdcRemoveParkedOrderActionField,
9675        nRequestID: ::std::os::raw::c_int,
9676    ) -> ::std::os::raw::c_int;
9677}
9678extern "C" {
9679    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi18ReqExecOrderInsertEP29CThostFtdcInputExecOrderFieldi"]
9680    pub fn Rust_CThostFtdcTraderApi_ReqExecOrderInsert(
9681        this: *mut Rust_CThostFtdcTraderApi,
9682        pInputExecOrder: *mut CThostFtdcInputExecOrderField,
9683        nRequestID: ::std::os::raw::c_int,
9684    ) -> ::std::os::raw::c_int;
9685}
9686extern "C" {
9687    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi18ReqExecOrderActionEP35CThostFtdcInputExecOrderActionFieldi"]
9688    pub fn Rust_CThostFtdcTraderApi_ReqExecOrderAction(
9689        this: *mut Rust_CThostFtdcTraderApi,
9690        pInputExecOrderAction: *mut CThostFtdcInputExecOrderActionField,
9691        nRequestID: ::std::os::raw::c_int,
9692    ) -> ::std::os::raw::c_int;
9693}
9694extern "C" {
9695    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi17ReqForQuoteInsertEP28CThostFtdcInputForQuoteFieldi"]
9696    pub fn Rust_CThostFtdcTraderApi_ReqForQuoteInsert(
9697        this: *mut Rust_CThostFtdcTraderApi,
9698        pInputForQuote: *mut CThostFtdcInputForQuoteField,
9699        nRequestID: ::std::os::raw::c_int,
9700    ) -> ::std::os::raw::c_int;
9701}
9702extern "C" {
9703    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi14ReqQuoteInsertEP25CThostFtdcInputQuoteFieldi"]
9704    pub fn Rust_CThostFtdcTraderApi_ReqQuoteInsert(
9705        this: *mut Rust_CThostFtdcTraderApi,
9706        pInputQuote: *mut CThostFtdcInputQuoteField,
9707        nRequestID: ::std::os::raw::c_int,
9708    ) -> ::std::os::raw::c_int;
9709}
9710extern "C" {
9711    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi14ReqQuoteActionEP31CThostFtdcInputQuoteActionFieldi"]
9712    pub fn Rust_CThostFtdcTraderApi_ReqQuoteAction(
9713        this: *mut Rust_CThostFtdcTraderApi,
9714        pInputQuoteAction: *mut CThostFtdcInputQuoteActionField,
9715        nRequestID: ::std::os::raw::c_int,
9716    ) -> ::std::os::raw::c_int;
9717}
9718extern "C" {
9719    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi19ReqBatchOrderActionEP36CThostFtdcInputBatchOrderActionFieldi"]
9720    pub fn Rust_CThostFtdcTraderApi_ReqBatchOrderAction(
9721        this: *mut Rust_CThostFtdcTraderApi,
9722        pInputBatchOrderAction: *mut CThostFtdcInputBatchOrderActionField,
9723        nRequestID: ::std::os::raw::c_int,
9724    ) -> ::std::os::raw::c_int;
9725}
9726extern "C" {
9727    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi24ReqOptionSelfCloseInsertEP35CThostFtdcInputOptionSelfCloseFieldi"]
9728    pub fn Rust_CThostFtdcTraderApi_ReqOptionSelfCloseInsert(
9729        this: *mut Rust_CThostFtdcTraderApi,
9730        pInputOptionSelfClose: *mut CThostFtdcInputOptionSelfCloseField,
9731        nRequestID: ::std::os::raw::c_int,
9732    ) -> ::std::os::raw::c_int;
9733}
9734extern "C" {
9735    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi24ReqOptionSelfCloseActionEP41CThostFtdcInputOptionSelfCloseActionFieldi"]
9736    pub fn Rust_CThostFtdcTraderApi_ReqOptionSelfCloseAction(
9737        this: *mut Rust_CThostFtdcTraderApi,
9738        pInputOptionSelfCloseAction: *mut CThostFtdcInputOptionSelfCloseActionField,
9739        nRequestID: ::std::os::raw::c_int,
9740    ) -> ::std::os::raw::c_int;
9741}
9742extern "C" {
9743    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi19ReqCombActionInsertEP30CThostFtdcInputCombActionFieldi"]
9744    pub fn Rust_CThostFtdcTraderApi_ReqCombActionInsert(
9745        this: *mut Rust_CThostFtdcTraderApi,
9746        pInputCombAction: *mut CThostFtdcInputCombActionField,
9747        nRequestID: ::std::os::raw::c_int,
9748    ) -> ::std::os::raw::c_int;
9749}
9750extern "C" {
9751    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi11ReqQryOrderEP23CThostFtdcQryOrderFieldi"]
9752    pub fn Rust_CThostFtdcTraderApi_ReqQryOrder(
9753        this: *mut Rust_CThostFtdcTraderApi,
9754        pQryOrder: *mut CThostFtdcQryOrderField,
9755        nRequestID: ::std::os::raw::c_int,
9756    ) -> ::std::os::raw::c_int;
9757}
9758extern "C" {
9759    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi11ReqQryTradeEP23CThostFtdcQryTradeFieldi"]
9760    pub fn Rust_CThostFtdcTraderApi_ReqQryTrade(
9761        this: *mut Rust_CThostFtdcTraderApi,
9762        pQryTrade: *mut CThostFtdcQryTradeField,
9763        nRequestID: ::std::os::raw::c_int,
9764    ) -> ::std::os::raw::c_int;
9765}
9766extern "C" {
9767    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi22ReqQryInvestorPositionEP34CThostFtdcQryInvestorPositionFieldi"]
9768    pub fn Rust_CThostFtdcTraderApi_ReqQryInvestorPosition(
9769        this: *mut Rust_CThostFtdcTraderApi,
9770        pQryInvestorPosition: *mut CThostFtdcQryInvestorPositionField,
9771        nRequestID: ::std::os::raw::c_int,
9772    ) -> ::std::os::raw::c_int;
9773}
9774extern "C" {
9775    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi20ReqQryTradingAccountEP32CThostFtdcQryTradingAccountFieldi"]
9776    pub fn Rust_CThostFtdcTraderApi_ReqQryTradingAccount(
9777        this: *mut Rust_CThostFtdcTraderApi,
9778        pQryTradingAccount: *mut CThostFtdcQryTradingAccountField,
9779        nRequestID: ::std::os::raw::c_int,
9780    ) -> ::std::os::raw::c_int;
9781}
9782extern "C" {
9783    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi14ReqQryInvestorEP26CThostFtdcQryInvestorFieldi"]
9784    pub fn Rust_CThostFtdcTraderApi_ReqQryInvestor(
9785        this: *mut Rust_CThostFtdcTraderApi,
9786        pQryInvestor: *mut CThostFtdcQryInvestorField,
9787        nRequestID: ::std::os::raw::c_int,
9788    ) -> ::std::os::raw::c_int;
9789}
9790extern "C" {
9791    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi17ReqQryTradingCodeEP29CThostFtdcQryTradingCodeFieldi"]
9792    pub fn Rust_CThostFtdcTraderApi_ReqQryTradingCode(
9793        this: *mut Rust_CThostFtdcTraderApi,
9794        pQryTradingCode: *mut CThostFtdcQryTradingCodeField,
9795        nRequestID: ::std::os::raw::c_int,
9796    ) -> ::std::os::raw::c_int;
9797}
9798extern "C" {
9799    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi26ReqQryInstrumentMarginRateEP38CThostFtdcQryInstrumentMarginRateFieldi"]
9800    pub fn Rust_CThostFtdcTraderApi_ReqQryInstrumentMarginRate(
9801        this: *mut Rust_CThostFtdcTraderApi,
9802        pQryInstrumentMarginRate: *mut CThostFtdcQryInstrumentMarginRateField,
9803        nRequestID: ::std::os::raw::c_int,
9804    ) -> ::std::os::raw::c_int;
9805}
9806extern "C" {
9807    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi30ReqQryInstrumentCommissionRateEP42CThostFtdcQryInstrumentCommissionRateFieldi"]
9808    pub fn Rust_CThostFtdcTraderApi_ReqQryInstrumentCommissionRate(
9809        this: *mut Rust_CThostFtdcTraderApi,
9810        pQryInstrumentCommissionRate: *mut CThostFtdcQryInstrumentCommissionRateField,
9811        nRequestID: ::std::os::raw::c_int,
9812    ) -> ::std::os::raw::c_int;
9813}
9814extern "C" {
9815    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi14ReqQryExchangeEP26CThostFtdcQryExchangeFieldi"]
9816    pub fn Rust_CThostFtdcTraderApi_ReqQryExchange(
9817        this: *mut Rust_CThostFtdcTraderApi,
9818        pQryExchange: *mut CThostFtdcQryExchangeField,
9819        nRequestID: ::std::os::raw::c_int,
9820    ) -> ::std::os::raw::c_int;
9821}
9822extern "C" {
9823    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi13ReqQryProductEP25CThostFtdcQryProductFieldi"]
9824    pub fn Rust_CThostFtdcTraderApi_ReqQryProduct(
9825        this: *mut Rust_CThostFtdcTraderApi,
9826        pQryProduct: *mut CThostFtdcQryProductField,
9827        nRequestID: ::std::os::raw::c_int,
9828    ) -> ::std::os::raw::c_int;
9829}
9830extern "C" {
9831    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi16ReqQryInstrumentEP28CThostFtdcQryInstrumentFieldi"]
9832    pub fn Rust_CThostFtdcTraderApi_ReqQryInstrument(
9833        this: *mut Rust_CThostFtdcTraderApi,
9834        pQryInstrument: *mut CThostFtdcQryInstrumentField,
9835        nRequestID: ::std::os::raw::c_int,
9836    ) -> ::std::os::raw::c_int;
9837}
9838extern "C" {
9839    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi21ReqQryDepthMarketDataEP33CThostFtdcQryDepthMarketDataFieldi"]
9840    pub fn Rust_CThostFtdcTraderApi_ReqQryDepthMarketData(
9841        this: *mut Rust_CThostFtdcTraderApi,
9842        pQryDepthMarketData: *mut CThostFtdcQryDepthMarketDataField,
9843        nRequestID: ::std::os::raw::c_int,
9844    ) -> ::std::os::raw::c_int;
9845}
9846extern "C" {
9847    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi17ReqQryTraderOfferEP29CThostFtdcQryTraderOfferFieldi"]
9848    pub fn Rust_CThostFtdcTraderApi_ReqQryTraderOffer(
9849        this: *mut Rust_CThostFtdcTraderApi,
9850        pQryTraderOffer: *mut CThostFtdcQryTraderOfferField,
9851        nRequestID: ::std::os::raw::c_int,
9852    ) -> ::std::os::raw::c_int;
9853}
9854extern "C" {
9855    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi20ReqQrySettlementInfoEP32CThostFtdcQrySettlementInfoFieldi"]
9856    pub fn Rust_CThostFtdcTraderApi_ReqQrySettlementInfo(
9857        this: *mut Rust_CThostFtdcTraderApi,
9858        pQrySettlementInfo: *mut CThostFtdcQrySettlementInfoField,
9859        nRequestID: ::std::os::raw::c_int,
9860    ) -> ::std::os::raw::c_int;
9861}
9862extern "C" {
9863    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi18ReqQryTransferBankEP30CThostFtdcQryTransferBankFieldi"]
9864    pub fn Rust_CThostFtdcTraderApi_ReqQryTransferBank(
9865        this: *mut Rust_CThostFtdcTraderApi,
9866        pQryTransferBank: *mut CThostFtdcQryTransferBankField,
9867        nRequestID: ::std::os::raw::c_int,
9868    ) -> ::std::os::raw::c_int;
9869}
9870extern "C" {
9871    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi28ReqQryInvestorPositionDetailEP40CThostFtdcQryInvestorPositionDetailFieldi"]
9872    pub fn Rust_CThostFtdcTraderApi_ReqQryInvestorPositionDetail(
9873        this: *mut Rust_CThostFtdcTraderApi,
9874        pQryInvestorPositionDetail: *mut CThostFtdcQryInvestorPositionDetailField,
9875        nRequestID: ::std::os::raw::c_int,
9876    ) -> ::std::os::raw::c_int;
9877}
9878extern "C" {
9879    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi12ReqQryNoticeEP24CThostFtdcQryNoticeFieldi"]
9880    pub fn Rust_CThostFtdcTraderApi_ReqQryNotice(
9881        this: *mut Rust_CThostFtdcTraderApi,
9882        pQryNotice: *mut CThostFtdcQryNoticeField,
9883        nRequestID: ::std::os::raw::c_int,
9884    ) -> ::std::os::raw::c_int;
9885}
9886extern "C" {
9887    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi27ReqQrySettlementInfoConfirmEP39CThostFtdcQrySettlementInfoConfirmFieldi"]
9888    pub fn Rust_CThostFtdcTraderApi_ReqQrySettlementInfoConfirm(
9889        this: *mut Rust_CThostFtdcTraderApi,
9890        pQrySettlementInfoConfirm: *mut CThostFtdcQrySettlementInfoConfirmField,
9891        nRequestID: ::std::os::raw::c_int,
9892    ) -> ::std::os::raw::c_int;
9893}
9894extern "C" {
9895    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi35ReqQryInvestorPositionCombineDetailEP47CThostFtdcQryInvestorPositionCombineDetailFieldi"]
9896    pub fn Rust_CThostFtdcTraderApi_ReqQryInvestorPositionCombineDetail(
9897        this: *mut Rust_CThostFtdcTraderApi,
9898        pQryInvestorPositionCombineDetail: *mut CThostFtdcQryInvestorPositionCombineDetailField,
9899        nRequestID: ::std::os::raw::c_int,
9900    ) -> ::std::os::raw::c_int;
9901}
9902extern "C" {
9903    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi28ReqQryCFMMCTradingAccountKeyEP40CThostFtdcQryCFMMCTradingAccountKeyFieldi"]
9904    pub fn Rust_CThostFtdcTraderApi_ReqQryCFMMCTradingAccountKey(
9905        this: *mut Rust_CThostFtdcTraderApi,
9906        pQryCFMMCTradingAccountKey: *mut CThostFtdcQryCFMMCTradingAccountKeyField,
9907        nRequestID: ::std::os::raw::c_int,
9908    ) -> ::std::os::raw::c_int;
9909}
9910extern "C" {
9911    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi20ReqQryEWarrantOffsetEP32CThostFtdcQryEWarrantOffsetFieldi"]
9912    pub fn Rust_CThostFtdcTraderApi_ReqQryEWarrantOffset(
9913        this: *mut Rust_CThostFtdcTraderApi,
9914        pQryEWarrantOffset: *mut CThostFtdcQryEWarrantOffsetField,
9915        nRequestID: ::std::os::raw::c_int,
9916    ) -> ::std::os::raw::c_int;
9917}
9918extern "C" {
9919    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi32ReqQryInvestorProductGroupMarginEP44CThostFtdcQryInvestorProductGroupMarginFieldi"]
9920    pub fn Rust_CThostFtdcTraderApi_ReqQryInvestorProductGroupMargin(
9921        this: *mut Rust_CThostFtdcTraderApi,
9922        pQryInvestorProductGroupMargin: *mut CThostFtdcQryInvestorProductGroupMarginField,
9923        nRequestID: ::std::os::raw::c_int,
9924    ) -> ::std::os::raw::c_int;
9925}
9926extern "C" {
9927    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi24ReqQryExchangeMarginRateEP36CThostFtdcQryExchangeMarginRateFieldi"]
9928    pub fn Rust_CThostFtdcTraderApi_ReqQryExchangeMarginRate(
9929        this: *mut Rust_CThostFtdcTraderApi,
9930        pQryExchangeMarginRate: *mut CThostFtdcQryExchangeMarginRateField,
9931        nRequestID: ::std::os::raw::c_int,
9932    ) -> ::std::os::raw::c_int;
9933}
9934extern "C" {
9935    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi30ReqQryExchangeMarginRateAdjustEP42CThostFtdcQryExchangeMarginRateAdjustFieldi"]
9936    pub fn Rust_CThostFtdcTraderApi_ReqQryExchangeMarginRateAdjust(
9937        this: *mut Rust_CThostFtdcTraderApi,
9938        pQryExchangeMarginRateAdjust: *mut CThostFtdcQryExchangeMarginRateAdjustField,
9939        nRequestID: ::std::os::raw::c_int,
9940    ) -> ::std::os::raw::c_int;
9941}
9942extern "C" {
9943    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi18ReqQryExchangeRateEP30CThostFtdcQryExchangeRateFieldi"]
9944    pub fn Rust_CThostFtdcTraderApi_ReqQryExchangeRate(
9945        this: *mut Rust_CThostFtdcTraderApi,
9946        pQryExchangeRate: *mut CThostFtdcQryExchangeRateField,
9947        nRequestID: ::std::os::raw::c_int,
9948    ) -> ::std::os::raw::c_int;
9949}
9950extern "C" {
9951    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi21ReqQrySecAgentACIDMapEP33CThostFtdcQrySecAgentACIDMapFieldi"]
9952    pub fn Rust_CThostFtdcTraderApi_ReqQrySecAgentACIDMap(
9953        this: *mut Rust_CThostFtdcTraderApi,
9954        pQrySecAgentACIDMap: *mut CThostFtdcQrySecAgentACIDMapField,
9955        nRequestID: ::std::os::raw::c_int,
9956    ) -> ::std::os::raw::c_int;
9957}
9958extern "C" {
9959    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi21ReqQryProductExchRateEP33CThostFtdcQryProductExchRateFieldi"]
9960    pub fn Rust_CThostFtdcTraderApi_ReqQryProductExchRate(
9961        this: *mut Rust_CThostFtdcTraderApi,
9962        pQryProductExchRate: *mut CThostFtdcQryProductExchRateField,
9963        nRequestID: ::std::os::raw::c_int,
9964    ) -> ::std::os::raw::c_int;
9965}
9966extern "C" {
9967    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi18ReqQryProductGroupEP30CThostFtdcQryProductGroupFieldi"]
9968    pub fn Rust_CThostFtdcTraderApi_ReqQryProductGroup(
9969        this: *mut Rust_CThostFtdcTraderApi,
9970        pQryProductGroup: *mut CThostFtdcQryProductGroupField,
9971        nRequestID: ::std::os::raw::c_int,
9972    ) -> ::std::os::raw::c_int;
9973}
9974extern "C" {
9975    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi32ReqQryMMInstrumentCommissionRateEP44CThostFtdcQryMMInstrumentCommissionRateFieldi"]
9976    pub fn Rust_CThostFtdcTraderApi_ReqQryMMInstrumentCommissionRate(
9977        this: *mut Rust_CThostFtdcTraderApi,
9978        pQryMMInstrumentCommissionRate: *mut CThostFtdcQryMMInstrumentCommissionRateField,
9979        nRequestID: ::std::os::raw::c_int,
9980    ) -> ::std::os::raw::c_int;
9981}
9982extern "C" {
9983    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi27ReqQryMMOptionInstrCommRateEP39CThostFtdcQryMMOptionInstrCommRateFieldi"]
9984    pub fn Rust_CThostFtdcTraderApi_ReqQryMMOptionInstrCommRate(
9985        this: *mut Rust_CThostFtdcTraderApi,
9986        pQryMMOptionInstrCommRate: *mut CThostFtdcQryMMOptionInstrCommRateField,
9987        nRequestID: ::std::os::raw::c_int,
9988    ) -> ::std::os::raw::c_int;
9989}
9990extern "C" {
9991    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi29ReqQryInstrumentOrderCommRateEP41CThostFtdcQryInstrumentOrderCommRateFieldi"]
9992    pub fn Rust_CThostFtdcTraderApi_ReqQryInstrumentOrderCommRate(
9993        this: *mut Rust_CThostFtdcTraderApi,
9994        pQryInstrumentOrderCommRate: *mut CThostFtdcQryInstrumentOrderCommRateField,
9995        nRequestID: ::std::os::raw::c_int,
9996    ) -> ::std::os::raw::c_int;
9997}
9998extern "C" {
9999    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi28ReqQrySecAgentTradingAccountEP32CThostFtdcQryTradingAccountFieldi"]
10000    pub fn Rust_CThostFtdcTraderApi_ReqQrySecAgentTradingAccount(
10001        this: *mut Rust_CThostFtdcTraderApi,
10002        pQryTradingAccount: *mut CThostFtdcQryTradingAccountField,
10003        nRequestID: ::std::os::raw::c_int,
10004    ) -> ::std::os::raw::c_int;
10005}
10006extern "C" {
10007    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi23ReqQrySecAgentCheckModeEP35CThostFtdcQrySecAgentCheckModeFieldi"]
10008    pub fn Rust_CThostFtdcTraderApi_ReqQrySecAgentCheckMode(
10009        this: *mut Rust_CThostFtdcTraderApi,
10010        pQrySecAgentCheckMode: *mut CThostFtdcQrySecAgentCheckModeField,
10011        nRequestID: ::std::os::raw::c_int,
10012    ) -> ::std::os::raw::c_int;
10013}
10014extern "C" {
10015    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi23ReqQrySecAgentTradeInfoEP35CThostFtdcQrySecAgentTradeInfoFieldi"]
10016    pub fn Rust_CThostFtdcTraderApi_ReqQrySecAgentTradeInfo(
10017        this: *mut Rust_CThostFtdcTraderApi,
10018        pQrySecAgentTradeInfo: *mut CThostFtdcQrySecAgentTradeInfoField,
10019        nRequestID: ::std::os::raw::c_int,
10020    ) -> ::std::os::raw::c_int;
10021}
10022extern "C" {
10023    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi26ReqQryOptionInstrTradeCostEP38CThostFtdcQryOptionInstrTradeCostFieldi"]
10024    pub fn Rust_CThostFtdcTraderApi_ReqQryOptionInstrTradeCost(
10025        this: *mut Rust_CThostFtdcTraderApi,
10026        pQryOptionInstrTradeCost: *mut CThostFtdcQryOptionInstrTradeCostField,
10027        nRequestID: ::std::os::raw::c_int,
10028    ) -> ::std::os::raw::c_int;
10029}
10030extern "C" {
10031    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi25ReqQryOptionInstrCommRateEP37CThostFtdcQryOptionInstrCommRateFieldi"]
10032    pub fn Rust_CThostFtdcTraderApi_ReqQryOptionInstrCommRate(
10033        this: *mut Rust_CThostFtdcTraderApi,
10034        pQryOptionInstrCommRate: *mut CThostFtdcQryOptionInstrCommRateField,
10035        nRequestID: ::std::os::raw::c_int,
10036    ) -> ::std::os::raw::c_int;
10037}
10038extern "C" {
10039    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi15ReqQryExecOrderEP27CThostFtdcQryExecOrderFieldi"]
10040    pub fn Rust_CThostFtdcTraderApi_ReqQryExecOrder(
10041        this: *mut Rust_CThostFtdcTraderApi,
10042        pQryExecOrder: *mut CThostFtdcQryExecOrderField,
10043        nRequestID: ::std::os::raw::c_int,
10044    ) -> ::std::os::raw::c_int;
10045}
10046extern "C" {
10047    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi14ReqQryForQuoteEP26CThostFtdcQryForQuoteFieldi"]
10048    pub fn Rust_CThostFtdcTraderApi_ReqQryForQuote(
10049        this: *mut Rust_CThostFtdcTraderApi,
10050        pQryForQuote: *mut CThostFtdcQryForQuoteField,
10051        nRequestID: ::std::os::raw::c_int,
10052    ) -> ::std::os::raw::c_int;
10053}
10054extern "C" {
10055    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi11ReqQryQuoteEP23CThostFtdcQryQuoteFieldi"]
10056    pub fn Rust_CThostFtdcTraderApi_ReqQryQuote(
10057        this: *mut Rust_CThostFtdcTraderApi,
10058        pQryQuote: *mut CThostFtdcQryQuoteField,
10059        nRequestID: ::std::os::raw::c_int,
10060    ) -> ::std::os::raw::c_int;
10061}
10062extern "C" {
10063    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi21ReqQryOptionSelfCloseEP33CThostFtdcQryOptionSelfCloseFieldi"]
10064    pub fn Rust_CThostFtdcTraderApi_ReqQryOptionSelfClose(
10065        this: *mut Rust_CThostFtdcTraderApi,
10066        pQryOptionSelfClose: *mut CThostFtdcQryOptionSelfCloseField,
10067        nRequestID: ::std::os::raw::c_int,
10068    ) -> ::std::os::raw::c_int;
10069}
10070extern "C" {
10071    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi16ReqQryInvestUnitEP28CThostFtdcQryInvestUnitFieldi"]
10072    pub fn Rust_CThostFtdcTraderApi_ReqQryInvestUnit(
10073        this: *mut Rust_CThostFtdcTraderApi,
10074        pQryInvestUnit: *mut CThostFtdcQryInvestUnitField,
10075        nRequestID: ::std::os::raw::c_int,
10076    ) -> ::std::os::raw::c_int;
10077}
10078extern "C" {
10079    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi25ReqQryCombInstrumentGuardEP37CThostFtdcQryCombInstrumentGuardFieldi"]
10080    pub fn Rust_CThostFtdcTraderApi_ReqQryCombInstrumentGuard(
10081        this: *mut Rust_CThostFtdcTraderApi,
10082        pQryCombInstrumentGuard: *mut CThostFtdcQryCombInstrumentGuardField,
10083        nRequestID: ::std::os::raw::c_int,
10084    ) -> ::std::os::raw::c_int;
10085}
10086extern "C" {
10087    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi16ReqQryCombActionEP28CThostFtdcQryCombActionFieldi"]
10088    pub fn Rust_CThostFtdcTraderApi_ReqQryCombAction(
10089        this: *mut Rust_CThostFtdcTraderApi,
10090        pQryCombAction: *mut CThostFtdcQryCombActionField,
10091        nRequestID: ::std::os::raw::c_int,
10092    ) -> ::std::os::raw::c_int;
10093}
10094extern "C" {
10095    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi20ReqQryTransferSerialEP32CThostFtdcQryTransferSerialFieldi"]
10096    pub fn Rust_CThostFtdcTraderApi_ReqQryTransferSerial(
10097        this: *mut Rust_CThostFtdcTraderApi,
10098        pQryTransferSerial: *mut CThostFtdcQryTransferSerialField,
10099        nRequestID: ::std::os::raw::c_int,
10100    ) -> ::std::os::raw::c_int;
10101}
10102extern "C" {
10103    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi21ReqQryAccountregisterEP33CThostFtdcQryAccountregisterFieldi"]
10104    pub fn Rust_CThostFtdcTraderApi_ReqQryAccountregister(
10105        this: *mut Rust_CThostFtdcTraderApi,
10106        pQryAccountregister: *mut CThostFtdcQryAccountregisterField,
10107        nRequestID: ::std::os::raw::c_int,
10108    ) -> ::std::os::raw::c_int;
10109}
10110extern "C" {
10111    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi18ReqQryContractBankEP30CThostFtdcQryContractBankFieldi"]
10112    pub fn Rust_CThostFtdcTraderApi_ReqQryContractBank(
10113        this: *mut Rust_CThostFtdcTraderApi,
10114        pQryContractBank: *mut CThostFtdcQryContractBankField,
10115        nRequestID: ::std::os::raw::c_int,
10116    ) -> ::std::os::raw::c_int;
10117}
10118extern "C" {
10119    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi17ReqQryParkedOrderEP29CThostFtdcQryParkedOrderFieldi"]
10120    pub fn Rust_CThostFtdcTraderApi_ReqQryParkedOrder(
10121        this: *mut Rust_CThostFtdcTraderApi,
10122        pQryParkedOrder: *mut CThostFtdcQryParkedOrderField,
10123        nRequestID: ::std::os::raw::c_int,
10124    ) -> ::std::os::raw::c_int;
10125}
10126extern "C" {
10127    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi23ReqQryParkedOrderActionEP35CThostFtdcQryParkedOrderActionFieldi"]
10128    pub fn Rust_CThostFtdcTraderApi_ReqQryParkedOrderAction(
10129        this: *mut Rust_CThostFtdcTraderApi,
10130        pQryParkedOrderAction: *mut CThostFtdcQryParkedOrderActionField,
10131        nRequestID: ::std::os::raw::c_int,
10132    ) -> ::std::os::raw::c_int;
10133}
10134extern "C" {
10135    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi19ReqQryTradingNoticeEP31CThostFtdcQryTradingNoticeFieldi"]
10136    pub fn Rust_CThostFtdcTraderApi_ReqQryTradingNotice(
10137        this: *mut Rust_CThostFtdcTraderApi,
10138        pQryTradingNotice: *mut CThostFtdcQryTradingNoticeField,
10139        nRequestID: ::std::os::raw::c_int,
10140    ) -> ::std::os::raw::c_int;
10141}
10142extern "C" {
10143    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi25ReqQryBrokerTradingParamsEP37CThostFtdcQryBrokerTradingParamsFieldi"]
10144    pub fn Rust_CThostFtdcTraderApi_ReqQryBrokerTradingParams(
10145        this: *mut Rust_CThostFtdcTraderApi,
10146        pQryBrokerTradingParams: *mut CThostFtdcQryBrokerTradingParamsField,
10147        nRequestID: ::std::os::raw::c_int,
10148    ) -> ::std::os::raw::c_int;
10149}
10150extern "C" {
10151    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi24ReqQryBrokerTradingAlgosEP36CThostFtdcQryBrokerTradingAlgosFieldi"]
10152    pub fn Rust_CThostFtdcTraderApi_ReqQryBrokerTradingAlgos(
10153        this: *mut Rust_CThostFtdcTraderApi,
10154        pQryBrokerTradingAlgos: *mut CThostFtdcQryBrokerTradingAlgosField,
10155        nRequestID: ::std::os::raw::c_int,
10156    ) -> ::std::os::raw::c_int;
10157}
10158extern "C" {
10159    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi32ReqQueryCFMMCTradingAccountTokenEP44CThostFtdcQueryCFMMCTradingAccountTokenFieldi"]
10160    pub fn Rust_CThostFtdcTraderApi_ReqQueryCFMMCTradingAccountToken(
10161        this: *mut Rust_CThostFtdcTraderApi,
10162        pQueryCFMMCTradingAccountToken: *mut CThostFtdcQueryCFMMCTradingAccountTokenField,
10163        nRequestID: ::std::os::raw::c_int,
10164    ) -> ::std::os::raw::c_int;
10165}
10166extern "C" {
10167    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi27ReqFromBankToFutureByFutureEP26CThostFtdcReqTransferFieldi"]
10168    pub fn Rust_CThostFtdcTraderApi_ReqFromBankToFutureByFuture(
10169        this: *mut Rust_CThostFtdcTraderApi,
10170        pReqTransfer: *mut CThostFtdcReqTransferField,
10171        nRequestID: ::std::os::raw::c_int,
10172    ) -> ::std::os::raw::c_int;
10173}
10174extern "C" {
10175    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi27ReqFromFutureToBankByFutureEP26CThostFtdcReqTransferFieldi"]
10176    pub fn Rust_CThostFtdcTraderApi_ReqFromFutureToBankByFuture(
10177        this: *mut Rust_CThostFtdcTraderApi,
10178        pReqTransfer: *mut CThostFtdcReqTransferField,
10179        nRequestID: ::std::os::raw::c_int,
10180    ) -> ::std::os::raw::c_int;
10181}
10182extern "C" {
10183    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi32ReqQueryBankAccountMoneyByFutureEP30CThostFtdcReqQueryAccountFieldi"]
10184    pub fn Rust_CThostFtdcTraderApi_ReqQueryBankAccountMoneyByFuture(
10185        this: *mut Rust_CThostFtdcTraderApi,
10186        pReqQueryAccount: *mut CThostFtdcReqQueryAccountField,
10187        nRequestID: ::std::os::raw::c_int,
10188    ) -> ::std::os::raw::c_int;
10189}
10190extern "C" {
10191    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi26ReqQryClassifiedInstrumentEP38CThostFtdcQryClassifiedInstrumentFieldi"]
10192    pub fn Rust_CThostFtdcTraderApi_ReqQryClassifiedInstrument(
10193        this: *mut Rust_CThostFtdcTraderApi,
10194        pQryClassifiedInstrument: *mut CThostFtdcQryClassifiedInstrumentField,
10195        nRequestID: ::std::os::raw::c_int,
10196    ) -> ::std::os::raw::c_int;
10197}
10198extern "C" {
10199    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi24ReqQryCombPromotionParamEP36CThostFtdcQryCombPromotionParamFieldi"]
10200    pub fn Rust_CThostFtdcTraderApi_ReqQryCombPromotionParam(
10201        this: *mut Rust_CThostFtdcTraderApi,
10202        pQryCombPromotionParam: *mut CThostFtdcQryCombPromotionParamField,
10203        nRequestID: ::std::os::raw::c_int,
10204    ) -> ::std::os::raw::c_int;
10205}
10206extern "C" {
10207    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi29ReqQryRiskSettleInvstPositionEP41CThostFtdcQryRiskSettleInvstPositionFieldi"]
10208    pub fn Rust_CThostFtdcTraderApi_ReqQryRiskSettleInvstPosition(
10209        this: *mut Rust_CThostFtdcTraderApi,
10210        pQryRiskSettleInvstPosition: *mut CThostFtdcQryRiskSettleInvstPositionField,
10211        nRequestID: ::std::os::raw::c_int,
10212    ) -> ::std::os::raw::c_int;
10213}
10214extern "C" {
10215    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi29ReqQryRiskSettleProductStatusEP41CThostFtdcQryRiskSettleProductStatusFieldi"]
10216    pub fn Rust_CThostFtdcTraderApi_ReqQryRiskSettleProductStatus(
10217        this: *mut Rust_CThostFtdcTraderApi,
10218        pQryRiskSettleProductStatus: *mut CThostFtdcQryRiskSettleProductStatusField,
10219        nRequestID: ::std::os::raw::c_int,
10220    ) -> ::std::os::raw::c_int;
10221}
10222extern "C" {
10223    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi25ReqQrySPBMFutureParameterEP37CThostFtdcQrySPBMFutureParameterFieldi"]
10224    pub fn Rust_CThostFtdcTraderApi_ReqQrySPBMFutureParameter(
10225        this: *mut Rust_CThostFtdcTraderApi,
10226        pQrySPBMFutureParameter: *mut CThostFtdcQrySPBMFutureParameterField,
10227        nRequestID: ::std::os::raw::c_int,
10228    ) -> ::std::os::raw::c_int;
10229}
10230extern "C" {
10231    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi25ReqQrySPBMOptionParameterEP37CThostFtdcQrySPBMOptionParameterFieldi"]
10232    pub fn Rust_CThostFtdcTraderApi_ReqQrySPBMOptionParameter(
10233        this: *mut Rust_CThostFtdcTraderApi,
10234        pQrySPBMOptionParameter: *mut CThostFtdcQrySPBMOptionParameterField,
10235        nRequestID: ::std::os::raw::c_int,
10236    ) -> ::std::os::raw::c_int;
10237}
10238extern "C" {
10239    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi24ReqQrySPBMIntraParameterEP36CThostFtdcQrySPBMIntraParameterFieldi"]
10240    pub fn Rust_CThostFtdcTraderApi_ReqQrySPBMIntraParameter(
10241        this: *mut Rust_CThostFtdcTraderApi,
10242        pQrySPBMIntraParameter: *mut CThostFtdcQrySPBMIntraParameterField,
10243        nRequestID: ::std::os::raw::c_int,
10244    ) -> ::std::os::raw::c_int;
10245}
10246extern "C" {
10247    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi24ReqQrySPBMInterParameterEP36CThostFtdcQrySPBMInterParameterFieldi"]
10248    pub fn Rust_CThostFtdcTraderApi_ReqQrySPBMInterParameter(
10249        this: *mut Rust_CThostFtdcTraderApi,
10250        pQrySPBMInterParameter: *mut CThostFtdcQrySPBMInterParameterField,
10251        nRequestID: ::std::os::raw::c_int,
10252    ) -> ::std::os::raw::c_int;
10253}
10254extern "C" {
10255    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi25ReqQrySPBMPortfDefinitionEP37CThostFtdcQrySPBMPortfDefinitionFieldi"]
10256    pub fn Rust_CThostFtdcTraderApi_ReqQrySPBMPortfDefinition(
10257        this: *mut Rust_CThostFtdcTraderApi,
10258        pQrySPBMPortfDefinition: *mut CThostFtdcQrySPBMPortfDefinitionField,
10259        nRequestID: ::std::os::raw::c_int,
10260    ) -> ::std::os::raw::c_int;
10261}
10262extern "C" {
10263    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi26ReqQrySPBMInvestorPortfDefEP38CThostFtdcQrySPBMInvestorPortfDefFieldi"]
10264    pub fn Rust_CThostFtdcTraderApi_ReqQrySPBMInvestorPortfDef(
10265        this: *mut Rust_CThostFtdcTraderApi,
10266        pQrySPBMInvestorPortfDef: *mut CThostFtdcQrySPBMInvestorPortfDefField,
10267        nRequestID: ::std::os::raw::c_int,
10268    ) -> ::std::os::raw::c_int;
10269}
10270extern "C" {
10271    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi30ReqQryInvestorPortfMarginRatioEP42CThostFtdcQryInvestorPortfMarginRatioFieldi"]
10272    pub fn Rust_CThostFtdcTraderApi_ReqQryInvestorPortfMarginRatio(
10273        this: *mut Rust_CThostFtdcTraderApi,
10274        pQryInvestorPortfMarginRatio: *mut CThostFtdcQryInvestorPortfMarginRatioField,
10275        nRequestID: ::std::os::raw::c_int,
10276    ) -> ::std::os::raw::c_int;
10277}
10278extern "C" {
10279    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi28ReqQryInvestorProdSPBMDetailEP40CThostFtdcQryInvestorProdSPBMDetailFieldi"]
10280    pub fn Rust_CThostFtdcTraderApi_ReqQryInvestorProdSPBMDetail(
10281        this: *mut Rust_CThostFtdcTraderApi,
10282        pQryInvestorProdSPBMDetail: *mut CThostFtdcQryInvestorProdSPBMDetailField,
10283        nRequestID: ::std::os::raw::c_int,
10284    ) -> ::std::os::raw::c_int;
10285}
10286extern "C" {
10287    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi33ReqQryInvestorCommoditySPMMMarginEP45CThostFtdcQryInvestorCommoditySPMMMarginFieldi"]
10288    pub fn Rust_CThostFtdcTraderApi_ReqQryInvestorCommoditySPMMMargin(
10289        this: *mut Rust_CThostFtdcTraderApi,
10290        pQryInvestorCommoditySPMMMargin: *mut CThostFtdcQryInvestorCommoditySPMMMarginField,
10291        nRequestID: ::std::os::raw::c_int,
10292    ) -> ::std::os::raw::c_int;
10293}
10294extern "C" {
10295    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi38ReqQryInvestorCommodityGroupSPMMMarginEP50CThostFtdcQryInvestorCommodityGroupSPMMMarginFieldi"]
10296    pub fn Rust_CThostFtdcTraderApi_ReqQryInvestorCommodityGroupSPMMMargin(
10297        this: *mut Rust_CThostFtdcTraderApi,
10298        pQryInvestorCommodityGroupSPMMMargin : * mut CThostFtdcQryInvestorCommodityGroupSPMMMarginField,
10299        nRequestID: ::std::os::raw::c_int,
10300    ) -> ::std::os::raw::c_int;
10301}
10302extern "C" {
10303    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi19ReqQrySPMMInstParamEP31CThostFtdcQrySPMMInstParamFieldi"]
10304    pub fn Rust_CThostFtdcTraderApi_ReqQrySPMMInstParam(
10305        this: *mut Rust_CThostFtdcTraderApi,
10306        pQrySPMMInstParam: *mut CThostFtdcQrySPMMInstParamField,
10307        nRequestID: ::std::os::raw::c_int,
10308    ) -> ::std::os::raw::c_int;
10309}
10310extern "C" {
10311    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi22ReqQrySPMMProductParamEP34CThostFtdcQrySPMMProductParamFieldi"]
10312    pub fn Rust_CThostFtdcTraderApi_ReqQrySPMMProductParam(
10313        this: *mut Rust_CThostFtdcTraderApi,
10314        pQrySPMMProductParam: *mut CThostFtdcQrySPMMProductParamField,
10315        nRequestID: ::std::os::raw::c_int,
10316    ) -> ::std::os::raw::c_int;
10317}
10318extern "C" {
10319    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi29ReqQrySPBMAddOnInterParameterEP41CThostFtdcQrySPBMAddOnInterParameterFieldi"]
10320    pub fn Rust_CThostFtdcTraderApi_ReqQrySPBMAddOnInterParameter(
10321        this: *mut Rust_CThostFtdcTraderApi,
10322        pQrySPBMAddOnInterParameter: *mut CThostFtdcQrySPBMAddOnInterParameterField,
10323        nRequestID: ::std::os::raw::c_int,
10324    ) -> ::std::os::raw::c_int;
10325}
10326extern "C" {
10327    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi26ReqQryRCAMSCombProductInfoEP38CThostFtdcQryRCAMSCombProductInfoFieldi"]
10328    pub fn Rust_CThostFtdcTraderApi_ReqQryRCAMSCombProductInfo(
10329        this: *mut Rust_CThostFtdcTraderApi,
10330        pQryRCAMSCombProductInfo: *mut CThostFtdcQryRCAMSCombProductInfoField,
10331        nRequestID: ::std::os::raw::c_int,
10332    ) -> ::std::os::raw::c_int;
10333}
10334extern "C" {
10335    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi25ReqQryRCAMSInstrParameterEP37CThostFtdcQryRCAMSInstrParameterFieldi"]
10336    pub fn Rust_CThostFtdcTraderApi_ReqQryRCAMSInstrParameter(
10337        this: *mut Rust_CThostFtdcTraderApi,
10338        pQryRCAMSInstrParameter: *mut CThostFtdcQryRCAMSInstrParameterField,
10339        nRequestID: ::std::os::raw::c_int,
10340    ) -> ::std::os::raw::c_int;
10341}
10342extern "C" {
10343    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi25ReqQryRCAMSIntraParameterEP37CThostFtdcQryRCAMSIntraParameterFieldi"]
10344    pub fn Rust_CThostFtdcTraderApi_ReqQryRCAMSIntraParameter(
10345        this: *mut Rust_CThostFtdcTraderApi,
10346        pQryRCAMSIntraParameter: *mut CThostFtdcQryRCAMSIntraParameterField,
10347        nRequestID: ::std::os::raw::c_int,
10348    ) -> ::std::os::raw::c_int;
10349}
10350extern "C" {
10351    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi25ReqQryRCAMSInterParameterEP37CThostFtdcQryRCAMSInterParameterFieldi"]
10352    pub fn Rust_CThostFtdcTraderApi_ReqQryRCAMSInterParameter(
10353        this: *mut Rust_CThostFtdcTraderApi,
10354        pQryRCAMSInterParameter: *mut CThostFtdcQryRCAMSInterParameterField,
10355        nRequestID: ::std::os::raw::c_int,
10356    ) -> ::std::os::raw::c_int;
10357}
10358extern "C" {
10359    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi30ReqQryRCAMSShortOptAdjustParamEP42CThostFtdcQryRCAMSShortOptAdjustParamFieldi"]
10360    pub fn Rust_CThostFtdcTraderApi_ReqQryRCAMSShortOptAdjustParam(
10361        this: *mut Rust_CThostFtdcTraderApi,
10362        pQryRCAMSShortOptAdjustParam: *mut CThostFtdcQryRCAMSShortOptAdjustParamField,
10363        nRequestID: ::std::os::raw::c_int,
10364    ) -> ::std::os::raw::c_int;
10365}
10366extern "C" {
10367    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi31ReqQryRCAMSInvestorCombPositionEP43CThostFtdcQryRCAMSInvestorCombPositionFieldi"]
10368    pub fn Rust_CThostFtdcTraderApi_ReqQryRCAMSInvestorCombPosition(
10369        this: *mut Rust_CThostFtdcTraderApi,
10370        pQryRCAMSInvestorCombPosition: *mut CThostFtdcQryRCAMSInvestorCombPositionField,
10371        nRequestID: ::std::os::raw::c_int,
10372    ) -> ::std::os::raw::c_int;
10373}
10374extern "C" {
10375    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi29ReqQryInvestorProdRCAMSMarginEP41CThostFtdcQryInvestorProdRCAMSMarginFieldi"]
10376    pub fn Rust_CThostFtdcTraderApi_ReqQryInvestorProdRCAMSMargin(
10377        this: *mut Rust_CThostFtdcTraderApi,
10378        pQryInvestorProdRCAMSMargin: *mut CThostFtdcQryInvestorProdRCAMSMarginField,
10379        nRequestID: ::std::os::raw::c_int,
10380    ) -> ::std::os::raw::c_int;
10381}
10382extern "C" {
10383    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi24ReqQryRULEInstrParameterEP36CThostFtdcQryRULEInstrParameterFieldi"]
10384    pub fn Rust_CThostFtdcTraderApi_ReqQryRULEInstrParameter(
10385        this: *mut Rust_CThostFtdcTraderApi,
10386        pQryRULEInstrParameter: *mut CThostFtdcQryRULEInstrParameterField,
10387        nRequestID: ::std::os::raw::c_int,
10388    ) -> ::std::os::raw::c_int;
10389}
10390extern "C" {
10391    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi24ReqQryRULEIntraParameterEP36CThostFtdcQryRULEIntraParameterFieldi"]
10392    pub fn Rust_CThostFtdcTraderApi_ReqQryRULEIntraParameter(
10393        this: *mut Rust_CThostFtdcTraderApi,
10394        pQryRULEIntraParameter: *mut CThostFtdcQryRULEIntraParameterField,
10395        nRequestID: ::std::os::raw::c_int,
10396    ) -> ::std::os::raw::c_int;
10397}
10398extern "C" {
10399    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi24ReqQryRULEInterParameterEP36CThostFtdcQryRULEInterParameterFieldi"]
10400    pub fn Rust_CThostFtdcTraderApi_ReqQryRULEInterParameter(
10401        this: *mut Rust_CThostFtdcTraderApi,
10402        pQryRULEInterParameter: *mut CThostFtdcQryRULEInterParameterField,
10403        nRequestID: ::std::os::raw::c_int,
10404    ) -> ::std::os::raw::c_int;
10405}
10406extern "C" {
10407    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApi28ReqQryInvestorProdRULEMarginEP40CThostFtdcQryInvestorProdRULEMarginFieldi"]
10408    pub fn Rust_CThostFtdcTraderApi_ReqQryInvestorProdRULEMargin(
10409        this: *mut Rust_CThostFtdcTraderApi,
10410        pQryInvestorProdRULEMargin: *mut CThostFtdcQryInvestorProdRULEMarginField,
10411        nRequestID: ::std::os::raw::c_int,
10412    ) -> ::std::os::raw::c_int;
10413}
10414extern "C" {
10415    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApiC1EP19CThostFtdcTraderApi"]
10416    pub fn Rust_CThostFtdcTraderApi_Rust_CThostFtdcTraderApi(
10417        this: *mut Rust_CThostFtdcTraderApi,
10418        member: *mut CThostFtdcTraderApi,
10419    );
10420}
10421extern "C" {
10422    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderApiD1Ev"]
10423    pub fn Rust_CThostFtdcTraderApi_Rust_CThostFtdcTraderApi_destructor(
10424        this: *mut Rust_CThostFtdcTraderApi,
10425    );
10426}
10427impl Rust_CThostFtdcTraderApi {
10428    #[inline]
10429    pub unsafe fn Release(&mut self) {
10430        Rust_CThostFtdcTraderApi_Release(self)
10431    }
10432    #[inline]
10433    pub unsafe fn Init(&mut self) {
10434        Rust_CThostFtdcTraderApi_Init(self)
10435    }
10436    #[inline]
10437    pub unsafe fn Join(&mut self) -> ::std::os::raw::c_int {
10438        Rust_CThostFtdcTraderApi_Join(self)
10439    }
10440    #[inline]
10441    pub unsafe fn GetTradingDay(&mut self) -> *const ::std::os::raw::c_char {
10442        Rust_CThostFtdcTraderApi_GetTradingDay(self)
10443    }
10444    #[inline]
10445    pub unsafe fn RegisterFront(&mut self, pszFrontAddress: *mut ::std::os::raw::c_char) {
10446        Rust_CThostFtdcTraderApi_RegisterFront(self, pszFrontAddress)
10447    }
10448    #[inline]
10449    pub unsafe fn RegisterNameServer(&mut self, pszNsAddress: *mut ::std::os::raw::c_char) {
10450        Rust_CThostFtdcTraderApi_RegisterNameServer(self, pszNsAddress)
10451    }
10452    #[inline]
10453    pub unsafe fn RegisterFensUserInfo(&mut self, pFensUserInfo: *mut CThostFtdcFensUserInfoField) {
10454        Rust_CThostFtdcTraderApi_RegisterFensUserInfo(self, pFensUserInfo)
10455    }
10456    #[inline]
10457    pub unsafe fn RegisterSpi(&mut self, pSpi: *mut CThostFtdcTraderSpi) {
10458        Rust_CThostFtdcTraderApi_RegisterSpi(self, pSpi)
10459    }
10460    #[inline]
10461    pub unsafe fn SubscribePrivateTopic(&mut self, nResumeType: THOST_TE_RESUME_TYPE) {
10462        Rust_CThostFtdcTraderApi_SubscribePrivateTopic(self, nResumeType)
10463    }
10464    #[inline]
10465    pub unsafe fn SubscribePublicTopic(&mut self, nResumeType: THOST_TE_RESUME_TYPE) {
10466        Rust_CThostFtdcTraderApi_SubscribePublicTopic(self, nResumeType)
10467    }
10468    #[inline]
10469    pub unsafe fn ReqAuthenticate(
10470        &mut self,
10471        pReqAuthenticateField: *mut CThostFtdcReqAuthenticateField,
10472        nRequestID: ::std::os::raw::c_int,
10473    ) -> ::std::os::raw::c_int {
10474        Rust_CThostFtdcTraderApi_ReqAuthenticate(self, pReqAuthenticateField, nRequestID)
10475    }
10476    #[inline]
10477    pub unsafe fn RegisterUserSystemInfo(
10478        &mut self,
10479        pUserSystemInfo: *mut CThostFtdcUserSystemInfoField,
10480    ) -> ::std::os::raw::c_int {
10481        Rust_CThostFtdcTraderApi_RegisterUserSystemInfo(self, pUserSystemInfo)
10482    }
10483    #[inline]
10484    pub unsafe fn SubmitUserSystemInfo(
10485        &mut self,
10486        pUserSystemInfo: *mut CThostFtdcUserSystemInfoField,
10487    ) -> ::std::os::raw::c_int {
10488        Rust_CThostFtdcTraderApi_SubmitUserSystemInfo(self, pUserSystemInfo)
10489    }
10490    #[inline]
10491    pub unsafe fn ReqUserLogin(
10492        &mut self,
10493        pReqUserLoginField: *mut CThostFtdcReqUserLoginField,
10494        nRequestID: ::std::os::raw::c_int,
10495    ) -> ::std::os::raw::c_int {
10496        Rust_CThostFtdcTraderApi_ReqUserLogin(self, pReqUserLoginField, nRequestID)
10497    }
10498    #[inline]
10499    pub unsafe fn ReqUserLogout(
10500        &mut self,
10501        pUserLogout: *mut CThostFtdcUserLogoutField,
10502        nRequestID: ::std::os::raw::c_int,
10503    ) -> ::std::os::raw::c_int {
10504        Rust_CThostFtdcTraderApi_ReqUserLogout(self, pUserLogout, nRequestID)
10505    }
10506    #[inline]
10507    pub unsafe fn ReqUserPasswordUpdate(
10508        &mut self,
10509        pUserPasswordUpdate: *mut CThostFtdcUserPasswordUpdateField,
10510        nRequestID: ::std::os::raw::c_int,
10511    ) -> ::std::os::raw::c_int {
10512        Rust_CThostFtdcTraderApi_ReqUserPasswordUpdate(self, pUserPasswordUpdate, nRequestID)
10513    }
10514    #[inline]
10515    pub unsafe fn ReqTradingAccountPasswordUpdate(
10516        &mut self,
10517        pTradingAccountPasswordUpdate: *mut CThostFtdcTradingAccountPasswordUpdateField,
10518        nRequestID: ::std::os::raw::c_int,
10519    ) -> ::std::os::raw::c_int {
10520        Rust_CThostFtdcTraderApi_ReqTradingAccountPasswordUpdate(
10521            self,
10522            pTradingAccountPasswordUpdate,
10523            nRequestID,
10524        )
10525    }
10526    #[inline]
10527    pub unsafe fn ReqUserAuthMethod(
10528        &mut self,
10529        pReqUserAuthMethod: *mut CThostFtdcReqUserAuthMethodField,
10530        nRequestID: ::std::os::raw::c_int,
10531    ) -> ::std::os::raw::c_int {
10532        Rust_CThostFtdcTraderApi_ReqUserAuthMethod(self, pReqUserAuthMethod, nRequestID)
10533    }
10534    #[inline]
10535    pub unsafe fn ReqGenUserCaptcha(
10536        &mut self,
10537        pReqGenUserCaptcha: *mut CThostFtdcReqGenUserCaptchaField,
10538        nRequestID: ::std::os::raw::c_int,
10539    ) -> ::std::os::raw::c_int {
10540        Rust_CThostFtdcTraderApi_ReqGenUserCaptcha(self, pReqGenUserCaptcha, nRequestID)
10541    }
10542    #[inline]
10543    pub unsafe fn ReqGenUserText(
10544        &mut self,
10545        pReqGenUserText: *mut CThostFtdcReqGenUserTextField,
10546        nRequestID: ::std::os::raw::c_int,
10547    ) -> ::std::os::raw::c_int {
10548        Rust_CThostFtdcTraderApi_ReqGenUserText(self, pReqGenUserText, nRequestID)
10549    }
10550    #[inline]
10551    pub unsafe fn ReqUserLoginWithCaptcha(
10552        &mut self,
10553        pReqUserLoginWithCaptcha: *mut CThostFtdcReqUserLoginWithCaptchaField,
10554        nRequestID: ::std::os::raw::c_int,
10555    ) -> ::std::os::raw::c_int {
10556        Rust_CThostFtdcTraderApi_ReqUserLoginWithCaptcha(self, pReqUserLoginWithCaptcha, nRequestID)
10557    }
10558    #[inline]
10559    pub unsafe fn ReqUserLoginWithText(
10560        &mut self,
10561        pReqUserLoginWithText: *mut CThostFtdcReqUserLoginWithTextField,
10562        nRequestID: ::std::os::raw::c_int,
10563    ) -> ::std::os::raw::c_int {
10564        Rust_CThostFtdcTraderApi_ReqUserLoginWithText(self, pReqUserLoginWithText, nRequestID)
10565    }
10566    #[inline]
10567    pub unsafe fn ReqUserLoginWithOTP(
10568        &mut self,
10569        pReqUserLoginWithOTP: *mut CThostFtdcReqUserLoginWithOTPField,
10570        nRequestID: ::std::os::raw::c_int,
10571    ) -> ::std::os::raw::c_int {
10572        Rust_CThostFtdcTraderApi_ReqUserLoginWithOTP(self, pReqUserLoginWithOTP, nRequestID)
10573    }
10574    #[inline]
10575    pub unsafe fn ReqOrderInsert(
10576        &mut self,
10577        pInputOrder: *mut CThostFtdcInputOrderField,
10578        nRequestID: ::std::os::raw::c_int,
10579    ) -> ::std::os::raw::c_int {
10580        Rust_CThostFtdcTraderApi_ReqOrderInsert(self, pInputOrder, nRequestID)
10581    }
10582    #[inline]
10583    pub unsafe fn ReqParkedOrderInsert(
10584        &mut self,
10585        pParkedOrder: *mut CThostFtdcParkedOrderField,
10586        nRequestID: ::std::os::raw::c_int,
10587    ) -> ::std::os::raw::c_int {
10588        Rust_CThostFtdcTraderApi_ReqParkedOrderInsert(self, pParkedOrder, nRequestID)
10589    }
10590    #[inline]
10591    pub unsafe fn ReqParkedOrderAction(
10592        &mut self,
10593        pParkedOrderAction: *mut CThostFtdcParkedOrderActionField,
10594        nRequestID: ::std::os::raw::c_int,
10595    ) -> ::std::os::raw::c_int {
10596        Rust_CThostFtdcTraderApi_ReqParkedOrderAction(self, pParkedOrderAction, nRequestID)
10597    }
10598    #[inline]
10599    pub unsafe fn ReqOrderAction(
10600        &mut self,
10601        pInputOrderAction: *mut CThostFtdcInputOrderActionField,
10602        nRequestID: ::std::os::raw::c_int,
10603    ) -> ::std::os::raw::c_int {
10604        Rust_CThostFtdcTraderApi_ReqOrderAction(self, pInputOrderAction, nRequestID)
10605    }
10606    #[inline]
10607    pub unsafe fn ReqQryMaxOrderVolume(
10608        &mut self,
10609        pQryMaxOrderVolume: *mut CThostFtdcQryMaxOrderVolumeField,
10610        nRequestID: ::std::os::raw::c_int,
10611    ) -> ::std::os::raw::c_int {
10612        Rust_CThostFtdcTraderApi_ReqQryMaxOrderVolume(self, pQryMaxOrderVolume, nRequestID)
10613    }
10614    #[inline]
10615    pub unsafe fn ReqSettlementInfoConfirm(
10616        &mut self,
10617        pSettlementInfoConfirm: *mut CThostFtdcSettlementInfoConfirmField,
10618        nRequestID: ::std::os::raw::c_int,
10619    ) -> ::std::os::raw::c_int {
10620        Rust_CThostFtdcTraderApi_ReqSettlementInfoConfirm(self, pSettlementInfoConfirm, nRequestID)
10621    }
10622    #[inline]
10623    pub unsafe fn ReqRemoveParkedOrder(
10624        &mut self,
10625        pRemoveParkedOrder: *mut CThostFtdcRemoveParkedOrderField,
10626        nRequestID: ::std::os::raw::c_int,
10627    ) -> ::std::os::raw::c_int {
10628        Rust_CThostFtdcTraderApi_ReqRemoveParkedOrder(self, pRemoveParkedOrder, nRequestID)
10629    }
10630    #[inline]
10631    pub unsafe fn ReqRemoveParkedOrderAction(
10632        &mut self,
10633        pRemoveParkedOrderAction: *mut CThostFtdcRemoveParkedOrderActionField,
10634        nRequestID: ::std::os::raw::c_int,
10635    ) -> ::std::os::raw::c_int {
10636        Rust_CThostFtdcTraderApi_ReqRemoveParkedOrderAction(
10637            self,
10638            pRemoveParkedOrderAction,
10639            nRequestID,
10640        )
10641    }
10642    #[inline]
10643    pub unsafe fn ReqExecOrderInsert(
10644        &mut self,
10645        pInputExecOrder: *mut CThostFtdcInputExecOrderField,
10646        nRequestID: ::std::os::raw::c_int,
10647    ) -> ::std::os::raw::c_int {
10648        Rust_CThostFtdcTraderApi_ReqExecOrderInsert(self, pInputExecOrder, nRequestID)
10649    }
10650    #[inline]
10651    pub unsafe fn ReqExecOrderAction(
10652        &mut self,
10653        pInputExecOrderAction: *mut CThostFtdcInputExecOrderActionField,
10654        nRequestID: ::std::os::raw::c_int,
10655    ) -> ::std::os::raw::c_int {
10656        Rust_CThostFtdcTraderApi_ReqExecOrderAction(self, pInputExecOrderAction, nRequestID)
10657    }
10658    #[inline]
10659    pub unsafe fn ReqForQuoteInsert(
10660        &mut self,
10661        pInputForQuote: *mut CThostFtdcInputForQuoteField,
10662        nRequestID: ::std::os::raw::c_int,
10663    ) -> ::std::os::raw::c_int {
10664        Rust_CThostFtdcTraderApi_ReqForQuoteInsert(self, pInputForQuote, nRequestID)
10665    }
10666    #[inline]
10667    pub unsafe fn ReqQuoteInsert(
10668        &mut self,
10669        pInputQuote: *mut CThostFtdcInputQuoteField,
10670        nRequestID: ::std::os::raw::c_int,
10671    ) -> ::std::os::raw::c_int {
10672        Rust_CThostFtdcTraderApi_ReqQuoteInsert(self, pInputQuote, nRequestID)
10673    }
10674    #[inline]
10675    pub unsafe fn ReqQuoteAction(
10676        &mut self,
10677        pInputQuoteAction: *mut CThostFtdcInputQuoteActionField,
10678        nRequestID: ::std::os::raw::c_int,
10679    ) -> ::std::os::raw::c_int {
10680        Rust_CThostFtdcTraderApi_ReqQuoteAction(self, pInputQuoteAction, nRequestID)
10681    }
10682    #[inline]
10683    pub unsafe fn ReqBatchOrderAction(
10684        &mut self,
10685        pInputBatchOrderAction: *mut CThostFtdcInputBatchOrderActionField,
10686        nRequestID: ::std::os::raw::c_int,
10687    ) -> ::std::os::raw::c_int {
10688        Rust_CThostFtdcTraderApi_ReqBatchOrderAction(self, pInputBatchOrderAction, nRequestID)
10689    }
10690    #[inline]
10691    pub unsafe fn ReqOptionSelfCloseInsert(
10692        &mut self,
10693        pInputOptionSelfClose: *mut CThostFtdcInputOptionSelfCloseField,
10694        nRequestID: ::std::os::raw::c_int,
10695    ) -> ::std::os::raw::c_int {
10696        Rust_CThostFtdcTraderApi_ReqOptionSelfCloseInsert(self, pInputOptionSelfClose, nRequestID)
10697    }
10698    #[inline]
10699    pub unsafe fn ReqOptionSelfCloseAction(
10700        &mut self,
10701        pInputOptionSelfCloseAction: *mut CThostFtdcInputOptionSelfCloseActionField,
10702        nRequestID: ::std::os::raw::c_int,
10703    ) -> ::std::os::raw::c_int {
10704        Rust_CThostFtdcTraderApi_ReqOptionSelfCloseAction(
10705            self,
10706            pInputOptionSelfCloseAction,
10707            nRequestID,
10708        )
10709    }
10710    #[inline]
10711    pub unsafe fn ReqCombActionInsert(
10712        &mut self,
10713        pInputCombAction: *mut CThostFtdcInputCombActionField,
10714        nRequestID: ::std::os::raw::c_int,
10715    ) -> ::std::os::raw::c_int {
10716        Rust_CThostFtdcTraderApi_ReqCombActionInsert(self, pInputCombAction, nRequestID)
10717    }
10718    #[inline]
10719    pub unsafe fn ReqQryOrder(
10720        &mut self,
10721        pQryOrder: *mut CThostFtdcQryOrderField,
10722        nRequestID: ::std::os::raw::c_int,
10723    ) -> ::std::os::raw::c_int {
10724        Rust_CThostFtdcTraderApi_ReqQryOrder(self, pQryOrder, nRequestID)
10725    }
10726    #[inline]
10727    pub unsafe fn ReqQryTrade(
10728        &mut self,
10729        pQryTrade: *mut CThostFtdcQryTradeField,
10730        nRequestID: ::std::os::raw::c_int,
10731    ) -> ::std::os::raw::c_int {
10732        Rust_CThostFtdcTraderApi_ReqQryTrade(self, pQryTrade, nRequestID)
10733    }
10734    #[inline]
10735    pub unsafe fn ReqQryInvestorPosition(
10736        &mut self,
10737        pQryInvestorPosition: *mut CThostFtdcQryInvestorPositionField,
10738        nRequestID: ::std::os::raw::c_int,
10739    ) -> ::std::os::raw::c_int {
10740        Rust_CThostFtdcTraderApi_ReqQryInvestorPosition(self, pQryInvestorPosition, nRequestID)
10741    }
10742    #[inline]
10743    pub unsafe fn ReqQryTradingAccount(
10744        &mut self,
10745        pQryTradingAccount: *mut CThostFtdcQryTradingAccountField,
10746        nRequestID: ::std::os::raw::c_int,
10747    ) -> ::std::os::raw::c_int {
10748        Rust_CThostFtdcTraderApi_ReqQryTradingAccount(self, pQryTradingAccount, nRequestID)
10749    }
10750    #[inline]
10751    pub unsafe fn ReqQryInvestor(
10752        &mut self,
10753        pQryInvestor: *mut CThostFtdcQryInvestorField,
10754        nRequestID: ::std::os::raw::c_int,
10755    ) -> ::std::os::raw::c_int {
10756        Rust_CThostFtdcTraderApi_ReqQryInvestor(self, pQryInvestor, nRequestID)
10757    }
10758    #[inline]
10759    pub unsafe fn ReqQryTradingCode(
10760        &mut self,
10761        pQryTradingCode: *mut CThostFtdcQryTradingCodeField,
10762        nRequestID: ::std::os::raw::c_int,
10763    ) -> ::std::os::raw::c_int {
10764        Rust_CThostFtdcTraderApi_ReqQryTradingCode(self, pQryTradingCode, nRequestID)
10765    }
10766    #[inline]
10767    pub unsafe fn ReqQryInstrumentMarginRate(
10768        &mut self,
10769        pQryInstrumentMarginRate: *mut CThostFtdcQryInstrumentMarginRateField,
10770        nRequestID: ::std::os::raw::c_int,
10771    ) -> ::std::os::raw::c_int {
10772        Rust_CThostFtdcTraderApi_ReqQryInstrumentMarginRate(
10773            self,
10774            pQryInstrumentMarginRate,
10775            nRequestID,
10776        )
10777    }
10778    #[inline]
10779    pub unsafe fn ReqQryInstrumentCommissionRate(
10780        &mut self,
10781        pQryInstrumentCommissionRate: *mut CThostFtdcQryInstrumentCommissionRateField,
10782        nRequestID: ::std::os::raw::c_int,
10783    ) -> ::std::os::raw::c_int {
10784        Rust_CThostFtdcTraderApi_ReqQryInstrumentCommissionRate(
10785            self,
10786            pQryInstrumentCommissionRate,
10787            nRequestID,
10788        )
10789    }
10790    #[inline]
10791    pub unsafe fn ReqQryExchange(
10792        &mut self,
10793        pQryExchange: *mut CThostFtdcQryExchangeField,
10794        nRequestID: ::std::os::raw::c_int,
10795    ) -> ::std::os::raw::c_int {
10796        Rust_CThostFtdcTraderApi_ReqQryExchange(self, pQryExchange, nRequestID)
10797    }
10798    #[inline]
10799    pub unsafe fn ReqQryProduct(
10800        &mut self,
10801        pQryProduct: *mut CThostFtdcQryProductField,
10802        nRequestID: ::std::os::raw::c_int,
10803    ) -> ::std::os::raw::c_int {
10804        Rust_CThostFtdcTraderApi_ReqQryProduct(self, pQryProduct, nRequestID)
10805    }
10806    #[inline]
10807    pub unsafe fn ReqQryInstrument(
10808        &mut self,
10809        pQryInstrument: *mut CThostFtdcQryInstrumentField,
10810        nRequestID: ::std::os::raw::c_int,
10811    ) -> ::std::os::raw::c_int {
10812        Rust_CThostFtdcTraderApi_ReqQryInstrument(self, pQryInstrument, nRequestID)
10813    }
10814    #[inline]
10815    pub unsafe fn ReqQryDepthMarketData(
10816        &mut self,
10817        pQryDepthMarketData: *mut CThostFtdcQryDepthMarketDataField,
10818        nRequestID: ::std::os::raw::c_int,
10819    ) -> ::std::os::raw::c_int {
10820        Rust_CThostFtdcTraderApi_ReqQryDepthMarketData(self, pQryDepthMarketData, nRequestID)
10821    }
10822    #[inline]
10823    pub unsafe fn ReqQryTraderOffer(
10824        &mut self,
10825        pQryTraderOffer: *mut CThostFtdcQryTraderOfferField,
10826        nRequestID: ::std::os::raw::c_int,
10827    ) -> ::std::os::raw::c_int {
10828        Rust_CThostFtdcTraderApi_ReqQryTraderOffer(self, pQryTraderOffer, nRequestID)
10829    }
10830    #[inline]
10831    pub unsafe fn ReqQrySettlementInfo(
10832        &mut self,
10833        pQrySettlementInfo: *mut CThostFtdcQrySettlementInfoField,
10834        nRequestID: ::std::os::raw::c_int,
10835    ) -> ::std::os::raw::c_int {
10836        Rust_CThostFtdcTraderApi_ReqQrySettlementInfo(self, pQrySettlementInfo, nRequestID)
10837    }
10838    #[inline]
10839    pub unsafe fn ReqQryTransferBank(
10840        &mut self,
10841        pQryTransferBank: *mut CThostFtdcQryTransferBankField,
10842        nRequestID: ::std::os::raw::c_int,
10843    ) -> ::std::os::raw::c_int {
10844        Rust_CThostFtdcTraderApi_ReqQryTransferBank(self, pQryTransferBank, nRequestID)
10845    }
10846    #[inline]
10847    pub unsafe fn ReqQryInvestorPositionDetail(
10848        &mut self,
10849        pQryInvestorPositionDetail: *mut CThostFtdcQryInvestorPositionDetailField,
10850        nRequestID: ::std::os::raw::c_int,
10851    ) -> ::std::os::raw::c_int {
10852        Rust_CThostFtdcTraderApi_ReqQryInvestorPositionDetail(
10853            self,
10854            pQryInvestorPositionDetail,
10855            nRequestID,
10856        )
10857    }
10858    #[inline]
10859    pub unsafe fn ReqQryNotice(
10860        &mut self,
10861        pQryNotice: *mut CThostFtdcQryNoticeField,
10862        nRequestID: ::std::os::raw::c_int,
10863    ) -> ::std::os::raw::c_int {
10864        Rust_CThostFtdcTraderApi_ReqQryNotice(self, pQryNotice, nRequestID)
10865    }
10866    #[inline]
10867    pub unsafe fn ReqQrySettlementInfoConfirm(
10868        &mut self,
10869        pQrySettlementInfoConfirm: *mut CThostFtdcQrySettlementInfoConfirmField,
10870        nRequestID: ::std::os::raw::c_int,
10871    ) -> ::std::os::raw::c_int {
10872        Rust_CThostFtdcTraderApi_ReqQrySettlementInfoConfirm(
10873            self,
10874            pQrySettlementInfoConfirm,
10875            nRequestID,
10876        )
10877    }
10878    #[inline]
10879    pub unsafe fn ReqQryInvestorPositionCombineDetail(
10880        &mut self,
10881        pQryInvestorPositionCombineDetail: *mut CThostFtdcQryInvestorPositionCombineDetailField,
10882        nRequestID: ::std::os::raw::c_int,
10883    ) -> ::std::os::raw::c_int {
10884        Rust_CThostFtdcTraderApi_ReqQryInvestorPositionCombineDetail(
10885            self,
10886            pQryInvestorPositionCombineDetail,
10887            nRequestID,
10888        )
10889    }
10890    #[inline]
10891    pub unsafe fn ReqQryCFMMCTradingAccountKey(
10892        &mut self,
10893        pQryCFMMCTradingAccountKey: *mut CThostFtdcQryCFMMCTradingAccountKeyField,
10894        nRequestID: ::std::os::raw::c_int,
10895    ) -> ::std::os::raw::c_int {
10896        Rust_CThostFtdcTraderApi_ReqQryCFMMCTradingAccountKey(
10897            self,
10898            pQryCFMMCTradingAccountKey,
10899            nRequestID,
10900        )
10901    }
10902    #[inline]
10903    pub unsafe fn ReqQryEWarrantOffset(
10904        &mut self,
10905        pQryEWarrantOffset: *mut CThostFtdcQryEWarrantOffsetField,
10906        nRequestID: ::std::os::raw::c_int,
10907    ) -> ::std::os::raw::c_int {
10908        Rust_CThostFtdcTraderApi_ReqQryEWarrantOffset(self, pQryEWarrantOffset, nRequestID)
10909    }
10910    #[inline]
10911    pub unsafe fn ReqQryInvestorProductGroupMargin(
10912        &mut self,
10913        pQryInvestorProductGroupMargin: *mut CThostFtdcQryInvestorProductGroupMarginField,
10914        nRequestID: ::std::os::raw::c_int,
10915    ) -> ::std::os::raw::c_int {
10916        Rust_CThostFtdcTraderApi_ReqQryInvestorProductGroupMargin(
10917            self,
10918            pQryInvestorProductGroupMargin,
10919            nRequestID,
10920        )
10921    }
10922    #[inline]
10923    pub unsafe fn ReqQryExchangeMarginRate(
10924        &mut self,
10925        pQryExchangeMarginRate: *mut CThostFtdcQryExchangeMarginRateField,
10926        nRequestID: ::std::os::raw::c_int,
10927    ) -> ::std::os::raw::c_int {
10928        Rust_CThostFtdcTraderApi_ReqQryExchangeMarginRate(self, pQryExchangeMarginRate, nRequestID)
10929    }
10930    #[inline]
10931    pub unsafe fn ReqQryExchangeMarginRateAdjust(
10932        &mut self,
10933        pQryExchangeMarginRateAdjust: *mut CThostFtdcQryExchangeMarginRateAdjustField,
10934        nRequestID: ::std::os::raw::c_int,
10935    ) -> ::std::os::raw::c_int {
10936        Rust_CThostFtdcTraderApi_ReqQryExchangeMarginRateAdjust(
10937            self,
10938            pQryExchangeMarginRateAdjust,
10939            nRequestID,
10940        )
10941    }
10942    #[inline]
10943    pub unsafe fn ReqQryExchangeRate(
10944        &mut self,
10945        pQryExchangeRate: *mut CThostFtdcQryExchangeRateField,
10946        nRequestID: ::std::os::raw::c_int,
10947    ) -> ::std::os::raw::c_int {
10948        Rust_CThostFtdcTraderApi_ReqQryExchangeRate(self, pQryExchangeRate, nRequestID)
10949    }
10950    #[inline]
10951    pub unsafe fn ReqQrySecAgentACIDMap(
10952        &mut self,
10953        pQrySecAgentACIDMap: *mut CThostFtdcQrySecAgentACIDMapField,
10954        nRequestID: ::std::os::raw::c_int,
10955    ) -> ::std::os::raw::c_int {
10956        Rust_CThostFtdcTraderApi_ReqQrySecAgentACIDMap(self, pQrySecAgentACIDMap, nRequestID)
10957    }
10958    #[inline]
10959    pub unsafe fn ReqQryProductExchRate(
10960        &mut self,
10961        pQryProductExchRate: *mut CThostFtdcQryProductExchRateField,
10962        nRequestID: ::std::os::raw::c_int,
10963    ) -> ::std::os::raw::c_int {
10964        Rust_CThostFtdcTraderApi_ReqQryProductExchRate(self, pQryProductExchRate, nRequestID)
10965    }
10966    #[inline]
10967    pub unsafe fn ReqQryProductGroup(
10968        &mut self,
10969        pQryProductGroup: *mut CThostFtdcQryProductGroupField,
10970        nRequestID: ::std::os::raw::c_int,
10971    ) -> ::std::os::raw::c_int {
10972        Rust_CThostFtdcTraderApi_ReqQryProductGroup(self, pQryProductGroup, nRequestID)
10973    }
10974    #[inline]
10975    pub unsafe fn ReqQryMMInstrumentCommissionRate(
10976        &mut self,
10977        pQryMMInstrumentCommissionRate: *mut CThostFtdcQryMMInstrumentCommissionRateField,
10978        nRequestID: ::std::os::raw::c_int,
10979    ) -> ::std::os::raw::c_int {
10980        Rust_CThostFtdcTraderApi_ReqQryMMInstrumentCommissionRate(
10981            self,
10982            pQryMMInstrumentCommissionRate,
10983            nRequestID,
10984        )
10985    }
10986    #[inline]
10987    pub unsafe fn ReqQryMMOptionInstrCommRate(
10988        &mut self,
10989        pQryMMOptionInstrCommRate: *mut CThostFtdcQryMMOptionInstrCommRateField,
10990        nRequestID: ::std::os::raw::c_int,
10991    ) -> ::std::os::raw::c_int {
10992        Rust_CThostFtdcTraderApi_ReqQryMMOptionInstrCommRate(
10993            self,
10994            pQryMMOptionInstrCommRate,
10995            nRequestID,
10996        )
10997    }
10998    #[inline]
10999    pub unsafe fn ReqQryInstrumentOrderCommRate(
11000        &mut self,
11001        pQryInstrumentOrderCommRate: *mut CThostFtdcQryInstrumentOrderCommRateField,
11002        nRequestID: ::std::os::raw::c_int,
11003    ) -> ::std::os::raw::c_int {
11004        Rust_CThostFtdcTraderApi_ReqQryInstrumentOrderCommRate(
11005            self,
11006            pQryInstrumentOrderCommRate,
11007            nRequestID,
11008        )
11009    }
11010    #[inline]
11011    pub unsafe fn ReqQrySecAgentTradingAccount(
11012        &mut self,
11013        pQryTradingAccount: *mut CThostFtdcQryTradingAccountField,
11014        nRequestID: ::std::os::raw::c_int,
11015    ) -> ::std::os::raw::c_int {
11016        Rust_CThostFtdcTraderApi_ReqQrySecAgentTradingAccount(self, pQryTradingAccount, nRequestID)
11017    }
11018    #[inline]
11019    pub unsafe fn ReqQrySecAgentCheckMode(
11020        &mut self,
11021        pQrySecAgentCheckMode: *mut CThostFtdcQrySecAgentCheckModeField,
11022        nRequestID: ::std::os::raw::c_int,
11023    ) -> ::std::os::raw::c_int {
11024        Rust_CThostFtdcTraderApi_ReqQrySecAgentCheckMode(self, pQrySecAgentCheckMode, nRequestID)
11025    }
11026    #[inline]
11027    pub unsafe fn ReqQrySecAgentTradeInfo(
11028        &mut self,
11029        pQrySecAgentTradeInfo: *mut CThostFtdcQrySecAgentTradeInfoField,
11030        nRequestID: ::std::os::raw::c_int,
11031    ) -> ::std::os::raw::c_int {
11032        Rust_CThostFtdcTraderApi_ReqQrySecAgentTradeInfo(self, pQrySecAgentTradeInfo, nRequestID)
11033    }
11034    #[inline]
11035    pub unsafe fn ReqQryOptionInstrTradeCost(
11036        &mut self,
11037        pQryOptionInstrTradeCost: *mut CThostFtdcQryOptionInstrTradeCostField,
11038        nRequestID: ::std::os::raw::c_int,
11039    ) -> ::std::os::raw::c_int {
11040        Rust_CThostFtdcTraderApi_ReqQryOptionInstrTradeCost(
11041            self,
11042            pQryOptionInstrTradeCost,
11043            nRequestID,
11044        )
11045    }
11046    #[inline]
11047    pub unsafe fn ReqQryOptionInstrCommRate(
11048        &mut self,
11049        pQryOptionInstrCommRate: *mut CThostFtdcQryOptionInstrCommRateField,
11050        nRequestID: ::std::os::raw::c_int,
11051    ) -> ::std::os::raw::c_int {
11052        Rust_CThostFtdcTraderApi_ReqQryOptionInstrCommRate(
11053            self,
11054            pQryOptionInstrCommRate,
11055            nRequestID,
11056        )
11057    }
11058    #[inline]
11059    pub unsafe fn ReqQryExecOrder(
11060        &mut self,
11061        pQryExecOrder: *mut CThostFtdcQryExecOrderField,
11062        nRequestID: ::std::os::raw::c_int,
11063    ) -> ::std::os::raw::c_int {
11064        Rust_CThostFtdcTraderApi_ReqQryExecOrder(self, pQryExecOrder, nRequestID)
11065    }
11066    #[inline]
11067    pub unsafe fn ReqQryForQuote(
11068        &mut self,
11069        pQryForQuote: *mut CThostFtdcQryForQuoteField,
11070        nRequestID: ::std::os::raw::c_int,
11071    ) -> ::std::os::raw::c_int {
11072        Rust_CThostFtdcTraderApi_ReqQryForQuote(self, pQryForQuote, nRequestID)
11073    }
11074    #[inline]
11075    pub unsafe fn ReqQryQuote(
11076        &mut self,
11077        pQryQuote: *mut CThostFtdcQryQuoteField,
11078        nRequestID: ::std::os::raw::c_int,
11079    ) -> ::std::os::raw::c_int {
11080        Rust_CThostFtdcTraderApi_ReqQryQuote(self, pQryQuote, nRequestID)
11081    }
11082    #[inline]
11083    pub unsafe fn ReqQryOptionSelfClose(
11084        &mut self,
11085        pQryOptionSelfClose: *mut CThostFtdcQryOptionSelfCloseField,
11086        nRequestID: ::std::os::raw::c_int,
11087    ) -> ::std::os::raw::c_int {
11088        Rust_CThostFtdcTraderApi_ReqQryOptionSelfClose(self, pQryOptionSelfClose, nRequestID)
11089    }
11090    #[inline]
11091    pub unsafe fn ReqQryInvestUnit(
11092        &mut self,
11093        pQryInvestUnit: *mut CThostFtdcQryInvestUnitField,
11094        nRequestID: ::std::os::raw::c_int,
11095    ) -> ::std::os::raw::c_int {
11096        Rust_CThostFtdcTraderApi_ReqQryInvestUnit(self, pQryInvestUnit, nRequestID)
11097    }
11098    #[inline]
11099    pub unsafe fn ReqQryCombInstrumentGuard(
11100        &mut self,
11101        pQryCombInstrumentGuard: *mut CThostFtdcQryCombInstrumentGuardField,
11102        nRequestID: ::std::os::raw::c_int,
11103    ) -> ::std::os::raw::c_int {
11104        Rust_CThostFtdcTraderApi_ReqQryCombInstrumentGuard(
11105            self,
11106            pQryCombInstrumentGuard,
11107            nRequestID,
11108        )
11109    }
11110    #[inline]
11111    pub unsafe fn ReqQryCombAction(
11112        &mut self,
11113        pQryCombAction: *mut CThostFtdcQryCombActionField,
11114        nRequestID: ::std::os::raw::c_int,
11115    ) -> ::std::os::raw::c_int {
11116        Rust_CThostFtdcTraderApi_ReqQryCombAction(self, pQryCombAction, nRequestID)
11117    }
11118    #[inline]
11119    pub unsafe fn ReqQryTransferSerial(
11120        &mut self,
11121        pQryTransferSerial: *mut CThostFtdcQryTransferSerialField,
11122        nRequestID: ::std::os::raw::c_int,
11123    ) -> ::std::os::raw::c_int {
11124        Rust_CThostFtdcTraderApi_ReqQryTransferSerial(self, pQryTransferSerial, nRequestID)
11125    }
11126    #[inline]
11127    pub unsafe fn ReqQryAccountregister(
11128        &mut self,
11129        pQryAccountregister: *mut CThostFtdcQryAccountregisterField,
11130        nRequestID: ::std::os::raw::c_int,
11131    ) -> ::std::os::raw::c_int {
11132        Rust_CThostFtdcTraderApi_ReqQryAccountregister(self, pQryAccountregister, nRequestID)
11133    }
11134    #[inline]
11135    pub unsafe fn ReqQryContractBank(
11136        &mut self,
11137        pQryContractBank: *mut CThostFtdcQryContractBankField,
11138        nRequestID: ::std::os::raw::c_int,
11139    ) -> ::std::os::raw::c_int {
11140        Rust_CThostFtdcTraderApi_ReqQryContractBank(self, pQryContractBank, nRequestID)
11141    }
11142    #[inline]
11143    pub unsafe fn ReqQryParkedOrder(
11144        &mut self,
11145        pQryParkedOrder: *mut CThostFtdcQryParkedOrderField,
11146        nRequestID: ::std::os::raw::c_int,
11147    ) -> ::std::os::raw::c_int {
11148        Rust_CThostFtdcTraderApi_ReqQryParkedOrder(self, pQryParkedOrder, nRequestID)
11149    }
11150    #[inline]
11151    pub unsafe fn ReqQryParkedOrderAction(
11152        &mut self,
11153        pQryParkedOrderAction: *mut CThostFtdcQryParkedOrderActionField,
11154        nRequestID: ::std::os::raw::c_int,
11155    ) -> ::std::os::raw::c_int {
11156        Rust_CThostFtdcTraderApi_ReqQryParkedOrderAction(self, pQryParkedOrderAction, nRequestID)
11157    }
11158    #[inline]
11159    pub unsafe fn ReqQryTradingNotice(
11160        &mut self,
11161        pQryTradingNotice: *mut CThostFtdcQryTradingNoticeField,
11162        nRequestID: ::std::os::raw::c_int,
11163    ) -> ::std::os::raw::c_int {
11164        Rust_CThostFtdcTraderApi_ReqQryTradingNotice(self, pQryTradingNotice, nRequestID)
11165    }
11166    #[inline]
11167    pub unsafe fn ReqQryBrokerTradingParams(
11168        &mut self,
11169        pQryBrokerTradingParams: *mut CThostFtdcQryBrokerTradingParamsField,
11170        nRequestID: ::std::os::raw::c_int,
11171    ) -> ::std::os::raw::c_int {
11172        Rust_CThostFtdcTraderApi_ReqQryBrokerTradingParams(
11173            self,
11174            pQryBrokerTradingParams,
11175            nRequestID,
11176        )
11177    }
11178    #[inline]
11179    pub unsafe fn ReqQryBrokerTradingAlgos(
11180        &mut self,
11181        pQryBrokerTradingAlgos: *mut CThostFtdcQryBrokerTradingAlgosField,
11182        nRequestID: ::std::os::raw::c_int,
11183    ) -> ::std::os::raw::c_int {
11184        Rust_CThostFtdcTraderApi_ReqQryBrokerTradingAlgos(self, pQryBrokerTradingAlgos, nRequestID)
11185    }
11186    #[inline]
11187    pub unsafe fn ReqQueryCFMMCTradingAccountToken(
11188        &mut self,
11189        pQueryCFMMCTradingAccountToken: *mut CThostFtdcQueryCFMMCTradingAccountTokenField,
11190        nRequestID: ::std::os::raw::c_int,
11191    ) -> ::std::os::raw::c_int {
11192        Rust_CThostFtdcTraderApi_ReqQueryCFMMCTradingAccountToken(
11193            self,
11194            pQueryCFMMCTradingAccountToken,
11195            nRequestID,
11196        )
11197    }
11198    #[inline]
11199    pub unsafe fn ReqFromBankToFutureByFuture(
11200        &mut self,
11201        pReqTransfer: *mut CThostFtdcReqTransferField,
11202        nRequestID: ::std::os::raw::c_int,
11203    ) -> ::std::os::raw::c_int {
11204        Rust_CThostFtdcTraderApi_ReqFromBankToFutureByFuture(self, pReqTransfer, nRequestID)
11205    }
11206    #[inline]
11207    pub unsafe fn ReqFromFutureToBankByFuture(
11208        &mut self,
11209        pReqTransfer: *mut CThostFtdcReqTransferField,
11210        nRequestID: ::std::os::raw::c_int,
11211    ) -> ::std::os::raw::c_int {
11212        Rust_CThostFtdcTraderApi_ReqFromFutureToBankByFuture(self, pReqTransfer, nRequestID)
11213    }
11214    #[inline]
11215    pub unsafe fn ReqQueryBankAccountMoneyByFuture(
11216        &mut self,
11217        pReqQueryAccount: *mut CThostFtdcReqQueryAccountField,
11218        nRequestID: ::std::os::raw::c_int,
11219    ) -> ::std::os::raw::c_int {
11220        Rust_CThostFtdcTraderApi_ReqQueryBankAccountMoneyByFuture(
11221            self,
11222            pReqQueryAccount,
11223            nRequestID,
11224        )
11225    }
11226    #[inline]
11227    pub unsafe fn ReqQryClassifiedInstrument(
11228        &mut self,
11229        pQryClassifiedInstrument: *mut CThostFtdcQryClassifiedInstrumentField,
11230        nRequestID: ::std::os::raw::c_int,
11231    ) -> ::std::os::raw::c_int {
11232        Rust_CThostFtdcTraderApi_ReqQryClassifiedInstrument(
11233            self,
11234            pQryClassifiedInstrument,
11235            nRequestID,
11236        )
11237    }
11238    #[inline]
11239    pub unsafe fn ReqQryCombPromotionParam(
11240        &mut self,
11241        pQryCombPromotionParam: *mut CThostFtdcQryCombPromotionParamField,
11242        nRequestID: ::std::os::raw::c_int,
11243    ) -> ::std::os::raw::c_int {
11244        Rust_CThostFtdcTraderApi_ReqQryCombPromotionParam(self, pQryCombPromotionParam, nRequestID)
11245    }
11246    #[inline]
11247    pub unsafe fn ReqQryRiskSettleInvstPosition(
11248        &mut self,
11249        pQryRiskSettleInvstPosition: *mut CThostFtdcQryRiskSettleInvstPositionField,
11250        nRequestID: ::std::os::raw::c_int,
11251    ) -> ::std::os::raw::c_int {
11252        Rust_CThostFtdcTraderApi_ReqQryRiskSettleInvstPosition(
11253            self,
11254            pQryRiskSettleInvstPosition,
11255            nRequestID,
11256        )
11257    }
11258    #[inline]
11259    pub unsafe fn ReqQryRiskSettleProductStatus(
11260        &mut self,
11261        pQryRiskSettleProductStatus: *mut CThostFtdcQryRiskSettleProductStatusField,
11262        nRequestID: ::std::os::raw::c_int,
11263    ) -> ::std::os::raw::c_int {
11264        Rust_CThostFtdcTraderApi_ReqQryRiskSettleProductStatus(
11265            self,
11266            pQryRiskSettleProductStatus,
11267            nRequestID,
11268        )
11269    }
11270    #[inline]
11271    pub unsafe fn ReqQrySPBMFutureParameter(
11272        &mut self,
11273        pQrySPBMFutureParameter: *mut CThostFtdcQrySPBMFutureParameterField,
11274        nRequestID: ::std::os::raw::c_int,
11275    ) -> ::std::os::raw::c_int {
11276        Rust_CThostFtdcTraderApi_ReqQrySPBMFutureParameter(
11277            self,
11278            pQrySPBMFutureParameter,
11279            nRequestID,
11280        )
11281    }
11282    #[inline]
11283    pub unsafe fn ReqQrySPBMOptionParameter(
11284        &mut self,
11285        pQrySPBMOptionParameter: *mut CThostFtdcQrySPBMOptionParameterField,
11286        nRequestID: ::std::os::raw::c_int,
11287    ) -> ::std::os::raw::c_int {
11288        Rust_CThostFtdcTraderApi_ReqQrySPBMOptionParameter(
11289            self,
11290            pQrySPBMOptionParameter,
11291            nRequestID,
11292        )
11293    }
11294    #[inline]
11295    pub unsafe fn ReqQrySPBMIntraParameter(
11296        &mut self,
11297        pQrySPBMIntraParameter: *mut CThostFtdcQrySPBMIntraParameterField,
11298        nRequestID: ::std::os::raw::c_int,
11299    ) -> ::std::os::raw::c_int {
11300        Rust_CThostFtdcTraderApi_ReqQrySPBMIntraParameter(self, pQrySPBMIntraParameter, nRequestID)
11301    }
11302    #[inline]
11303    pub unsafe fn ReqQrySPBMInterParameter(
11304        &mut self,
11305        pQrySPBMInterParameter: *mut CThostFtdcQrySPBMInterParameterField,
11306        nRequestID: ::std::os::raw::c_int,
11307    ) -> ::std::os::raw::c_int {
11308        Rust_CThostFtdcTraderApi_ReqQrySPBMInterParameter(self, pQrySPBMInterParameter, nRequestID)
11309    }
11310    #[inline]
11311    pub unsafe fn ReqQrySPBMPortfDefinition(
11312        &mut self,
11313        pQrySPBMPortfDefinition: *mut CThostFtdcQrySPBMPortfDefinitionField,
11314        nRequestID: ::std::os::raw::c_int,
11315    ) -> ::std::os::raw::c_int {
11316        Rust_CThostFtdcTraderApi_ReqQrySPBMPortfDefinition(
11317            self,
11318            pQrySPBMPortfDefinition,
11319            nRequestID,
11320        )
11321    }
11322    #[inline]
11323    pub unsafe fn ReqQrySPBMInvestorPortfDef(
11324        &mut self,
11325        pQrySPBMInvestorPortfDef: *mut CThostFtdcQrySPBMInvestorPortfDefField,
11326        nRequestID: ::std::os::raw::c_int,
11327    ) -> ::std::os::raw::c_int {
11328        Rust_CThostFtdcTraderApi_ReqQrySPBMInvestorPortfDef(
11329            self,
11330            pQrySPBMInvestorPortfDef,
11331            nRequestID,
11332        )
11333    }
11334    #[inline]
11335    pub unsafe fn ReqQryInvestorPortfMarginRatio(
11336        &mut self,
11337        pQryInvestorPortfMarginRatio: *mut CThostFtdcQryInvestorPortfMarginRatioField,
11338        nRequestID: ::std::os::raw::c_int,
11339    ) -> ::std::os::raw::c_int {
11340        Rust_CThostFtdcTraderApi_ReqQryInvestorPortfMarginRatio(
11341            self,
11342            pQryInvestorPortfMarginRatio,
11343            nRequestID,
11344        )
11345    }
11346    #[inline]
11347    pub unsafe fn ReqQryInvestorProdSPBMDetail(
11348        &mut self,
11349        pQryInvestorProdSPBMDetail: *mut CThostFtdcQryInvestorProdSPBMDetailField,
11350        nRequestID: ::std::os::raw::c_int,
11351    ) -> ::std::os::raw::c_int {
11352        Rust_CThostFtdcTraderApi_ReqQryInvestorProdSPBMDetail(
11353            self,
11354            pQryInvestorProdSPBMDetail,
11355            nRequestID,
11356        )
11357    }
11358    #[inline]
11359    pub unsafe fn ReqQryInvestorCommoditySPMMMargin(
11360        &mut self,
11361        pQryInvestorCommoditySPMMMargin: *mut CThostFtdcQryInvestorCommoditySPMMMarginField,
11362        nRequestID: ::std::os::raw::c_int,
11363    ) -> ::std::os::raw::c_int {
11364        Rust_CThostFtdcTraderApi_ReqQryInvestorCommoditySPMMMargin(
11365            self,
11366            pQryInvestorCommoditySPMMMargin,
11367            nRequestID,
11368        )
11369    }
11370    #[inline]
11371    pub unsafe fn ReqQryInvestorCommodityGroupSPMMMargin(
11372        &mut self,
11373        pQryInvestorCommodityGroupSPMMMargin : * mut CThostFtdcQryInvestorCommodityGroupSPMMMarginField,
11374        nRequestID: ::std::os::raw::c_int,
11375    ) -> ::std::os::raw::c_int {
11376        Rust_CThostFtdcTraderApi_ReqQryInvestorCommodityGroupSPMMMargin(
11377            self,
11378            pQryInvestorCommodityGroupSPMMMargin,
11379            nRequestID,
11380        )
11381    }
11382    #[inline]
11383    pub unsafe fn ReqQrySPMMInstParam(
11384        &mut self,
11385        pQrySPMMInstParam: *mut CThostFtdcQrySPMMInstParamField,
11386        nRequestID: ::std::os::raw::c_int,
11387    ) -> ::std::os::raw::c_int {
11388        Rust_CThostFtdcTraderApi_ReqQrySPMMInstParam(self, pQrySPMMInstParam, nRequestID)
11389    }
11390    #[inline]
11391    pub unsafe fn ReqQrySPMMProductParam(
11392        &mut self,
11393        pQrySPMMProductParam: *mut CThostFtdcQrySPMMProductParamField,
11394        nRequestID: ::std::os::raw::c_int,
11395    ) -> ::std::os::raw::c_int {
11396        Rust_CThostFtdcTraderApi_ReqQrySPMMProductParam(self, pQrySPMMProductParam, nRequestID)
11397    }
11398    #[inline]
11399    pub unsafe fn ReqQrySPBMAddOnInterParameter(
11400        &mut self,
11401        pQrySPBMAddOnInterParameter: *mut CThostFtdcQrySPBMAddOnInterParameterField,
11402        nRequestID: ::std::os::raw::c_int,
11403    ) -> ::std::os::raw::c_int {
11404        Rust_CThostFtdcTraderApi_ReqQrySPBMAddOnInterParameter(
11405            self,
11406            pQrySPBMAddOnInterParameter,
11407            nRequestID,
11408        )
11409    }
11410    #[inline]
11411    pub unsafe fn ReqQryRCAMSCombProductInfo(
11412        &mut self,
11413        pQryRCAMSCombProductInfo: *mut CThostFtdcQryRCAMSCombProductInfoField,
11414        nRequestID: ::std::os::raw::c_int,
11415    ) -> ::std::os::raw::c_int {
11416        Rust_CThostFtdcTraderApi_ReqQryRCAMSCombProductInfo(
11417            self,
11418            pQryRCAMSCombProductInfo,
11419            nRequestID,
11420        )
11421    }
11422    #[inline]
11423    pub unsafe fn ReqQryRCAMSInstrParameter(
11424        &mut self,
11425        pQryRCAMSInstrParameter: *mut CThostFtdcQryRCAMSInstrParameterField,
11426        nRequestID: ::std::os::raw::c_int,
11427    ) -> ::std::os::raw::c_int {
11428        Rust_CThostFtdcTraderApi_ReqQryRCAMSInstrParameter(
11429            self,
11430            pQryRCAMSInstrParameter,
11431            nRequestID,
11432        )
11433    }
11434    #[inline]
11435    pub unsafe fn ReqQryRCAMSIntraParameter(
11436        &mut self,
11437        pQryRCAMSIntraParameter: *mut CThostFtdcQryRCAMSIntraParameterField,
11438        nRequestID: ::std::os::raw::c_int,
11439    ) -> ::std::os::raw::c_int {
11440        Rust_CThostFtdcTraderApi_ReqQryRCAMSIntraParameter(
11441            self,
11442            pQryRCAMSIntraParameter,
11443            nRequestID,
11444        )
11445    }
11446    #[inline]
11447    pub unsafe fn ReqQryRCAMSInterParameter(
11448        &mut self,
11449        pQryRCAMSInterParameter: *mut CThostFtdcQryRCAMSInterParameterField,
11450        nRequestID: ::std::os::raw::c_int,
11451    ) -> ::std::os::raw::c_int {
11452        Rust_CThostFtdcTraderApi_ReqQryRCAMSInterParameter(
11453            self,
11454            pQryRCAMSInterParameter,
11455            nRequestID,
11456        )
11457    }
11458    #[inline]
11459    pub unsafe fn ReqQryRCAMSShortOptAdjustParam(
11460        &mut self,
11461        pQryRCAMSShortOptAdjustParam: *mut CThostFtdcQryRCAMSShortOptAdjustParamField,
11462        nRequestID: ::std::os::raw::c_int,
11463    ) -> ::std::os::raw::c_int {
11464        Rust_CThostFtdcTraderApi_ReqQryRCAMSShortOptAdjustParam(
11465            self,
11466            pQryRCAMSShortOptAdjustParam,
11467            nRequestID,
11468        )
11469    }
11470    #[inline]
11471    pub unsafe fn ReqQryRCAMSInvestorCombPosition(
11472        &mut self,
11473        pQryRCAMSInvestorCombPosition: *mut CThostFtdcQryRCAMSInvestorCombPositionField,
11474        nRequestID: ::std::os::raw::c_int,
11475    ) -> ::std::os::raw::c_int {
11476        Rust_CThostFtdcTraderApi_ReqQryRCAMSInvestorCombPosition(
11477            self,
11478            pQryRCAMSInvestorCombPosition,
11479            nRequestID,
11480        )
11481    }
11482    #[inline]
11483    pub unsafe fn ReqQryInvestorProdRCAMSMargin(
11484        &mut self,
11485        pQryInvestorProdRCAMSMargin: *mut CThostFtdcQryInvestorProdRCAMSMarginField,
11486        nRequestID: ::std::os::raw::c_int,
11487    ) -> ::std::os::raw::c_int {
11488        Rust_CThostFtdcTraderApi_ReqQryInvestorProdRCAMSMargin(
11489            self,
11490            pQryInvestorProdRCAMSMargin,
11491            nRequestID,
11492        )
11493    }
11494    #[inline]
11495    pub unsafe fn ReqQryRULEInstrParameter(
11496        &mut self,
11497        pQryRULEInstrParameter: *mut CThostFtdcQryRULEInstrParameterField,
11498        nRequestID: ::std::os::raw::c_int,
11499    ) -> ::std::os::raw::c_int {
11500        Rust_CThostFtdcTraderApi_ReqQryRULEInstrParameter(self, pQryRULEInstrParameter, nRequestID)
11501    }
11502    #[inline]
11503    pub unsafe fn ReqQryRULEIntraParameter(
11504        &mut self,
11505        pQryRULEIntraParameter: *mut CThostFtdcQryRULEIntraParameterField,
11506        nRequestID: ::std::os::raw::c_int,
11507    ) -> ::std::os::raw::c_int {
11508        Rust_CThostFtdcTraderApi_ReqQryRULEIntraParameter(self, pQryRULEIntraParameter, nRequestID)
11509    }
11510    #[inline]
11511    pub unsafe fn ReqQryRULEInterParameter(
11512        &mut self,
11513        pQryRULEInterParameter: *mut CThostFtdcQryRULEInterParameterField,
11514        nRequestID: ::std::os::raw::c_int,
11515    ) -> ::std::os::raw::c_int {
11516        Rust_CThostFtdcTraderApi_ReqQryRULEInterParameter(self, pQryRULEInterParameter, nRequestID)
11517    }
11518    #[inline]
11519    pub unsafe fn ReqQryInvestorProdRULEMargin(
11520        &mut self,
11521        pQryInvestorProdRULEMargin: *mut CThostFtdcQryInvestorProdRULEMarginField,
11522        nRequestID: ::std::os::raw::c_int,
11523    ) -> ::std::os::raw::c_int {
11524        Rust_CThostFtdcTraderApi_ReqQryInvestorProdRULEMargin(
11525            self,
11526            pQryInvestorProdRULEMargin,
11527            nRequestID,
11528        )
11529    }
11530    #[inline]
11531    pub unsafe fn new(member: *mut CThostFtdcTraderApi) -> Self {
11532        let mut __bindgen_tmp = ::std::mem::MaybeUninit::uninit();
11533        Rust_CThostFtdcTraderApi_Rust_CThostFtdcTraderApi(__bindgen_tmp.as_mut_ptr(), member);
11534        __bindgen_tmp.assume_init()
11535    }
11536    #[inline]
11537    pub unsafe fn destruct(&mut self) {
11538        Rust_CThostFtdcTraderApi_Rust_CThostFtdcTraderApi_destructor(self)
11539    }
11540}
11541#[repr(C)]
11542#[derive(Debug)]
11543pub struct Rust_CThostFtdcTraderSpi {
11544    pub _base: CThostFtdcTraderSpi,
11545    pub m_rust: *mut ::std::os::raw::c_void,
11546}
11547extern "C" {
11548    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpiC1EPv"]
11549    pub fn Rust_CThostFtdcTraderSpi_Rust_CThostFtdcTraderSpi(
11550        this: *mut Rust_CThostFtdcTraderSpi,
11551        rust: *mut ::std::os::raw::c_void,
11552    );
11553}
11554extern "C" {
11555    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpiD1Ev"]
11556    pub fn Rust_CThostFtdcTraderSpi_Rust_CThostFtdcTraderSpi_destructor(
11557        this: *mut Rust_CThostFtdcTraderSpi,
11558    );
11559}
11560impl Rust_CThostFtdcTraderSpi {
11561    #[inline]
11562    pub unsafe fn new(rust: *mut ::std::os::raw::c_void) -> Self {
11563        let mut __bindgen_tmp = ::std::mem::MaybeUninit::uninit();
11564        Rust_CThostFtdcTraderSpi_Rust_CThostFtdcTraderSpi(__bindgen_tmp.as_mut_ptr(), rust);
11565        __bindgen_tmp.assume_init()
11566    }
11567    #[inline]
11568    pub unsafe fn destruct(&mut self) {
11569        Rust_CThostFtdcTraderSpi_Rust_CThostFtdcTraderSpi_destructor(self)
11570    }
11571}
11572extern "C" {
11573    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi16OnFrontConnectedEv"]
11574    pub fn Rust_CThostFtdcTraderSpi_OnFrontConnected(this: *mut ::std::os::raw::c_void);
11575}
11576extern "C" {
11577    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi19OnFrontDisconnectedEi"]
11578    pub fn Rust_CThostFtdcTraderSpi_OnFrontDisconnected(
11579        this: *mut ::std::os::raw::c_void,
11580        nReason: ::std::os::raw::c_int,
11581    );
11582}
11583extern "C" {
11584    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi18OnHeartBeatWarningEi"]
11585    pub fn Rust_CThostFtdcTraderSpi_OnHeartBeatWarning(
11586        this: *mut ::std::os::raw::c_void,
11587        nTimeLapse: ::std::os::raw::c_int,
11588    );
11589}
11590extern "C" {
11591    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi17OnRspAuthenticateEP30CThostFtdcRspAuthenticateFieldP22CThostFtdcRspInfoFieldib"]
11592    pub fn Rust_CThostFtdcTraderSpi_OnRspAuthenticate(
11593        this: *mut ::std::os::raw::c_void,
11594        pRspAuthenticateField: *mut CThostFtdcRspAuthenticateField,
11595        pRspInfo: *mut CThostFtdcRspInfoField,
11596        nRequestID: ::std::os::raw::c_int,
11597        bIsLast: bool,
11598    );
11599}
11600extern "C" {
11601    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi14OnRspUserLoginEP27CThostFtdcRspUserLoginFieldP22CThostFtdcRspInfoFieldib"]
11602    pub fn Rust_CThostFtdcTraderSpi_OnRspUserLogin(
11603        this: *mut ::std::os::raw::c_void,
11604        pRspUserLogin: *mut CThostFtdcRspUserLoginField,
11605        pRspInfo: *mut CThostFtdcRspInfoField,
11606        nRequestID: ::std::os::raw::c_int,
11607        bIsLast: bool,
11608    );
11609}
11610extern "C" {
11611    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi15OnRspUserLogoutEP25CThostFtdcUserLogoutFieldP22CThostFtdcRspInfoFieldib"]
11612    pub fn Rust_CThostFtdcTraderSpi_OnRspUserLogout(
11613        this: *mut ::std::os::raw::c_void,
11614        pUserLogout: *mut CThostFtdcUserLogoutField,
11615        pRspInfo: *mut CThostFtdcRspInfoField,
11616        nRequestID: ::std::os::raw::c_int,
11617        bIsLast: bool,
11618    );
11619}
11620extern "C" {
11621    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi23OnRspUserPasswordUpdateEP33CThostFtdcUserPasswordUpdateFieldP22CThostFtdcRspInfoFieldib"]
11622    pub fn Rust_CThostFtdcTraderSpi_OnRspUserPasswordUpdate(
11623        this: *mut ::std::os::raw::c_void,
11624        pUserPasswordUpdate: *mut CThostFtdcUserPasswordUpdateField,
11625        pRspInfo: *mut CThostFtdcRspInfoField,
11626        nRequestID: ::std::os::raw::c_int,
11627        bIsLast: bool,
11628    );
11629}
11630extern "C" {
11631    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi33OnRspTradingAccountPasswordUpdateEP43CThostFtdcTradingAccountPasswordUpdateFieldP22CThostFtdcRspInfoFieldib"]
11632    pub fn Rust_CThostFtdcTraderSpi_OnRspTradingAccountPasswordUpdate(
11633        this: *mut ::std::os::raw::c_void,
11634        pTradingAccountPasswordUpdate: *mut CThostFtdcTradingAccountPasswordUpdateField,
11635        pRspInfo: *mut CThostFtdcRspInfoField,
11636        nRequestID: ::std::os::raw::c_int,
11637        bIsLast: bool,
11638    );
11639}
11640extern "C" {
11641    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi19OnRspUserAuthMethodEP32CThostFtdcRspUserAuthMethodFieldP22CThostFtdcRspInfoFieldib"]
11642    pub fn Rust_CThostFtdcTraderSpi_OnRspUserAuthMethod(
11643        this: *mut ::std::os::raw::c_void,
11644        pRspUserAuthMethod: *mut CThostFtdcRspUserAuthMethodField,
11645        pRspInfo: *mut CThostFtdcRspInfoField,
11646        nRequestID: ::std::os::raw::c_int,
11647        bIsLast: bool,
11648    );
11649}
11650extern "C" {
11651    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi19OnRspGenUserCaptchaEP32CThostFtdcRspGenUserCaptchaFieldP22CThostFtdcRspInfoFieldib"]
11652    pub fn Rust_CThostFtdcTraderSpi_OnRspGenUserCaptcha(
11653        this: *mut ::std::os::raw::c_void,
11654        pRspGenUserCaptcha: *mut CThostFtdcRspGenUserCaptchaField,
11655        pRspInfo: *mut CThostFtdcRspInfoField,
11656        nRequestID: ::std::os::raw::c_int,
11657        bIsLast: bool,
11658    );
11659}
11660extern "C" {
11661    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi16OnRspGenUserTextEP29CThostFtdcRspGenUserTextFieldP22CThostFtdcRspInfoFieldib"]
11662    pub fn Rust_CThostFtdcTraderSpi_OnRspGenUserText(
11663        this: *mut ::std::os::raw::c_void,
11664        pRspGenUserText: *mut CThostFtdcRspGenUserTextField,
11665        pRspInfo: *mut CThostFtdcRspInfoField,
11666        nRequestID: ::std::os::raw::c_int,
11667        bIsLast: bool,
11668    );
11669}
11670extern "C" {
11671    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi16OnRspOrderInsertEP25CThostFtdcInputOrderFieldP22CThostFtdcRspInfoFieldib"]
11672    pub fn Rust_CThostFtdcTraderSpi_OnRspOrderInsert(
11673        this: *mut ::std::os::raw::c_void,
11674        pInputOrder: *mut CThostFtdcInputOrderField,
11675        pRspInfo: *mut CThostFtdcRspInfoField,
11676        nRequestID: ::std::os::raw::c_int,
11677        bIsLast: bool,
11678    );
11679}
11680extern "C" {
11681    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi22OnRspParkedOrderInsertEP26CThostFtdcParkedOrderFieldP22CThostFtdcRspInfoFieldib"]
11682    pub fn Rust_CThostFtdcTraderSpi_OnRspParkedOrderInsert(
11683        this: *mut ::std::os::raw::c_void,
11684        pParkedOrder: *mut CThostFtdcParkedOrderField,
11685        pRspInfo: *mut CThostFtdcRspInfoField,
11686        nRequestID: ::std::os::raw::c_int,
11687        bIsLast: bool,
11688    );
11689}
11690extern "C" {
11691    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi22OnRspParkedOrderActionEP32CThostFtdcParkedOrderActionFieldP22CThostFtdcRspInfoFieldib"]
11692    pub fn Rust_CThostFtdcTraderSpi_OnRspParkedOrderAction(
11693        this: *mut ::std::os::raw::c_void,
11694        pParkedOrderAction: *mut CThostFtdcParkedOrderActionField,
11695        pRspInfo: *mut CThostFtdcRspInfoField,
11696        nRequestID: ::std::os::raw::c_int,
11697        bIsLast: bool,
11698    );
11699}
11700extern "C" {
11701    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi16OnRspOrderActionEP31CThostFtdcInputOrderActionFieldP22CThostFtdcRspInfoFieldib"]
11702    pub fn Rust_CThostFtdcTraderSpi_OnRspOrderAction(
11703        this: *mut ::std::os::raw::c_void,
11704        pInputOrderAction: *mut CThostFtdcInputOrderActionField,
11705        pRspInfo: *mut CThostFtdcRspInfoField,
11706        nRequestID: ::std::os::raw::c_int,
11707        bIsLast: bool,
11708    );
11709}
11710extern "C" {
11711    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi22OnRspQryMaxOrderVolumeEP32CThostFtdcQryMaxOrderVolumeFieldP22CThostFtdcRspInfoFieldib"]
11712    pub fn Rust_CThostFtdcTraderSpi_OnRspQryMaxOrderVolume(
11713        this: *mut ::std::os::raw::c_void,
11714        pQryMaxOrderVolume: *mut CThostFtdcQryMaxOrderVolumeField,
11715        pRspInfo: *mut CThostFtdcRspInfoField,
11716        nRequestID: ::std::os::raw::c_int,
11717        bIsLast: bool,
11718    );
11719}
11720extern "C" {
11721    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi26OnRspSettlementInfoConfirmEP36CThostFtdcSettlementInfoConfirmFieldP22CThostFtdcRspInfoFieldib"]
11722    pub fn Rust_CThostFtdcTraderSpi_OnRspSettlementInfoConfirm(
11723        this: *mut ::std::os::raw::c_void,
11724        pSettlementInfoConfirm: *mut CThostFtdcSettlementInfoConfirmField,
11725        pRspInfo: *mut CThostFtdcRspInfoField,
11726        nRequestID: ::std::os::raw::c_int,
11727        bIsLast: bool,
11728    );
11729}
11730extern "C" {
11731    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi22OnRspRemoveParkedOrderEP32CThostFtdcRemoveParkedOrderFieldP22CThostFtdcRspInfoFieldib"]
11732    pub fn Rust_CThostFtdcTraderSpi_OnRspRemoveParkedOrder(
11733        this: *mut ::std::os::raw::c_void,
11734        pRemoveParkedOrder: *mut CThostFtdcRemoveParkedOrderField,
11735        pRspInfo: *mut CThostFtdcRspInfoField,
11736        nRequestID: ::std::os::raw::c_int,
11737        bIsLast: bool,
11738    );
11739}
11740extern "C" {
11741    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi28OnRspRemoveParkedOrderActionEP38CThostFtdcRemoveParkedOrderActionFieldP22CThostFtdcRspInfoFieldib"]
11742    pub fn Rust_CThostFtdcTraderSpi_OnRspRemoveParkedOrderAction(
11743        this: *mut ::std::os::raw::c_void,
11744        pRemoveParkedOrderAction: *mut CThostFtdcRemoveParkedOrderActionField,
11745        pRspInfo: *mut CThostFtdcRspInfoField,
11746        nRequestID: ::std::os::raw::c_int,
11747        bIsLast: bool,
11748    );
11749}
11750extern "C" {
11751    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi20OnRspExecOrderInsertEP29CThostFtdcInputExecOrderFieldP22CThostFtdcRspInfoFieldib"]
11752    pub fn Rust_CThostFtdcTraderSpi_OnRspExecOrderInsert(
11753        this: *mut ::std::os::raw::c_void,
11754        pInputExecOrder: *mut CThostFtdcInputExecOrderField,
11755        pRspInfo: *mut CThostFtdcRspInfoField,
11756        nRequestID: ::std::os::raw::c_int,
11757        bIsLast: bool,
11758    );
11759}
11760extern "C" {
11761    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi20OnRspExecOrderActionEP35CThostFtdcInputExecOrderActionFieldP22CThostFtdcRspInfoFieldib"]
11762    pub fn Rust_CThostFtdcTraderSpi_OnRspExecOrderAction(
11763        this: *mut ::std::os::raw::c_void,
11764        pInputExecOrderAction: *mut CThostFtdcInputExecOrderActionField,
11765        pRspInfo: *mut CThostFtdcRspInfoField,
11766        nRequestID: ::std::os::raw::c_int,
11767        bIsLast: bool,
11768    );
11769}
11770extern "C" {
11771    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi19OnRspForQuoteInsertEP28CThostFtdcInputForQuoteFieldP22CThostFtdcRspInfoFieldib"]
11772    pub fn Rust_CThostFtdcTraderSpi_OnRspForQuoteInsert(
11773        this: *mut ::std::os::raw::c_void,
11774        pInputForQuote: *mut CThostFtdcInputForQuoteField,
11775        pRspInfo: *mut CThostFtdcRspInfoField,
11776        nRequestID: ::std::os::raw::c_int,
11777        bIsLast: bool,
11778    );
11779}
11780extern "C" {
11781    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi16OnRspQuoteInsertEP25CThostFtdcInputQuoteFieldP22CThostFtdcRspInfoFieldib"]
11782    pub fn Rust_CThostFtdcTraderSpi_OnRspQuoteInsert(
11783        this: *mut ::std::os::raw::c_void,
11784        pInputQuote: *mut CThostFtdcInputQuoteField,
11785        pRspInfo: *mut CThostFtdcRspInfoField,
11786        nRequestID: ::std::os::raw::c_int,
11787        bIsLast: bool,
11788    );
11789}
11790extern "C" {
11791    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi16OnRspQuoteActionEP31CThostFtdcInputQuoteActionFieldP22CThostFtdcRspInfoFieldib"]
11792    pub fn Rust_CThostFtdcTraderSpi_OnRspQuoteAction(
11793        this: *mut ::std::os::raw::c_void,
11794        pInputQuoteAction: *mut CThostFtdcInputQuoteActionField,
11795        pRspInfo: *mut CThostFtdcRspInfoField,
11796        nRequestID: ::std::os::raw::c_int,
11797        bIsLast: bool,
11798    );
11799}
11800extern "C" {
11801    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi21OnRspBatchOrderActionEP36CThostFtdcInputBatchOrderActionFieldP22CThostFtdcRspInfoFieldib"]
11802    pub fn Rust_CThostFtdcTraderSpi_OnRspBatchOrderAction(
11803        this: *mut ::std::os::raw::c_void,
11804        pInputBatchOrderAction: *mut CThostFtdcInputBatchOrderActionField,
11805        pRspInfo: *mut CThostFtdcRspInfoField,
11806        nRequestID: ::std::os::raw::c_int,
11807        bIsLast: bool,
11808    );
11809}
11810extern "C" {
11811    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi26OnRspOptionSelfCloseInsertEP35CThostFtdcInputOptionSelfCloseFieldP22CThostFtdcRspInfoFieldib"]
11812    pub fn Rust_CThostFtdcTraderSpi_OnRspOptionSelfCloseInsert(
11813        this: *mut ::std::os::raw::c_void,
11814        pInputOptionSelfClose: *mut CThostFtdcInputOptionSelfCloseField,
11815        pRspInfo: *mut CThostFtdcRspInfoField,
11816        nRequestID: ::std::os::raw::c_int,
11817        bIsLast: bool,
11818    );
11819}
11820extern "C" {
11821    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi26OnRspOptionSelfCloseActionEP41CThostFtdcInputOptionSelfCloseActionFieldP22CThostFtdcRspInfoFieldib"]
11822    pub fn Rust_CThostFtdcTraderSpi_OnRspOptionSelfCloseAction(
11823        this: *mut ::std::os::raw::c_void,
11824        pInputOptionSelfCloseAction: *mut CThostFtdcInputOptionSelfCloseActionField,
11825        pRspInfo: *mut CThostFtdcRspInfoField,
11826        nRequestID: ::std::os::raw::c_int,
11827        bIsLast: bool,
11828    );
11829}
11830extern "C" {
11831    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi21OnRspCombActionInsertEP30CThostFtdcInputCombActionFieldP22CThostFtdcRspInfoFieldib"]
11832    pub fn Rust_CThostFtdcTraderSpi_OnRspCombActionInsert(
11833        this: *mut ::std::os::raw::c_void,
11834        pInputCombAction: *mut CThostFtdcInputCombActionField,
11835        pRspInfo: *mut CThostFtdcRspInfoField,
11836        nRequestID: ::std::os::raw::c_int,
11837        bIsLast: bool,
11838    );
11839}
11840extern "C" {
11841    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi13OnRspQryOrderEP20CThostFtdcOrderFieldP22CThostFtdcRspInfoFieldib"]
11842    pub fn Rust_CThostFtdcTraderSpi_OnRspQryOrder(
11843        this: *mut ::std::os::raw::c_void,
11844        pOrder: *mut CThostFtdcOrderField,
11845        pRspInfo: *mut CThostFtdcRspInfoField,
11846        nRequestID: ::std::os::raw::c_int,
11847        bIsLast: bool,
11848    );
11849}
11850extern "C" {
11851    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi13OnRspQryTradeEP20CThostFtdcTradeFieldP22CThostFtdcRspInfoFieldib"]
11852    pub fn Rust_CThostFtdcTraderSpi_OnRspQryTrade(
11853        this: *mut ::std::os::raw::c_void,
11854        pTrade: *mut CThostFtdcTradeField,
11855        pRspInfo: *mut CThostFtdcRspInfoField,
11856        nRequestID: ::std::os::raw::c_int,
11857        bIsLast: bool,
11858    );
11859}
11860extern "C" {
11861    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi24OnRspQryInvestorPositionEP31CThostFtdcInvestorPositionFieldP22CThostFtdcRspInfoFieldib"]
11862    pub fn Rust_CThostFtdcTraderSpi_OnRspQryInvestorPosition(
11863        this: *mut ::std::os::raw::c_void,
11864        pInvestorPosition: *mut CThostFtdcInvestorPositionField,
11865        pRspInfo: *mut CThostFtdcRspInfoField,
11866        nRequestID: ::std::os::raw::c_int,
11867        bIsLast: bool,
11868    );
11869}
11870extern "C" {
11871    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi22OnRspQryTradingAccountEP29CThostFtdcTradingAccountFieldP22CThostFtdcRspInfoFieldib"]
11872    pub fn Rust_CThostFtdcTraderSpi_OnRspQryTradingAccount(
11873        this: *mut ::std::os::raw::c_void,
11874        pTradingAccount: *mut CThostFtdcTradingAccountField,
11875        pRspInfo: *mut CThostFtdcRspInfoField,
11876        nRequestID: ::std::os::raw::c_int,
11877        bIsLast: bool,
11878    );
11879}
11880extern "C" {
11881    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi16OnRspQryInvestorEP23CThostFtdcInvestorFieldP22CThostFtdcRspInfoFieldib"]
11882    pub fn Rust_CThostFtdcTraderSpi_OnRspQryInvestor(
11883        this: *mut ::std::os::raw::c_void,
11884        pInvestor: *mut CThostFtdcInvestorField,
11885        pRspInfo: *mut CThostFtdcRspInfoField,
11886        nRequestID: ::std::os::raw::c_int,
11887        bIsLast: bool,
11888    );
11889}
11890extern "C" {
11891    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi19OnRspQryTradingCodeEP26CThostFtdcTradingCodeFieldP22CThostFtdcRspInfoFieldib"]
11892    pub fn Rust_CThostFtdcTraderSpi_OnRspQryTradingCode(
11893        this: *mut ::std::os::raw::c_void,
11894        pTradingCode: *mut CThostFtdcTradingCodeField,
11895        pRspInfo: *mut CThostFtdcRspInfoField,
11896        nRequestID: ::std::os::raw::c_int,
11897        bIsLast: bool,
11898    );
11899}
11900extern "C" {
11901    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi28OnRspQryInstrumentMarginRateEP35CThostFtdcInstrumentMarginRateFieldP22CThostFtdcRspInfoFieldib"]
11902    pub fn Rust_CThostFtdcTraderSpi_OnRspQryInstrumentMarginRate(
11903        this: *mut ::std::os::raw::c_void,
11904        pInstrumentMarginRate: *mut CThostFtdcInstrumentMarginRateField,
11905        pRspInfo: *mut CThostFtdcRspInfoField,
11906        nRequestID: ::std::os::raw::c_int,
11907        bIsLast: bool,
11908    );
11909}
11910extern "C" {
11911    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi32OnRspQryInstrumentCommissionRateEP39CThostFtdcInstrumentCommissionRateFieldP22CThostFtdcRspInfoFieldib"]
11912    pub fn Rust_CThostFtdcTraderSpi_OnRspQryInstrumentCommissionRate(
11913        this: *mut ::std::os::raw::c_void,
11914        pInstrumentCommissionRate: *mut CThostFtdcInstrumentCommissionRateField,
11915        pRspInfo: *mut CThostFtdcRspInfoField,
11916        nRequestID: ::std::os::raw::c_int,
11917        bIsLast: bool,
11918    );
11919}
11920extern "C" {
11921    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi16OnRspQryExchangeEP23CThostFtdcExchangeFieldP22CThostFtdcRspInfoFieldib"]
11922    pub fn Rust_CThostFtdcTraderSpi_OnRspQryExchange(
11923        this: *mut ::std::os::raw::c_void,
11924        pExchange: *mut CThostFtdcExchangeField,
11925        pRspInfo: *mut CThostFtdcRspInfoField,
11926        nRequestID: ::std::os::raw::c_int,
11927        bIsLast: bool,
11928    );
11929}
11930extern "C" {
11931    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi15OnRspQryProductEP22CThostFtdcProductFieldP22CThostFtdcRspInfoFieldib"]
11932    pub fn Rust_CThostFtdcTraderSpi_OnRspQryProduct(
11933        this: *mut ::std::os::raw::c_void,
11934        pProduct: *mut CThostFtdcProductField,
11935        pRspInfo: *mut CThostFtdcRspInfoField,
11936        nRequestID: ::std::os::raw::c_int,
11937        bIsLast: bool,
11938    );
11939}
11940extern "C" {
11941    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi18OnRspQryInstrumentEP25CThostFtdcInstrumentFieldP22CThostFtdcRspInfoFieldib"]
11942    pub fn Rust_CThostFtdcTraderSpi_OnRspQryInstrument(
11943        this: *mut ::std::os::raw::c_void,
11944        pInstrument: *mut CThostFtdcInstrumentField,
11945        pRspInfo: *mut CThostFtdcRspInfoField,
11946        nRequestID: ::std::os::raw::c_int,
11947        bIsLast: bool,
11948    );
11949}
11950extern "C" {
11951    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi23OnRspQryDepthMarketDataEP30CThostFtdcDepthMarketDataFieldP22CThostFtdcRspInfoFieldib"]
11952    pub fn Rust_CThostFtdcTraderSpi_OnRspQryDepthMarketData(
11953        this: *mut ::std::os::raw::c_void,
11954        pDepthMarketData: *mut CThostFtdcDepthMarketDataField,
11955        pRspInfo: *mut CThostFtdcRspInfoField,
11956        nRequestID: ::std::os::raw::c_int,
11957        bIsLast: bool,
11958    );
11959}
11960extern "C" {
11961    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi19OnRspQryTraderOfferEP26CThostFtdcTraderOfferFieldP22CThostFtdcRspInfoFieldib"]
11962    pub fn Rust_CThostFtdcTraderSpi_OnRspQryTraderOffer(
11963        this: *mut ::std::os::raw::c_void,
11964        pTraderOffer: *mut CThostFtdcTraderOfferField,
11965        pRspInfo: *mut CThostFtdcRspInfoField,
11966        nRequestID: ::std::os::raw::c_int,
11967        bIsLast: bool,
11968    );
11969}
11970extern "C" {
11971    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi22OnRspQrySettlementInfoEP29CThostFtdcSettlementInfoFieldP22CThostFtdcRspInfoFieldib"]
11972    pub fn Rust_CThostFtdcTraderSpi_OnRspQrySettlementInfo(
11973        this: *mut ::std::os::raw::c_void,
11974        pSettlementInfo: *mut CThostFtdcSettlementInfoField,
11975        pRspInfo: *mut CThostFtdcRspInfoField,
11976        nRequestID: ::std::os::raw::c_int,
11977        bIsLast: bool,
11978    );
11979}
11980extern "C" {
11981    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi20OnRspQryTransferBankEP27CThostFtdcTransferBankFieldP22CThostFtdcRspInfoFieldib"]
11982    pub fn Rust_CThostFtdcTraderSpi_OnRspQryTransferBank(
11983        this: *mut ::std::os::raw::c_void,
11984        pTransferBank: *mut CThostFtdcTransferBankField,
11985        pRspInfo: *mut CThostFtdcRspInfoField,
11986        nRequestID: ::std::os::raw::c_int,
11987        bIsLast: bool,
11988    );
11989}
11990extern "C" {
11991    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi30OnRspQryInvestorPositionDetailEP37CThostFtdcInvestorPositionDetailFieldP22CThostFtdcRspInfoFieldib"]
11992    pub fn Rust_CThostFtdcTraderSpi_OnRspQryInvestorPositionDetail(
11993        this: *mut ::std::os::raw::c_void,
11994        pInvestorPositionDetail: *mut CThostFtdcInvestorPositionDetailField,
11995        pRspInfo: *mut CThostFtdcRspInfoField,
11996        nRequestID: ::std::os::raw::c_int,
11997        bIsLast: bool,
11998    );
11999}
12000extern "C" {
12001    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi14OnRspQryNoticeEP21CThostFtdcNoticeFieldP22CThostFtdcRspInfoFieldib"]
12002    pub fn Rust_CThostFtdcTraderSpi_OnRspQryNotice(
12003        this: *mut ::std::os::raw::c_void,
12004        pNotice: *mut CThostFtdcNoticeField,
12005        pRspInfo: *mut CThostFtdcRspInfoField,
12006        nRequestID: ::std::os::raw::c_int,
12007        bIsLast: bool,
12008    );
12009}
12010extern "C" {
12011    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi29OnRspQrySettlementInfoConfirmEP36CThostFtdcSettlementInfoConfirmFieldP22CThostFtdcRspInfoFieldib"]
12012    pub fn Rust_CThostFtdcTraderSpi_OnRspQrySettlementInfoConfirm(
12013        this: *mut ::std::os::raw::c_void,
12014        pSettlementInfoConfirm: *mut CThostFtdcSettlementInfoConfirmField,
12015        pRspInfo: *mut CThostFtdcRspInfoField,
12016        nRequestID: ::std::os::raw::c_int,
12017        bIsLast: bool,
12018    );
12019}
12020extern "C" {
12021    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi37OnRspQryInvestorPositionCombineDetailEP44CThostFtdcInvestorPositionCombineDetailFieldP22CThostFtdcRspInfoFieldib"]
12022    pub fn Rust_CThostFtdcTraderSpi_OnRspQryInvestorPositionCombineDetail(
12023        this: *mut ::std::os::raw::c_void,
12024        pInvestorPositionCombineDetail: *mut CThostFtdcInvestorPositionCombineDetailField,
12025        pRspInfo: *mut CThostFtdcRspInfoField,
12026        nRequestID: ::std::os::raw::c_int,
12027        bIsLast: bool,
12028    );
12029}
12030extern "C" {
12031    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi30OnRspQryCFMMCTradingAccountKeyEP37CThostFtdcCFMMCTradingAccountKeyFieldP22CThostFtdcRspInfoFieldib"]
12032    pub fn Rust_CThostFtdcTraderSpi_OnRspQryCFMMCTradingAccountKey(
12033        this: *mut ::std::os::raw::c_void,
12034        pCFMMCTradingAccountKey: *mut CThostFtdcCFMMCTradingAccountKeyField,
12035        pRspInfo: *mut CThostFtdcRspInfoField,
12036        nRequestID: ::std::os::raw::c_int,
12037        bIsLast: bool,
12038    );
12039}
12040extern "C" {
12041    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi22OnRspQryEWarrantOffsetEP29CThostFtdcEWarrantOffsetFieldP22CThostFtdcRspInfoFieldib"]
12042    pub fn Rust_CThostFtdcTraderSpi_OnRspQryEWarrantOffset(
12043        this: *mut ::std::os::raw::c_void,
12044        pEWarrantOffset: *mut CThostFtdcEWarrantOffsetField,
12045        pRspInfo: *mut CThostFtdcRspInfoField,
12046        nRequestID: ::std::os::raw::c_int,
12047        bIsLast: bool,
12048    );
12049}
12050extern "C" {
12051    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi34OnRspQryInvestorProductGroupMarginEP41CThostFtdcInvestorProductGroupMarginFieldP22CThostFtdcRspInfoFieldib"]
12052    pub fn Rust_CThostFtdcTraderSpi_OnRspQryInvestorProductGroupMargin(
12053        this: *mut ::std::os::raw::c_void,
12054        pInvestorProductGroupMargin: *mut CThostFtdcInvestorProductGroupMarginField,
12055        pRspInfo: *mut CThostFtdcRspInfoField,
12056        nRequestID: ::std::os::raw::c_int,
12057        bIsLast: bool,
12058    );
12059}
12060extern "C" {
12061    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi26OnRspQryExchangeMarginRateEP33CThostFtdcExchangeMarginRateFieldP22CThostFtdcRspInfoFieldib"]
12062    pub fn Rust_CThostFtdcTraderSpi_OnRspQryExchangeMarginRate(
12063        this: *mut ::std::os::raw::c_void,
12064        pExchangeMarginRate: *mut CThostFtdcExchangeMarginRateField,
12065        pRspInfo: *mut CThostFtdcRspInfoField,
12066        nRequestID: ::std::os::raw::c_int,
12067        bIsLast: bool,
12068    );
12069}
12070extern "C" {
12071    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi32OnRspQryExchangeMarginRateAdjustEP39CThostFtdcExchangeMarginRateAdjustFieldP22CThostFtdcRspInfoFieldib"]
12072    pub fn Rust_CThostFtdcTraderSpi_OnRspQryExchangeMarginRateAdjust(
12073        this: *mut ::std::os::raw::c_void,
12074        pExchangeMarginRateAdjust: *mut CThostFtdcExchangeMarginRateAdjustField,
12075        pRspInfo: *mut CThostFtdcRspInfoField,
12076        nRequestID: ::std::os::raw::c_int,
12077        bIsLast: bool,
12078    );
12079}
12080extern "C" {
12081    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi20OnRspQryExchangeRateEP27CThostFtdcExchangeRateFieldP22CThostFtdcRspInfoFieldib"]
12082    pub fn Rust_CThostFtdcTraderSpi_OnRspQryExchangeRate(
12083        this: *mut ::std::os::raw::c_void,
12084        pExchangeRate: *mut CThostFtdcExchangeRateField,
12085        pRspInfo: *mut CThostFtdcRspInfoField,
12086        nRequestID: ::std::os::raw::c_int,
12087        bIsLast: bool,
12088    );
12089}
12090extern "C" {
12091    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi23OnRspQrySecAgentACIDMapEP30CThostFtdcSecAgentACIDMapFieldP22CThostFtdcRspInfoFieldib"]
12092    pub fn Rust_CThostFtdcTraderSpi_OnRspQrySecAgentACIDMap(
12093        this: *mut ::std::os::raw::c_void,
12094        pSecAgentACIDMap: *mut CThostFtdcSecAgentACIDMapField,
12095        pRspInfo: *mut CThostFtdcRspInfoField,
12096        nRequestID: ::std::os::raw::c_int,
12097        bIsLast: bool,
12098    );
12099}
12100extern "C" {
12101    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi23OnRspQryProductExchRateEP30CThostFtdcProductExchRateFieldP22CThostFtdcRspInfoFieldib"]
12102    pub fn Rust_CThostFtdcTraderSpi_OnRspQryProductExchRate(
12103        this: *mut ::std::os::raw::c_void,
12104        pProductExchRate: *mut CThostFtdcProductExchRateField,
12105        pRspInfo: *mut CThostFtdcRspInfoField,
12106        nRequestID: ::std::os::raw::c_int,
12107        bIsLast: bool,
12108    );
12109}
12110extern "C" {
12111    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi20OnRspQryProductGroupEP27CThostFtdcProductGroupFieldP22CThostFtdcRspInfoFieldib"]
12112    pub fn Rust_CThostFtdcTraderSpi_OnRspQryProductGroup(
12113        this: *mut ::std::os::raw::c_void,
12114        pProductGroup: *mut CThostFtdcProductGroupField,
12115        pRspInfo: *mut CThostFtdcRspInfoField,
12116        nRequestID: ::std::os::raw::c_int,
12117        bIsLast: bool,
12118    );
12119}
12120extern "C" {
12121    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi34OnRspQryMMInstrumentCommissionRateEP41CThostFtdcMMInstrumentCommissionRateFieldP22CThostFtdcRspInfoFieldib"]
12122    pub fn Rust_CThostFtdcTraderSpi_OnRspQryMMInstrumentCommissionRate(
12123        this: *mut ::std::os::raw::c_void,
12124        pMMInstrumentCommissionRate: *mut CThostFtdcMMInstrumentCommissionRateField,
12125        pRspInfo: *mut CThostFtdcRspInfoField,
12126        nRequestID: ::std::os::raw::c_int,
12127        bIsLast: bool,
12128    );
12129}
12130extern "C" {
12131    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi29OnRspQryMMOptionInstrCommRateEP36CThostFtdcMMOptionInstrCommRateFieldP22CThostFtdcRspInfoFieldib"]
12132    pub fn Rust_CThostFtdcTraderSpi_OnRspQryMMOptionInstrCommRate(
12133        this: *mut ::std::os::raw::c_void,
12134        pMMOptionInstrCommRate: *mut CThostFtdcMMOptionInstrCommRateField,
12135        pRspInfo: *mut CThostFtdcRspInfoField,
12136        nRequestID: ::std::os::raw::c_int,
12137        bIsLast: bool,
12138    );
12139}
12140extern "C" {
12141    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi31OnRspQryInstrumentOrderCommRateEP38CThostFtdcInstrumentOrderCommRateFieldP22CThostFtdcRspInfoFieldib"]
12142    pub fn Rust_CThostFtdcTraderSpi_OnRspQryInstrumentOrderCommRate(
12143        this: *mut ::std::os::raw::c_void,
12144        pInstrumentOrderCommRate: *mut CThostFtdcInstrumentOrderCommRateField,
12145        pRspInfo: *mut CThostFtdcRspInfoField,
12146        nRequestID: ::std::os::raw::c_int,
12147        bIsLast: bool,
12148    );
12149}
12150extern "C" {
12151    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi30OnRspQrySecAgentTradingAccountEP29CThostFtdcTradingAccountFieldP22CThostFtdcRspInfoFieldib"]
12152    pub fn Rust_CThostFtdcTraderSpi_OnRspQrySecAgentTradingAccount(
12153        this: *mut ::std::os::raw::c_void,
12154        pTradingAccount: *mut CThostFtdcTradingAccountField,
12155        pRspInfo: *mut CThostFtdcRspInfoField,
12156        nRequestID: ::std::os::raw::c_int,
12157        bIsLast: bool,
12158    );
12159}
12160extern "C" {
12161    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi25OnRspQrySecAgentCheckModeEP32CThostFtdcSecAgentCheckModeFieldP22CThostFtdcRspInfoFieldib"]
12162    pub fn Rust_CThostFtdcTraderSpi_OnRspQrySecAgentCheckMode(
12163        this: *mut ::std::os::raw::c_void,
12164        pSecAgentCheckMode: *mut CThostFtdcSecAgentCheckModeField,
12165        pRspInfo: *mut CThostFtdcRspInfoField,
12166        nRequestID: ::std::os::raw::c_int,
12167        bIsLast: bool,
12168    );
12169}
12170extern "C" {
12171    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi25OnRspQrySecAgentTradeInfoEP32CThostFtdcSecAgentTradeInfoFieldP22CThostFtdcRspInfoFieldib"]
12172    pub fn Rust_CThostFtdcTraderSpi_OnRspQrySecAgentTradeInfo(
12173        this: *mut ::std::os::raw::c_void,
12174        pSecAgentTradeInfo: *mut CThostFtdcSecAgentTradeInfoField,
12175        pRspInfo: *mut CThostFtdcRspInfoField,
12176        nRequestID: ::std::os::raw::c_int,
12177        bIsLast: bool,
12178    );
12179}
12180extern "C" {
12181    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi28OnRspQryOptionInstrTradeCostEP35CThostFtdcOptionInstrTradeCostFieldP22CThostFtdcRspInfoFieldib"]
12182    pub fn Rust_CThostFtdcTraderSpi_OnRspQryOptionInstrTradeCost(
12183        this: *mut ::std::os::raw::c_void,
12184        pOptionInstrTradeCost: *mut CThostFtdcOptionInstrTradeCostField,
12185        pRspInfo: *mut CThostFtdcRspInfoField,
12186        nRequestID: ::std::os::raw::c_int,
12187        bIsLast: bool,
12188    );
12189}
12190extern "C" {
12191    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi27OnRspQryOptionInstrCommRateEP34CThostFtdcOptionInstrCommRateFieldP22CThostFtdcRspInfoFieldib"]
12192    pub fn Rust_CThostFtdcTraderSpi_OnRspQryOptionInstrCommRate(
12193        this: *mut ::std::os::raw::c_void,
12194        pOptionInstrCommRate: *mut CThostFtdcOptionInstrCommRateField,
12195        pRspInfo: *mut CThostFtdcRspInfoField,
12196        nRequestID: ::std::os::raw::c_int,
12197        bIsLast: bool,
12198    );
12199}
12200extern "C" {
12201    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi17OnRspQryExecOrderEP24CThostFtdcExecOrderFieldP22CThostFtdcRspInfoFieldib"]
12202    pub fn Rust_CThostFtdcTraderSpi_OnRspQryExecOrder(
12203        this: *mut ::std::os::raw::c_void,
12204        pExecOrder: *mut CThostFtdcExecOrderField,
12205        pRspInfo: *mut CThostFtdcRspInfoField,
12206        nRequestID: ::std::os::raw::c_int,
12207        bIsLast: bool,
12208    );
12209}
12210extern "C" {
12211    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi16OnRspQryForQuoteEP23CThostFtdcForQuoteFieldP22CThostFtdcRspInfoFieldib"]
12212    pub fn Rust_CThostFtdcTraderSpi_OnRspQryForQuote(
12213        this: *mut ::std::os::raw::c_void,
12214        pForQuote: *mut CThostFtdcForQuoteField,
12215        pRspInfo: *mut CThostFtdcRspInfoField,
12216        nRequestID: ::std::os::raw::c_int,
12217        bIsLast: bool,
12218    );
12219}
12220extern "C" {
12221    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi13OnRspQryQuoteEP20CThostFtdcQuoteFieldP22CThostFtdcRspInfoFieldib"]
12222    pub fn Rust_CThostFtdcTraderSpi_OnRspQryQuote(
12223        this: *mut ::std::os::raw::c_void,
12224        pQuote: *mut CThostFtdcQuoteField,
12225        pRspInfo: *mut CThostFtdcRspInfoField,
12226        nRequestID: ::std::os::raw::c_int,
12227        bIsLast: bool,
12228    );
12229}
12230extern "C" {
12231    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi23OnRspQryOptionSelfCloseEP30CThostFtdcOptionSelfCloseFieldP22CThostFtdcRspInfoFieldib"]
12232    pub fn Rust_CThostFtdcTraderSpi_OnRspQryOptionSelfClose(
12233        this: *mut ::std::os::raw::c_void,
12234        pOptionSelfClose: *mut CThostFtdcOptionSelfCloseField,
12235        pRspInfo: *mut CThostFtdcRspInfoField,
12236        nRequestID: ::std::os::raw::c_int,
12237        bIsLast: bool,
12238    );
12239}
12240extern "C" {
12241    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi18OnRspQryInvestUnitEP25CThostFtdcInvestUnitFieldP22CThostFtdcRspInfoFieldib"]
12242    pub fn Rust_CThostFtdcTraderSpi_OnRspQryInvestUnit(
12243        this: *mut ::std::os::raw::c_void,
12244        pInvestUnit: *mut CThostFtdcInvestUnitField,
12245        pRspInfo: *mut CThostFtdcRspInfoField,
12246        nRequestID: ::std::os::raw::c_int,
12247        bIsLast: bool,
12248    );
12249}
12250extern "C" {
12251    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi27OnRspQryCombInstrumentGuardEP34CThostFtdcCombInstrumentGuardFieldP22CThostFtdcRspInfoFieldib"]
12252    pub fn Rust_CThostFtdcTraderSpi_OnRspQryCombInstrumentGuard(
12253        this: *mut ::std::os::raw::c_void,
12254        pCombInstrumentGuard: *mut CThostFtdcCombInstrumentGuardField,
12255        pRspInfo: *mut CThostFtdcRspInfoField,
12256        nRequestID: ::std::os::raw::c_int,
12257        bIsLast: bool,
12258    );
12259}
12260extern "C" {
12261    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi18OnRspQryCombActionEP25CThostFtdcCombActionFieldP22CThostFtdcRspInfoFieldib"]
12262    pub fn Rust_CThostFtdcTraderSpi_OnRspQryCombAction(
12263        this: *mut ::std::os::raw::c_void,
12264        pCombAction: *mut CThostFtdcCombActionField,
12265        pRspInfo: *mut CThostFtdcRspInfoField,
12266        nRequestID: ::std::os::raw::c_int,
12267        bIsLast: bool,
12268    );
12269}
12270extern "C" {
12271    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi22OnRspQryTransferSerialEP29CThostFtdcTransferSerialFieldP22CThostFtdcRspInfoFieldib"]
12272    pub fn Rust_CThostFtdcTraderSpi_OnRspQryTransferSerial(
12273        this: *mut ::std::os::raw::c_void,
12274        pTransferSerial: *mut CThostFtdcTransferSerialField,
12275        pRspInfo: *mut CThostFtdcRspInfoField,
12276        nRequestID: ::std::os::raw::c_int,
12277        bIsLast: bool,
12278    );
12279}
12280extern "C" {
12281    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi23OnRspQryAccountregisterEP30CThostFtdcAccountregisterFieldP22CThostFtdcRspInfoFieldib"]
12282    pub fn Rust_CThostFtdcTraderSpi_OnRspQryAccountregister(
12283        this: *mut ::std::os::raw::c_void,
12284        pAccountregister: *mut CThostFtdcAccountregisterField,
12285        pRspInfo: *mut CThostFtdcRspInfoField,
12286        nRequestID: ::std::os::raw::c_int,
12287        bIsLast: bool,
12288    );
12289}
12290extern "C" {
12291    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi10OnRspErrorEP22CThostFtdcRspInfoFieldib"]
12292    pub fn Rust_CThostFtdcTraderSpi_OnRspError(
12293        this: *mut ::std::os::raw::c_void,
12294        pRspInfo: *mut CThostFtdcRspInfoField,
12295        nRequestID: ::std::os::raw::c_int,
12296        bIsLast: bool,
12297    );
12298}
12299extern "C" {
12300    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi10OnRtnOrderEP20CThostFtdcOrderField"]
12301    pub fn Rust_CThostFtdcTraderSpi_OnRtnOrder(
12302        this: *mut ::std::os::raw::c_void,
12303        pOrder: *mut CThostFtdcOrderField,
12304    );
12305}
12306extern "C" {
12307    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi10OnRtnTradeEP20CThostFtdcTradeField"]
12308    pub fn Rust_CThostFtdcTraderSpi_OnRtnTrade(
12309        this: *mut ::std::os::raw::c_void,
12310        pTrade: *mut CThostFtdcTradeField,
12311    );
12312}
12313extern "C" {
12314    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi19OnErrRtnOrderInsertEP25CThostFtdcInputOrderFieldP22CThostFtdcRspInfoField"]
12315    pub fn Rust_CThostFtdcTraderSpi_OnErrRtnOrderInsert(
12316        this: *mut ::std::os::raw::c_void,
12317        pInputOrder: *mut CThostFtdcInputOrderField,
12318        pRspInfo: *mut CThostFtdcRspInfoField,
12319    );
12320}
12321extern "C" {
12322    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi19OnErrRtnOrderActionEP26CThostFtdcOrderActionFieldP22CThostFtdcRspInfoField"]
12323    pub fn Rust_CThostFtdcTraderSpi_OnErrRtnOrderAction(
12324        this: *mut ::std::os::raw::c_void,
12325        pOrderAction: *mut CThostFtdcOrderActionField,
12326        pRspInfo: *mut CThostFtdcRspInfoField,
12327    );
12328}
12329extern "C" {
12330    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi21OnRtnInstrumentStatusEP31CThostFtdcInstrumentStatusField"]
12331    pub fn Rust_CThostFtdcTraderSpi_OnRtnInstrumentStatus(
12332        this: *mut ::std::os::raw::c_void,
12333        pInstrumentStatus: *mut CThostFtdcInstrumentStatusField,
12334    );
12335}
12336extern "C" {
12337    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi13OnRtnBulletinEP23CThostFtdcBulletinField"]
12338    pub fn Rust_CThostFtdcTraderSpi_OnRtnBulletin(
12339        this: *mut ::std::os::raw::c_void,
12340        pBulletin: *mut CThostFtdcBulletinField,
12341    );
12342}
12343extern "C" {
12344    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi18OnRtnTradingNoticeEP32CThostFtdcTradingNoticeInfoField"]
12345    pub fn Rust_CThostFtdcTraderSpi_OnRtnTradingNotice(
12346        this: *mut ::std::os::raw::c_void,
12347        pTradingNoticeInfo: *mut CThostFtdcTradingNoticeInfoField,
12348    );
12349}
12350extern "C" {
12351    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi26OnRtnErrorConditionalOrderEP36CThostFtdcErrorConditionalOrderField"]
12352    pub fn Rust_CThostFtdcTraderSpi_OnRtnErrorConditionalOrder(
12353        this: *mut ::std::os::raw::c_void,
12354        pErrorConditionalOrder: *mut CThostFtdcErrorConditionalOrderField,
12355    );
12356}
12357extern "C" {
12358    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi14OnRtnExecOrderEP24CThostFtdcExecOrderField"]
12359    pub fn Rust_CThostFtdcTraderSpi_OnRtnExecOrder(
12360        this: *mut ::std::os::raw::c_void,
12361        pExecOrder: *mut CThostFtdcExecOrderField,
12362    );
12363}
12364extern "C" {
12365    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi23OnErrRtnExecOrderInsertEP29CThostFtdcInputExecOrderFieldP22CThostFtdcRspInfoField"]
12366    pub fn Rust_CThostFtdcTraderSpi_OnErrRtnExecOrderInsert(
12367        this: *mut ::std::os::raw::c_void,
12368        pInputExecOrder: *mut CThostFtdcInputExecOrderField,
12369        pRspInfo: *mut CThostFtdcRspInfoField,
12370    );
12371}
12372extern "C" {
12373    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi23OnErrRtnExecOrderActionEP30CThostFtdcExecOrderActionFieldP22CThostFtdcRspInfoField"]
12374    pub fn Rust_CThostFtdcTraderSpi_OnErrRtnExecOrderAction(
12375        this: *mut ::std::os::raw::c_void,
12376        pExecOrderAction: *mut CThostFtdcExecOrderActionField,
12377        pRspInfo: *mut CThostFtdcRspInfoField,
12378    );
12379}
12380extern "C" {
12381    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi22OnErrRtnForQuoteInsertEP28CThostFtdcInputForQuoteFieldP22CThostFtdcRspInfoField"]
12382    pub fn Rust_CThostFtdcTraderSpi_OnErrRtnForQuoteInsert(
12383        this: *mut ::std::os::raw::c_void,
12384        pInputForQuote: *mut CThostFtdcInputForQuoteField,
12385        pRspInfo: *mut CThostFtdcRspInfoField,
12386    );
12387}
12388extern "C" {
12389    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi10OnRtnQuoteEP20CThostFtdcQuoteField"]
12390    pub fn Rust_CThostFtdcTraderSpi_OnRtnQuote(
12391        this: *mut ::std::os::raw::c_void,
12392        pQuote: *mut CThostFtdcQuoteField,
12393    );
12394}
12395extern "C" {
12396    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi19OnErrRtnQuoteInsertEP25CThostFtdcInputQuoteFieldP22CThostFtdcRspInfoField"]
12397    pub fn Rust_CThostFtdcTraderSpi_OnErrRtnQuoteInsert(
12398        this: *mut ::std::os::raw::c_void,
12399        pInputQuote: *mut CThostFtdcInputQuoteField,
12400        pRspInfo: *mut CThostFtdcRspInfoField,
12401    );
12402}
12403extern "C" {
12404    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi19OnErrRtnQuoteActionEP26CThostFtdcQuoteActionFieldP22CThostFtdcRspInfoField"]
12405    pub fn Rust_CThostFtdcTraderSpi_OnErrRtnQuoteAction(
12406        this: *mut ::std::os::raw::c_void,
12407        pQuoteAction: *mut CThostFtdcQuoteActionField,
12408        pRspInfo: *mut CThostFtdcRspInfoField,
12409    );
12410}
12411extern "C" {
12412    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi16OnRtnForQuoteRspEP26CThostFtdcForQuoteRspField"]
12413    pub fn Rust_CThostFtdcTraderSpi_OnRtnForQuoteRsp(
12414        this: *mut ::std::os::raw::c_void,
12415        pForQuoteRsp: *mut CThostFtdcForQuoteRspField,
12416    );
12417}
12418extern "C" {
12419    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi29OnRtnCFMMCTradingAccountTokenEP39CThostFtdcCFMMCTradingAccountTokenField"]
12420    pub fn Rust_CThostFtdcTraderSpi_OnRtnCFMMCTradingAccountToken(
12421        this: *mut ::std::os::raw::c_void,
12422        pCFMMCTradingAccountToken: *mut CThostFtdcCFMMCTradingAccountTokenField,
12423    );
12424}
12425extern "C" {
12426    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi24OnErrRtnBatchOrderActionEP31CThostFtdcBatchOrderActionFieldP22CThostFtdcRspInfoField"]
12427    pub fn Rust_CThostFtdcTraderSpi_OnErrRtnBatchOrderAction(
12428        this: *mut ::std::os::raw::c_void,
12429        pBatchOrderAction: *mut CThostFtdcBatchOrderActionField,
12430        pRspInfo: *mut CThostFtdcRspInfoField,
12431    );
12432}
12433extern "C" {
12434    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi20OnRtnOptionSelfCloseEP30CThostFtdcOptionSelfCloseField"]
12435    pub fn Rust_CThostFtdcTraderSpi_OnRtnOptionSelfClose(
12436        this: *mut ::std::os::raw::c_void,
12437        pOptionSelfClose: *mut CThostFtdcOptionSelfCloseField,
12438    );
12439}
12440extern "C" {
12441    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi29OnErrRtnOptionSelfCloseInsertEP35CThostFtdcInputOptionSelfCloseFieldP22CThostFtdcRspInfoField"]
12442    pub fn Rust_CThostFtdcTraderSpi_OnErrRtnOptionSelfCloseInsert(
12443        this: *mut ::std::os::raw::c_void,
12444        pInputOptionSelfClose: *mut CThostFtdcInputOptionSelfCloseField,
12445        pRspInfo: *mut CThostFtdcRspInfoField,
12446    );
12447}
12448extern "C" {
12449    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi29OnErrRtnOptionSelfCloseActionEP36CThostFtdcOptionSelfCloseActionFieldP22CThostFtdcRspInfoField"]
12450    pub fn Rust_CThostFtdcTraderSpi_OnErrRtnOptionSelfCloseAction(
12451        this: *mut ::std::os::raw::c_void,
12452        pOptionSelfCloseAction: *mut CThostFtdcOptionSelfCloseActionField,
12453        pRspInfo: *mut CThostFtdcRspInfoField,
12454    );
12455}
12456extern "C" {
12457    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi15OnRtnCombActionEP25CThostFtdcCombActionField"]
12458    pub fn Rust_CThostFtdcTraderSpi_OnRtnCombAction(
12459        this: *mut ::std::os::raw::c_void,
12460        pCombAction: *mut CThostFtdcCombActionField,
12461    );
12462}
12463extern "C" {
12464    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi24OnErrRtnCombActionInsertEP30CThostFtdcInputCombActionFieldP22CThostFtdcRspInfoField"]
12465    pub fn Rust_CThostFtdcTraderSpi_OnErrRtnCombActionInsert(
12466        this: *mut ::std::os::raw::c_void,
12467        pInputCombAction: *mut CThostFtdcInputCombActionField,
12468        pRspInfo: *mut CThostFtdcRspInfoField,
12469    );
12470}
12471extern "C" {
12472    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi20OnRspQryContractBankEP27CThostFtdcContractBankFieldP22CThostFtdcRspInfoFieldib"]
12473    pub fn Rust_CThostFtdcTraderSpi_OnRspQryContractBank(
12474        this: *mut ::std::os::raw::c_void,
12475        pContractBank: *mut CThostFtdcContractBankField,
12476        pRspInfo: *mut CThostFtdcRspInfoField,
12477        nRequestID: ::std::os::raw::c_int,
12478        bIsLast: bool,
12479    );
12480}
12481extern "C" {
12482    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi19OnRspQryParkedOrderEP26CThostFtdcParkedOrderFieldP22CThostFtdcRspInfoFieldib"]
12483    pub fn Rust_CThostFtdcTraderSpi_OnRspQryParkedOrder(
12484        this: *mut ::std::os::raw::c_void,
12485        pParkedOrder: *mut CThostFtdcParkedOrderField,
12486        pRspInfo: *mut CThostFtdcRspInfoField,
12487        nRequestID: ::std::os::raw::c_int,
12488        bIsLast: bool,
12489    );
12490}
12491extern "C" {
12492    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi25OnRspQryParkedOrderActionEP32CThostFtdcParkedOrderActionFieldP22CThostFtdcRspInfoFieldib"]
12493    pub fn Rust_CThostFtdcTraderSpi_OnRspQryParkedOrderAction(
12494        this: *mut ::std::os::raw::c_void,
12495        pParkedOrderAction: *mut CThostFtdcParkedOrderActionField,
12496        pRspInfo: *mut CThostFtdcRspInfoField,
12497        nRequestID: ::std::os::raw::c_int,
12498        bIsLast: bool,
12499    );
12500}
12501extern "C" {
12502    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi21OnRspQryTradingNoticeEP28CThostFtdcTradingNoticeFieldP22CThostFtdcRspInfoFieldib"]
12503    pub fn Rust_CThostFtdcTraderSpi_OnRspQryTradingNotice(
12504        this: *mut ::std::os::raw::c_void,
12505        pTradingNotice: *mut CThostFtdcTradingNoticeField,
12506        pRspInfo: *mut CThostFtdcRspInfoField,
12507        nRequestID: ::std::os::raw::c_int,
12508        bIsLast: bool,
12509    );
12510}
12511extern "C" {
12512    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi27OnRspQryBrokerTradingParamsEP34CThostFtdcBrokerTradingParamsFieldP22CThostFtdcRspInfoFieldib"]
12513    pub fn Rust_CThostFtdcTraderSpi_OnRspQryBrokerTradingParams(
12514        this: *mut ::std::os::raw::c_void,
12515        pBrokerTradingParams: *mut CThostFtdcBrokerTradingParamsField,
12516        pRspInfo: *mut CThostFtdcRspInfoField,
12517        nRequestID: ::std::os::raw::c_int,
12518        bIsLast: bool,
12519    );
12520}
12521extern "C" {
12522    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi26OnRspQryBrokerTradingAlgosEP33CThostFtdcBrokerTradingAlgosFieldP22CThostFtdcRspInfoFieldib"]
12523    pub fn Rust_CThostFtdcTraderSpi_OnRspQryBrokerTradingAlgos(
12524        this: *mut ::std::os::raw::c_void,
12525        pBrokerTradingAlgos: *mut CThostFtdcBrokerTradingAlgosField,
12526        pRspInfo: *mut CThostFtdcRspInfoField,
12527        nRequestID: ::std::os::raw::c_int,
12528        bIsLast: bool,
12529    );
12530}
12531extern "C" {
12532    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi34OnRspQueryCFMMCTradingAccountTokenEP44CThostFtdcQueryCFMMCTradingAccountTokenFieldP22CThostFtdcRspInfoFieldib"]
12533    pub fn Rust_CThostFtdcTraderSpi_OnRspQueryCFMMCTradingAccountToken(
12534        this: *mut ::std::os::raw::c_void,
12535        pQueryCFMMCTradingAccountToken: *mut CThostFtdcQueryCFMMCTradingAccountTokenField,
12536        pRspInfo: *mut CThostFtdcRspInfoField,
12537        nRequestID: ::std::os::raw::c_int,
12538        bIsLast: bool,
12539    );
12540}
12541extern "C" {
12542    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi27OnRtnFromBankToFutureByBankEP26CThostFtdcRspTransferField"]
12543    pub fn Rust_CThostFtdcTraderSpi_OnRtnFromBankToFutureByBank(
12544        this: *mut ::std::os::raw::c_void,
12545        pRspTransfer: *mut CThostFtdcRspTransferField,
12546    );
12547}
12548extern "C" {
12549    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi27OnRtnFromFutureToBankByBankEP26CThostFtdcRspTransferField"]
12550    pub fn Rust_CThostFtdcTraderSpi_OnRtnFromFutureToBankByBank(
12551        this: *mut ::std::os::raw::c_void,
12552        pRspTransfer: *mut CThostFtdcRspTransferField,
12553    );
12554}
12555extern "C" {
12556    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi33OnRtnRepealFromBankToFutureByBankEP24CThostFtdcRspRepealField"]
12557    pub fn Rust_CThostFtdcTraderSpi_OnRtnRepealFromBankToFutureByBank(
12558        this: *mut ::std::os::raw::c_void,
12559        pRspRepeal: *mut CThostFtdcRspRepealField,
12560    );
12561}
12562extern "C" {
12563    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi33OnRtnRepealFromFutureToBankByBankEP24CThostFtdcRspRepealField"]
12564    pub fn Rust_CThostFtdcTraderSpi_OnRtnRepealFromFutureToBankByBank(
12565        this: *mut ::std::os::raw::c_void,
12566        pRspRepeal: *mut CThostFtdcRspRepealField,
12567    );
12568}
12569extern "C" {
12570    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi29OnRtnFromBankToFutureByFutureEP26CThostFtdcRspTransferField"]
12571    pub fn Rust_CThostFtdcTraderSpi_OnRtnFromBankToFutureByFuture(
12572        this: *mut ::std::os::raw::c_void,
12573        pRspTransfer: *mut CThostFtdcRspTransferField,
12574    );
12575}
12576extern "C" {
12577    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi29OnRtnFromFutureToBankByFutureEP26CThostFtdcRspTransferField"]
12578    pub fn Rust_CThostFtdcTraderSpi_OnRtnFromFutureToBankByFuture(
12579        this: *mut ::std::os::raw::c_void,
12580        pRspTransfer: *mut CThostFtdcRspTransferField,
12581    );
12582}
12583extern "C" {
12584    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi41OnRtnRepealFromBankToFutureByFutureManualEP24CThostFtdcRspRepealField"]
12585    pub fn Rust_CThostFtdcTraderSpi_OnRtnRepealFromBankToFutureByFutureManual(
12586        this: *mut ::std::os::raw::c_void,
12587        pRspRepeal: *mut CThostFtdcRspRepealField,
12588    );
12589}
12590extern "C" {
12591    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi41OnRtnRepealFromFutureToBankByFutureManualEP24CThostFtdcRspRepealField"]
12592    pub fn Rust_CThostFtdcTraderSpi_OnRtnRepealFromFutureToBankByFutureManual(
12593        this: *mut ::std::os::raw::c_void,
12594        pRspRepeal: *mut CThostFtdcRspRepealField,
12595    );
12596}
12597extern "C" {
12598    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi29OnRtnQueryBankBalanceByFutureEP33CThostFtdcNotifyQueryAccountField"]
12599    pub fn Rust_CThostFtdcTraderSpi_OnRtnQueryBankBalanceByFuture(
12600        this: *mut ::std::os::raw::c_void,
12601        pNotifyQueryAccount: *mut CThostFtdcNotifyQueryAccountField,
12602    );
12603}
12604extern "C" {
12605    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi28OnErrRtnBankToFutureByFutureEP26CThostFtdcReqTransferFieldP22CThostFtdcRspInfoField"]
12606    pub fn Rust_CThostFtdcTraderSpi_OnErrRtnBankToFutureByFuture(
12607        this: *mut ::std::os::raw::c_void,
12608        pReqTransfer: *mut CThostFtdcReqTransferField,
12609        pRspInfo: *mut CThostFtdcRspInfoField,
12610    );
12611}
12612extern "C" {
12613    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi28OnErrRtnFutureToBankByFutureEP26CThostFtdcReqTransferFieldP22CThostFtdcRspInfoField"]
12614    pub fn Rust_CThostFtdcTraderSpi_OnErrRtnFutureToBankByFuture(
12615        this: *mut ::std::os::raw::c_void,
12616        pReqTransfer: *mut CThostFtdcReqTransferField,
12617        pRspInfo: *mut CThostFtdcRspInfoField,
12618    );
12619}
12620extern "C" {
12621    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi40OnErrRtnRepealBankToFutureByFutureManualEP24CThostFtdcReqRepealFieldP22CThostFtdcRspInfoField"]
12622    pub fn Rust_CThostFtdcTraderSpi_OnErrRtnRepealBankToFutureByFutureManual(
12623        this: *mut ::std::os::raw::c_void,
12624        pReqRepeal: *mut CThostFtdcReqRepealField,
12625        pRspInfo: *mut CThostFtdcRspInfoField,
12626    );
12627}
12628extern "C" {
12629    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi40OnErrRtnRepealFutureToBankByFutureManualEP24CThostFtdcReqRepealFieldP22CThostFtdcRspInfoField"]
12630    pub fn Rust_CThostFtdcTraderSpi_OnErrRtnRepealFutureToBankByFutureManual(
12631        this: *mut ::std::os::raw::c_void,
12632        pReqRepeal: *mut CThostFtdcReqRepealField,
12633        pRspInfo: *mut CThostFtdcRspInfoField,
12634    );
12635}
12636extern "C" {
12637    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi32OnErrRtnQueryBankBalanceByFutureEP30CThostFtdcReqQueryAccountFieldP22CThostFtdcRspInfoField"]
12638    pub fn Rust_CThostFtdcTraderSpi_OnErrRtnQueryBankBalanceByFuture(
12639        this: *mut ::std::os::raw::c_void,
12640        pReqQueryAccount: *mut CThostFtdcReqQueryAccountField,
12641        pRspInfo: *mut CThostFtdcRspInfoField,
12642    );
12643}
12644extern "C" {
12645    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi35OnRtnRepealFromBankToFutureByFutureEP24CThostFtdcRspRepealField"]
12646    pub fn Rust_CThostFtdcTraderSpi_OnRtnRepealFromBankToFutureByFuture(
12647        this: *mut ::std::os::raw::c_void,
12648        pRspRepeal: *mut CThostFtdcRspRepealField,
12649    );
12650}
12651extern "C" {
12652    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi35OnRtnRepealFromFutureToBankByFutureEP24CThostFtdcRspRepealField"]
12653    pub fn Rust_CThostFtdcTraderSpi_OnRtnRepealFromFutureToBankByFuture(
12654        this: *mut ::std::os::raw::c_void,
12655        pRspRepeal: *mut CThostFtdcRspRepealField,
12656    );
12657}
12658extern "C" {
12659    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi29OnRspFromBankToFutureByFutureEP26CThostFtdcReqTransferFieldP22CThostFtdcRspInfoFieldib"]
12660    pub fn Rust_CThostFtdcTraderSpi_OnRspFromBankToFutureByFuture(
12661        this: *mut ::std::os::raw::c_void,
12662        pReqTransfer: *mut CThostFtdcReqTransferField,
12663        pRspInfo: *mut CThostFtdcRspInfoField,
12664        nRequestID: ::std::os::raw::c_int,
12665        bIsLast: bool,
12666    );
12667}
12668extern "C" {
12669    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi29OnRspFromFutureToBankByFutureEP26CThostFtdcReqTransferFieldP22CThostFtdcRspInfoFieldib"]
12670    pub fn Rust_CThostFtdcTraderSpi_OnRspFromFutureToBankByFuture(
12671        this: *mut ::std::os::raw::c_void,
12672        pReqTransfer: *mut CThostFtdcReqTransferField,
12673        pRspInfo: *mut CThostFtdcRspInfoField,
12674        nRequestID: ::std::os::raw::c_int,
12675        bIsLast: bool,
12676    );
12677}
12678extern "C" {
12679    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi34OnRspQueryBankAccountMoneyByFutureEP30CThostFtdcReqQueryAccountFieldP22CThostFtdcRspInfoFieldib"]
12680    pub fn Rust_CThostFtdcTraderSpi_OnRspQueryBankAccountMoneyByFuture(
12681        this: *mut ::std::os::raw::c_void,
12682        pReqQueryAccount: *mut CThostFtdcReqQueryAccountField,
12683        pRspInfo: *mut CThostFtdcRspInfoField,
12684        nRequestID: ::std::os::raw::c_int,
12685        bIsLast: bool,
12686    );
12687}
12688extern "C" {
12689    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi22OnRtnOpenAccountByBankEP26CThostFtdcOpenAccountField"]
12690    pub fn Rust_CThostFtdcTraderSpi_OnRtnOpenAccountByBank(
12691        this: *mut ::std::os::raw::c_void,
12692        pOpenAccount: *mut CThostFtdcOpenAccountField,
12693    );
12694}
12695extern "C" {
12696    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi24OnRtnCancelAccountByBankEP28CThostFtdcCancelAccountField"]
12697    pub fn Rust_CThostFtdcTraderSpi_OnRtnCancelAccountByBank(
12698        this: *mut ::std::os::raw::c_void,
12699        pCancelAccount: *mut CThostFtdcCancelAccountField,
12700    );
12701}
12702extern "C" {
12703    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi24OnRtnChangeAccountByBankEP28CThostFtdcChangeAccountField"]
12704    pub fn Rust_CThostFtdcTraderSpi_OnRtnChangeAccountByBank(
12705        this: *mut ::std::os::raw::c_void,
12706        pChangeAccount: *mut CThostFtdcChangeAccountField,
12707    );
12708}
12709extern "C" {
12710    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi28OnRspQryClassifiedInstrumentEP25CThostFtdcInstrumentFieldP22CThostFtdcRspInfoFieldib"]
12711    pub fn Rust_CThostFtdcTraderSpi_OnRspQryClassifiedInstrument(
12712        this: *mut ::std::os::raw::c_void,
12713        pInstrument: *mut CThostFtdcInstrumentField,
12714        pRspInfo: *mut CThostFtdcRspInfoField,
12715        nRequestID: ::std::os::raw::c_int,
12716        bIsLast: bool,
12717    );
12718}
12719extern "C" {
12720    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi26OnRspQryCombPromotionParamEP33CThostFtdcCombPromotionParamFieldP22CThostFtdcRspInfoFieldib"]
12721    pub fn Rust_CThostFtdcTraderSpi_OnRspQryCombPromotionParam(
12722        this: *mut ::std::os::raw::c_void,
12723        pCombPromotionParam: *mut CThostFtdcCombPromotionParamField,
12724        pRspInfo: *mut CThostFtdcRspInfoField,
12725        nRequestID: ::std::os::raw::c_int,
12726        bIsLast: bool,
12727    );
12728}
12729extern "C" {
12730    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi31OnRspQryRiskSettleInvstPositionEP38CThostFtdcRiskSettleInvstPositionFieldP22CThostFtdcRspInfoFieldib"]
12731    pub fn Rust_CThostFtdcTraderSpi_OnRspQryRiskSettleInvstPosition(
12732        this: *mut ::std::os::raw::c_void,
12733        pRiskSettleInvstPosition: *mut CThostFtdcRiskSettleInvstPositionField,
12734        pRspInfo: *mut CThostFtdcRspInfoField,
12735        nRequestID: ::std::os::raw::c_int,
12736        bIsLast: bool,
12737    );
12738}
12739extern "C" {
12740    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi31OnRspQryRiskSettleProductStatusEP38CThostFtdcRiskSettleProductStatusFieldP22CThostFtdcRspInfoFieldib"]
12741    pub fn Rust_CThostFtdcTraderSpi_OnRspQryRiskSettleProductStatus(
12742        this: *mut ::std::os::raw::c_void,
12743        pRiskSettleProductStatus: *mut CThostFtdcRiskSettleProductStatusField,
12744        pRspInfo: *mut CThostFtdcRspInfoField,
12745        nRequestID: ::std::os::raw::c_int,
12746        bIsLast: bool,
12747    );
12748}
12749extern "C" {
12750    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi27OnRspQrySPBMFutureParameterEP34CThostFtdcSPBMFutureParameterFieldP22CThostFtdcRspInfoFieldib"]
12751    pub fn Rust_CThostFtdcTraderSpi_OnRspQrySPBMFutureParameter(
12752        this: *mut ::std::os::raw::c_void,
12753        pSPBMFutureParameter: *mut CThostFtdcSPBMFutureParameterField,
12754        pRspInfo: *mut CThostFtdcRspInfoField,
12755        nRequestID: ::std::os::raw::c_int,
12756        bIsLast: bool,
12757    );
12758}
12759extern "C" {
12760    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi27OnRspQrySPBMOptionParameterEP34CThostFtdcSPBMOptionParameterFieldP22CThostFtdcRspInfoFieldib"]
12761    pub fn Rust_CThostFtdcTraderSpi_OnRspQrySPBMOptionParameter(
12762        this: *mut ::std::os::raw::c_void,
12763        pSPBMOptionParameter: *mut CThostFtdcSPBMOptionParameterField,
12764        pRspInfo: *mut CThostFtdcRspInfoField,
12765        nRequestID: ::std::os::raw::c_int,
12766        bIsLast: bool,
12767    );
12768}
12769extern "C" {
12770    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi26OnRspQrySPBMIntraParameterEP33CThostFtdcSPBMIntraParameterFieldP22CThostFtdcRspInfoFieldib"]
12771    pub fn Rust_CThostFtdcTraderSpi_OnRspQrySPBMIntraParameter(
12772        this: *mut ::std::os::raw::c_void,
12773        pSPBMIntraParameter: *mut CThostFtdcSPBMIntraParameterField,
12774        pRspInfo: *mut CThostFtdcRspInfoField,
12775        nRequestID: ::std::os::raw::c_int,
12776        bIsLast: bool,
12777    );
12778}
12779extern "C" {
12780    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi26OnRspQrySPBMInterParameterEP33CThostFtdcSPBMInterParameterFieldP22CThostFtdcRspInfoFieldib"]
12781    pub fn Rust_CThostFtdcTraderSpi_OnRspQrySPBMInterParameter(
12782        this: *mut ::std::os::raw::c_void,
12783        pSPBMInterParameter: *mut CThostFtdcSPBMInterParameterField,
12784        pRspInfo: *mut CThostFtdcRspInfoField,
12785        nRequestID: ::std::os::raw::c_int,
12786        bIsLast: bool,
12787    );
12788}
12789extern "C" {
12790    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi27OnRspQrySPBMPortfDefinitionEP34CThostFtdcSPBMPortfDefinitionFieldP22CThostFtdcRspInfoFieldib"]
12791    pub fn Rust_CThostFtdcTraderSpi_OnRspQrySPBMPortfDefinition(
12792        this: *mut ::std::os::raw::c_void,
12793        pSPBMPortfDefinition: *mut CThostFtdcSPBMPortfDefinitionField,
12794        pRspInfo: *mut CThostFtdcRspInfoField,
12795        nRequestID: ::std::os::raw::c_int,
12796        bIsLast: bool,
12797    );
12798}
12799extern "C" {
12800    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi28OnRspQrySPBMInvestorPortfDefEP35CThostFtdcSPBMInvestorPortfDefFieldP22CThostFtdcRspInfoFieldib"]
12801    pub fn Rust_CThostFtdcTraderSpi_OnRspQrySPBMInvestorPortfDef(
12802        this: *mut ::std::os::raw::c_void,
12803        pSPBMInvestorPortfDef: *mut CThostFtdcSPBMInvestorPortfDefField,
12804        pRspInfo: *mut CThostFtdcRspInfoField,
12805        nRequestID: ::std::os::raw::c_int,
12806        bIsLast: bool,
12807    );
12808}
12809extern "C" {
12810    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi32OnRspQryInvestorPortfMarginRatioEP39CThostFtdcInvestorPortfMarginRatioFieldP22CThostFtdcRspInfoFieldib"]
12811    pub fn Rust_CThostFtdcTraderSpi_OnRspQryInvestorPortfMarginRatio(
12812        this: *mut ::std::os::raw::c_void,
12813        pInvestorPortfMarginRatio: *mut CThostFtdcInvestorPortfMarginRatioField,
12814        pRspInfo: *mut CThostFtdcRspInfoField,
12815        nRequestID: ::std::os::raw::c_int,
12816        bIsLast: bool,
12817    );
12818}
12819extern "C" {
12820    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi30OnRspQryInvestorProdSPBMDetailEP37CThostFtdcInvestorProdSPBMDetailFieldP22CThostFtdcRspInfoFieldib"]
12821    pub fn Rust_CThostFtdcTraderSpi_OnRspQryInvestorProdSPBMDetail(
12822        this: *mut ::std::os::raw::c_void,
12823        pInvestorProdSPBMDetail: *mut CThostFtdcInvestorProdSPBMDetailField,
12824        pRspInfo: *mut CThostFtdcRspInfoField,
12825        nRequestID: ::std::os::raw::c_int,
12826        bIsLast: bool,
12827    );
12828}
12829extern "C" {
12830    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi35OnRspQryInvestorCommoditySPMMMarginEP42CThostFtdcInvestorCommoditySPMMMarginFieldP22CThostFtdcRspInfoFieldib"]
12831    pub fn Rust_CThostFtdcTraderSpi_OnRspQryInvestorCommoditySPMMMargin(
12832        this: *mut ::std::os::raw::c_void,
12833        pInvestorCommoditySPMMMargin: *mut CThostFtdcInvestorCommoditySPMMMarginField,
12834        pRspInfo: *mut CThostFtdcRspInfoField,
12835        nRequestID: ::std::os::raw::c_int,
12836        bIsLast: bool,
12837    );
12838}
12839extern "C" {
12840    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi40OnRspQryInvestorCommodityGroupSPMMMarginEP47CThostFtdcInvestorCommodityGroupSPMMMarginFieldP22CThostFtdcRspInfoFieldib"]
12841    pub fn Rust_CThostFtdcTraderSpi_OnRspQryInvestorCommodityGroupSPMMMargin(
12842        this: *mut ::std::os::raw::c_void,
12843        pInvestorCommodityGroupSPMMMargin: *mut CThostFtdcInvestorCommodityGroupSPMMMarginField,
12844        pRspInfo: *mut CThostFtdcRspInfoField,
12845        nRequestID: ::std::os::raw::c_int,
12846        bIsLast: bool,
12847    );
12848}
12849extern "C" {
12850    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi21OnRspQrySPMMInstParamEP28CThostFtdcSPMMInstParamFieldP22CThostFtdcRspInfoFieldib"]
12851    pub fn Rust_CThostFtdcTraderSpi_OnRspQrySPMMInstParam(
12852        this: *mut ::std::os::raw::c_void,
12853        pSPMMInstParam: *mut CThostFtdcSPMMInstParamField,
12854        pRspInfo: *mut CThostFtdcRspInfoField,
12855        nRequestID: ::std::os::raw::c_int,
12856        bIsLast: bool,
12857    );
12858}
12859extern "C" {
12860    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi24OnRspQrySPMMProductParamEP31CThostFtdcSPMMProductParamFieldP22CThostFtdcRspInfoFieldib"]
12861    pub fn Rust_CThostFtdcTraderSpi_OnRspQrySPMMProductParam(
12862        this: *mut ::std::os::raw::c_void,
12863        pSPMMProductParam: *mut CThostFtdcSPMMProductParamField,
12864        pRspInfo: *mut CThostFtdcRspInfoField,
12865        nRequestID: ::std::os::raw::c_int,
12866        bIsLast: bool,
12867    );
12868}
12869extern "C" {
12870    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi31OnRspQrySPBMAddOnInterParameterEP38CThostFtdcSPBMAddOnInterParameterFieldP22CThostFtdcRspInfoFieldib"]
12871    pub fn Rust_CThostFtdcTraderSpi_OnRspQrySPBMAddOnInterParameter(
12872        this: *mut ::std::os::raw::c_void,
12873        pSPBMAddOnInterParameter: *mut CThostFtdcSPBMAddOnInterParameterField,
12874        pRspInfo: *mut CThostFtdcRspInfoField,
12875        nRequestID: ::std::os::raw::c_int,
12876        bIsLast: bool,
12877    );
12878}
12879extern "C" {
12880    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi28OnRspQryRCAMSCombProductInfoEP35CThostFtdcRCAMSCombProductInfoFieldP22CThostFtdcRspInfoFieldib"]
12881    pub fn Rust_CThostFtdcTraderSpi_OnRspQryRCAMSCombProductInfo(
12882        this: *mut ::std::os::raw::c_void,
12883        pRCAMSCombProductInfo: *mut CThostFtdcRCAMSCombProductInfoField,
12884        pRspInfo: *mut CThostFtdcRspInfoField,
12885        nRequestID: ::std::os::raw::c_int,
12886        bIsLast: bool,
12887    );
12888}
12889extern "C" {
12890    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi27OnRspQryRCAMSInstrParameterEP34CThostFtdcRCAMSInstrParameterFieldP22CThostFtdcRspInfoFieldib"]
12891    pub fn Rust_CThostFtdcTraderSpi_OnRspQryRCAMSInstrParameter(
12892        this: *mut ::std::os::raw::c_void,
12893        pRCAMSInstrParameter: *mut CThostFtdcRCAMSInstrParameterField,
12894        pRspInfo: *mut CThostFtdcRspInfoField,
12895        nRequestID: ::std::os::raw::c_int,
12896        bIsLast: bool,
12897    );
12898}
12899extern "C" {
12900    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi27OnRspQryRCAMSIntraParameterEP34CThostFtdcRCAMSIntraParameterFieldP22CThostFtdcRspInfoFieldib"]
12901    pub fn Rust_CThostFtdcTraderSpi_OnRspQryRCAMSIntraParameter(
12902        this: *mut ::std::os::raw::c_void,
12903        pRCAMSIntraParameter: *mut CThostFtdcRCAMSIntraParameterField,
12904        pRspInfo: *mut CThostFtdcRspInfoField,
12905        nRequestID: ::std::os::raw::c_int,
12906        bIsLast: bool,
12907    );
12908}
12909extern "C" {
12910    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi27OnRspQryRCAMSInterParameterEP34CThostFtdcRCAMSInterParameterFieldP22CThostFtdcRspInfoFieldib"]
12911    pub fn Rust_CThostFtdcTraderSpi_OnRspQryRCAMSInterParameter(
12912        this: *mut ::std::os::raw::c_void,
12913        pRCAMSInterParameter: *mut CThostFtdcRCAMSInterParameterField,
12914        pRspInfo: *mut CThostFtdcRspInfoField,
12915        nRequestID: ::std::os::raw::c_int,
12916        bIsLast: bool,
12917    );
12918}
12919extern "C" {
12920    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi32OnRspQryRCAMSShortOptAdjustParamEP39CThostFtdcRCAMSShortOptAdjustParamFieldP22CThostFtdcRspInfoFieldib"]
12921    pub fn Rust_CThostFtdcTraderSpi_OnRspQryRCAMSShortOptAdjustParam(
12922        this: *mut ::std::os::raw::c_void,
12923        pRCAMSShortOptAdjustParam: *mut CThostFtdcRCAMSShortOptAdjustParamField,
12924        pRspInfo: *mut CThostFtdcRspInfoField,
12925        nRequestID: ::std::os::raw::c_int,
12926        bIsLast: bool,
12927    );
12928}
12929extern "C" {
12930    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi33OnRspQryRCAMSInvestorCombPositionEP40CThostFtdcRCAMSInvestorCombPositionFieldP22CThostFtdcRspInfoFieldib"]
12931    pub fn Rust_CThostFtdcTraderSpi_OnRspQryRCAMSInvestorCombPosition(
12932        this: *mut ::std::os::raw::c_void,
12933        pRCAMSInvestorCombPosition: *mut CThostFtdcRCAMSInvestorCombPositionField,
12934        pRspInfo: *mut CThostFtdcRspInfoField,
12935        nRequestID: ::std::os::raw::c_int,
12936        bIsLast: bool,
12937    );
12938}
12939extern "C" {
12940    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi31OnRspQryInvestorProdRCAMSMarginEP38CThostFtdcInvestorProdRCAMSMarginFieldP22CThostFtdcRspInfoFieldib"]
12941    pub fn Rust_CThostFtdcTraderSpi_OnRspQryInvestorProdRCAMSMargin(
12942        this: *mut ::std::os::raw::c_void,
12943        pInvestorProdRCAMSMargin: *mut CThostFtdcInvestorProdRCAMSMarginField,
12944        pRspInfo: *mut CThostFtdcRspInfoField,
12945        nRequestID: ::std::os::raw::c_int,
12946        bIsLast: bool,
12947    );
12948}
12949extern "C" {
12950    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi26OnRspQryRULEInstrParameterEP33CThostFtdcRULEInstrParameterFieldP22CThostFtdcRspInfoFieldib"]
12951    pub fn Rust_CThostFtdcTraderSpi_OnRspQryRULEInstrParameter(
12952        this: *mut ::std::os::raw::c_void,
12953        pRULEInstrParameter: *mut CThostFtdcRULEInstrParameterField,
12954        pRspInfo: *mut CThostFtdcRspInfoField,
12955        nRequestID: ::std::os::raw::c_int,
12956        bIsLast: bool,
12957    );
12958}
12959extern "C" {
12960    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi26OnRspQryRULEIntraParameterEP33CThostFtdcRULEIntraParameterFieldP22CThostFtdcRspInfoFieldib"]
12961    pub fn Rust_CThostFtdcTraderSpi_OnRspQryRULEIntraParameter(
12962        this: *mut ::std::os::raw::c_void,
12963        pRULEIntraParameter: *mut CThostFtdcRULEIntraParameterField,
12964        pRspInfo: *mut CThostFtdcRspInfoField,
12965        nRequestID: ::std::os::raw::c_int,
12966        bIsLast: bool,
12967    );
12968}
12969extern "C" {
12970    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi26OnRspQryRULEInterParameterEP33CThostFtdcRULEInterParameterFieldP22CThostFtdcRspInfoFieldib"]
12971    pub fn Rust_CThostFtdcTraderSpi_OnRspQryRULEInterParameter(
12972        this: *mut ::std::os::raw::c_void,
12973        pRULEInterParameter: *mut CThostFtdcRULEInterParameterField,
12974        pRspInfo: *mut CThostFtdcRspInfoField,
12975        nRequestID: ::std::os::raw::c_int,
12976        bIsLast: bool,
12977    );
12978}
12979extern "C" {
12980    #[link_name = "\u{1}_ZN24Rust_CThostFtdcTraderSpi30OnRspQryInvestorProdRULEMarginEP37CThostFtdcInvestorProdRULEMarginFieldP22CThostFtdcRspInfoFieldib"]
12981    pub fn Rust_CThostFtdcTraderSpi_OnRspQryInvestorProdRULEMargin(
12982        this: *mut ::std::os::raw::c_void,
12983        pInvestorProdRULEMargin: *mut CThostFtdcInvestorProdRULEMarginField,
12984        pRspInfo: *mut CThostFtdcRspInfoField,
12985        nRequestID: ::std::os::raw::c_int,
12986        bIsLast: bool,
12987    );
12988}
12989#[allow(unused)]
12990pub trait Rust_CThostFtdcMdSpi_Trait {
12991    fn on_front_connected(&mut self) {  }
12992    fn on_front_disconnected(&mut self, nReason: ::std::os::raw::c_int) {  }
12993    fn on_heart_beat_warning(&mut self, nTimeLapse: ::std::os::raw::c_int) {  }
12994    fn on_rsp_user_login(&mut self, pRspUserLogin: *mut CThostFtdcRspUserLoginField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
12995    fn on_rsp_user_logout(&mut self, pUserLogout: *mut CThostFtdcUserLogoutField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
12996    fn on_rsp_qry_multicast_instrument(&mut self, pMulticastInstrument: *mut CThostFtdcMulticastInstrumentField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
12997    fn on_rsp_error(&mut self, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
12998    fn on_rsp_sub_market_data(&mut self, pSpecificInstrument: *mut CThostFtdcSpecificInstrumentField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
12999    fn on_rsp_un_sub_market_data(&mut self, pSpecificInstrument: *mut CThostFtdcSpecificInstrumentField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13000    fn on_rsp_sub_for_quote_rsp(&mut self, pSpecificInstrument: *mut CThostFtdcSpecificInstrumentField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13001    fn on_rsp_un_sub_for_quote_rsp(&mut self, pSpecificInstrument: *mut CThostFtdcSpecificInstrumentField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13002    fn on_rtn_depth_market_data(&mut self, pDepthMarketData: *mut CThostFtdcDepthMarketDataField) {  }
13003    fn on_rtn_for_quote_rsp(&mut self, pForQuoteRsp: *mut CThostFtdcForQuoteRspField) {  }
13004}
13005
13006#[no_mangle]
13007pub extern "C" fn Rust_CThostFtdcMdSpi_Trait_OnFrontConnected(trait_obj: *mut ::std::os::raw::c_void) {
13008    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcMdSpi_Trait>;
13009    let trait_obj: &mut dyn Rust_CThostFtdcMdSpi_Trait = unsafe { &mut **trait_obj };
13010    trait_obj.on_front_connected()
13011}
13012
13013#[no_mangle]
13014pub extern "C" fn Rust_CThostFtdcMdSpi_Trait_OnFrontDisconnected(trait_obj: *mut ::std::os::raw::c_void, nReason: ::std::os::raw::c_int) {
13015    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcMdSpi_Trait>;
13016    let trait_obj: &mut dyn Rust_CThostFtdcMdSpi_Trait = unsafe { &mut **trait_obj };
13017    trait_obj.on_front_disconnected(nReason)
13018}
13019
13020#[no_mangle]
13021pub extern "C" fn Rust_CThostFtdcMdSpi_Trait_OnHeartBeatWarning(trait_obj: *mut ::std::os::raw::c_void, nTimeLapse: ::std::os::raw::c_int) {
13022    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcMdSpi_Trait>;
13023    let trait_obj: &mut dyn Rust_CThostFtdcMdSpi_Trait = unsafe { &mut **trait_obj };
13024    trait_obj.on_heart_beat_warning(nTimeLapse)
13025}
13026
13027#[no_mangle]
13028pub extern "C" fn Rust_CThostFtdcMdSpi_Trait_OnRspUserLogin(trait_obj: *mut ::std::os::raw::c_void, pRspUserLogin: *mut CThostFtdcRspUserLoginField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
13029    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcMdSpi_Trait>;
13030    let trait_obj: &mut dyn Rust_CThostFtdcMdSpi_Trait = unsafe { &mut **trait_obj };
13031    trait_obj.on_rsp_user_login(pRspUserLogin, pRspInfo, nRequestID, bIsLast)
13032}
13033
13034#[no_mangle]
13035pub extern "C" fn Rust_CThostFtdcMdSpi_Trait_OnRspUserLogout(trait_obj: *mut ::std::os::raw::c_void, pUserLogout: *mut CThostFtdcUserLogoutField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
13036    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcMdSpi_Trait>;
13037    let trait_obj: &mut dyn Rust_CThostFtdcMdSpi_Trait = unsafe { &mut **trait_obj };
13038    trait_obj.on_rsp_user_logout(pUserLogout, pRspInfo, nRequestID, bIsLast)
13039}
13040
13041#[no_mangle]
13042pub extern "C" fn Rust_CThostFtdcMdSpi_Trait_OnRspQryMulticastInstrument(trait_obj: *mut ::std::os::raw::c_void, pMulticastInstrument: *mut CThostFtdcMulticastInstrumentField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
13043    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcMdSpi_Trait>;
13044    let trait_obj: &mut dyn Rust_CThostFtdcMdSpi_Trait = unsafe { &mut **trait_obj };
13045    trait_obj.on_rsp_qry_multicast_instrument(pMulticastInstrument, pRspInfo, nRequestID, bIsLast)
13046}
13047
13048#[no_mangle]
13049pub extern "C" fn Rust_CThostFtdcMdSpi_Trait_OnRspError(trait_obj: *mut ::std::os::raw::c_void, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
13050    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcMdSpi_Trait>;
13051    let trait_obj: &mut dyn Rust_CThostFtdcMdSpi_Trait = unsafe { &mut **trait_obj };
13052    trait_obj.on_rsp_error(pRspInfo, nRequestID, bIsLast)
13053}
13054
13055#[no_mangle]
13056pub extern "C" fn Rust_CThostFtdcMdSpi_Trait_OnRspSubMarketData(trait_obj: *mut ::std::os::raw::c_void, pSpecificInstrument: *mut CThostFtdcSpecificInstrumentField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
13057    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcMdSpi_Trait>;
13058    let trait_obj: &mut dyn Rust_CThostFtdcMdSpi_Trait = unsafe { &mut **trait_obj };
13059    trait_obj.on_rsp_sub_market_data(pSpecificInstrument, pRspInfo, nRequestID, bIsLast)
13060}
13061
13062#[no_mangle]
13063pub extern "C" fn Rust_CThostFtdcMdSpi_Trait_OnRspUnSubMarketData(trait_obj: *mut ::std::os::raw::c_void, pSpecificInstrument: *mut CThostFtdcSpecificInstrumentField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
13064    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcMdSpi_Trait>;
13065    let trait_obj: &mut dyn Rust_CThostFtdcMdSpi_Trait = unsafe { &mut **trait_obj };
13066    trait_obj.on_rsp_un_sub_market_data(pSpecificInstrument, pRspInfo, nRequestID, bIsLast)
13067}
13068
13069#[no_mangle]
13070pub extern "C" fn Rust_CThostFtdcMdSpi_Trait_OnRspSubForQuoteRsp(trait_obj: *mut ::std::os::raw::c_void, pSpecificInstrument: *mut CThostFtdcSpecificInstrumentField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
13071    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcMdSpi_Trait>;
13072    let trait_obj: &mut dyn Rust_CThostFtdcMdSpi_Trait = unsafe { &mut **trait_obj };
13073    trait_obj.on_rsp_sub_for_quote_rsp(pSpecificInstrument, pRspInfo, nRequestID, bIsLast)
13074}
13075
13076#[no_mangle]
13077pub extern "C" fn Rust_CThostFtdcMdSpi_Trait_OnRspUnSubForQuoteRsp(trait_obj: *mut ::std::os::raw::c_void, pSpecificInstrument: *mut CThostFtdcSpecificInstrumentField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
13078    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcMdSpi_Trait>;
13079    let trait_obj: &mut dyn Rust_CThostFtdcMdSpi_Trait = unsafe { &mut **trait_obj };
13080    trait_obj.on_rsp_un_sub_for_quote_rsp(pSpecificInstrument, pRspInfo, nRequestID, bIsLast)
13081}
13082
13083#[no_mangle]
13084pub extern "C" fn Rust_CThostFtdcMdSpi_Trait_OnRtnDepthMarketData(trait_obj: *mut ::std::os::raw::c_void, pDepthMarketData: *mut CThostFtdcDepthMarketDataField) {
13085    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcMdSpi_Trait>;
13086    let trait_obj: &mut dyn Rust_CThostFtdcMdSpi_Trait = unsafe { &mut **trait_obj };
13087    trait_obj.on_rtn_depth_market_data(pDepthMarketData)
13088}
13089
13090#[no_mangle]
13091pub extern "C" fn Rust_CThostFtdcMdSpi_Trait_OnRtnForQuoteRsp(trait_obj: *mut ::std::os::raw::c_void, pForQuoteRsp: *mut CThostFtdcForQuoteRspField) {
13092    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcMdSpi_Trait>;
13093    let trait_obj: &mut dyn Rust_CThostFtdcMdSpi_Trait = unsafe { &mut **trait_obj };
13094    trait_obj.on_rtn_for_quote_rsp(pForQuoteRsp)
13095}
13096
13097#[no_mangle]
13098pub extern "C" fn Rust_CThostFtdcMdSpi_Trait_Drop(trait_obj: *mut ::std::os::raw::c_void) {
13099    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcMdSpi_Trait>;
13100    let _r: Box<Box<dyn Rust_CThostFtdcMdSpi_Trait>> = unsafe { Box::from_raw(trait_obj) };
13101}
13102
13103#[allow(unused)]
13104pub trait Rust_CThostFtdcTraderSpi_Trait {
13105    fn on_front_connected(&mut self) {  }
13106    fn on_front_disconnected(&mut self, nReason: ::std::os::raw::c_int) {  }
13107    fn on_heart_beat_warning(&mut self, nTimeLapse: ::std::os::raw::c_int) {  }
13108    fn on_rsp_authenticate(&mut self, pRspAuthenticateField: *mut CThostFtdcRspAuthenticateField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13109    fn on_rsp_user_login(&mut self, pRspUserLogin: *mut CThostFtdcRspUserLoginField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13110    fn on_rsp_user_logout(&mut self, pUserLogout: *mut CThostFtdcUserLogoutField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13111    fn on_rsp_user_password_update(&mut self, pUserPasswordUpdate: *mut CThostFtdcUserPasswordUpdateField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13112    fn on_rsp_trading_account_password_update(&mut self, pTradingAccountPasswordUpdate: *mut CThostFtdcTradingAccountPasswordUpdateField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13113    fn on_rsp_user_auth_method(&mut self, pRspUserAuthMethod: *mut CThostFtdcRspUserAuthMethodField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13114    fn on_rsp_gen_user_captcha(&mut self, pRspGenUserCaptcha: *mut CThostFtdcRspGenUserCaptchaField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13115    fn on_rsp_gen_user_text(&mut self, pRspGenUserText: *mut CThostFtdcRspGenUserTextField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13116    fn on_rsp_order_insert(&mut self, pInputOrder: *mut CThostFtdcInputOrderField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13117    fn on_rsp_parked_order_insert(&mut self, pParkedOrder: *mut CThostFtdcParkedOrderField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13118    fn on_rsp_parked_order_action(&mut self, pParkedOrderAction: *mut CThostFtdcParkedOrderActionField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13119    fn on_rsp_order_action(&mut self, pInputOrderAction: *mut CThostFtdcInputOrderActionField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13120    fn on_rsp_qry_max_order_volume(&mut self, pQryMaxOrderVolume: *mut CThostFtdcQryMaxOrderVolumeField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13121    fn on_rsp_settlement_info_confirm(&mut self, pSettlementInfoConfirm: *mut CThostFtdcSettlementInfoConfirmField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13122    fn on_rsp_remove_parked_order(&mut self, pRemoveParkedOrder: *mut CThostFtdcRemoveParkedOrderField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13123    fn on_rsp_remove_parked_order_action(&mut self, pRemoveParkedOrderAction: *mut CThostFtdcRemoveParkedOrderActionField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13124    fn on_rsp_exec_order_insert(&mut self, pInputExecOrder: *mut CThostFtdcInputExecOrderField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13125    fn on_rsp_exec_order_action(&mut self, pInputExecOrderAction: *mut CThostFtdcInputExecOrderActionField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13126    fn on_rsp_for_quote_insert(&mut self, pInputForQuote: *mut CThostFtdcInputForQuoteField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13127    fn on_rsp_quote_insert(&mut self, pInputQuote: *mut CThostFtdcInputQuoteField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13128    fn on_rsp_quote_action(&mut self, pInputQuoteAction: *mut CThostFtdcInputQuoteActionField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13129    fn on_rsp_batch_order_action(&mut self, pInputBatchOrderAction: *mut CThostFtdcInputBatchOrderActionField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13130    fn on_rsp_option_self_close_insert(&mut self, pInputOptionSelfClose: *mut CThostFtdcInputOptionSelfCloseField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13131    fn on_rsp_option_self_close_action(&mut self, pInputOptionSelfCloseAction: *mut CThostFtdcInputOptionSelfCloseActionField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13132    fn on_rsp_comb_action_insert(&mut self, pInputCombAction: *mut CThostFtdcInputCombActionField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13133    fn on_rsp_qry_order(&mut self, pOrder: *mut CThostFtdcOrderField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13134    fn on_rsp_qry_trade(&mut self, pTrade: *mut CThostFtdcTradeField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13135    fn on_rsp_qry_investor_position(&mut self, pInvestorPosition: *mut CThostFtdcInvestorPositionField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13136    fn on_rsp_qry_trading_account(&mut self, pTradingAccount: *mut CThostFtdcTradingAccountField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13137    fn on_rsp_qry_investor(&mut self, pInvestor: *mut CThostFtdcInvestorField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13138    fn on_rsp_qry_trading_code(&mut self, pTradingCode: *mut CThostFtdcTradingCodeField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13139    fn on_rsp_qry_instrument_margin_rate(&mut self, pInstrumentMarginRate: *mut CThostFtdcInstrumentMarginRateField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13140    fn on_rsp_qry_instrument_commission_rate(&mut self, pInstrumentCommissionRate: *mut CThostFtdcInstrumentCommissionRateField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13141    fn on_rsp_qry_exchange(&mut self, pExchange: *mut CThostFtdcExchangeField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13142    fn on_rsp_qry_product(&mut self, pProduct: *mut CThostFtdcProductField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13143    fn on_rsp_qry_instrument(&mut self, pInstrument: *mut CThostFtdcInstrumentField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13144    fn on_rsp_qry_depth_market_data(&mut self, pDepthMarketData: *mut CThostFtdcDepthMarketDataField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13145    fn on_rsp_qry_trader_offer(&mut self, pTraderOffer: *mut CThostFtdcTraderOfferField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13146    fn on_rsp_qry_settlement_info(&mut self, pSettlementInfo: *mut CThostFtdcSettlementInfoField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13147    fn on_rsp_qry_transfer_bank(&mut self, pTransferBank: *mut CThostFtdcTransferBankField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13148    fn on_rsp_qry_investor_position_detail(&mut self, pInvestorPositionDetail: *mut CThostFtdcInvestorPositionDetailField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13149    fn on_rsp_qry_notice(&mut self, pNotice: *mut CThostFtdcNoticeField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13150    fn on_rsp_qry_settlement_info_confirm(&mut self, pSettlementInfoConfirm: *mut CThostFtdcSettlementInfoConfirmField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13151    fn on_rsp_qry_investor_position_combine_detail(&mut self, pInvestorPositionCombineDetail: *mut CThostFtdcInvestorPositionCombineDetailField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13152    fn on_rsp_qry_cfmmc_trading_account_key(&mut self, pCFMMCTradingAccountKey: *mut CThostFtdcCFMMCTradingAccountKeyField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13153    fn on_rsp_qry_e_warrant_offset(&mut self, pEWarrantOffset: *mut CThostFtdcEWarrantOffsetField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13154    fn on_rsp_qry_investor_product_group_margin(&mut self, pInvestorProductGroupMargin: *mut CThostFtdcInvestorProductGroupMarginField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13155    fn on_rsp_qry_exchange_margin_rate(&mut self, pExchangeMarginRate: *mut CThostFtdcExchangeMarginRateField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13156    fn on_rsp_qry_exchange_margin_rate_adjust(&mut self, pExchangeMarginRateAdjust: *mut CThostFtdcExchangeMarginRateAdjustField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13157    fn on_rsp_qry_exchange_rate(&mut self, pExchangeRate: *mut CThostFtdcExchangeRateField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13158    fn on_rsp_qry_sec_agent_acid_map(&mut self, pSecAgentACIDMap: *mut CThostFtdcSecAgentACIDMapField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13159    fn on_rsp_qry_product_exch_rate(&mut self, pProductExchRate: *mut CThostFtdcProductExchRateField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13160    fn on_rsp_qry_product_group(&mut self, pProductGroup: *mut CThostFtdcProductGroupField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13161    fn on_rsp_qry_mm_instrument_commission_rate(&mut self, pMMInstrumentCommissionRate: *mut CThostFtdcMMInstrumentCommissionRateField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13162    fn on_rsp_qry_mm_option_instr_comm_rate(&mut self, pMMOptionInstrCommRate: *mut CThostFtdcMMOptionInstrCommRateField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13163    fn on_rsp_qry_instrument_order_comm_rate(&mut self, pInstrumentOrderCommRate: *mut CThostFtdcInstrumentOrderCommRateField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13164    fn on_rsp_qry_sec_agent_trading_account(&mut self, pTradingAccount: *mut CThostFtdcTradingAccountField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13165    fn on_rsp_qry_sec_agent_check_mode(&mut self, pSecAgentCheckMode: *mut CThostFtdcSecAgentCheckModeField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13166    fn on_rsp_qry_sec_agent_trade_info(&mut self, pSecAgentTradeInfo: *mut CThostFtdcSecAgentTradeInfoField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13167    fn on_rsp_qry_option_instr_trade_cost(&mut self, pOptionInstrTradeCost: *mut CThostFtdcOptionInstrTradeCostField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13168    fn on_rsp_qry_option_instr_comm_rate(&mut self, pOptionInstrCommRate: *mut CThostFtdcOptionInstrCommRateField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13169    fn on_rsp_qry_exec_order(&mut self, pExecOrder: *mut CThostFtdcExecOrderField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13170    fn on_rsp_qry_for_quote(&mut self, pForQuote: *mut CThostFtdcForQuoteField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13171    fn on_rsp_qry_quote(&mut self, pQuote: *mut CThostFtdcQuoteField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13172    fn on_rsp_qry_option_self_close(&mut self, pOptionSelfClose: *mut CThostFtdcOptionSelfCloseField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13173    fn on_rsp_qry_invest_unit(&mut self, pInvestUnit: *mut CThostFtdcInvestUnitField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13174    fn on_rsp_qry_comb_instrument_guard(&mut self, pCombInstrumentGuard: *mut CThostFtdcCombInstrumentGuardField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13175    fn on_rsp_qry_comb_action(&mut self, pCombAction: *mut CThostFtdcCombActionField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13176    fn on_rsp_qry_transfer_serial(&mut self, pTransferSerial: *mut CThostFtdcTransferSerialField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13177    fn on_rsp_qry_accountregister(&mut self, pAccountregister: *mut CThostFtdcAccountregisterField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13178    fn on_rsp_error(&mut self, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13179    fn on_rtn_order(&mut self, pOrder: *mut CThostFtdcOrderField) {  }
13180    fn on_rtn_trade(&mut self, pTrade: *mut CThostFtdcTradeField) {  }
13181    fn on_err_rtn_order_insert(&mut self, pInputOrder: *mut CThostFtdcInputOrderField, pRspInfo: *mut CThostFtdcRspInfoField) {  }
13182    fn on_err_rtn_order_action(&mut self, pOrderAction: *mut CThostFtdcOrderActionField, pRspInfo: *mut CThostFtdcRspInfoField) {  }
13183    fn on_rtn_instrument_status(&mut self, pInstrumentStatus: *mut CThostFtdcInstrumentStatusField) {  }
13184    fn on_rtn_bulletin(&mut self, pBulletin: *mut CThostFtdcBulletinField) {  }
13185    fn on_rtn_trading_notice(&mut self, pTradingNoticeInfo: *mut CThostFtdcTradingNoticeInfoField) {  }
13186    fn on_rtn_error_conditional_order(&mut self, pErrorConditionalOrder: *mut CThostFtdcErrorConditionalOrderField) {  }
13187    fn on_rtn_exec_order(&mut self, pExecOrder: *mut CThostFtdcExecOrderField) {  }
13188    fn on_err_rtn_exec_order_insert(&mut self, pInputExecOrder: *mut CThostFtdcInputExecOrderField, pRspInfo: *mut CThostFtdcRspInfoField) {  }
13189    fn on_err_rtn_exec_order_action(&mut self, pExecOrderAction: *mut CThostFtdcExecOrderActionField, pRspInfo: *mut CThostFtdcRspInfoField) {  }
13190    fn on_err_rtn_for_quote_insert(&mut self, pInputForQuote: *mut CThostFtdcInputForQuoteField, pRspInfo: *mut CThostFtdcRspInfoField) {  }
13191    fn on_rtn_quote(&mut self, pQuote: *mut CThostFtdcQuoteField) {  }
13192    fn on_err_rtn_quote_insert(&mut self, pInputQuote: *mut CThostFtdcInputQuoteField, pRspInfo: *mut CThostFtdcRspInfoField) {  }
13193    fn on_err_rtn_quote_action(&mut self, pQuoteAction: *mut CThostFtdcQuoteActionField, pRspInfo: *mut CThostFtdcRspInfoField) {  }
13194    fn on_rtn_for_quote_rsp(&mut self, pForQuoteRsp: *mut CThostFtdcForQuoteRspField) {  }
13195    fn on_rtn_cfmmc_trading_account_token(&mut self, pCFMMCTradingAccountToken: *mut CThostFtdcCFMMCTradingAccountTokenField) {  }
13196    fn on_err_rtn_batch_order_action(&mut self, pBatchOrderAction: *mut CThostFtdcBatchOrderActionField, pRspInfo: *mut CThostFtdcRspInfoField) {  }
13197    fn on_rtn_option_self_close(&mut self, pOptionSelfClose: *mut CThostFtdcOptionSelfCloseField) {  }
13198    fn on_err_rtn_option_self_close_insert(&mut self, pInputOptionSelfClose: *mut CThostFtdcInputOptionSelfCloseField, pRspInfo: *mut CThostFtdcRspInfoField) {  }
13199    fn on_err_rtn_option_self_close_action(&mut self, pOptionSelfCloseAction: *mut CThostFtdcOptionSelfCloseActionField, pRspInfo: *mut CThostFtdcRspInfoField) {  }
13200    fn on_rtn_comb_action(&mut self, pCombAction: *mut CThostFtdcCombActionField) {  }
13201    fn on_err_rtn_comb_action_insert(&mut self, pInputCombAction: *mut CThostFtdcInputCombActionField, pRspInfo: *mut CThostFtdcRspInfoField) {  }
13202    fn on_rsp_qry_contract_bank(&mut self, pContractBank: *mut CThostFtdcContractBankField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13203    fn on_rsp_qry_parked_order(&mut self, pParkedOrder: *mut CThostFtdcParkedOrderField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13204    fn on_rsp_qry_parked_order_action(&mut self, pParkedOrderAction: *mut CThostFtdcParkedOrderActionField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13205    fn on_rsp_qry_trading_notice(&mut self, pTradingNotice: *mut CThostFtdcTradingNoticeField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13206    fn on_rsp_qry_broker_trading_params(&mut self, pBrokerTradingParams: *mut CThostFtdcBrokerTradingParamsField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13207    fn on_rsp_qry_broker_trading_algos(&mut self, pBrokerTradingAlgos: *mut CThostFtdcBrokerTradingAlgosField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13208    fn on_rsp_query_cfmmc_trading_account_token(&mut self, pQueryCFMMCTradingAccountToken: *mut CThostFtdcQueryCFMMCTradingAccountTokenField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13209    fn on_rtn_from_bank_to_future_by_bank(&mut self, pRspTransfer: *mut CThostFtdcRspTransferField) {  }
13210    fn on_rtn_from_future_to_bank_by_bank(&mut self, pRspTransfer: *mut CThostFtdcRspTransferField) {  }
13211    fn on_rtn_repeal_from_bank_to_future_by_bank(&mut self, pRspRepeal: *mut CThostFtdcRspRepealField) {  }
13212    fn on_rtn_repeal_from_future_to_bank_by_bank(&mut self, pRspRepeal: *mut CThostFtdcRspRepealField) {  }
13213    fn on_rtn_from_bank_to_future_by_future(&mut self, pRspTransfer: *mut CThostFtdcRspTransferField) {  }
13214    fn on_rtn_from_future_to_bank_by_future(&mut self, pRspTransfer: *mut CThostFtdcRspTransferField) {  }
13215    fn on_rtn_repeal_from_bank_to_future_by_future_manual(&mut self, pRspRepeal: *mut CThostFtdcRspRepealField) {  }
13216    fn on_rtn_repeal_from_future_to_bank_by_future_manual(&mut self, pRspRepeal: *mut CThostFtdcRspRepealField) {  }
13217    fn on_rtn_query_bank_balance_by_future(&mut self, pNotifyQueryAccount: *mut CThostFtdcNotifyQueryAccountField) {  }
13218    fn on_err_rtn_bank_to_future_by_future(&mut self, pReqTransfer: *mut CThostFtdcReqTransferField, pRspInfo: *mut CThostFtdcRspInfoField) {  }
13219    fn on_err_rtn_future_to_bank_by_future(&mut self, pReqTransfer: *mut CThostFtdcReqTransferField, pRspInfo: *mut CThostFtdcRspInfoField) {  }
13220    fn on_err_rtn_repeal_bank_to_future_by_future_manual(&mut self, pReqRepeal: *mut CThostFtdcReqRepealField, pRspInfo: *mut CThostFtdcRspInfoField) {  }
13221    fn on_err_rtn_repeal_future_to_bank_by_future_manual(&mut self, pReqRepeal: *mut CThostFtdcReqRepealField, pRspInfo: *mut CThostFtdcRspInfoField) {  }
13222    fn on_err_rtn_query_bank_balance_by_future(&mut self, pReqQueryAccount: *mut CThostFtdcReqQueryAccountField, pRspInfo: *mut CThostFtdcRspInfoField) {  }
13223    fn on_rtn_repeal_from_bank_to_future_by_future(&mut self, pRspRepeal: *mut CThostFtdcRspRepealField) {  }
13224    fn on_rtn_repeal_from_future_to_bank_by_future(&mut self, pRspRepeal: *mut CThostFtdcRspRepealField) {  }
13225    fn on_rsp_from_bank_to_future_by_future(&mut self, pReqTransfer: *mut CThostFtdcReqTransferField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13226    fn on_rsp_from_future_to_bank_by_future(&mut self, pReqTransfer: *mut CThostFtdcReqTransferField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13227    fn on_rsp_query_bank_account_money_by_future(&mut self, pReqQueryAccount: *mut CThostFtdcReqQueryAccountField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13228    fn on_rtn_open_account_by_bank(&mut self, pOpenAccount: *mut CThostFtdcOpenAccountField) {  }
13229    fn on_rtn_cancel_account_by_bank(&mut self, pCancelAccount: *mut CThostFtdcCancelAccountField) {  }
13230    fn on_rtn_change_account_by_bank(&mut self, pChangeAccount: *mut CThostFtdcChangeAccountField) {  }
13231    fn on_rsp_qry_classified_instrument(&mut self, pInstrument: *mut CThostFtdcInstrumentField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13232    fn on_rsp_qry_comb_promotion_param(&mut self, pCombPromotionParam: *mut CThostFtdcCombPromotionParamField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13233    fn on_rsp_qry_risk_settle_invst_position(&mut self, pRiskSettleInvstPosition: *mut CThostFtdcRiskSettleInvstPositionField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13234    fn on_rsp_qry_risk_settle_product_status(&mut self, pRiskSettleProductStatus: *mut CThostFtdcRiskSettleProductStatusField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13235    fn on_rsp_qry_spbm_future_parameter(&mut self, pSPBMFutureParameter: *mut CThostFtdcSPBMFutureParameterField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13236    fn on_rsp_qry_spbm_option_parameter(&mut self, pSPBMOptionParameter: *mut CThostFtdcSPBMOptionParameterField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13237    fn on_rsp_qry_spbm_intra_parameter(&mut self, pSPBMIntraParameter: *mut CThostFtdcSPBMIntraParameterField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13238    fn on_rsp_qry_spbm_inter_parameter(&mut self, pSPBMInterParameter: *mut CThostFtdcSPBMInterParameterField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13239    fn on_rsp_qry_spbm_portf_definition(&mut self, pSPBMPortfDefinition: *mut CThostFtdcSPBMPortfDefinitionField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13240    fn on_rsp_qry_spbm_investor_portf_def(&mut self, pSPBMInvestorPortfDef: *mut CThostFtdcSPBMInvestorPortfDefField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13241    fn on_rsp_qry_investor_portf_margin_ratio(&mut self, pInvestorPortfMarginRatio: *mut CThostFtdcInvestorPortfMarginRatioField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13242    fn on_rsp_qry_investor_prod_spbm_detail(&mut self, pInvestorProdSPBMDetail: *mut CThostFtdcInvestorProdSPBMDetailField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13243    fn on_rsp_qry_investor_commodity_spmm_margin(&mut self, pInvestorCommoditySPMMMargin: *mut CThostFtdcInvestorCommoditySPMMMarginField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13244    fn on_rsp_qry_investor_commodity_group_spmm_margin(&mut self, pInvestorCommodityGroupSPMMMargin: *mut CThostFtdcInvestorCommodityGroupSPMMMarginField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13245    fn on_rsp_qry_spmm_inst_param(&mut self, pSPMMInstParam: *mut CThostFtdcSPMMInstParamField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13246    fn on_rsp_qry_spmm_product_param(&mut self, pSPMMProductParam: *mut CThostFtdcSPMMProductParamField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13247    fn on_rsp_qry_spbm_add_on_inter_parameter(&mut self, pSPBMAddOnInterParameter: *mut CThostFtdcSPBMAddOnInterParameterField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13248    fn on_rsp_qry_rcams_comb_product_info(&mut self, pRCAMSCombProductInfo: *mut CThostFtdcRCAMSCombProductInfoField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13249    fn on_rsp_qry_rcams_instr_parameter(&mut self, pRCAMSInstrParameter: *mut CThostFtdcRCAMSInstrParameterField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13250    fn on_rsp_qry_rcams_intra_parameter(&mut self, pRCAMSIntraParameter: *mut CThostFtdcRCAMSIntraParameterField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13251    fn on_rsp_qry_rcams_inter_parameter(&mut self, pRCAMSInterParameter: *mut CThostFtdcRCAMSInterParameterField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13252    fn on_rsp_qry_rcams_short_opt_adjust_param(&mut self, pRCAMSShortOptAdjustParam: *mut CThostFtdcRCAMSShortOptAdjustParamField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13253    fn on_rsp_qry_rcams_investor_comb_position(&mut self, pRCAMSInvestorCombPosition: *mut CThostFtdcRCAMSInvestorCombPositionField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13254    fn on_rsp_qry_investor_prod_rcams_margin(&mut self, pInvestorProdRCAMSMargin: *mut CThostFtdcInvestorProdRCAMSMarginField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13255    fn on_rsp_qry_rule_instr_parameter(&mut self, pRULEInstrParameter: *mut CThostFtdcRULEInstrParameterField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13256    fn on_rsp_qry_rule_intra_parameter(&mut self, pRULEIntraParameter: *mut CThostFtdcRULEIntraParameterField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13257    fn on_rsp_qry_rule_inter_parameter(&mut self, pRULEInterParameter: *mut CThostFtdcRULEInterParameterField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13258    fn on_rsp_qry_investor_prod_rule_margin(&mut self, pInvestorProdRULEMargin: *mut CThostFtdcInvestorProdRULEMarginField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {  }
13259}
13260
13261#[no_mangle]
13262pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnFrontConnected(trait_obj: *mut ::std::os::raw::c_void) {
13263    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13264    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13265    trait_obj.on_front_connected()
13266}
13267
13268#[no_mangle]
13269pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnFrontDisconnected(trait_obj: *mut ::std::os::raw::c_void, nReason: ::std::os::raw::c_int) {
13270    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13271    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13272    trait_obj.on_front_disconnected(nReason)
13273}
13274
13275#[no_mangle]
13276pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnHeartBeatWarning(trait_obj: *mut ::std::os::raw::c_void, nTimeLapse: ::std::os::raw::c_int) {
13277    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13278    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13279    trait_obj.on_heart_beat_warning(nTimeLapse)
13280}
13281
13282#[no_mangle]
13283pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspAuthenticate(trait_obj: *mut ::std::os::raw::c_void, pRspAuthenticateField: *mut CThostFtdcRspAuthenticateField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
13284    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13285    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13286    trait_obj.on_rsp_authenticate(pRspAuthenticateField, pRspInfo, nRequestID, bIsLast)
13287}
13288
13289#[no_mangle]
13290pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspUserLogin(trait_obj: *mut ::std::os::raw::c_void, pRspUserLogin: *mut CThostFtdcRspUserLoginField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
13291    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13292    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13293    trait_obj.on_rsp_user_login(pRspUserLogin, pRspInfo, nRequestID, bIsLast)
13294}
13295
13296#[no_mangle]
13297pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspUserLogout(trait_obj: *mut ::std::os::raw::c_void, pUserLogout: *mut CThostFtdcUserLogoutField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
13298    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13299    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13300    trait_obj.on_rsp_user_logout(pUserLogout, pRspInfo, nRequestID, bIsLast)
13301}
13302
13303#[no_mangle]
13304pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspUserPasswordUpdate(trait_obj: *mut ::std::os::raw::c_void, pUserPasswordUpdate: *mut CThostFtdcUserPasswordUpdateField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
13305    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13306    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13307    trait_obj.on_rsp_user_password_update(pUserPasswordUpdate, pRspInfo, nRequestID, bIsLast)
13308}
13309
13310#[no_mangle]
13311pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspTradingAccountPasswordUpdate(trait_obj: *mut ::std::os::raw::c_void, pTradingAccountPasswordUpdate: *mut CThostFtdcTradingAccountPasswordUpdateField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
13312    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13313    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13314    trait_obj.on_rsp_trading_account_password_update(pTradingAccountPasswordUpdate, pRspInfo, nRequestID, bIsLast)
13315}
13316
13317#[no_mangle]
13318pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspUserAuthMethod(trait_obj: *mut ::std::os::raw::c_void, pRspUserAuthMethod: *mut CThostFtdcRspUserAuthMethodField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
13319    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13320    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13321    trait_obj.on_rsp_user_auth_method(pRspUserAuthMethod, pRspInfo, nRequestID, bIsLast)
13322}
13323
13324#[no_mangle]
13325pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspGenUserCaptcha(trait_obj: *mut ::std::os::raw::c_void, pRspGenUserCaptcha: *mut CThostFtdcRspGenUserCaptchaField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
13326    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13327    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13328    trait_obj.on_rsp_gen_user_captcha(pRspGenUserCaptcha, pRspInfo, nRequestID, bIsLast)
13329}
13330
13331#[no_mangle]
13332pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspGenUserText(trait_obj: *mut ::std::os::raw::c_void, pRspGenUserText: *mut CThostFtdcRspGenUserTextField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
13333    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13334    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13335    trait_obj.on_rsp_gen_user_text(pRspGenUserText, pRspInfo, nRequestID, bIsLast)
13336}
13337
13338#[no_mangle]
13339pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspOrderInsert(trait_obj: *mut ::std::os::raw::c_void, pInputOrder: *mut CThostFtdcInputOrderField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
13340    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13341    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13342    trait_obj.on_rsp_order_insert(pInputOrder, pRspInfo, nRequestID, bIsLast)
13343}
13344
13345#[no_mangle]
13346pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspParkedOrderInsert(trait_obj: *mut ::std::os::raw::c_void, pParkedOrder: *mut CThostFtdcParkedOrderField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
13347    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13348    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13349    trait_obj.on_rsp_parked_order_insert(pParkedOrder, pRspInfo, nRequestID, bIsLast)
13350}
13351
13352#[no_mangle]
13353pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspParkedOrderAction(trait_obj: *mut ::std::os::raw::c_void, pParkedOrderAction: *mut CThostFtdcParkedOrderActionField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
13354    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13355    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13356    trait_obj.on_rsp_parked_order_action(pParkedOrderAction, pRspInfo, nRequestID, bIsLast)
13357}
13358
13359#[no_mangle]
13360pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspOrderAction(trait_obj: *mut ::std::os::raw::c_void, pInputOrderAction: *mut CThostFtdcInputOrderActionField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
13361    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13362    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13363    trait_obj.on_rsp_order_action(pInputOrderAction, pRspInfo, nRequestID, bIsLast)
13364}
13365
13366#[no_mangle]
13367pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspQryMaxOrderVolume(trait_obj: *mut ::std::os::raw::c_void, pQryMaxOrderVolume: *mut CThostFtdcQryMaxOrderVolumeField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
13368    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13369    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13370    trait_obj.on_rsp_qry_max_order_volume(pQryMaxOrderVolume, pRspInfo, nRequestID, bIsLast)
13371}
13372
13373#[no_mangle]
13374pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspSettlementInfoConfirm(trait_obj: *mut ::std::os::raw::c_void, pSettlementInfoConfirm: *mut CThostFtdcSettlementInfoConfirmField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
13375    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13376    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13377    trait_obj.on_rsp_settlement_info_confirm(pSettlementInfoConfirm, pRspInfo, nRequestID, bIsLast)
13378}
13379
13380#[no_mangle]
13381pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspRemoveParkedOrder(trait_obj: *mut ::std::os::raw::c_void, pRemoveParkedOrder: *mut CThostFtdcRemoveParkedOrderField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
13382    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13383    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13384    trait_obj.on_rsp_remove_parked_order(pRemoveParkedOrder, pRspInfo, nRequestID, bIsLast)
13385}
13386
13387#[no_mangle]
13388pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspRemoveParkedOrderAction(trait_obj: *mut ::std::os::raw::c_void, pRemoveParkedOrderAction: *mut CThostFtdcRemoveParkedOrderActionField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
13389    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13390    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13391    trait_obj.on_rsp_remove_parked_order_action(pRemoveParkedOrderAction, pRspInfo, nRequestID, bIsLast)
13392}
13393
13394#[no_mangle]
13395pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspExecOrderInsert(trait_obj: *mut ::std::os::raw::c_void, pInputExecOrder: *mut CThostFtdcInputExecOrderField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
13396    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13397    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13398    trait_obj.on_rsp_exec_order_insert(pInputExecOrder, pRspInfo, nRequestID, bIsLast)
13399}
13400
13401#[no_mangle]
13402pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspExecOrderAction(trait_obj: *mut ::std::os::raw::c_void, pInputExecOrderAction: *mut CThostFtdcInputExecOrderActionField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
13403    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13404    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13405    trait_obj.on_rsp_exec_order_action(pInputExecOrderAction, pRspInfo, nRequestID, bIsLast)
13406}
13407
13408#[no_mangle]
13409pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspForQuoteInsert(trait_obj: *mut ::std::os::raw::c_void, pInputForQuote: *mut CThostFtdcInputForQuoteField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
13410    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13411    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13412    trait_obj.on_rsp_for_quote_insert(pInputForQuote, pRspInfo, nRequestID, bIsLast)
13413}
13414
13415#[no_mangle]
13416pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspQuoteInsert(trait_obj: *mut ::std::os::raw::c_void, pInputQuote: *mut CThostFtdcInputQuoteField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
13417    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13418    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13419    trait_obj.on_rsp_quote_insert(pInputQuote, pRspInfo, nRequestID, bIsLast)
13420}
13421
13422#[no_mangle]
13423pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspQuoteAction(trait_obj: *mut ::std::os::raw::c_void, pInputQuoteAction: *mut CThostFtdcInputQuoteActionField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
13424    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13425    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13426    trait_obj.on_rsp_quote_action(pInputQuoteAction, pRspInfo, nRequestID, bIsLast)
13427}
13428
13429#[no_mangle]
13430pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspBatchOrderAction(trait_obj: *mut ::std::os::raw::c_void, pInputBatchOrderAction: *mut CThostFtdcInputBatchOrderActionField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
13431    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13432    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13433    trait_obj.on_rsp_batch_order_action(pInputBatchOrderAction, pRspInfo, nRequestID, bIsLast)
13434}
13435
13436#[no_mangle]
13437pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspOptionSelfCloseInsert(trait_obj: *mut ::std::os::raw::c_void, pInputOptionSelfClose: *mut CThostFtdcInputOptionSelfCloseField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
13438    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13439    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13440    trait_obj.on_rsp_option_self_close_insert(pInputOptionSelfClose, pRspInfo, nRequestID, bIsLast)
13441}
13442
13443#[no_mangle]
13444pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspOptionSelfCloseAction(trait_obj: *mut ::std::os::raw::c_void, pInputOptionSelfCloseAction: *mut CThostFtdcInputOptionSelfCloseActionField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
13445    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13446    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13447    trait_obj.on_rsp_option_self_close_action(pInputOptionSelfCloseAction, pRspInfo, nRequestID, bIsLast)
13448}
13449
13450#[no_mangle]
13451pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspCombActionInsert(trait_obj: *mut ::std::os::raw::c_void, pInputCombAction: *mut CThostFtdcInputCombActionField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
13452    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13453    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13454    trait_obj.on_rsp_comb_action_insert(pInputCombAction, pRspInfo, nRequestID, bIsLast)
13455}
13456
13457#[no_mangle]
13458pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspQryOrder(trait_obj: *mut ::std::os::raw::c_void, pOrder: *mut CThostFtdcOrderField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
13459    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13460    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13461    trait_obj.on_rsp_qry_order(pOrder, pRspInfo, nRequestID, bIsLast)
13462}
13463
13464#[no_mangle]
13465pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspQryTrade(trait_obj: *mut ::std::os::raw::c_void, pTrade: *mut CThostFtdcTradeField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
13466    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13467    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13468    trait_obj.on_rsp_qry_trade(pTrade, pRspInfo, nRequestID, bIsLast)
13469}
13470
13471#[no_mangle]
13472pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspQryInvestorPosition(trait_obj: *mut ::std::os::raw::c_void, pInvestorPosition: *mut CThostFtdcInvestorPositionField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
13473    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13474    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13475    trait_obj.on_rsp_qry_investor_position(pInvestorPosition, pRspInfo, nRequestID, bIsLast)
13476}
13477
13478#[no_mangle]
13479pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspQryTradingAccount(trait_obj: *mut ::std::os::raw::c_void, pTradingAccount: *mut CThostFtdcTradingAccountField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
13480    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13481    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13482    trait_obj.on_rsp_qry_trading_account(pTradingAccount, pRspInfo, nRequestID, bIsLast)
13483}
13484
13485#[no_mangle]
13486pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspQryInvestor(trait_obj: *mut ::std::os::raw::c_void, pInvestor: *mut CThostFtdcInvestorField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
13487    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13488    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13489    trait_obj.on_rsp_qry_investor(pInvestor, pRspInfo, nRequestID, bIsLast)
13490}
13491
13492#[no_mangle]
13493pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspQryTradingCode(trait_obj: *mut ::std::os::raw::c_void, pTradingCode: *mut CThostFtdcTradingCodeField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
13494    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13495    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13496    trait_obj.on_rsp_qry_trading_code(pTradingCode, pRspInfo, nRequestID, bIsLast)
13497}
13498
13499#[no_mangle]
13500pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspQryInstrumentMarginRate(trait_obj: *mut ::std::os::raw::c_void, pInstrumentMarginRate: *mut CThostFtdcInstrumentMarginRateField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
13501    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13502    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13503    trait_obj.on_rsp_qry_instrument_margin_rate(pInstrumentMarginRate, pRspInfo, nRequestID, bIsLast)
13504}
13505
13506#[no_mangle]
13507pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspQryInstrumentCommissionRate(trait_obj: *mut ::std::os::raw::c_void, pInstrumentCommissionRate: *mut CThostFtdcInstrumentCommissionRateField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
13508    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13509    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13510    trait_obj.on_rsp_qry_instrument_commission_rate(pInstrumentCommissionRate, pRspInfo, nRequestID, bIsLast)
13511}
13512
13513#[no_mangle]
13514pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspQryExchange(trait_obj: *mut ::std::os::raw::c_void, pExchange: *mut CThostFtdcExchangeField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
13515    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13516    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13517    trait_obj.on_rsp_qry_exchange(pExchange, pRspInfo, nRequestID, bIsLast)
13518}
13519
13520#[no_mangle]
13521pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspQryProduct(trait_obj: *mut ::std::os::raw::c_void, pProduct: *mut CThostFtdcProductField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
13522    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13523    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13524    trait_obj.on_rsp_qry_product(pProduct, pRspInfo, nRequestID, bIsLast)
13525}
13526
13527#[no_mangle]
13528pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspQryInstrument(trait_obj: *mut ::std::os::raw::c_void, pInstrument: *mut CThostFtdcInstrumentField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
13529    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13530    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13531    trait_obj.on_rsp_qry_instrument(pInstrument, pRspInfo, nRequestID, bIsLast)
13532}
13533
13534#[no_mangle]
13535pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspQryDepthMarketData(trait_obj: *mut ::std::os::raw::c_void, pDepthMarketData: *mut CThostFtdcDepthMarketDataField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
13536    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13537    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13538    trait_obj.on_rsp_qry_depth_market_data(pDepthMarketData, pRspInfo, nRequestID, bIsLast)
13539}
13540
13541#[no_mangle]
13542pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspQryTraderOffer(trait_obj: *mut ::std::os::raw::c_void, pTraderOffer: *mut CThostFtdcTraderOfferField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
13543    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13544    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13545    trait_obj.on_rsp_qry_trader_offer(pTraderOffer, pRspInfo, nRequestID, bIsLast)
13546}
13547
13548#[no_mangle]
13549pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspQrySettlementInfo(trait_obj: *mut ::std::os::raw::c_void, pSettlementInfo: *mut CThostFtdcSettlementInfoField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
13550    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13551    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13552    trait_obj.on_rsp_qry_settlement_info(pSettlementInfo, pRspInfo, nRequestID, bIsLast)
13553}
13554
13555#[no_mangle]
13556pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspQryTransferBank(trait_obj: *mut ::std::os::raw::c_void, pTransferBank: *mut CThostFtdcTransferBankField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
13557    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13558    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13559    trait_obj.on_rsp_qry_transfer_bank(pTransferBank, pRspInfo, nRequestID, bIsLast)
13560}
13561
13562#[no_mangle]
13563pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspQryInvestorPositionDetail(trait_obj: *mut ::std::os::raw::c_void, pInvestorPositionDetail: *mut CThostFtdcInvestorPositionDetailField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
13564    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13565    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13566    trait_obj.on_rsp_qry_investor_position_detail(pInvestorPositionDetail, pRspInfo, nRequestID, bIsLast)
13567}
13568
13569#[no_mangle]
13570pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspQryNotice(trait_obj: *mut ::std::os::raw::c_void, pNotice: *mut CThostFtdcNoticeField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
13571    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13572    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13573    trait_obj.on_rsp_qry_notice(pNotice, pRspInfo, nRequestID, bIsLast)
13574}
13575
13576#[no_mangle]
13577pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspQrySettlementInfoConfirm(trait_obj: *mut ::std::os::raw::c_void, pSettlementInfoConfirm: *mut CThostFtdcSettlementInfoConfirmField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
13578    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13579    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13580    trait_obj.on_rsp_qry_settlement_info_confirm(pSettlementInfoConfirm, pRspInfo, nRequestID, bIsLast)
13581}
13582
13583#[no_mangle]
13584pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspQryInvestorPositionCombineDetail(trait_obj: *mut ::std::os::raw::c_void, pInvestorPositionCombineDetail: *mut CThostFtdcInvestorPositionCombineDetailField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
13585    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13586    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13587    trait_obj.on_rsp_qry_investor_position_combine_detail(pInvestorPositionCombineDetail, pRspInfo, nRequestID, bIsLast)
13588}
13589
13590#[no_mangle]
13591pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspQryCFMMCTradingAccountKey(trait_obj: *mut ::std::os::raw::c_void, pCFMMCTradingAccountKey: *mut CThostFtdcCFMMCTradingAccountKeyField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
13592    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13593    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13594    trait_obj.on_rsp_qry_cfmmc_trading_account_key(pCFMMCTradingAccountKey, pRspInfo, nRequestID, bIsLast)
13595}
13596
13597#[no_mangle]
13598pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspQryEWarrantOffset(trait_obj: *mut ::std::os::raw::c_void, pEWarrantOffset: *mut CThostFtdcEWarrantOffsetField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
13599    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13600    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13601    trait_obj.on_rsp_qry_e_warrant_offset(pEWarrantOffset, pRspInfo, nRequestID, bIsLast)
13602}
13603
13604#[no_mangle]
13605pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspQryInvestorProductGroupMargin(trait_obj: *mut ::std::os::raw::c_void, pInvestorProductGroupMargin: *mut CThostFtdcInvestorProductGroupMarginField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
13606    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13607    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13608    trait_obj.on_rsp_qry_investor_product_group_margin(pInvestorProductGroupMargin, pRspInfo, nRequestID, bIsLast)
13609}
13610
13611#[no_mangle]
13612pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspQryExchangeMarginRate(trait_obj: *mut ::std::os::raw::c_void, pExchangeMarginRate: *mut CThostFtdcExchangeMarginRateField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
13613    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13614    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13615    trait_obj.on_rsp_qry_exchange_margin_rate(pExchangeMarginRate, pRspInfo, nRequestID, bIsLast)
13616}
13617
13618#[no_mangle]
13619pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspQryExchangeMarginRateAdjust(trait_obj: *mut ::std::os::raw::c_void, pExchangeMarginRateAdjust: *mut CThostFtdcExchangeMarginRateAdjustField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
13620    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13621    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13622    trait_obj.on_rsp_qry_exchange_margin_rate_adjust(pExchangeMarginRateAdjust, pRspInfo, nRequestID, bIsLast)
13623}
13624
13625#[no_mangle]
13626pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspQryExchangeRate(trait_obj: *mut ::std::os::raw::c_void, pExchangeRate: *mut CThostFtdcExchangeRateField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
13627    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13628    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13629    trait_obj.on_rsp_qry_exchange_rate(pExchangeRate, pRspInfo, nRequestID, bIsLast)
13630}
13631
13632#[no_mangle]
13633pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspQrySecAgentACIDMap(trait_obj: *mut ::std::os::raw::c_void, pSecAgentACIDMap: *mut CThostFtdcSecAgentACIDMapField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
13634    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13635    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13636    trait_obj.on_rsp_qry_sec_agent_acid_map(pSecAgentACIDMap, pRspInfo, nRequestID, bIsLast)
13637}
13638
13639#[no_mangle]
13640pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspQryProductExchRate(trait_obj: *mut ::std::os::raw::c_void, pProductExchRate: *mut CThostFtdcProductExchRateField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
13641    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13642    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13643    trait_obj.on_rsp_qry_product_exch_rate(pProductExchRate, pRspInfo, nRequestID, bIsLast)
13644}
13645
13646#[no_mangle]
13647pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspQryProductGroup(trait_obj: *mut ::std::os::raw::c_void, pProductGroup: *mut CThostFtdcProductGroupField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
13648    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13649    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13650    trait_obj.on_rsp_qry_product_group(pProductGroup, pRspInfo, nRequestID, bIsLast)
13651}
13652
13653#[no_mangle]
13654pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspQryMMInstrumentCommissionRate(trait_obj: *mut ::std::os::raw::c_void, pMMInstrumentCommissionRate: *mut CThostFtdcMMInstrumentCommissionRateField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
13655    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13656    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13657    trait_obj.on_rsp_qry_mm_instrument_commission_rate(pMMInstrumentCommissionRate, pRspInfo, nRequestID, bIsLast)
13658}
13659
13660#[no_mangle]
13661pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspQryMMOptionInstrCommRate(trait_obj: *mut ::std::os::raw::c_void, pMMOptionInstrCommRate: *mut CThostFtdcMMOptionInstrCommRateField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
13662    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13663    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13664    trait_obj.on_rsp_qry_mm_option_instr_comm_rate(pMMOptionInstrCommRate, pRspInfo, nRequestID, bIsLast)
13665}
13666
13667#[no_mangle]
13668pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspQryInstrumentOrderCommRate(trait_obj: *mut ::std::os::raw::c_void, pInstrumentOrderCommRate: *mut CThostFtdcInstrumentOrderCommRateField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
13669    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13670    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13671    trait_obj.on_rsp_qry_instrument_order_comm_rate(pInstrumentOrderCommRate, pRspInfo, nRequestID, bIsLast)
13672}
13673
13674#[no_mangle]
13675pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspQrySecAgentTradingAccount(trait_obj: *mut ::std::os::raw::c_void, pTradingAccount: *mut CThostFtdcTradingAccountField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
13676    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13677    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13678    trait_obj.on_rsp_qry_sec_agent_trading_account(pTradingAccount, pRspInfo, nRequestID, bIsLast)
13679}
13680
13681#[no_mangle]
13682pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspQrySecAgentCheckMode(trait_obj: *mut ::std::os::raw::c_void, pSecAgentCheckMode: *mut CThostFtdcSecAgentCheckModeField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
13683    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13684    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13685    trait_obj.on_rsp_qry_sec_agent_check_mode(pSecAgentCheckMode, pRspInfo, nRequestID, bIsLast)
13686}
13687
13688#[no_mangle]
13689pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspQrySecAgentTradeInfo(trait_obj: *mut ::std::os::raw::c_void, pSecAgentTradeInfo: *mut CThostFtdcSecAgentTradeInfoField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
13690    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13691    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13692    trait_obj.on_rsp_qry_sec_agent_trade_info(pSecAgentTradeInfo, pRspInfo, nRequestID, bIsLast)
13693}
13694
13695#[no_mangle]
13696pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspQryOptionInstrTradeCost(trait_obj: *mut ::std::os::raw::c_void, pOptionInstrTradeCost: *mut CThostFtdcOptionInstrTradeCostField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
13697    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13698    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13699    trait_obj.on_rsp_qry_option_instr_trade_cost(pOptionInstrTradeCost, pRspInfo, nRequestID, bIsLast)
13700}
13701
13702#[no_mangle]
13703pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspQryOptionInstrCommRate(trait_obj: *mut ::std::os::raw::c_void, pOptionInstrCommRate: *mut CThostFtdcOptionInstrCommRateField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
13704    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13705    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13706    trait_obj.on_rsp_qry_option_instr_comm_rate(pOptionInstrCommRate, pRspInfo, nRequestID, bIsLast)
13707}
13708
13709#[no_mangle]
13710pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspQryExecOrder(trait_obj: *mut ::std::os::raw::c_void, pExecOrder: *mut CThostFtdcExecOrderField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
13711    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13712    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13713    trait_obj.on_rsp_qry_exec_order(pExecOrder, pRspInfo, nRequestID, bIsLast)
13714}
13715
13716#[no_mangle]
13717pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspQryForQuote(trait_obj: *mut ::std::os::raw::c_void, pForQuote: *mut CThostFtdcForQuoteField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
13718    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13719    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13720    trait_obj.on_rsp_qry_for_quote(pForQuote, pRspInfo, nRequestID, bIsLast)
13721}
13722
13723#[no_mangle]
13724pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspQryQuote(trait_obj: *mut ::std::os::raw::c_void, pQuote: *mut CThostFtdcQuoteField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
13725    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13726    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13727    trait_obj.on_rsp_qry_quote(pQuote, pRspInfo, nRequestID, bIsLast)
13728}
13729
13730#[no_mangle]
13731pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspQryOptionSelfClose(trait_obj: *mut ::std::os::raw::c_void, pOptionSelfClose: *mut CThostFtdcOptionSelfCloseField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
13732    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13733    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13734    trait_obj.on_rsp_qry_option_self_close(pOptionSelfClose, pRspInfo, nRequestID, bIsLast)
13735}
13736
13737#[no_mangle]
13738pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspQryInvestUnit(trait_obj: *mut ::std::os::raw::c_void, pInvestUnit: *mut CThostFtdcInvestUnitField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
13739    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13740    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13741    trait_obj.on_rsp_qry_invest_unit(pInvestUnit, pRspInfo, nRequestID, bIsLast)
13742}
13743
13744#[no_mangle]
13745pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspQryCombInstrumentGuard(trait_obj: *mut ::std::os::raw::c_void, pCombInstrumentGuard: *mut CThostFtdcCombInstrumentGuardField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
13746    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13747    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13748    trait_obj.on_rsp_qry_comb_instrument_guard(pCombInstrumentGuard, pRspInfo, nRequestID, bIsLast)
13749}
13750
13751#[no_mangle]
13752pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspQryCombAction(trait_obj: *mut ::std::os::raw::c_void, pCombAction: *mut CThostFtdcCombActionField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
13753    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13754    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13755    trait_obj.on_rsp_qry_comb_action(pCombAction, pRspInfo, nRequestID, bIsLast)
13756}
13757
13758#[no_mangle]
13759pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspQryTransferSerial(trait_obj: *mut ::std::os::raw::c_void, pTransferSerial: *mut CThostFtdcTransferSerialField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
13760    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13761    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13762    trait_obj.on_rsp_qry_transfer_serial(pTransferSerial, pRspInfo, nRequestID, bIsLast)
13763}
13764
13765#[no_mangle]
13766pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspQryAccountregister(trait_obj: *mut ::std::os::raw::c_void, pAccountregister: *mut CThostFtdcAccountregisterField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
13767    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13768    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13769    trait_obj.on_rsp_qry_accountregister(pAccountregister, pRspInfo, nRequestID, bIsLast)
13770}
13771
13772#[no_mangle]
13773pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspError(trait_obj: *mut ::std::os::raw::c_void, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
13774    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13775    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13776    trait_obj.on_rsp_error(pRspInfo, nRequestID, bIsLast)
13777}
13778
13779#[no_mangle]
13780pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRtnOrder(trait_obj: *mut ::std::os::raw::c_void, pOrder: *mut CThostFtdcOrderField) {
13781    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13782    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13783    trait_obj.on_rtn_order(pOrder)
13784}
13785
13786#[no_mangle]
13787pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRtnTrade(trait_obj: *mut ::std::os::raw::c_void, pTrade: *mut CThostFtdcTradeField) {
13788    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13789    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13790    trait_obj.on_rtn_trade(pTrade)
13791}
13792
13793#[no_mangle]
13794pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnErrRtnOrderInsert(trait_obj: *mut ::std::os::raw::c_void, pInputOrder: *mut CThostFtdcInputOrderField, pRspInfo: *mut CThostFtdcRspInfoField) {
13795    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13796    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13797    trait_obj.on_err_rtn_order_insert(pInputOrder, pRspInfo)
13798}
13799
13800#[no_mangle]
13801pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnErrRtnOrderAction(trait_obj: *mut ::std::os::raw::c_void, pOrderAction: *mut CThostFtdcOrderActionField, pRspInfo: *mut CThostFtdcRspInfoField) {
13802    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13803    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13804    trait_obj.on_err_rtn_order_action(pOrderAction, pRspInfo)
13805}
13806
13807#[no_mangle]
13808pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRtnInstrumentStatus(trait_obj: *mut ::std::os::raw::c_void, pInstrumentStatus: *mut CThostFtdcInstrumentStatusField) {
13809    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13810    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13811    trait_obj.on_rtn_instrument_status(pInstrumentStatus)
13812}
13813
13814#[no_mangle]
13815pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRtnBulletin(trait_obj: *mut ::std::os::raw::c_void, pBulletin: *mut CThostFtdcBulletinField) {
13816    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13817    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13818    trait_obj.on_rtn_bulletin(pBulletin)
13819}
13820
13821#[no_mangle]
13822pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRtnTradingNotice(trait_obj: *mut ::std::os::raw::c_void, pTradingNoticeInfo: *mut CThostFtdcTradingNoticeInfoField) {
13823    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13824    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13825    trait_obj.on_rtn_trading_notice(pTradingNoticeInfo)
13826}
13827
13828#[no_mangle]
13829pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRtnErrorConditionalOrder(trait_obj: *mut ::std::os::raw::c_void, pErrorConditionalOrder: *mut CThostFtdcErrorConditionalOrderField) {
13830    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13831    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13832    trait_obj.on_rtn_error_conditional_order(pErrorConditionalOrder)
13833}
13834
13835#[no_mangle]
13836pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRtnExecOrder(trait_obj: *mut ::std::os::raw::c_void, pExecOrder: *mut CThostFtdcExecOrderField) {
13837    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13838    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13839    trait_obj.on_rtn_exec_order(pExecOrder)
13840}
13841
13842#[no_mangle]
13843pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnErrRtnExecOrderInsert(trait_obj: *mut ::std::os::raw::c_void, pInputExecOrder: *mut CThostFtdcInputExecOrderField, pRspInfo: *mut CThostFtdcRspInfoField) {
13844    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13845    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13846    trait_obj.on_err_rtn_exec_order_insert(pInputExecOrder, pRspInfo)
13847}
13848
13849#[no_mangle]
13850pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnErrRtnExecOrderAction(trait_obj: *mut ::std::os::raw::c_void, pExecOrderAction: *mut CThostFtdcExecOrderActionField, pRspInfo: *mut CThostFtdcRspInfoField) {
13851    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13852    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13853    trait_obj.on_err_rtn_exec_order_action(pExecOrderAction, pRspInfo)
13854}
13855
13856#[no_mangle]
13857pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnErrRtnForQuoteInsert(trait_obj: *mut ::std::os::raw::c_void, pInputForQuote: *mut CThostFtdcInputForQuoteField, pRspInfo: *mut CThostFtdcRspInfoField) {
13858    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13859    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13860    trait_obj.on_err_rtn_for_quote_insert(pInputForQuote, pRspInfo)
13861}
13862
13863#[no_mangle]
13864pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRtnQuote(trait_obj: *mut ::std::os::raw::c_void, pQuote: *mut CThostFtdcQuoteField) {
13865    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13866    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13867    trait_obj.on_rtn_quote(pQuote)
13868}
13869
13870#[no_mangle]
13871pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnErrRtnQuoteInsert(trait_obj: *mut ::std::os::raw::c_void, pInputQuote: *mut CThostFtdcInputQuoteField, pRspInfo: *mut CThostFtdcRspInfoField) {
13872    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13873    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13874    trait_obj.on_err_rtn_quote_insert(pInputQuote, pRspInfo)
13875}
13876
13877#[no_mangle]
13878pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnErrRtnQuoteAction(trait_obj: *mut ::std::os::raw::c_void, pQuoteAction: *mut CThostFtdcQuoteActionField, pRspInfo: *mut CThostFtdcRspInfoField) {
13879    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13880    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13881    trait_obj.on_err_rtn_quote_action(pQuoteAction, pRspInfo)
13882}
13883
13884#[no_mangle]
13885pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRtnForQuoteRsp(trait_obj: *mut ::std::os::raw::c_void, pForQuoteRsp: *mut CThostFtdcForQuoteRspField) {
13886    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13887    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13888    trait_obj.on_rtn_for_quote_rsp(pForQuoteRsp)
13889}
13890
13891#[no_mangle]
13892pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRtnCFMMCTradingAccountToken(trait_obj: *mut ::std::os::raw::c_void, pCFMMCTradingAccountToken: *mut CThostFtdcCFMMCTradingAccountTokenField) {
13893    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13894    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13895    trait_obj.on_rtn_cfmmc_trading_account_token(pCFMMCTradingAccountToken)
13896}
13897
13898#[no_mangle]
13899pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnErrRtnBatchOrderAction(trait_obj: *mut ::std::os::raw::c_void, pBatchOrderAction: *mut CThostFtdcBatchOrderActionField, pRspInfo: *mut CThostFtdcRspInfoField) {
13900    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13901    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13902    trait_obj.on_err_rtn_batch_order_action(pBatchOrderAction, pRspInfo)
13903}
13904
13905#[no_mangle]
13906pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRtnOptionSelfClose(trait_obj: *mut ::std::os::raw::c_void, pOptionSelfClose: *mut CThostFtdcOptionSelfCloseField) {
13907    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13908    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13909    trait_obj.on_rtn_option_self_close(pOptionSelfClose)
13910}
13911
13912#[no_mangle]
13913pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnErrRtnOptionSelfCloseInsert(trait_obj: *mut ::std::os::raw::c_void, pInputOptionSelfClose: *mut CThostFtdcInputOptionSelfCloseField, pRspInfo: *mut CThostFtdcRspInfoField) {
13914    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13915    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13916    trait_obj.on_err_rtn_option_self_close_insert(pInputOptionSelfClose, pRspInfo)
13917}
13918
13919#[no_mangle]
13920pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnErrRtnOptionSelfCloseAction(trait_obj: *mut ::std::os::raw::c_void, pOptionSelfCloseAction: *mut CThostFtdcOptionSelfCloseActionField, pRspInfo: *mut CThostFtdcRspInfoField) {
13921    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13922    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13923    trait_obj.on_err_rtn_option_self_close_action(pOptionSelfCloseAction, pRspInfo)
13924}
13925
13926#[no_mangle]
13927pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRtnCombAction(trait_obj: *mut ::std::os::raw::c_void, pCombAction: *mut CThostFtdcCombActionField) {
13928    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13929    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13930    trait_obj.on_rtn_comb_action(pCombAction)
13931}
13932
13933#[no_mangle]
13934pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnErrRtnCombActionInsert(trait_obj: *mut ::std::os::raw::c_void, pInputCombAction: *mut CThostFtdcInputCombActionField, pRspInfo: *mut CThostFtdcRspInfoField) {
13935    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13936    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13937    trait_obj.on_err_rtn_comb_action_insert(pInputCombAction, pRspInfo)
13938}
13939
13940#[no_mangle]
13941pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspQryContractBank(trait_obj: *mut ::std::os::raw::c_void, pContractBank: *mut CThostFtdcContractBankField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
13942    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13943    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13944    trait_obj.on_rsp_qry_contract_bank(pContractBank, pRspInfo, nRequestID, bIsLast)
13945}
13946
13947#[no_mangle]
13948pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspQryParkedOrder(trait_obj: *mut ::std::os::raw::c_void, pParkedOrder: *mut CThostFtdcParkedOrderField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
13949    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13950    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13951    trait_obj.on_rsp_qry_parked_order(pParkedOrder, pRspInfo, nRequestID, bIsLast)
13952}
13953
13954#[no_mangle]
13955pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspQryParkedOrderAction(trait_obj: *mut ::std::os::raw::c_void, pParkedOrderAction: *mut CThostFtdcParkedOrderActionField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
13956    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13957    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13958    trait_obj.on_rsp_qry_parked_order_action(pParkedOrderAction, pRspInfo, nRequestID, bIsLast)
13959}
13960
13961#[no_mangle]
13962pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspQryTradingNotice(trait_obj: *mut ::std::os::raw::c_void, pTradingNotice: *mut CThostFtdcTradingNoticeField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
13963    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13964    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13965    trait_obj.on_rsp_qry_trading_notice(pTradingNotice, pRspInfo, nRequestID, bIsLast)
13966}
13967
13968#[no_mangle]
13969pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspQryBrokerTradingParams(trait_obj: *mut ::std::os::raw::c_void, pBrokerTradingParams: *mut CThostFtdcBrokerTradingParamsField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
13970    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13971    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13972    trait_obj.on_rsp_qry_broker_trading_params(pBrokerTradingParams, pRspInfo, nRequestID, bIsLast)
13973}
13974
13975#[no_mangle]
13976pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspQryBrokerTradingAlgos(trait_obj: *mut ::std::os::raw::c_void, pBrokerTradingAlgos: *mut CThostFtdcBrokerTradingAlgosField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
13977    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13978    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13979    trait_obj.on_rsp_qry_broker_trading_algos(pBrokerTradingAlgos, pRspInfo, nRequestID, bIsLast)
13980}
13981
13982#[no_mangle]
13983pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspQueryCFMMCTradingAccountToken(trait_obj: *mut ::std::os::raw::c_void, pQueryCFMMCTradingAccountToken: *mut CThostFtdcQueryCFMMCTradingAccountTokenField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
13984    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13985    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13986    trait_obj.on_rsp_query_cfmmc_trading_account_token(pQueryCFMMCTradingAccountToken, pRspInfo, nRequestID, bIsLast)
13987}
13988
13989#[no_mangle]
13990pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRtnFromBankToFutureByBank(trait_obj: *mut ::std::os::raw::c_void, pRspTransfer: *mut CThostFtdcRspTransferField) {
13991    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13992    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
13993    trait_obj.on_rtn_from_bank_to_future_by_bank(pRspTransfer)
13994}
13995
13996#[no_mangle]
13997pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRtnFromFutureToBankByBank(trait_obj: *mut ::std::os::raw::c_void, pRspTransfer: *mut CThostFtdcRspTransferField) {
13998    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
13999    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
14000    trait_obj.on_rtn_from_future_to_bank_by_bank(pRspTransfer)
14001}
14002
14003#[no_mangle]
14004pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRtnRepealFromBankToFutureByBank(trait_obj: *mut ::std::os::raw::c_void, pRspRepeal: *mut CThostFtdcRspRepealField) {
14005    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
14006    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
14007    trait_obj.on_rtn_repeal_from_bank_to_future_by_bank(pRspRepeal)
14008}
14009
14010#[no_mangle]
14011pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRtnRepealFromFutureToBankByBank(trait_obj: *mut ::std::os::raw::c_void, pRspRepeal: *mut CThostFtdcRspRepealField) {
14012    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
14013    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
14014    trait_obj.on_rtn_repeal_from_future_to_bank_by_bank(pRspRepeal)
14015}
14016
14017#[no_mangle]
14018pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRtnFromBankToFutureByFuture(trait_obj: *mut ::std::os::raw::c_void, pRspTransfer: *mut CThostFtdcRspTransferField) {
14019    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
14020    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
14021    trait_obj.on_rtn_from_bank_to_future_by_future(pRspTransfer)
14022}
14023
14024#[no_mangle]
14025pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRtnFromFutureToBankByFuture(trait_obj: *mut ::std::os::raw::c_void, pRspTransfer: *mut CThostFtdcRspTransferField) {
14026    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
14027    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
14028    trait_obj.on_rtn_from_future_to_bank_by_future(pRspTransfer)
14029}
14030
14031#[no_mangle]
14032pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRtnRepealFromBankToFutureByFutureManual(trait_obj: *mut ::std::os::raw::c_void, pRspRepeal: *mut CThostFtdcRspRepealField) {
14033    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
14034    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
14035    trait_obj.on_rtn_repeal_from_bank_to_future_by_future_manual(pRspRepeal)
14036}
14037
14038#[no_mangle]
14039pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRtnRepealFromFutureToBankByFutureManual(trait_obj: *mut ::std::os::raw::c_void, pRspRepeal: *mut CThostFtdcRspRepealField) {
14040    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
14041    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
14042    trait_obj.on_rtn_repeal_from_future_to_bank_by_future_manual(pRspRepeal)
14043}
14044
14045#[no_mangle]
14046pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRtnQueryBankBalanceByFuture(trait_obj: *mut ::std::os::raw::c_void, pNotifyQueryAccount: *mut CThostFtdcNotifyQueryAccountField) {
14047    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
14048    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
14049    trait_obj.on_rtn_query_bank_balance_by_future(pNotifyQueryAccount)
14050}
14051
14052#[no_mangle]
14053pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnErrRtnBankToFutureByFuture(trait_obj: *mut ::std::os::raw::c_void, pReqTransfer: *mut CThostFtdcReqTransferField, pRspInfo: *mut CThostFtdcRspInfoField) {
14054    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
14055    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
14056    trait_obj.on_err_rtn_bank_to_future_by_future(pReqTransfer, pRspInfo)
14057}
14058
14059#[no_mangle]
14060pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnErrRtnFutureToBankByFuture(trait_obj: *mut ::std::os::raw::c_void, pReqTransfer: *mut CThostFtdcReqTransferField, pRspInfo: *mut CThostFtdcRspInfoField) {
14061    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
14062    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
14063    trait_obj.on_err_rtn_future_to_bank_by_future(pReqTransfer, pRspInfo)
14064}
14065
14066#[no_mangle]
14067pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnErrRtnRepealBankToFutureByFutureManual(trait_obj: *mut ::std::os::raw::c_void, pReqRepeal: *mut CThostFtdcReqRepealField, pRspInfo: *mut CThostFtdcRspInfoField) {
14068    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
14069    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
14070    trait_obj.on_err_rtn_repeal_bank_to_future_by_future_manual(pReqRepeal, pRspInfo)
14071}
14072
14073#[no_mangle]
14074pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnErrRtnRepealFutureToBankByFutureManual(trait_obj: *mut ::std::os::raw::c_void, pReqRepeal: *mut CThostFtdcReqRepealField, pRspInfo: *mut CThostFtdcRspInfoField) {
14075    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
14076    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
14077    trait_obj.on_err_rtn_repeal_future_to_bank_by_future_manual(pReqRepeal, pRspInfo)
14078}
14079
14080#[no_mangle]
14081pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnErrRtnQueryBankBalanceByFuture(trait_obj: *mut ::std::os::raw::c_void, pReqQueryAccount: *mut CThostFtdcReqQueryAccountField, pRspInfo: *mut CThostFtdcRspInfoField) {
14082    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
14083    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
14084    trait_obj.on_err_rtn_query_bank_balance_by_future(pReqQueryAccount, pRspInfo)
14085}
14086
14087#[no_mangle]
14088pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRtnRepealFromBankToFutureByFuture(trait_obj: *mut ::std::os::raw::c_void, pRspRepeal: *mut CThostFtdcRspRepealField) {
14089    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
14090    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
14091    trait_obj.on_rtn_repeal_from_bank_to_future_by_future(pRspRepeal)
14092}
14093
14094#[no_mangle]
14095pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRtnRepealFromFutureToBankByFuture(trait_obj: *mut ::std::os::raw::c_void, pRspRepeal: *mut CThostFtdcRspRepealField) {
14096    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
14097    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
14098    trait_obj.on_rtn_repeal_from_future_to_bank_by_future(pRspRepeal)
14099}
14100
14101#[no_mangle]
14102pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspFromBankToFutureByFuture(trait_obj: *mut ::std::os::raw::c_void, pReqTransfer: *mut CThostFtdcReqTransferField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
14103    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
14104    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
14105    trait_obj.on_rsp_from_bank_to_future_by_future(pReqTransfer, pRspInfo, nRequestID, bIsLast)
14106}
14107
14108#[no_mangle]
14109pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspFromFutureToBankByFuture(trait_obj: *mut ::std::os::raw::c_void, pReqTransfer: *mut CThostFtdcReqTransferField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
14110    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
14111    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
14112    trait_obj.on_rsp_from_future_to_bank_by_future(pReqTransfer, pRspInfo, nRequestID, bIsLast)
14113}
14114
14115#[no_mangle]
14116pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspQueryBankAccountMoneyByFuture(trait_obj: *mut ::std::os::raw::c_void, pReqQueryAccount: *mut CThostFtdcReqQueryAccountField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
14117    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
14118    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
14119    trait_obj.on_rsp_query_bank_account_money_by_future(pReqQueryAccount, pRspInfo, nRequestID, bIsLast)
14120}
14121
14122#[no_mangle]
14123pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRtnOpenAccountByBank(trait_obj: *mut ::std::os::raw::c_void, pOpenAccount: *mut CThostFtdcOpenAccountField) {
14124    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
14125    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
14126    trait_obj.on_rtn_open_account_by_bank(pOpenAccount)
14127}
14128
14129#[no_mangle]
14130pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRtnCancelAccountByBank(trait_obj: *mut ::std::os::raw::c_void, pCancelAccount: *mut CThostFtdcCancelAccountField) {
14131    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
14132    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
14133    trait_obj.on_rtn_cancel_account_by_bank(pCancelAccount)
14134}
14135
14136#[no_mangle]
14137pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRtnChangeAccountByBank(trait_obj: *mut ::std::os::raw::c_void, pChangeAccount: *mut CThostFtdcChangeAccountField) {
14138    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
14139    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
14140    trait_obj.on_rtn_change_account_by_bank(pChangeAccount)
14141}
14142
14143#[no_mangle]
14144pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspQryClassifiedInstrument(trait_obj: *mut ::std::os::raw::c_void, pInstrument: *mut CThostFtdcInstrumentField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
14145    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
14146    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
14147    trait_obj.on_rsp_qry_classified_instrument(pInstrument, pRspInfo, nRequestID, bIsLast)
14148}
14149
14150#[no_mangle]
14151pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspQryCombPromotionParam(trait_obj: *mut ::std::os::raw::c_void, pCombPromotionParam: *mut CThostFtdcCombPromotionParamField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
14152    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
14153    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
14154    trait_obj.on_rsp_qry_comb_promotion_param(pCombPromotionParam, pRspInfo, nRequestID, bIsLast)
14155}
14156
14157#[no_mangle]
14158pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspQryRiskSettleInvstPosition(trait_obj: *mut ::std::os::raw::c_void, pRiskSettleInvstPosition: *mut CThostFtdcRiskSettleInvstPositionField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
14159    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
14160    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
14161    trait_obj.on_rsp_qry_risk_settle_invst_position(pRiskSettleInvstPosition, pRspInfo, nRequestID, bIsLast)
14162}
14163
14164#[no_mangle]
14165pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspQryRiskSettleProductStatus(trait_obj: *mut ::std::os::raw::c_void, pRiskSettleProductStatus: *mut CThostFtdcRiskSettleProductStatusField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
14166    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
14167    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
14168    trait_obj.on_rsp_qry_risk_settle_product_status(pRiskSettleProductStatus, pRspInfo, nRequestID, bIsLast)
14169}
14170
14171#[no_mangle]
14172pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspQrySPBMFutureParameter(trait_obj: *mut ::std::os::raw::c_void, pSPBMFutureParameter: *mut CThostFtdcSPBMFutureParameterField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
14173    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
14174    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
14175    trait_obj.on_rsp_qry_spbm_future_parameter(pSPBMFutureParameter, pRspInfo, nRequestID, bIsLast)
14176}
14177
14178#[no_mangle]
14179pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspQrySPBMOptionParameter(trait_obj: *mut ::std::os::raw::c_void, pSPBMOptionParameter: *mut CThostFtdcSPBMOptionParameterField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
14180    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
14181    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
14182    trait_obj.on_rsp_qry_spbm_option_parameter(pSPBMOptionParameter, pRspInfo, nRequestID, bIsLast)
14183}
14184
14185#[no_mangle]
14186pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspQrySPBMIntraParameter(trait_obj: *mut ::std::os::raw::c_void, pSPBMIntraParameter: *mut CThostFtdcSPBMIntraParameterField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
14187    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
14188    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
14189    trait_obj.on_rsp_qry_spbm_intra_parameter(pSPBMIntraParameter, pRspInfo, nRequestID, bIsLast)
14190}
14191
14192#[no_mangle]
14193pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspQrySPBMInterParameter(trait_obj: *mut ::std::os::raw::c_void, pSPBMInterParameter: *mut CThostFtdcSPBMInterParameterField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
14194    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
14195    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
14196    trait_obj.on_rsp_qry_spbm_inter_parameter(pSPBMInterParameter, pRspInfo, nRequestID, bIsLast)
14197}
14198
14199#[no_mangle]
14200pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspQrySPBMPortfDefinition(trait_obj: *mut ::std::os::raw::c_void, pSPBMPortfDefinition: *mut CThostFtdcSPBMPortfDefinitionField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
14201    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
14202    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
14203    trait_obj.on_rsp_qry_spbm_portf_definition(pSPBMPortfDefinition, pRspInfo, nRequestID, bIsLast)
14204}
14205
14206#[no_mangle]
14207pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspQrySPBMInvestorPortfDef(trait_obj: *mut ::std::os::raw::c_void, pSPBMInvestorPortfDef: *mut CThostFtdcSPBMInvestorPortfDefField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
14208    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
14209    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
14210    trait_obj.on_rsp_qry_spbm_investor_portf_def(pSPBMInvestorPortfDef, pRspInfo, nRequestID, bIsLast)
14211}
14212
14213#[no_mangle]
14214pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspQryInvestorPortfMarginRatio(trait_obj: *mut ::std::os::raw::c_void, pInvestorPortfMarginRatio: *mut CThostFtdcInvestorPortfMarginRatioField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
14215    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
14216    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
14217    trait_obj.on_rsp_qry_investor_portf_margin_ratio(pInvestorPortfMarginRatio, pRspInfo, nRequestID, bIsLast)
14218}
14219
14220#[no_mangle]
14221pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspQryInvestorProdSPBMDetail(trait_obj: *mut ::std::os::raw::c_void, pInvestorProdSPBMDetail: *mut CThostFtdcInvestorProdSPBMDetailField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
14222    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
14223    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
14224    trait_obj.on_rsp_qry_investor_prod_spbm_detail(pInvestorProdSPBMDetail, pRspInfo, nRequestID, bIsLast)
14225}
14226
14227#[no_mangle]
14228pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspQryInvestorCommoditySPMMMargin(trait_obj: *mut ::std::os::raw::c_void, pInvestorCommoditySPMMMargin: *mut CThostFtdcInvestorCommoditySPMMMarginField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
14229    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
14230    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
14231    trait_obj.on_rsp_qry_investor_commodity_spmm_margin(pInvestorCommoditySPMMMargin, pRspInfo, nRequestID, bIsLast)
14232}
14233
14234#[no_mangle]
14235pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspQryInvestorCommodityGroupSPMMMargin(trait_obj: *mut ::std::os::raw::c_void, pInvestorCommodityGroupSPMMMargin: *mut CThostFtdcInvestorCommodityGroupSPMMMarginField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
14236    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
14237    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
14238    trait_obj.on_rsp_qry_investor_commodity_group_spmm_margin(pInvestorCommodityGroupSPMMMargin, pRspInfo, nRequestID, bIsLast)
14239}
14240
14241#[no_mangle]
14242pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspQrySPMMInstParam(trait_obj: *mut ::std::os::raw::c_void, pSPMMInstParam: *mut CThostFtdcSPMMInstParamField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
14243    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
14244    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
14245    trait_obj.on_rsp_qry_spmm_inst_param(pSPMMInstParam, pRspInfo, nRequestID, bIsLast)
14246}
14247
14248#[no_mangle]
14249pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspQrySPMMProductParam(trait_obj: *mut ::std::os::raw::c_void, pSPMMProductParam: *mut CThostFtdcSPMMProductParamField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
14250    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
14251    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
14252    trait_obj.on_rsp_qry_spmm_product_param(pSPMMProductParam, pRspInfo, nRequestID, bIsLast)
14253}
14254
14255#[no_mangle]
14256pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspQrySPBMAddOnInterParameter(trait_obj: *mut ::std::os::raw::c_void, pSPBMAddOnInterParameter: *mut CThostFtdcSPBMAddOnInterParameterField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
14257    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
14258    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
14259    trait_obj.on_rsp_qry_spbm_add_on_inter_parameter(pSPBMAddOnInterParameter, pRspInfo, nRequestID, bIsLast)
14260}
14261
14262#[no_mangle]
14263pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspQryRCAMSCombProductInfo(trait_obj: *mut ::std::os::raw::c_void, pRCAMSCombProductInfo: *mut CThostFtdcRCAMSCombProductInfoField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
14264    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
14265    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
14266    trait_obj.on_rsp_qry_rcams_comb_product_info(pRCAMSCombProductInfo, pRspInfo, nRequestID, bIsLast)
14267}
14268
14269#[no_mangle]
14270pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspQryRCAMSInstrParameter(trait_obj: *mut ::std::os::raw::c_void, pRCAMSInstrParameter: *mut CThostFtdcRCAMSInstrParameterField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
14271    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
14272    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
14273    trait_obj.on_rsp_qry_rcams_instr_parameter(pRCAMSInstrParameter, pRspInfo, nRequestID, bIsLast)
14274}
14275
14276#[no_mangle]
14277pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspQryRCAMSIntraParameter(trait_obj: *mut ::std::os::raw::c_void, pRCAMSIntraParameter: *mut CThostFtdcRCAMSIntraParameterField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
14278    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
14279    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
14280    trait_obj.on_rsp_qry_rcams_intra_parameter(pRCAMSIntraParameter, pRspInfo, nRequestID, bIsLast)
14281}
14282
14283#[no_mangle]
14284pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspQryRCAMSInterParameter(trait_obj: *mut ::std::os::raw::c_void, pRCAMSInterParameter: *mut CThostFtdcRCAMSInterParameterField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
14285    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
14286    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
14287    trait_obj.on_rsp_qry_rcams_inter_parameter(pRCAMSInterParameter, pRspInfo, nRequestID, bIsLast)
14288}
14289
14290#[no_mangle]
14291pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspQryRCAMSShortOptAdjustParam(trait_obj: *mut ::std::os::raw::c_void, pRCAMSShortOptAdjustParam: *mut CThostFtdcRCAMSShortOptAdjustParamField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
14292    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
14293    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
14294    trait_obj.on_rsp_qry_rcams_short_opt_adjust_param(pRCAMSShortOptAdjustParam, pRspInfo, nRequestID, bIsLast)
14295}
14296
14297#[no_mangle]
14298pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspQryRCAMSInvestorCombPosition(trait_obj: *mut ::std::os::raw::c_void, pRCAMSInvestorCombPosition: *mut CThostFtdcRCAMSInvestorCombPositionField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
14299    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
14300    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
14301    trait_obj.on_rsp_qry_rcams_investor_comb_position(pRCAMSInvestorCombPosition, pRspInfo, nRequestID, bIsLast)
14302}
14303
14304#[no_mangle]
14305pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspQryInvestorProdRCAMSMargin(trait_obj: *mut ::std::os::raw::c_void, pInvestorProdRCAMSMargin: *mut CThostFtdcInvestorProdRCAMSMarginField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
14306    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
14307    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
14308    trait_obj.on_rsp_qry_investor_prod_rcams_margin(pInvestorProdRCAMSMargin, pRspInfo, nRequestID, bIsLast)
14309}
14310
14311#[no_mangle]
14312pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspQryRULEInstrParameter(trait_obj: *mut ::std::os::raw::c_void, pRULEInstrParameter: *mut CThostFtdcRULEInstrParameterField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
14313    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
14314    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
14315    trait_obj.on_rsp_qry_rule_instr_parameter(pRULEInstrParameter, pRspInfo, nRequestID, bIsLast)
14316}
14317
14318#[no_mangle]
14319pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspQryRULEIntraParameter(trait_obj: *mut ::std::os::raw::c_void, pRULEIntraParameter: *mut CThostFtdcRULEIntraParameterField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
14320    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
14321    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
14322    trait_obj.on_rsp_qry_rule_intra_parameter(pRULEIntraParameter, pRspInfo, nRequestID, bIsLast)
14323}
14324
14325#[no_mangle]
14326pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspQryRULEInterParameter(trait_obj: *mut ::std::os::raw::c_void, pRULEInterParameter: *mut CThostFtdcRULEInterParameterField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
14327    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
14328    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
14329    trait_obj.on_rsp_qry_rule_inter_parameter(pRULEInterParameter, pRspInfo, nRequestID, bIsLast)
14330}
14331
14332#[no_mangle]
14333pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_OnRspQryInvestorProdRULEMargin(trait_obj: *mut ::std::os::raw::c_void, pInvestorProdRULEMargin: *mut CThostFtdcInvestorProdRULEMarginField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) {
14334    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
14335    let trait_obj: &mut dyn Rust_CThostFtdcTraderSpi_Trait = unsafe { &mut **trait_obj };
14336    trait_obj.on_rsp_qry_investor_prod_rule_margin(pInvestorProdRULEMargin, pRspInfo, nRequestID, bIsLast)
14337}
14338
14339#[no_mangle]
14340pub extern "C" fn Rust_CThostFtdcTraderSpi_Trait_Drop(trait_obj: *mut ::std::os::raw::c_void) {
14341    let trait_obj = trait_obj as *mut Box<dyn Rust_CThostFtdcTraderSpi_Trait>;
14342    let _r: Box<Box<dyn Rust_CThostFtdcTraderSpi_Trait>> = unsafe { Box::from_raw(trait_obj) };
14343}