#define ONFRONTCONNECTED 1
#define ONFRONTDISCONNECTED 2
#define ONRSPUSERLOGIN 3
#define ONRSPUSERLOGOUT 4
#define ONRSPUSERPASSWORDUPDATE 5
#define ONRSPORDERINSERT 6
#define ONRSPORDERACTION 7
#define ONRSPQRYORDER 8
#define ONRSPQRYTRADINGACCOUNT 9
#define ONRSPQRYINVESTOR 10
#define ONRSPQRYINSTRUMENT 11
#define ONRTNORDER 12
#define ONRTNTRADE 13
#define ONRTNINSTRUMENTSTATUS 14
#define ONRSPQRYINVESTORPOSITIONDETAIL 15
#define ONRSPQRYINVESTORPOSITION 16
