<div dir="ltr">Hi Kunal,<div><br></div><div>To get a TradeCaptureReport you must first send a TradeCaptureReportRequest, which is message type AD. </div><div><br></div><div>What you did was resend all the messages with sequence no 1-20, which if you look at the sequence no tag (34), you don't have that many. Why you got the reject was that in the data dictionary file FIX4.4 you have the tag 55(symbol) set as a required tag for these messages. From that file you can alter which tags are necessary in which messages (on your side) and which tags the application recognizes when sent or sending.  And when you have a tag missing or in some cases of rejection, your side will automatically log out. </div><div><br></div><div>I would suggest you first contact your broker, most brokers (at least the ones i have worked with) have FIX specification sheets, where they bring out which messages they support, what they expect in different kinds of messages (i.e. which tags have to be there, which are optional etc.), what kind of data they send back in messages and so on. Getting familiar with that will help you better understand which messages you should send for what data. Also you can check out <a href="http://www.onixs.biz/fix-dictionary/4.4/fields_by_tag.html">http://www.onixs.biz/fix-dictionary/4.4/fields_by_tag.html</a>  which is basically a FIX dictionary made easy, there you can check out which tag number corresponds to which tag, you can search for messagetypes, fields and so on very easily. </div><div><br></div><div>Still my first suggestion is contacting the broker, because when you don't know which tags they need you will be basically shooting in the dark, as if you have at least one tag off in the message, you won't get the report back, but a rejection. And according to what your broker tells you, you should change the FIX4.4 file on your end.</div><div><br></div><div>Hope this helps, don't hesitate to ask more.</div><div><br></div><div>All the best,</div><div>Mihkel</div></div><br><div class="gmail_quote"><div dir="ltr">On Wed, Jan 25, 2017 at 1:20 AM <<a href="mailto:quickfixn-request@lists.quickfixn.com">quickfixn-request@lists.quickfixn.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send Quickfixn mailing list submissions to<br class="gmail_msg">
        <a href="mailto:quickfixn@lists.quickfixn.com" class="gmail_msg" target="_blank">quickfixn@lists.quickfixn.com</a><br class="gmail_msg">
<br class="gmail_msg">
To subscribe or unsubscribe via the World Wide Web, visit<br class="gmail_msg">
        <a href="http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com" rel="noreferrer" class="gmail_msg" target="_blank">http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com</a><br class="gmail_msg">
or, via email, send a message with subject or body 'help' to<br class="gmail_msg">
        <a href="mailto:quickfixn-request@lists.quickfixn.com" class="gmail_msg" target="_blank">quickfixn-request@lists.quickfixn.com</a><br class="gmail_msg">
<br class="gmail_msg">
You can reach the person managing the list at<br class="gmail_msg">
        <a href="mailto:quickfixn-owner@lists.quickfixn.com" class="gmail_msg" target="_blank">quickfixn-owner@lists.quickfixn.com</a><br class="gmail_msg">
<br class="gmail_msg">
When replying, please edit your Subject line so it is more specific<br class="gmail_msg">
than "Re: Contents of Quickfixn digest..."<br class="gmail_msg">
<br class="gmail_msg">
<br class="gmail_msg">
Today's Topics:<br class="gmail_msg">
<br class="gmail_msg">
   1.  New to QuickFix - test app is sending messages by        itself (?)<br class="gmail_msg">
      (Kunal CHANGELA)<br class="gmail_msg">
<br class="gmail_msg">
<br class="gmail_msg">
----------------------------------------------------------------------<br class="gmail_msg">
<br class="gmail_msg">
Message: 1<br class="gmail_msg">
Date: Tue, 24 Jan 2017 23:20:25 +0000<br class="gmail_msg">
From: Kunal CHANGELA <<a href="mailto:kunal.changela@us.bnpparibas.com" class="gmail_msg" target="_blank">kunal.changela@us.bnpparibas.com</a>><br class="gmail_msg">
To: "<a href="mailto:quickfixn@lists.quickfixn.com" class="gmail_msg" target="_blank">quickfixn@lists.quickfixn.com</a>" <<a href="mailto:quickfixn@lists.quickfixn.com" class="gmail_msg" target="_blank">quickfixn@lists.quickfixn.com</a>><br class="gmail_msg">
Subject: {{Quickfixn}} New to QuickFix - test app is sending messages<br class="gmail_msg">
        by      itself (?)<br class="gmail_msg">
Message-ID:<br class="gmail_msg">
        <401956A21A701F45BCE80AAB83CAFF240159334C0C@NYCS00072005.mercury.intra><br class="gmail_msg">
