Quickfixj / OMS problem (Redifining datatypes, sending separate loin messages)

2 messages Options
Embed this post
Permalink
Morris Mwanga

Quickfixj / OMS problem (Redifining datatypes, sending separate loin messages)

Reply Threaded More More options
Print post
Permalink
Hi all,
We are using the marketcetera 0.4.2 platform to connect to an exchange,
The exchange requires a logon first, then an applogin. I could not manage
to login using the oms.
I managed to get the log-file of a previous successful login and it looks
way different. Here it is

-------------------------
Here is a successful logon message...

INPUT:9000=20080728-08:59:46:8=FIX.4.49=9135=434=143=Y49=DWD52=20080728-09:00:17.40956=RBS122=20080728-09:00:17.40936=3123=Y10=185


Followed by an applogon

INPUT:9000=20080728-08:59:47:8=FIX.4.49=12135=UA34=349=DWD52=20080728-09:00:18.33156=RBS553=skariuki554=nse1236348=1.1.1.16364=10.64.10.326400=12346731=010=198

-------------------------

This is my message from the same exchange

INPUT:9000=20080728-08:59:45:8=FIX.4.49=6135=A34=249=DWD52=20080728-09:00:15.97256=RBS98=0108=2010=207

-------------------------

Now, I need to be able to do 2 things

1)I need to be able to send two messages for login, one after the other
(not all together)
2)I need to be able to redefine my data dictionary (So that tag 35 can be
type 4 and not type A, and so on and so on)

Any help would be appreciated

----
Morris Mwanga



_______________________________________________
_______________________________________________
Marketcetera Users mailing list
Marketcetera Documentation: http://trac.marketcetera.org
To unsubscribe, go to
http://lists.marketcetera.org/cgi-bin/mailman/listinfo/m-etc-users or send an email to [hidden email].
toli

Re: Quickfixj / OMS problem (Redifining datatypes, sending separate loin messages)

Reply Threaded More More options
Print post
Permalink
Morris,

In the sample messages that you sent, you have
1. a SequenceReset message, not a regular "logon" message
2. a custom message (MsgType=UA) where you specify your username and password

The message that you get back is a regular Logon (MsgType=A) message.

> Now, I need to be able to do 2 things
> 1)I need to be able to send two messages for login, one after the other
> (not all together)

You'd have to do that manually - you make some changes in the
org.marketcetera.ors.QuickFIXApplication.onLogon() method to send
another message out when you receive a reply to a logon event.
Alternatively, you can overwrite the toAdmin() message to send an
"applogon" or a custom message following your first outgoing Logon
message.

does that work for you? We don't have an API yet to insert custom
adapters/additional messages for outgoing Logons, but it seems like
it'd be a good idea to allow for that. I've filed an RFE:
http://trac.marketcetera.org/trac.fcgi/ticket/529

> 2)I need to be able to redefine my data dictionary (So that tag 35 can be
> type 4 and not type A, and so on and so on)

That's very simple. Follow the directions from here:
http://trac.marketcetera.org/trac.fcgi/wiki/0.5.0/Marketcetera/UserFAQ#MybrokerdeviatesfromFIXspec.HowdoIuseacustomFIXdictionary

You can use any of the FIX dictionary from QFJ as the starting point:
http://quickfixj.svn.sourceforge.net/viewvc/quickfixj/trunk/core/src/main/resources/

let me know if you have any other questions. I'd be happy to discuss
the customization of the QuickFIXApplication with you privately if
need more directions.

--
Toli Kuznets
http://www.marketcetera.com: Open-Source Trading Platform
download.run.trade.
_______________________________________________
_______________________________________________
Marketcetera Users mailing list
Marketcetera Documentation: http://trac.marketcetera.org
To unsubscribe, go to
http://lists.marketcetera.org/cgi-bin/mailman/listinfo/m-etc-users or send an email to [hidden email].