Thanks. I'll try this out and deploy this.
-----Original Message-----
From: "Toli Kuznets" <
[hidden email]>
Date: Wed, 25 Jun 2008 13:45:39
To:"Neal Hill" <
[hidden email]>
Cc:
[hidden email]
Subject: Re: [m-etc-dev] Where do I put other login/session parameters?
Hi Neal,
Apologies - we are in the process of updating the documentation to
reflect the recent 0.5.0 release.
Let me assume that you are running 0.5.0
Here are the files you need to change:
In C:\program files\marketcetera\ors\conf you need to open
ors_user.properties - this is where you specify the FIX destination
properties. This file overrides the defaults that are specified in
ors_default.properties
quickfix.senderCompId=<your sender-comp id>
quickfix.targetCompId=<target comp id>
quickfix.destination=<fix host destination>
quickfix.port=<port>
The hearbeat interval is specified in the conf/quickfixj.xml file -
look for something that looks like this and modify 30 to 60 (line 30)
<entry key="HeartBtInt" value="30"/>
For Account, if you want it to be automatically inserted into every
outgoing message, you'll need to use the message modifier framework.
see
http://trac.marketcetera.org/trac.fcgi/wiki/Marketcetera/OMSInstallation#DefaultFIXFieldsOptionalfor more details. If you want it in all messages, then it's as simple
as having this:
<bean id="defaultMessageModifier"
class="org.marketcetera.quickfix.DefaultMessageModifier">
<property name="msgFields">
<map>
<entry key="1" value="<your account name>"/>
</map>
</property>
</bean>
If you need that in Logon only message, for example, then you specify
message type (Logon is A) in the key:
<entry key="1(A)" value="<your account name>"/>
Similar with password. I'm assuming that you need both Account and
Password (field 554) in Logon, then you'd have this:
<bean id="defaultMessageModifier"
class="org.marketcetera.quickfix.DefaultMessageModifier">
<property name="msgFields">
<map>
<entry key="1(A)" value="<your account name>"/>
<entry key="554(A)" value="<your password>"/>
</map>
</property>
</bean>
Hope this helps. Let me know if you have any other questions.
On Wed, Jun 25, 2008 at 1:17 PM, Neal Hill <
[hidden email]> wrote:
> Hi,
>
> I'm trying to connect to a provider and they require additional
> connection info. Where do I put it? In the OMS.XML file, it mentions
> SENDERCOMPID, TARGETCOMPID, etc. and the comment line suggests an
> actual sequence these must be specified.
>
> But my provider additionally requires:
> SenderSubId: foobar
> Account: sim-foobar
> Password: thepassword
> HeartBeat Interval: 60s
>
> Where are THESE specified? In which files and under which tags?
>
> Thanks,
>
> Neal Hill
> SRH Technology
> _______________________________________________
> Marketcetera Developers mailing list
> Marketcetera Documentation:
http://trac.marketcetera.org> To unsubscribe, go to
>
http://lists.marketcetera.org/cgi-bin/mailman/listinfo/m-etc-dev or send an email to
[hidden email].
>
--
Toli Kuznets
http://www.marketcetera.com: Open-Source Trading Platform
download.run.trade.
_______________________________________________
Marketcetera Developers mailing list
Marketcetera Documentation:
http://trac.marketcetera.orgTo unsubscribe, go to
http://lists.marketcetera.org/cgi-bin/mailman/listinfo/m-etc-dev or send an email to
[hidden email].