# Tag 17 from multiple destinations

**URL:** <https://forum.fixtrading.org/t/tag-17-from-multiple-destinations/9405>\
**Category:** General Q&A\
**Tags:** 43-changes, xid\_168531, imported\
**Created:** [April 4, 2011, 11:05pm UTC](https://forum.fixtrading.org/t/tag-17-from-multiple-destinations/9405 "2011-04-04T23:05:47Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kashyapapp\_x](https://avatars.discourse-cdn.com/v4/letter/k/9de053/32.png) [@kashyapapp\_x](https://forum.fixtrading.org/u/kashyapapp_x)\
**Post date:** [April 4, 2011, 11:05pm UTC](https://forum.fixtrading.org/t/tag-17-from-multiple-destinations/9405/1 "2011-04-04T23:05:47Z")

</div>

Imported from previous forum

---

<div class="post-metadata">

**Author:** ![kashyapapp\_x](https://avatars.discourse-cdn.com/v4/letter/k/9de053/32.png) [@kashyapapp\_x](https://forum.fixtrading.org/u/kashyapapp_x)\
**Post date:** [April 4, 2011, 11:05pm UTC](https://forum.fixtrading.org/t/tag-17-from-multiple-destinations/9405/2 "2011-04-04T23:05:47Z")

</div>

Hi All,

Can tag 17 have same value for execution reports(fills) sent for two different orders.

Consider the below use case :

Client A sends orders to two destinations Exch1 and Exch2 from the same fix session.

For first order sent to Exch1 :  
one complete fill received with tag 37 = ABC and tag 17 (for fill) = AAA from exchange

For second order sent to Exch2 :  
one complete fill received with tag 37 = XYZ and tag 17 (for fill) = AAA from exchange

This can occur in a rare scenario where both destinations end up sending a common tag 17 for a specific order.

Now, can the tag 17 be sent as it is to the client with the same value AAA for both the different orders or we need to manipulate the same to guarantee uniqueness for the same client session ?

Please help in understanding this as per fix protocol.

Regards,  
Shailender Kashyap

---

<div class="post-metadata">

**Author:** ![jorgthonnes](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.fixtrading.org/jorgthonnes/32/196_2.png) [@jorgthonnes](https://forum.fixtrading.org/u/jorgthonnes)\
**Post date:** [April 5, 2011, 7:49am UTC](https://forum.fixtrading.org/t/tag-17-from-multiple-destinations/9405/3 "2011-04-05T07:49:27Z")

</div>

Hi Shailender,

as far as I understood the field 17/ExecID should be unique per FIX session.

So if you use different FIX sessions for Exch1 and Exch2, you could easily identify  
whether the order with the tag 17/ExecID=AAA belongs to Exch1 or Exch2. For further  
upstream processing, you could prepend the exchange id as prefix to the 17/ExecID:

17=Exch1.AAA  
17=Exch2.AAA

If the orders are sent over the same FIX session to different exchanges, the FIX session  
counter party should ensure that the 17/ExecID is complete. If this is not the case,  
a workaround would also to use the exchange id prefix.

HTH, Jörg

> Can tag 17 have same value for execution reports(fills) sent for two different orders.
> 
> Consider the below use case :
> 
> Client A sends orders to two destinations Exch1 and Exch2 from the same fix session.
> 
> For first order sent to Exch1 :  
> one complete fill received with tag 37 = ABC and tag 17 (for fill) = AAA from exchange
> 
> For second order sent to Exch2 :  
> one complete fill received with tag 37 = XYZ and tag 17 (for fill) = AAA from exchange
> 
> This can occur in a rare scenario where both destinations end up sending a common tag 17 for a specific order.
> 
> Now, can the tag 17 be sent as it is to the client with the same value AAA for both the different orders or we need to manipulate the same to guarantee uniqueness for the same client session ?

---

<div class="post-metadata">

**Author:** ![xavierbruyet](https://avatars.discourse-cdn.com/v4/letter/x/c5a1d2/32.png) [@xavierbruyet](https://forum.fixtrading.org/u/xavierbruyet)\
**Post date:** [April 5, 2011, 8:40am UTC](https://forum.fixtrading.org/t/tag-17-from-multiple-destinations/9405/4 "2011-04-05T08:40:15Z")

</div>

ExecID is unique by sell-side. It means that you (as broker) should also provide a unique ExecID to your buy-side. SecondaryExecID (527) can be used to populate the original ExecID of the exchange.

Xavier.

> Hi Shailender,
> 
> as far as I understood the field 17/ExecID should be unique per FIX session.
> 
> So if you use different FIX sessions for Exch1 and Exch2, you could easily identify  
> whether the order with the tag 17/ExecID=AAA belongs to Exch1 or Exch2. For further  
> upstream processing, you could prepend the exchange id as prefix to the 17/ExecID:
> 
> 17=Exch1.AAA  
> 17=Exch2.AAA
> 
> If the orders are sent over the same FIX session to different exchanges, the FIX session  
> counter party should ensure that the 17/ExecID is complete. If this is not the case,  
> a workaround would also to use the exchange id prefix.
> 
> HTH, Jörg
> 
> > Can tag 17 have same value for execution reports(fills) sent for two different orders.
> > 
> > Consider the below use case :
> > 
> > Client A sends orders to two destinations Exch1 and Exch2 from the same fix session.
> > 
> > For first order sent to Exch1 :  
> > one complete fill received with tag 37 = ABC and tag 17 (for fill) = AAA from exchange
> > 
> > For second order sent to Exch2 :  
> > one complete fill received with tag 37 = XYZ and tag 17 (for fill) = AAA from exchange
> > 
> > This can occur in a rare scenario where both destinations end up sending a common tag 17 for a specific order.
> > 
> > Now, can the tag 17 be sent as it is to the client with the same value AAA for both the different orders or we need to manipulate the same to guarantee uniqueness for the same client session ?
