#define ONFRONTCONNECTED 1 #define ONFRONTDISCONNECTED 2 #define ONHEARTBEATWARNING 3 #define ONRSPAUTHENTICATE 4 #define ONRSPUSERLOGIN 5 #define ONRSPUSERLOGOUT 6 #define ONRSPUSERPASSWORDUPDATE 7 #define ONRSPTRADINGACCOUNTPASSWORDUPDATE 8 #define ONRSPORDERINSERT 9 #define ONRSPPARKEDORDERINSERT 10 #define ONRSPPARKEDORDERACTION 11 #define ONRSPORDERACTION 12 #define ONRSPQUERYMAXORDERVOLUME 13 #define ONRSPSETTLEMENTINFOCONFIRM 14 #define ONRSPREMOVEPARKEDORDER 15 #define ONRSPREMOVEPARKEDORDERACTION 16 #define ONRSPEXECORDERINSERT 17 #define ONRSPEXECORDERACTION 18 #define ONRSPFORQUOTEINSERT 19 #define ONRSPQUOTEINSERT 20 #define ONRSPQUOTEACTION 21 #define ONRSPBATCHORDERACTION 22 #define ONRSPCOMBACTIONINSERT 23 #define ONRSPQRYORDER 24 #define ONRSPQRYTRADE 25 #define ONRSPQRYINVESTORPOSITION 26 #define ONRSPQRYTRADINGACCOUNT 27 #define ONRSPQRYINVESTOR 28 #define ONRSPQRYTRADINGCODE 29 #define ONRSPQRYINSTRUMENTMARGINRATE 30 #define ONRSPQRYINSTRUMENTCOMMISSIONRATE 31 #define ONRSPQRYEXCHANGE 32 #define ONRSPQRYPRODUCT 33 #define ONRSPQRYINSTRUMENT 34 #define ONRSPQRYDEPTHMARKETDATA 35 #define ONRSPQRYSETTLEMENTINFO 36 #define ONRSPQRYTRANSFERBANK 37 #define ONRSPQRYINVESTORPOSITIONDETAIL 38 #define ONRSPQRYNOTICE 39 #define ONRSPQRYSETTLEMENTINFOCONFIRM 40 #define ONRSPQRYINVESTORPOSITIONCOMBINEDETAIL 41 #define ONRSPQRYCFMMCTRADINGACCOUNTKEY 42 #define ONRSPQRYEWARRANTOFFSET 43 #define ONRSPQRYINVESTORPRODUCTGROUPMARGIN 44 #define ONRSPQRYEXCHANGEMARGINRATE 45 #define ONRSPQRYEXCHANGEMARGINRATEADJUST 46 #define ONRSPQRYEXCHANGERATE 47 #define ONRSPQRYSECAGENTACIDMAP 48 #define ONRSPQRYPRODUCTEXCHRATE 49 #define ONRSPQRYPRODUCTGROUP 50 #define ONRSPQRYOPTIONINSTRTRADECOST 51 #define ONRSPQRYOPTIONINSTRCOMMRATE 52 #define ONRSPQRYEXECORDER 53 #define ONRSPQRYFORQUOTE 54 #define ONRSPQRYQUOTE 55 #define ONRSPQRYCOMBINSTRUMENTGUARD 56 #define ONRSPQRYCOMBACTION 57 #define ONRSPQRYTRANSFERSERIAL 58 #define ONRSPQRYACCOUNTREGISTER 59 #define ONRSPERROR 60 #define ONRTNORDER 61 #define ONRTNTRADE 62 #define ONERRRTNORDERINSERT 63 #define ONERRRTNORDERACTION 64 #define ONRTNINSTRUMENTSTATUS 65 #define ONRTNTRADINGNOTICE 66 #define ONRTNERRORCONDITIONALORDER 67 #define ONRTNEXECORDER 68 #define ONERRRTNEXECORDERINSERT 69 #define ONERRRTNEXECORDERACTION 70 #define ONERRRTNFORQUOTEINSERT 71 #define ONRTNQUOTE 72 #define ONERRRTNQUOTEINSERT 73 #define ONERRRTNQUOTEACTION 74 #define ONRTNFORQUOTERSP 75 #define ONRTNCFMMCTRADINGACCOUNTTOKEN 76 #define ONERRRTNBATCHORDERACTION 77 #define ONRTNCOMBACTION 78 #define ONERRRTNCOMBACTIONINSERT 79 #define ONRSPQRYCONTRACTBANK 80 #define ONRSPQRYPARKEDORDER 81 #define ONRSPQRYPARKEDORDERACTION 82 #define ONRSPQRYTRADINGNOTICE 83 #define ONRSPQRYBROKERTRADINGPARAMS 84 #define ONRSPQRYBROKERTRADINGALGOS 85 #define ONRSPQUERYCFMMCTRADINGACCOUNTTOKEN 86 #define ONRTNFROMBANKTOFUTUREBYBANK 87 #define ONRTNFROMFUTURETOBANKBYBANK 88 #define ONRTNREPEALFROMBANKTOFUTUREBYBANK 89 #define ONRTNREPEALFROMFUTURETOBANKBYBANK 90 #define ONRTNFROMBANKTOFUTUREBYFUTURE 91 #define ONRTNFROMFUTURETOBANKBYFUTURE 92 #define ONRTNREPEALFROMBANKTOFUTUREBYFUTUREMANUAL 93 #define ONRTNREPEALFROMFUTURETOBANKBYFUTUREMANUAL 94 #define ONRTNQUERYBANKBALANCEBYFUTURE 95 #define ONERRRTNBANKTOFUTUREBYFUTURE 96 #define ONERRRTNFUTURETOBANKBYFUTURE 97 #define ONERRRTNREPEALBANKTOFUTUREBYFUTUREMANUAL 98 #define ONERRRTNREPEALFUTURETOBANKBYFUTUREMANUAL 99 #define ONERRRTNQUERYBANKBALANCEBYFUTURE 100 #define ONRTNREPEALFROMBANKTOFUTUREBYFUTURE 101 #define ONRTNREPEALFROMFUTURETOBANKBYFUTURE 102 #define ONRSPFROMBANKTOFUTUREBYFUTURE 103 #define ONRSPFROMFUTURETOBANKBYFUTURE 104 #define ONRSPQUERYBANKACCOUNTMONEYBYFUTURE 105 #define ONRTNOPENACCOUNTBYBANK 106 #define ONRTNCANCELACCOUNTBYBANK 107 #define ONRTNCHANGEACCOUNTBYBANK 108