unable to send LOGON message to FIX

View: New views
2 Messages — Rating Filter:   Alert me  

unable to send LOGON message to FIX

by ch.asad@gmail.com :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi i want to send LOGON message to FIX.
here is my logon method.


void Application::fxlogin()
{
             FIX::Message message;

        message.getHeader().setField(35, "A");
        message.getHeader().setField(96, "12345678");
        message.getHeader().setField(108,"10");
             FIX::Session::sendToTarget(message);
       

}
Config file setting are as follows..

[DEFAULT]
ConnectionType=initiator
ReconnectInterval=20
StartTime=12:00:00
EndTime=23:00:00
SenderCompID=TW
SenderSubID=user1
HeartBtInt=10
SocketConnectPort=443
SocketConnectHost=ssl://84.219.221.89
FileLogPath=c:\qfixlogs\
FileStorePath=c:\qfixstore\

# session definition
[SESSION]
# inherit ConnectionType, ReconnectInterval and SenderCompID from default
BeginString=FIX.4.4
TargetCompID=ISLD
TargetSubID=qftrade
HeartBtInt=10
FileLogPath=c:\qfixlogs\
FileStorePath=c:\qfixstore\
DataDictionary=C:\quickfix-1.12.4\quickfix\spec\FIX44.xml

Can any one help me how we can send it?
or If you can send your code with me for logon message so that i can figure it out.
thanks.
Asad.

Re: unable to send LOGON message to FIX

by Grant Birchmeier :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html
QuickFIX Support: http://www.quickfixengine.org/services.html

Your approach is quite off track.  Have you looked at the example programs?
http://quickfixengine.org/quickfix/doc/html/examples.html

Also, there are instructions for how to create messages here.  You can
see how this is quite different than your approach.
http://quickfixengine.org/quickfix/doc/html/sending_messages.html

Note that you should NOT be creating a Logon message this way, as
QuickFIX does a lot of this automatically.  At most, you might insert
username and password fields, but not much else.

Please see the example programs that are included in the QF download.
They will help you greatly.

-Grant


On Fri, Oct 9, 2009 at 1:48 AM, ch.asad@... <ch.asad@...> wrote:

> QuickFIX Documentation: http://www.quickfixengine.org/quickfix/doc/html/index.html
> QuickFIX Support: http://www.quickfixengine.org/services.html
>
>
> Hi i want to send LOGON message to FIX.
> here is my logon method.
>
>
> void Application::fxlogin()
> {
>             FIX::Message message;
>
>        message.getHeader().setField(35, "A");
>        message.getHeader().setField(96, "12345678");
>        message.getHeader().setField(108,"10");
>             FIX::Session::sendToTarget(message);
>
>
> }
> Config file setting are as follows..
>
> [DEFAULT]
> ConnectionType=initiator
> ReconnectInterval=20
> StartTime=12:00:00
> EndTime=23:00:00
> SenderCompID=TW
> SenderSubID=user1
> HeartBtInt=10
> SocketConnectPort=443
> SocketConnectHost=ssl://84.219.221.89
> FileLogPath=c:\qfixlogs\
> FileStorePath=c:\qfixstore\
>
> # session definition
> [SESSION]
> # inherit ConnectionType, ReconnectInterval and SenderCompID from default
> BeginString=FIX.4.4
> TargetCompID=ISLD
> TargetSubID=qftrade
> HeartBtInt=10
> FileLogPath=c:\qfixlogs\
> FileStorePath=c:\qfixstore\
> DataDictionary=C:\quickfix-1.12.4\quickfix\spec\FIX44.xml
>
> Can any one help me how we can send it?
> or If you can send your code with me for logon message so that i can figure
> it out.
> thanks.
> Asad.
> --
> View this message in context: http://www.nabble.com/unable-to-send-LOGON-message-to-FIX-tp25816265p25816265.html
> Sent from the QuickFIX - Dev mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> Quickfix-developers mailing list
> Quickfix-developers@...
> https://lists.sourceforge.net/lists/listinfo/quickfix-developers
>

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Quickfix-developers mailing list
Quickfix-developers@...
https://lists.sourceforge.net/lists/listinfo/quickfix-developers