Uploaded image for project: 'QuickFIX/J'
  1. QuickFIX/J
  2. QFJ-153

tags in a specific order in a FIX packet

    Details

    • Type: Other
    • Status: Closed
    • Priority: Default
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      Window / Linux

      Description

      Hello,

      I would like to set tags in a FIX packet in a specific order

      For instance, in a FIX quote request packet, I need to set the tag38 after the tag303 and quickfixj set it before even if in my source code I set it after:

      ...
      // Instrument
      group.set(new Symbol("EUR/USD"));

      // Quote request type
      group.setInt(303, 2);

      // Quote type
      group.setInt(537, 2);

      // Order Qty
      group.setString(38, "1000000");

      qr.addGroup(group);
      ...

      Here is the packet it sends: "...146=1 55=EUR/USD 38=1000000 303=2 537=2 ..."
      I need to send it like this: "...146=1 55=EUR/USD 303=2 537=2 38=1000000..."

      Thank you

        Attachments

          Activity

            People

            • Assignee:
              admin Steve Bate
              Reporter:
              cohencyr Cyril Cohen
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: