{{Quickfixn}} Trade Capture Report Tag# 54 Issue
Grant Birchmeier
gbirchmeier at connamara.com
Thu Jul 16 10:08:10 PDT 2015
You are trying to extract 54/Side as if it was a top-level field of TCR.
It's not. It's inside the 552/NoSides repeating group. 54 may in fact
appear multiple times in the message.
You need to first extract the group, then extract 54 from the group.
See http://quickfixn.org/tutorial/repeating-groups for advice.
On Thu, Jul 16, 2015 at 10:00 AM, Lee Galea <galea at rascasse.com.mt> wrote:
> Hi,
>
> I am using Quick Fix 4.4, and am receiving a trade capture report from ICE.
> The problem is that tag #54 (SIDE), is not visible in the trade capture
> report class.
> In the logs, tag # 54 is visible, but in the c# code I do not have access
> to get the field.
>
> Below is my code:
>
>
> private void FillTrade(TradeCaptureReport rep)
>
> {
>
> if (tradeList == null)
>
> tradeList = new List<Trade>();
>
>
>
> Trade t = new Trade();
>
> t.CFICode = rep.CFICode.ToString();
>
> t.EndDate = rep.EndDate.ToString();
>
> t.Side = rep. //Rep does not have the value side. also tried
> rep.GetField(54) and still no value.
>
> }
>
>
>
>
>
> Thanks in advance,
>
>
> Lee Galea
>
>
>
> *Rascasse Investments Limited* (C58198)
>
> Level 4, Aragon Business Centre, Dragonara Road, St.Julians STJ 3140, Malta
>
> Tel: (G) +356 2092 7900
>
> Fax: +356 2092 7901
>
>
>
> Rascasse Investments Limited is licensed to conduct Investment Services
> Business by the Malta Financial Services Authority.
>
>
>
>
>
> _______________________________________________
> Quickfixn mailing list
> Quickfixn at lists.quickfixn.com
> http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com
>
>
--
Grant Birchmeier
*Connamara Systems, LLC*
*Made-To-Measure Trading Solutions.*
Exactly what you need. No more. No less.
http://connamara.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.com/attachments/20150716/d5345627/attachment-0002.htm>
More information about the Quickfixn
mailing list