<br class="gmail_msg">
Content-Type: text/plain; charset="utf-8"<br class="gmail_msg">
<br class="gmail_msg">
Hi,<br class="gmail_msg">
<br class="gmail_msg">
I am trying to get a stream of TradeCaptureReport messages from FINRA via fix.<br class="gmail_msg">
I was under the impression that as soon as I connect I should start receiving the messages – I do not.<br class="gmail_msg">
<br class="gmail_msg">
I have generic handlers for Admin messages that print to console the function name and IN/OUT and the message.<br class="gmail_msg">
<br class="gmail_msg">
I see:<br class="gmail_msg">
FromAdmin IN:  8=FIX.4.4☺9=61☺35=0☺34=6☺49=FNRA☺50=CA☺52=20170124-19:56:06☺56=____☺57=____☺10=052☺<br class="gmail_msg">
ToAdmin OUT:  8=FIX.4.4☺9=65☺35=0☺34=6☺49=____☺50=____☺52=20170124-19:56:07.209☺56=FNRA☺57=CA☺10=002☺<br class="gmail_msg">
<br class="gmail_msg">
This is good because it is a heartbeat. Prior to this I got the logon with session id: OnLogon(SessionID):  FIX.4.4:____/____->FNRA/CA<br class="gmail_msg">
I am also calling Crack on message received in FromApp and have crack handlers for TradeCaptureReport which is what I want to handle.<br class="gmail_msg">
But after initiating the connection I only get Admin messages in and out; the admin messages seem like a heartbeat.<br class="gmail_msg">
Nothing else…..<br class="gmail_msg">
<br class="gmail_msg">
Do I have to do something after making the call to start the initiator?<br class="gmail_msg">
<br class="gmail_msg">
So I thought to try and send a resendrequest message.<br class="gmail_msg">
It seems that when I send out the resend request as a simple FIX44.ResendRequest with starting id 1 and end 20 I get:<br class="gmail_msg">
<br class="gmail_msg">
MyMsg==>ToAdmin OUT:  8=FIX.4.4         9=75      35=2      34=3      49=____              50=____              52=20170124-22:31:16.768                56=FNRA             57=CA   7=1         16=20    10=172<br class="gmail_msg">
ToAdmin OUT:  8=FIX.4.4              9=114    35=3      34=4      49=____              50=____              52=20170124-22:31:17.688                56=FNRA             57=CA   45=2      58=Required tag missing               371=55  372=AE 373=1    10=023<br class="gmail_msg">
ToAdmin OUT:  8=FIX.4.4              9=114    35=3      34=5      49=____              50=____              52=20170124-22:31:18.049                56=FNRA             57=CA   45=3      58=Required tag missing               371=55  372=AE 373=1    10=017<br class="gmail_msg">
ToAdmin OUT:  8=FIX.4.4              9=74      35=1      34=6      49=____              50=____              52=20170124-22:31:45.471                56=FNRA             57=CA   112=TEST             10=011<br class="gmail_msg">
ToAdmin OUT:  8=FIX.4.4              9=114    35=5      34=7      49=____              50=____              52=20170124-22:32:15.956                56=FNRA             57=CA   58=MsgSeqNum too low, expecting 4 but received 3      10=202<br class="gmail_msg">
OnLogout(SessionID):  FIX.4.4: ____/____->FNRA/CA<br class="gmail_msg">
<br class="gmail_msg">
Not sure where the other 4 messages are getting generated from?<br class="gmail_msg">
Why the second two that are generated have “58=Required tag missing”?<br class="gmail_msg">
It seems to refer to 371=55 but there is no product to specify ….i want all the messages sent by that sender, FNRA/CA.<br class="gmail_msg">
And then why is there a logout?<br class="gmail_msg">
<br class="gmail_msg">
The session reconnects, trys the login again and again I start getting hearbeats.<br class="gmail_msg">
<br class="gmail_msg">
This might be a very basic question but I would appreciate any assistance on this.<br class="gmail_msg">
Also, if you would know of any tools that would assist in working with FIX a point to those would be appreciated.<br class="gmail_msg">
<br class="gmail_msg">
Thanks,<br class="gmail_msg">
[CIB_BM_Sign_E_Q]<br class="gmail_msg">
<br class="gmail_msg">
Kunal Changela<br class="gmail_msg">
Credit Risk and PnL Development<br class="gmail_msg">
<br class="gmail_msg">
Group Email: DL CRD IT NY<mailto:<a href="mailto:crditny@us.bnpparibas.com" class="gmail_msg" target="_blank">crditny@us.bnpparibas.com</a>> (x841 4876, Intl: x721 4876)<br class="gmail_msg">
<br class="gmail_msg">
787 7th Avenue, New York, NY 10019<br class="gmail_msg">
Tel: <a href="tel:(212)%20841-2640" value="+12128412640" class="gmail_msg" target="_blank">+1 212 841 2640</a><br class="gmail_msg">
Mobile: <a href="tel:(917)%20216-8852" value="+19172168852" class="gmail_msg" target="_blank">+1 917 216 8852</a><br class="gmail_msg">
<a href="mailto:kunal.changela@us.bnpparibas.com" class="gmail_msg" target="_blank">kunal.changela@us.bnpparibas.com</a><mailto:<a href="mailto:kunal.changela@us.bnpparibas.com" class="gmail_msg" target="_blank">kunal.changela@us.bnpparibas.com</a>><br class="gmail_msg">
<br class="gmail_msg">
<br class="gmail_msg">
<br class="gmail_msg">
[cid:image003.gif@01D2766C.FC2BF350]<br class="gmail_msg">
<br class="gmail_msg">
[icône représentant un arbre et symbolisant la nature]  Do not print this document unless it is necessary, consider the environment<br class="gmail_msg">
<br class="gmail_msg">
<br class="gmail_msg">
This message and any attachments (the "message") is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. The internet can not guarantee the integrity of this message. BNP PARIBAS (and its subsidiaries) shall (will) not therefore be liable for the message if modified. Please note that certain functions and services for BNP Paribas may be performed by BNP Paribas RCC, Inc.<br class="gmail_msg">
<br class="gmail_msg">
<br class="gmail_msg">
Unless otherwise provided above, this message was sent by BNP Paribas, or one of its affiliates in Canada, having an office at 1981 McGill College Avenue, Montreal, QC, H3A 2W8, Canada. To the extent this message is being sent from or to Canada, you may unsubscribe from receiving commercial electronic messages by using this link: <a href="http://www.bnpparibas.ca/en/unsubscribe/" rel="noreferrer" class="gmail_msg" target="_blank">www.bnpparibas.ca/en/unsubscribe/</a> <<a href="http://www.bnpparibas.ca/en/unsubscribe/" rel="noreferrer" class="gmail_msg" target="_blank">http://www.bnpparibas.ca/en/unsubscribe/</a>>. See <a href="http://www.bnpparibas.ca" rel="noreferrer" class="gmail_msg" target="_blank">www.bnpparibas.ca</a> <<a href="http://www.bnpparibas.ca" rel="noreferrer" class="gmail_msg" target="_blank">http://www.bnpparibas.ca</a>> for more information on BNP Paribas, in Canada.<br class="gmail_msg">
-------------- next part --------------<br class="gmail_msg">
An HTML attachment was scrubbed...<br class="gmail_msg">
URL: <<a href="http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.com/attachments/20170124/4e0340a5/attachment.htm" rel="noreferrer" class="gmail_msg" target="_blank">http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.com/attachments/20170124/4e0340a5/attachment.htm</a>><br class="gmail_msg">
-------------- next part --------------<br class="gmail_msg">
A non-text attachment was scrubbed...<br class="gmail_msg">
Name: image003.gif<br class="gmail_msg">
Type: image/gif<br class="gmail_msg">
Size: 4871 bytes<br class="gmail_msg">
Desc: image003.gif<br class="gmail_msg">
URL: <<a href="http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.com/attachments/20170124/4e0340a5/attachment.gif" rel="noreferrer" class="gmail_msg" target="_blank">http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.com/attachments/20170124/4e0340a5/attachment.gif</a>><br class="gmail_msg">
-------------- next part --------------<br class="gmail_msg">
A non-text attachment was scrubbed...<br class="gmail_msg">
Name: image004.jpg<br class="gmail_msg">
Type: image/jpeg<br class="gmail_msg">
Size: 652 bytes<br class="gmail_msg">
Desc: image004.jpg<br class="gmail_msg">
URL: <<a href="http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.com/attachments/20170124/4e0340a5/attachment.jpg" rel="noreferrer" class="gmail_msg" target="_blank">http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.com/attachments/20170124/4e0340a5/attachment.jpg</a>><br class="gmail_msg">
-------------- next part --------------<br class="gmail_msg">
A non-text attachment was scrubbed...<br class="gmail_msg">
Name: image002.png<br class="gmail_msg">
Type: image/png<br class="gmail_msg">
Size: 11362 bytes<br class="gmail_msg">
Desc: image002.png<br class="gmail_msg">
URL: <<a href="http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.com/attachments/20170124/4e0340a5/attachment.png" rel="noreferrer" class="gmail_msg" target="_blank">http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.com/attachments/20170124/4e0340a5/attachment.png</a>><br class="gmail_msg">
<br class="gmail_msg">
------------------------------<br class="gmail_msg">
<br class="gmail_msg">
Subject: Digest Footer<br class="gmail_msg">
<br class="gmail_msg">
_______________________________________________<br class="gmail_msg">
Quickfixn mailing list<br class="gmail_msg">
<a href="mailto:Quickfixn@lists.quickfixn.com" class="gmail_msg" target="_blank">Quickfixn@lists.quickfixn.com</a><br class="gmail_msg">
<a href="http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com" rel="noreferrer" class="gmail_msg" target="_blank">http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com</a><br class="gmail_msg">
<br class="gmail_msg">
<br class="gmail_msg">
------------------------------<br class="gmail_msg">
<br class="gmail_msg">
End of Quickfixn Digest, Vol 63, Issue 4<br class="gmail_msg">
****************************************<br class="gmail_msg">
</blockquote></div>