<font size=2 face="sans-serif">Classification: Public<br>
<br>
are you talking about the same application ? I think that in my case ,
I need to follow the Example.TradeClient , am I right? </font>
<br><font size=2 face="sans-serif"><br>
<br>
********************************************************************************************************<br>
This email is sent to you by Infosys Limited on behalf of Deutsche Bank.<br>
Diese email wurde Ihnen von Infosys Limited im Auftrag der Deutschen Bank
gesendet<br>
*********************************************************************************************************
</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">From:</font>
<td><font size=1 face="sans-serif">Ashutosh Mishra <A.Mishra@ny.tr.mufg.jp></font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">To:</font>
<td><font size=1 face="sans-serif">Mailing list for QuickFIX/n <quickfixn@lists.quickfixn.com>,
</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">Date:</font>
<td><font size=1 face="sans-serif">11/21/2013 01:23 PM</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">Subject:</font>
<td><font size=1 face="sans-serif">Re: {{Quickfixn}} Log In troubles</font></table>
<br>
<hr noshade>
<br>
<br>
<br><font size=2 color=#004080 face="Calibri">Follow Grant's adviseā¦Go
through the Example Application on the QuickFix website, and you should
be able to run your application. Try to get the flow of the example aplication
and define your configuration in a text file.</font>
<br><font size=2 color=#004080 face="Calibri"> </font>
<div><font size=2 color=#4181c0 face="Arial">Thanks & Regards,</font>
<br><font size=2 color=#4181c0 face="Arial">Ashutosh Mishra</font>
<br><font size=3 face="MS PMincho"> </font>
<br><font size=3 face="MS PMincho">*********************************************************************************</font>
<br><font size=3 face="MS PMincho">This communication (including any attachments)
is intended only or the use of the individual whom it is addressed and
may contain information that is privileged, confidential or legally protected.
If the reader of this message is not the intended recipient, you
are hereby notified that any dissemination, distribution or copying of
this communication is strictly prohibited. If you have received this communication
in error, please notify us immediately by replying to the message. Please
also delete the message and its attachments, if any, from your computer
and destroy any hard copies you may have created. Thank you for your
cooperation. </font>
<br><font size=3 face="MS PMincho">*********************************************************************************</font>
<br><font size=2 color=#004080 face="Calibri"> </font>
<br><font size=2 face="Tahoma"><b>From:</b> quickfixn-bounces@lists.quickfixn.com
[</font><a href="mailto:quickfixn-bounces@lists.quickfixn.com"><font size=2 face="Tahoma">mailto:quickfixn-bounces@lists.quickfixn.com</font></a><font size=2 face="Tahoma">]
<b>On Behalf Of </b>Erika Hernandez<b><br>
Sent:</b> Thursday, November 21, 2013 1:15 PM<b><br>
To:</b> Mailing list for QuickFIX/n<b><br>
Subject:</b> Re: {{Quickfixn}} Log In troubles</font>
<br><font size=3 face="Times New Roman"> </font>
<br><font size=2 face="Arial">Classification: Public<br>
<br>
Hi Ashutosh, </font><font size=3 face="Times New Roman"><br>
</font><font size=2 face="Arial"><br>
I tried to use this:</font><font size=3 face="Times New Roman"> <br>
</font><font size=2 face="Arial"><br>
My intention was setting the Session to LogIn to the server and then send
and order: </font><font size=3 face="Times New Roman"><br>
</font><font size=1 face="}"><br>
QuickFix.</font><font size=1 color=#4181c0 face="}">Dictionary</font><font size=1 face="}">
config = CreateConfig();</font><font size=3 face="Times New Roman"> </font><font size=1 face="}"><br>
QuickFix.</font><font size=1 color=#4181c0 face="}">SessionID</font><font size=1 face="}">
sessionID = </font><font size=1 color=blue face="}">new</font><font size=1 face="}">
QuickFix.</font><font size=1 color=#4181c0 face="}">SessionID</font><font size=1 face="}">(</font><font size=1 color=#a11f12 face="}">"FIX.4.2"</font><font size=1 face="}">,
</font><font size=1 color=#a11f12 face="}">"here I put the sender
"</font><font size=1 face="}">, </font><font size=1 color=#a11f12 face="}">"Here
I put the target"</font><font size=1 face="}">);</font><font size=3 face="Times New Roman">
</font><font size=1 face="}"><br>
QuickFix.</font><font size=1 color=#4181c0 face="}">SessionSettings</font><font size=1 face="}">
settings = </font><font size=1 color=blue face="}">new</font><font size=1 face="}">
QuickFix.</font><font size=1 color=#4181c0 face="}">SessionSettings</font><font size=1 face="}">();</font><font size=3 face="Times New Roman">
</font><font size=1 face="}"><br>
settings.Set(sessionID, config);</font><font size=3 face="Times New Roman">
<br>
</font><font size=1 face="}"><br>
App = </font><font size=1 color=blue face="}">new</font><font size=1 face="}">
</font><font size=1 color=#4181c0 face="}">QFApp</font><font size=1 face="}">(settings);</font><font size=3 face="Times New Roman">
</font><font size=1 face="}"><br>
Initiator = </font><font size=1 color=blue face="}">new</font><font size=1 face="}">
</font><font size=1 color=#4181c0 face="}">MockInitiator</font><font size=1 face="}">();</font><font size=3 face="Times New Roman">
</font><font size=1 face="}"><br>
App.Initiator = Initiator;</font><font size=3 face="Times New Roman">
<br>
</font><font size=1 face="}"><br>
Session = </font><font size=1 color=blue face="}">new</font><font size=1 face="}">
</font><font size=1 color=#4181c0 face="}">SessionThatTracksOutbound</font><font size=1 face="}">(</font><font size=3 face="Times New Roman">
</font><font size=1 face="}"><br>
App,</font><font size=3 face="Times New Roman">
</font><font size=1 face="}"><br>
</font><font size=1 color=blue face="}">new</font><font size=1 face="}">
QuickFix.</font><font size=1 color=#4181c0 face="}">MemoryStoreFactory</font><font size=1 face="}">(),</font><font size=3 face="Times New Roman">
</font><font size=1 face="}"><br>
sessionID,</font><font size=3 face="Times New Roman">
</font><font size=1 face="}"><br>
</font><font size=1 color=blue face="}">new</font><font size=1 face="}">
QuickFix.</font><font size=1 color=#4181c0 face="}">DataDictionaryProvider</font><font size=1 face="}">(),</font><font size=3 face="Times New Roman">
</font><font size=1 face="}"><br>
</font><font size=1 color=blue face="}">new</font><font size=1 face="}">
QuickFix.</font><font size=1 color=#4181c0 face="}">SessionSchedule</font><font size=1 face="}">(config),</font><font size=3 face="Times New Roman">
</font><font size=1 face="}"><br>
0,</font><font size=3 face="Times New Roman">
</font><font size=1 face="}"><br>
</font><font size=1 color=blue face="}">new</font><font size=1 face="}">
QuickFix.</font><font size=1 color=#4181c0 face="}">ScreenLogFactory</font><font size=1 face="}">(settings),</font><font size=3 face="Times New Roman">
</font><font size=1 face="}"><br>
</font><font size=1 color=blue face="}">new</font><font size=1 face="}">
QuickFix.</font><font size=1 color=#4181c0 face="}">DefaultMessageFactory</font><font size=1 face="}">(),</font><font size=3 face="Times New Roman">
</font><font size=1 face="}"><br>
</font><font size=1 color=#a11f12 face="}">"blah"</font><font size=1 face="}">);</font><font size=3 face="Times New Roman">
<br>
<br>
</font><font size=1 face="}"><br>
</font><font size=1 color=blue face="}">var</font><font size=1 face="}">
order = </font><font size=1 color=blue face="}">new</font><font size=1 face="}">
QuickFix.FIX42.</font><font size=1 color=#4181c0 face="}">NewOrderSingle</font><font size=1 face="}">();</font><font size=3 face="Times New Roman">
</font><font size=1 face="}"><br>
order.ClOrdID = </font><font size=1 color=blue face="}">new</font><font size=1 face="}">
</font><font size=1 color=#4181c0 face="}">ClOrdID</font><font size=1 face="}">(</font><font size=1 color=#a11f12 face="}">"myOrder"</font><font size=1 face="}">);</font><font size=3 face="Times New Roman">
</font><font size=1 face="}"><br>
order.Side = </font><font size=1 color=blue face="}">new</font><font size=1 face="}">
</font><font size=1 color=#4181c0 face="}">Side</font><font size=1 face="}">(</font><font size=1 color=#4181c0 face="}">Side</font><font size=1 face="}">.BUY);</font><font size=3 face="Times New Roman">
</font><font size=1 face="}"><br>
order.OrdType = </font><font size=1 color=blue face="}">new</font><font size=1 face="}">
</font><font size=1 color=#4181c0 face="}">OrdType</font><font size=1 face="}">(</font><font size=1 color=#4181c0 face="}">OrdType</font><font size=1 face="}">.LIMIT);</font><font size=3 face="Times New Roman">
</font><font size=1 face="}"><br>
order.Symbol = </font><font size=1 color=blue face="}">new</font><font size=1 face="}">
</font><font size=1 color=#4181c0 face="}">Symbol</font><font size=1 face="}">(</font><font size=1 color=#a11f12 face="}">"AB"</font><font size=1 face="}">);</font><font size=3 face="Times New Roman">
</font><font size=1 face="}"><br>
order.Price = </font><font size=1 color=blue face="}">new</font><font size=1 face="}">
</font><font size=1 color=#4181c0 face="}">Price</font><font size=1 face="}">((</font><font size=1 color=blue face="}">decimal</font><font size=1 face="}">)19.00);</font><font size=3 face="Times New Roman">
</font><font size=1 face="}"><br>
order.Account = </font><font size=1 color=blue face="}">new</font><font size=1 face="}">
</font><font size=1 color=#4181c0 face="}">Account</font><font size=1 face="}">(</font><font size=1 color=#a11f12 face="}">"TestAccount"</font><font size=1 face="}">);</font><font size=3 face="Times New Roman">
</font><font size=1 face="}"><br>
order.ExDestination = </font><font size=1 color=blue face="}">new</font><font size=1 face="}">
</font><font size=1 color=#4181c0 face="}">ExDestination</font><font size=1 face="}">(</font><font size=1 color=#a11f12 face="}">"ARCA_QA"</font><font size=1 face="}">);</font><font size=3 face="Times New Roman">
</font><font size=1 face="}"><br>
order.OrderQty = </font><font size=1 color=blue face="}">new</font><font size=1 face="}">
</font><font size=1 color=#4181c0 face="}">OrderQty</font><font size=1 face="}">((</font><font size=1 color=blue face="}">decimal</font><font size=1 face="}">)995);</font><font size=3 face="Times New Roman">
</font><font size=1 face="}"><br>
order.TimeInForce = </font><font size=1 color=blue face="}">new</font><font size=1 face="}">
</font><font size=1 color=#4181c0 face="}">TimeInForce</font><font size=1 face="}">(</font><font size=1 color=#4181c0 face="}">Convert</font><font size=1 face="}">.ToChar(</font><font size=1 color=#a11f12 face="}">"0"</font><font size=1 face="}">));</font><font size=3 face="Times New Roman">
</font><font size=1 face="}"><br>
order.SecurityID = </font><font size=1 color=blue face="}">new</font><font size=1 face="}">
</font><font size=1 color=#4181c0 face="}">SecurityID</font><font size=1 face="}">(</font><font size=1 color=#a11f12 face="}">"AB.N"</font><font size=1 face="}">);</font><font size=3 face="Times New Roman">
</font><font size=1 face="}"><br>
order.HandlInst = </font><font size=1 color=blue face="}">new</font><font size=1 face="}">
</font><font size=1 color=#4181c0 face="}">HandlInst</font><font size=1 face="}">(</font><font size=1 color=#4181c0 face="}">HandlInst</font><font size=1 face="}">.AUTOMATED_EXECUTION_ORDER_PUBLIC_BROKER_INTERVENTION_OK);</font><font size=3 face="Times New Roman">
<br>
<br>
</font><font size=1 face="}"><br>
</font><font size=1 color=#4181c0 face="}">Session</font><font size=1 face="}">.SendToTarget(order);
</font><font size=2 face="Arial"><br>
<br>
<br>
but that is not reading the config file, so I set the data here:
</font><font size=3 face="Times New Roman"><br>
</font><font size=1 face="}"><br>
</font><font size=1 color=blue face="}">private</font><font size=1 face="}">
</font><font size=1 color=blue face="}">static</font><font size=1 face="}">
QuickFix.</font><font size=1 color=#4181c0 face="}">Dictionary</font><font size=1 face="}">
CreateConfig()</font><font size=3 face="Times New Roman"> </font><font size=1 face="}"><br>
{</font><font size=3 face="Times New Roman">
</font><font size=1 face="}"><br>
QuickFix.</font><font size=1 color=#4181c0 face="}">Dictionary</font><font size=1 face="}">
config = </font><font size=1 color=blue face="}">new</font><font size=1 face="}">
QuickFix.</font><font size=1 color=#4181c0 face="}">Dictionary</font><font size=1 face="}">();</font><font size=3 face="Times New Roman">
</font><font size=1 face="}"><br>
config.SetBool(QuickFix.</font><font size=1 color=#4181c0 face="}">SessionSettings</font><font size=1 face="}">.PERSIST_MESSAGES,
</font><font size=1 color=blue face="}">true</font><font size=1 face="}">);</font><font size=3 face="Times New Roman">
</font><font size=1 face="}"><br>
config.SetString(QuickFix.</font><font size=1 color=#4181c0 face="}">SessionSettings</font><font size=1 face="}">.CONNECTION_TYPE,
</font><font size=1 color=#a11f12 face="}">"initiator"</font><font size=1 face="}">);</font><font size=3 face="Times New Roman">
</font><font size=1 face="}"><br>
config.SetString(QuickFix.</font><font size=1 color=#4181c0 face="}">SessionSettings</font><font size=1 face="}">.START_TIME,
</font><font size=1 color=#a11f12 face="}">"00:00:00"</font><font size=1 face="}">);</font><font size=3 face="Times New Roman">
</font><font size=1 face="}"><br>
config.SetString(QuickFix.</font><font size=1 color=#4181c0 face="}">SessionSettings</font><font size=1 face="}">.END_TIME,
</font><font size=1 color=#a11f12 face="}">"00:00:00"</font><font size=1 face="}">);</font><font size=3 face="Times New Roman">
</font><font size=1 face="}"><br>
config.SetString(QuickFix.</font><font size=1 color=#4181c0 face="}">SessionSettings</font><font size=1 face="}">.SOCKET_CONNECT_HOST,
</font><font size=1 color=#a11f12 face="}">"here I put my host "</font><font size=1 face="}">);</font><font size=3 face="Times New Roman">
</font><font size=1 face="}"><br>
config.SetString(QuickFix.</font><font size=1 color=#4181c0 face="}">SessionSettings</font><font size=1 face="}">.SOCKET_CONNECT_PORT,
</font><font size=1 color=#a11f12 face="}">"here I put my port"</font><font size=1 face="}">);</font><font size=3 face="Times New Roman">
</font><font size=1 face="}"><br>
config.SetString(QuickFix.</font><font size=1 color=#4181c0 face="}">SessionSettings</font><font size=1 face="}">.DATA_DICTIONARY,
</font><font size=1 color=#a11f12 face="}">"FIX42.xml"</font><font size=1 face="}">);</font><font size=3 face="Times New Roman">
<br>
</font><font size=1 face="}"><br>
</font><font size=1 color=blue face="}">return</font><font size=1 face="}">
config;</font><font size=3 face="Times New Roman"> </font><font size=1 face="}"><br>
}</font><font size=3 face="Times New Roman">
<br>
</font><font size=2 face="Arial"><br>
but It's not working.... It doesn't throw any exception but is not creating
the order.</font><font size=3 face="Times New Roman"> <br>
</font><font size=2 face="Arial"><br>
could you please tell me in which file of the solution I can see
the flow that you described below? </font><font size=3 face="Times New Roman"><br>
</font><font size=2 face="Arial"><br>
<br>
Thanks & regards!! <br>
<br>
********************************************************************************************************<br>
This email is sent to you by Infosys Limited on behalf of Deutsche Bank.<br>
Diese email wurde Ihnen von Infosys Limited im Auftrag der Deutschen Bank
gesendet<br>
*********************************************************************************************************
</font><font size=3 face="Times New Roman"><br>
</font>
<p>
<table width=100%>
<tr valign=top>
<td width=13%><font size=1 color=#5f5f5f face="Arial">From:</font><font size=3 face="Times New Roman">
</font>
<td width=86%><font size=1 face="Arial">Ashutosh Mishra <</font><a href=mailto:A.Mishra@ny.tr.mufg.jp><font size=1 color=blue face="Arial"><u>A.Mishra@ny.tr.mufg.jp</u></font></a><font size=1 face="Arial">></font><font size=3 face="Times New Roman">
</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="Arial">To:</font><font size=3 face="Times New Roman">
</font>
<td><font size=1 face="Arial">Mailing list for QuickFIX/n <</font><a href=mailto:quickfixn@lists.quickfixn.com><font size=1 color=blue face="Arial"><u>quickfixn@lists.quickfixn.com</u></font></a><font size=1 face="Arial">>,
</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="Arial">Date:</font><font size=3 face="Times New Roman">
</font>
<td><font size=1 face="Arial">11/21/2013 12:00 PM</font><font size=3 face="Times New Roman">
</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="Arial">Subject:</font><font size=3 face="Times New Roman">
</font>
<td><font size=1 face="Arial">Re: {{Quickfixn}} Log In troubles</font></table>
<br><font size=3 face="Times New Roman"> </font>
<div align=center>
<hr noshade></div>
<br><font size=3 face="Times New Roman"><br>
<br>
</font><font size=2 color=#004080 face="Calibri"><br>
The flow of the example on QuickFix website is quite clear. I am dealing
with execution report, so, once initiator.start() runs in the main
program, the control goes to ToAdmin and than to FromAdmin. Once you receive
the message from the other party the control goes to FromApp --which is
the place where you can have your fields extracted.</font><font size=3 face="Times New Roman">
</font><font size=2 color=#004080 face="Calibri"><br>
</font><font size=3 face="Times New Roman"> </font><font size=2 color=#004080 face="Calibri"><br>
If you have defined your Config file properly than everything should work
fine.</font><font size=3 face="Times New Roman"> </font><font size=2 color=#004080 face="Calibri"><br>
</font><font size=3 face="Times New Roman"> </font><font size=2 color=#004080 face="Calibri"><br>
</font><font size=3 face="Times New Roman"> </font>
<br><font size=2 color=#4181c0 face="Arial">Thanks & Regards,</font><font size=3 face="Times New Roman">
</font><font size=2 color=#4181c0 face="Arial"><br>
Ashutosh Mishra</font><font size=3 face="Times New Roman"> </font><font size=3 face="MS PMincho"><br>
</font><font size=3 face="Times New Roman"> </font><font size=3 face="MS PMincho"><br>
*********************************************************************************</font><font size=3 face="Times New Roman">
</font><font size=3 face="MS PMincho"><br>
This communication (including any attachments) is intended only or the
use of the individual whom it is addressed and may contain information
that is privileged, confidential or legally protected. If the reader
of this message is not the intended recipient, you are hereby notified
that any dissemination, distribution or copying of this communication is
strictly prohibited. If you have received this communication in error,
please notify us immediately by replying to the message. Please also
delete the message and its attachments, if any, from your computer and
destroy any hard copies you may have created. Thank you for your
cooperation. <br>
*********************************************************************************</font><font size=3 face="Times New Roman">
</font><font size=2 color=#004080 face="Calibri"><br>
</font><font size=3 face="Times New Roman"> </font><font size=2 face="Tahoma"><b><br>
From:</b> </font><a href="mailto:quickfixn-bounces@lists.quickfixn.com"><font size=2 color=blue face="Tahoma"><u>quickfixn-bounces@lists.quickfixn.com</u></font></a><font size=2 face="Tahoma">
[</font><a href="mailto:quickfixn-bounces@lists.quickfixn.com"><font size=2 color=blue face="Tahoma"><u>mailto:quickfixn-bounces@lists.quickfixn.com</u></font></a><font size=2 face="Tahoma">]
<b>On Behalf Of </b>Erika Hernandez<b><br>
Sent:</b> Thursday, November 21, 2013 11:37 AM<b><br>
To:</b> Mailing list for QuickFIX/n<b><br>
Subject:</b> Re: {{Quickfixn}} Log In troubles</font><font size=3 face="Times New Roman">
<br>
</font><font size=2 face="Arial"><br>
Classification: Public</font><font size=3 face="Times New Roman"><br>
</font><font size=2 face="Arial"><br>
<br>
Yes , I already did that, however , following the example, I didn't see
any part where this file is really being read. Even if I put wrong data
on this config file, the test case which try to connect and disconnect
is always passing well instead of failing.</font><font size=3 face="Times New Roman">
</font><font size=2 face="Arial"><br>
<br>
<br>
<br>
********************************************************************************************************<br>
This email is sent to you by Infosys Limited on behalf of Deutsche Bank.<br>
Diese email wurde Ihnen von Infosys Limited im Auftrag der Deutschen Bank
gesendet<br>
*********************************************************************************************************
</font>
<p>
<table width=100%>
<tr valign=top>
<td width=13%><font size=1 color=#5f5f5f face="Arial">From:</font><font size=3 face="Times New Roman">
</font>
<td width=86%><font size=1 face="Arial">Ashutosh Mishra <</font><a href=mailto:A.Mishra@ny.tr.mufg.jp><font size=1 color=blue face="Arial"><u>A.Mishra@ny.tr.mufg.jp</u></font></a><font size=1 face="Arial">></font><font size=3 face="Times New Roman">
</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="Arial">To:</font><font size=3 face="Times New Roman">
</font>
<td><font size=1 face="Arial">Mailing list for QuickFIX/n <</font><a href=mailto:quickfixn@lists.quickfixn.com><font size=1 color=blue face="Arial"><u>quickfixn@lists.quickfixn.com</u></font></a><font size=1 face="Arial">>,
</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="Arial">Date:</font><font size=3 face="Times New Roman">
</font>
<td><font size=1 face="Arial">11/21/2013 11:32 AM</font><font size=3 face="Times New Roman">
</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="Arial">Subject:</font><font size=3 face="Times New Roman">
</font>
<td><font size=1 face="Arial">Re: {{Quickfixn}} Log In troubles</font></table>
<p><font size=3 face="Times New Roman"><br>
</font>
<div align=center>
<hr noshade></div>
<br><font size=3 face="Times New Roman"><br>
<br>
</font><font size=2 color=#004080 face="Calibri"><br>
<br>
Did you configure your cfg file, it contains all the configuration for
the Default as well as for the Session.</font><font size=3 face="Times New Roman">
<br>
</font><font size=2 color=#4181c0 face="Arial"><br>
Thanks & Regards,</font><font size=3 face="Times New Roman"> </font><font size=2 color=#4181c0 face="Arial"><br>
Ashutosh Mishra</font><font size=3 face="Times New Roman"> <br>
<br>
</font><font size=2 face="Tahoma"><b><br>
From:</b> </font><a href="mailto:quickfixn-bounces@lists.quickfixn.com"><font size=2 color=blue face="Tahoma"><u>quickfixn-bounces@lists.quickfixn.com</u></font></a><font size=2 face="Tahoma">
[</font><a href="mailto:quickfixn-bounces@lists.quickfixn.com"><font size=2 color=blue face="Tahoma"><u>mailto:quickfixn-bounces@lists.quickfixn.com</u></font></a><font size=2 face="Tahoma">]
<b>On Behalf Of </b>Erika Hernandez<b><br>
Sent:</b> Thursday, November 21, 2013 11:28 AM<b><br>
To:</b> </font><a href=mailto:quickfixn@lists.quickfixn.com><font size=2 color=blue face="Tahoma"><u>quickfixn@lists.quickfixn.com</u></font></a><font size=2 face="Tahoma"><b><br>
Subject:</b> {{Quickfixn}} Log In troubles</font><font size=3 face="Times New Roman">
<br>
</font><font size=2 face="Arial"><br>
Classification: Public<br>
<br>
Hi ,</font><font size=3 face="Times New Roman"> </font><font size=2 face="Arial"><br>
<br>
I'm ver y new using FIX , I'm trying to send an order from C# to our server.</font><font size=3 face="Times New Roman">
</font><font size=2 face="Arial"><br>
<br>
I think this approach will work fine:</font><font size=3 face="Times New Roman">
</font><font size=1 face="}"><br>
<br>
<br>
</font><font size=1 color=blue face="}">var</font><font size=1 face="}">
order = </font><font size=1 color=blue face="}">new</font><font size=1 face="}">
QuickFix.FIX42.</font><font size=1 color=#4181c0 face="}">NewOrderSingle</font><font size=1 face="}">();</font><font size=3 face="Times New Roman">
</font><font size=1 face="}"><br>
order.ClOrdID = </font><font size=1 color=blue face="}">new</font><font size=1 face="}">
</font><font size=1 color=#4181c0 face="}">ClOrdID</font><font size=1 face="}">(</font><font size=1 color=#a11f12 face="}">"myOrder"</font><font size=1 face="}">);</font><font size=3 face="Times New Roman">
</font><font size=1 face="}"><br>
order.Side = </font><font size=1 color=blue face="}">new</font><font size=1 face="}">
</font><font size=1 color=#4181c0 face="}">Side</font><font size=1 face="}">(</font><font size=1 color=#4181c0 face="}">Side</font><font size=1 face="}">.BUY);</font><font size=3 face="Times New Roman">
</font><font size=1 face="}"><br>
order.OrdType = </font><font size=1 color=blue face="}">new</font><font size=1 face="}">
</font><font size=1 color=#4181c0 face="}">OrdType</font><font size=1 face="}">(</font><font size=1 color=#4181c0 face="}">OrdType</font><font size=1 face="}">.LIMIT);</font><font size=3 face="Times New Roman">
</font><font size=1 face="}"><br>
order.Symbol = </font><font size=1 color=blue face="}">new</font><font size=1 face="}">
</font><font size=1 color=#4181c0 face="}">Symbol</font><font size=1 face="}">(</font><font size=1 color=#a11f12 face="}">"AB"</font><font size=1 face="}">);</font><font size=3 face="Times New Roman">
</font><font size=1 face="}"><br>
order.Price = </font><font size=1 color=blue face="}">new</font><font size=1 face="}">
</font><font size=1 color=#4181c0 face="}">Price</font><font size=1 face="}">((</font><font size=1 color=blue face="}">decimal</font><font size=1 face="}">)19.00);</font><font size=3 face="Times New Roman">
</font><font size=1 face="}"><br>
order.Account = </font><font size=1 color=blue face="}">new</font><font size=1 face="}">
</font><font size=1 color=#4181c0 face="}">Account</font><font size=1 face="}">(</font><font size=1 color=#a11f12 face="}">"TestAccount"</font><font size=1 face="}">);</font><font size=3 face="Times New Roman">
</font><font size=1 face="}"><br>
order.ExDestination = </font><font size=1 color=blue face="}">new</font><font size=1 face="}">
</font><font size=1 color=#4181c0 face="}">ExDestination</font><font size=1 face="}">(</font><font size=1 color=#a11f12 face="}">"ARCA_QA"</font><font size=1 face="}">);</font><font size=3 face="Times New Roman">
</font><font size=1 face="}"><br>
order.OrderQty = </font><font size=1 color=blue face="}">new</font><font size=1 face="}">
</font><font size=1 color=#4181c0 face="}">OrderQty</font><font size=1 face="}">((</font><font size=1 color=blue face="}">decimal</font><font size=1 face="}">)995);</font><font size=3 face="Times New Roman">
</font><font size=1 face="}"><br>
order.TimeInForce = </font><font size=1 color=blue face="}">new</font><font size=1 face="}">
</font><font size=1 color=#4181c0 face="}">TimeInForce</font><font size=1 face="}">(</font><font size=1 color=#4181c0 face="}">Convert</font><font size=1 face="}">.ToChar(</font><font size=1 color=#a11f12 face="}">"0"</font><font size=1 face="}">));</font><font size=3 face="Times New Roman">
</font><font size=1 face="}"><br>
order.SecurityID = </font><font size=1 color=blue face="}">new</font><font size=1 face="}">
</font><font size=1 color=#4181c0 face="}">SecurityID</font><font size=1 face="}">(</font><font size=1 color=#a11f12 face="}">"AB.N"</font><font size=1 face="}">);</font><font size=3 face="Times New Roman">
</font><font size=1 face="}"><br>
order.HandlInst = </font><font size=1 color=blue face="}">new</font><font size=1 face="}">
</font><font size=1 color=#4181c0 face="}">HandlInst</font><font size=1 face="}">(</font><font size=1 color=#4181c0 face="}">HandlInst</font><font size=1 face="}">.AUTOMATED_EXECUTION_ORDER_PUBLIC_BROKER_INTERVENTION_OK);</font><font size=3 face="Times New Roman">
</font><font size=1 face="}"><br>
<br>
<br>
</font><font size=1 color=#4181c0 face="}">Session</font><font size=1 face="}">.SendToTarget(order);
</font><font size=3 face="Times New Roman"><br>
</font><font size=2 face="Arial"><br>
<br>
<br>
But previously I need to set a connection with the server , but I don't
know how to log in, I found this approach in the sample code:</font><font size=3 face="Times New Roman">
</font><font size=1 face="}"><br>
<br>
QuickFix.</font><font size=1 color=#4181c0 face="}">Message</font><font size=1 face="}">
msg = </font><font size=1 color=blue face="}">new</font><font size=1 face="}">
QuickFix.FIX42.</font><font size=1 color=#4181c0 face="}">Logon</font><font size=1 face="}">();</font><font size=3 face="Times New Roman">
</font><font size=2 face="Arial"><br>
<br>
<br>
But I don't know how to execute it or setting the connection data
( host, port, senderCompID , targetCompID) , I tried to follow the example
but is not clear enough for me.</font><font size=3 face="Times New Roman">
</font><font size=2 face="Arial"><br>
<br>
Does anyone can help me , please?</font><font size=3 face="Times New Roman">
</font><font size=2 face="Arial"><br>
<br>
<br>
I would really appreciate any help.</font><font size=3 face="Times New Roman">
</font><font size=2 face="Arial"><br>
<br>
<br>
Regards,</font><font size=3 face="Times New Roman"> </font><font size=2 face="Arial"><br>
Erika <br>
<br>
********************************************************************************************************<br>
This email is sent to you by Infosys Limited on behalf of Deutsche Bank.<br>
Diese email wurde Ihnen von Infosys Limited im Auftrag der Deutschen Bank
gesendet<br>
*********************************************************************************************************
</font><font size=1 face="Arial"><br>
---</font><font size=2 face="Courier New"><br>
This communication may contain confidential and/or privileged information.<br>
If you are not the intended recipient (or have received this communication<br>
in error) please notify the sender immediately and destroy this<br>
communication. Any unauthorized copying, disclosure or distribution of
the<br>
material in this communication is strictly forbidden.<br>
<br>
Deutsche Bank does not render legal or tax advice, and the information<br>
contained in this communication should not be regarded as such._______________________________________________<br>
Quickfixn mailing list</font><font size=3 color=blue face="Times New Roman"><u><br>
</u></font><a href=mailto:Quickfixn@lists.quickfixn.com><font size=2 color=blue face="Courier New"><u>Quickfixn@lists.quickfixn.com</u></font></a><font size=3 color=blue face="Times New Roman"><u><br>
</u></font><a href="http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com"><font size=2 color=blue face="Courier New"><u>http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com</u></font></a><font size=3 face="Times New Roman"><br>
</font><font size=1 face="Arial"><br>
<br>
---</font><font size=2 face="Courier New"><br>
This communication may contain confidential and/or privileged information.<br>
If you are not the intended recipient (or have received this communication<br>
in error) please notify the sender immediately and destroy this<br>
communication. Any unauthorized copying, disclosure or distribution of
the<br>
material in this communication is strictly forbidden.<br>
<br>
Deutsche Bank does not render legal or tax advice, and the information<br>
contained in this communication should not be regarded as such._______________________________________________<br>
Quickfixn mailing list</font><font size=2 color=blue face="Courier New"><u><br>
</u></font><a href=mailto:Quickfixn@lists.quickfixn.com><font size=2 color=blue face="Courier New"><u>Quickfixn@lists.quickfixn.com</u></font></a><font size=3 color=blue face="Times New Roman"><u><br>
</u></font><a href="http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com"><font size=2 color=blue face="Courier New"><u>http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com</u></font></a><font size=2 face="Courier New"><br>
</font>
<br><font size=1 face="Arial"><br>
---</font><font size=2 face="Courier New"><br>
This communication may contain confidential and/or privileged information.<br>
If you are not the intended recipient (or have received this communication<br>
in error) please notify the sender immediately and destroy this<br>
communication. Any unauthorized copying, disclosure or distribution of
the<br>
material in this communication is strictly forbidden.<br>
<br>
Deutsche Bank does not render legal or tax advice, and the information<br>
contained in this communication should not be regarded as such.</font><tt><font size=2>_______________________________________________<br>
Quickfixn mailing list<br>
Quickfixn@lists.quickfixn.com<br>
</font></tt><a href="http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com"><tt><font size=2>http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com</font></tt></a><tt><font size=2><br>
</font></tt>
<br>
<br></div>
<br><font size="1" face="Arial">---</font><br>
<font size="2" face="Courier New">This communication may contain confidential and/or privileged information.<br>
If you are not the intended recipient (or have received this communication<br>
in error) please notify the sender immediately and destroy this<br>
communication. Any unauthorized copying, disclosure or distribution of the<br>
material in this communication is strictly forbidden.<br>
<br>
Deutsche Bank does not render legal or tax advice, and the information<br>
contained in this communication should not be regarded as such.</font>