#define ONFRONTCONNECTED 0
#define ONRSPUSERLOGIN 1
#define ONANSORDERINSERT 2
#define ONRSPORDERINSERT 3
#define ONANSORDERACTION 4
#define ONRSPORDERACTION 5
#define ONORDERRTN 6
#define ONTRADERTN 7
#define ONRSPTRADINGACCOUNT 8
#define ONRSPERROR 9
#define ONRSPQRYORDER 10
#define ONRSPQRYTRADE 11
#define ONRSPQRYINVESTORPOSITION 12
#define ONRSPQRYCHANGEPWD 13
#define ONRSPLOGOUT 14
#define ONRTNINSTRUMENTSTATUS 15
#define ONRSPTEST 16
#define ONERRRTNORDERINSERT 17
#define ONERRRTNORDERACTION 18
