Imported from previous forum
I am populating my FIX messages with all the appropriate fields and am specifying field 11 as ClOrdId. I am able to successfully send an original order.
8=FIX.4.2?9=139?35=D?1=***?11=17051903?21=1?22=1?38=1?40=2?44=238.30?48
=78462F103?50=***?54=1?55=SPY?59=0?60=20170519-14:17:25?100=NYSE?847=2006?10=185?
However, when I send a replace order I get an exception response from the fromApp function saying “Duplicate Client Order ID”. I have the program continually sending replacement requests trying to update the order until filled but I always receive the same error. I am also making sure to update field 11 with the ClOrdId as shown below.
To app:
8=FIX.4.2|9=151|35=G|1=***|11=17051904|21=1|22=1|38=1|40=2|41=17051903|
44=238.31|48=78462F103|50=***|54=1|55=SPY|59=0|60=20170519-14:17:25|100=NYSE|84
7=2006|10=245|
From app:
Duplicate Client Order ID
8=FIX.4.2|9=201|35=9|34=95|49=***|52=20170519-14:17:30.148|56=***|1=***
|11=17051904|37=***|39=C|41=17051903|58=Duplic
ate Client Order ID|60=20170519-14:17:30.146|102=1|434=2|10=239|
Does anyone know what might be causing this issue?