eric
04-22-2008, 01:01 PM
Is it possible to set up two userSessions at the same time ?
Because I need one is for live rate(receive tick data) and another one is for getting historical data.
I try this by using Price Engine SDK, but it does not work.
such as:
userSessionLive = ConnectionManagerEx.createUserSession(PRICE_SERVER,TERMINAL, "PriceServer", USER_NAME, PASSWORD,null);
userSessionHistory = ConnectionManagerEx.createUserSession( PRICE_SERVER, TERMINAL, "PriceServer", USER_NAME, PASSWORD,null);
But when I set up the userSessionHistory, the userSessionLive does not work.
If I delete the userSessionHistory, everything is fine.
Anybody help me?
Thanks in advance.
Because I need one is for live rate(receive tick data) and another one is for getting historical data.
I try this by using Price Engine SDK, but it does not work.
such as:
userSessionLive = ConnectionManagerEx.createUserSession(PRICE_SERVER,TERMINAL, "PriceServer", USER_NAME, PASSWORD,null);
userSessionHistory = ConnectionManagerEx.createUserSession( PRICE_SERVER, TERMINAL, "PriceServer", USER_NAME, PASSWORD,null);
But when I set up the userSessionHistory, the userSessionLive does not work.
If I delete the userSessionHistory, everything is fine.
Anybody help me?
Thanks in advance.