#define ONFRONTCONNECTED 1
#define ONFRONTDISCONNECTED 2
#define ONRSPUSERLOGIN 3
#define ONRSPUSERLOGOUT 4
#define ONNTYMKTSTATUS 5
#define ONRSPQRYINSTRUMENT 6
#define ONRTNDEPTHMARKETDATA 7
#define ONRSPORDERINSERT 8
#define ONERRRTNORDERINSERT 9
#define ONRTNORDER 10
#define ONFORCELOGOUT 11
#define ONRSPORDERACTION 12
#define ONERRRTNORDERACTION 13
#define ONRTNTRADE 14
#define ONRSPQRYTRADINGACCOUNT 15
#define ONRSPQRYORDER 16
#define ONRSPQRYTRADE 17
#define ONRSPQRYINVESTORPOSITION 18
#define ONRSPQRYCLIENTSTORAGE 19
#define ONRSPSUBMARKETDATA 20
