[Quickfix-developers] where to send the logon username&password, and quote request messge and how?
Brought to you by:
orenmnero
|
From: Tect L. <lew...@gm...> - 2006-11-26 10:09:29
|
Hi, Dear all:
I'm a freshman in using quickFix engine.
now I wanna develop a program just use user name, password to logon,
then request quote and receive it. so there r 2 questions:
1. does the username & password for logon message is sent as follows:
void Application::toAdmin( FIX::Message& m, const FIX::SessionID&
sessionID)
{
//SenderSubID
m.setField(50,"Forex");
//OnBehalfOfCompID
m.setField(115,"CorpFXQuote");
//Username&Password
m.setField(553,"username");
m.setField(554,"password");
}
then after send the logon message, the AP received a "Logon response"
message, does it mean logon successfully?
2. after logon successfully, where to send the quote request message,
and where to receive the quote message? in toApp(...) and fromApp(...)? and
about the quote request message, I need ask for several symbols, which class
and methos should I use to define the symbols in the message structure?
For I'm the first time programming quickFix application, the upper
questions may not described clearly, I hope everyone could catch it. :)
thanks!
BR.
Sincerely,
Lewis
|