{{Quickfixn}} Tag appears more than once

Grant Birchmeier gbirchmeier at connamara.com
Tue Mar 10 11:39:53 PDT 2020


*However tag 1 (Account) is already part of the repeating group NoSides
(tag 555) and is at the level of Side (tag 54) , unless i am not getting it
right.*
*The below is the schema and my clients SGX schema extract of NoSidesGroup.*
(from your other mail with the wrong subject line)

You are misunderstanding what is happening.  The parser is probably
triggering on *the second group's* 1 tag.

The first group partially parses, but when the parser detects a field that
doesn't fit, it decides the group has just ended, and this tag belongs to
the parent group.

I wouldn't dig too hard into that.  The key action item here is: *make your
DD's group match your message's group!*

I pretty well spelled it out for you earlier, but here it is again:

   <group name='NoSides' required='Y'>
    <field name='Side' required='Y' /> *OK*
    *! SideExecID should be here*
    *! SideTradeReportID should be here*
    <component name='Parties' required='N' /> *OK*
    <field name='Account' required='N' /> *OK*
    <field name='AcctIDSource' required='N' /> wasn't present
    <field name='AccountType' required='N' /> wasn't present
    <field name='ProcessCode' required='N' /> etc
    <field name='OddLot' required='N' />
    <component name='ClrInstGrp' required='N' />
    <field name='TradeInputSource' required='N' /> *OK*
    <field name='TradeInputDevice' required='N' />
    <field name='ComplianceID' required='N' />
    <field name='SolicitedFlag' required='N' />
    <field name='CustOrderCapacity' required='N' />
    <field name='TradingSessionID' required='N' /> *OK*
    <field name='TradingSessionSubID' required='N' /> *OK*
    ... a bunch more not-present fields ...
    <field name='SideTradeReportID' required='N' /> *wrong place, see above*
    ... a bunch more not-present fields ...
    <field name='AggressorIndicator' required='N' /> *OK*
    ... a bunch more not-present fields ...
    <field name='SideExecID' required='N' /> *wrong place, see above*
    <field name='SideRiskLimitCheckStatus' required='N' /> *OK*
   </group>

Let me know if you have any questions about that.

-Grant


On Tue, Mar 10, 2020 at 10:25 AM Grant Birchmeier <gbirchmeier at connamara.com>
wrote:

> "Tag appears more than once: 1" refers to the Account tag (e.g. "1=SG S835
> ABC2").
>
> This means that 1 is the first tag that it thinks is not part of the
> repeating group.  (The message means that the parser thinks it's finding
> the tag outside of a group.)
>
> Oh-- oops, my indents were slightly wrong in my previous message.  This is
> the correct version:
>
> 552=2   NoSides
>   54=1    Side
>     1427=1063399             SideExecID
>     1005=DualTrade01_S835B   SideTradeReportID
>
>     453=4           NoPartyIDs  (Component 'Parties')
>       448=S835        PartyID
>         447=D         PartyIDSource
>         452=7         PartyRole
>       448=ABCGroup
>         447=D
>         452=1
>       448=S835
>         447=D
>         452=4
>       448=SGX
>         447=D
>         452=21
>
>     1=SG S835 ABC2    Account (FIXED INDENT: inside 54 group, after 543
> group)
>     578=FIX           TradeInputSource
>     336=1             TradingSessionID
>     625=3             TradingSessionSubID
>     1057=N            AggressorIndicator
>     2344=3            SideRiskLimitCheckStatus
>
>
>

-- 
Grant Birchmeier
*Connamara Systems, LLC*
*Made-To-Measure Trading Solutions.*
Exactly what you need. No more. No less.
http://connamara.com

-- 
This email, along with any attachments, is confidential. If you believe you 
received this message in error, please contact the sender immediately and 
delete all copies of the message. Thank you from Connamara Systems, LLC.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.com/attachments/20200310/433825ee/attachment.htm>


More information about the Quickfixn mailing list